cajole

Price at time (sub-bar resolution)

cajole Updated   
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!

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 a publication is governed by House Rules. You can favorite it to use it on a 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.

Want to use this script on a chart?