Determining operating range is critical for trading. You *need* to sell in premium & buy in discount.
This script determines an operating range by stepping back on an HTF timeframe to calculate that HTF candle's range. If the current candle in HTF breaks out, the range expands accordingly.
The timeframe mapping I've used is
Intraday & <= 2H : use Daily as HTF range
Intraday & > 2H : use Weekly as HTF range
Daily : use Monthly as HTF range
Weekly : use 6 Months as HTF range
The HTF mapping is my own personal preference. If you prefer, you can easily copy the indicator and create your own mapping.
Once the HTF range is known, the indicator also plots 0%, 25%, 50% and 100% levels.
Release Notes
Updated details on chart
Release Notes
Cleanup
Release Notes
When replaying candlesticks, old lines from the IPDA range are now deleted
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
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.