OPEN-SOURCE SCRIPT

Nifty Range % and Points by Time Blocks

211
Pine Script that gives you day-wise intraday range percentage for these 3 time blocks (9:16–10:45, 10:45–1:15, 1:15–3:15), we can:

Detect time blocks during the day

Track High/Low for each block

Calculate range % for each block:

\text{Range %} = \frac{(High - Low)}{\text{Previous Day Close}} \times 100
Plot / Label it on the chart at the end of each block

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.