OPEN-SOURCE SCRIPT
Updated

Price at time (sub-bar resolution)

1356
This simple script shows you the price at a fixed sub-bar time, and is useful for back-testing.

For example, if your strategy is to enter buy stops overnight and check your positions at lunch the next day, then use this indicator to highlight the opening price of the 3rd 60-minute bar. The default is the open price of the second 30-minute bar ("10 am").
Release Notes
Updated to support 2 sub-bar times.
Release Notes
Fixed minor bug. Don't forget to "Bring to front" after adding to the chart!

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.