OPEN-SOURCE SCRIPT

Replay Mode - Check HTF Candle

Updated
This indicator is intended to be used while using Replay Mode.
A vertical line will be drawn when you can safely check the 4H, Daily, or Weekly candle without seeing future price.
It is similar to the built-in Session Breaks, but has the benefit of not needing to remove one candle before checking the Daily.

When the line is the color of your 4H settings, it is safe to check the 4H candle.
When the line is the color of your Daily settings, it is safe to check the 4H and Daily candles.
When the line is the color of your Weekly settings, it is safe to check the 4H, Daily and Weekly candles
Release Notes
Fixed calculation that would cause the incorrect candle to be marked
Release Notes
Added more timeframes! You now have the option to see when it is safe to check the 5m, 15m, 30 and 1H candles when you're on the lower timeframes.
4hCandlestick AnalysiscloseDaily ChartsreplayWeekly Charts

Open-source script

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.

Want to use this script on a chart?

Disclaimer