OPEN-SOURCE SCRIPT

ICT New York NY Midnight Open and Divider

Updated
This simple indicator plots out ICT's New York midnight open price and a vertical divider at that time.

12am NY time is a key level to watch for daytrading and intraday scalping, often providing entry levels and orderblocks.

The session time may need to be adjusted for different exchanges, but the default is for most of forex.



Release Notes
Updated notes
Release Notes
Thank you Ryazn for the suggestions.
Updated:

-> Option to change Vline style
-> Option to change default current Hline's extend style. "+1 Day" will extend the line by an extra day, "Right" will extend to the right of the screen and "Both" will extend both directions.
Release Notes
Thanks for the feedback!
Here are a few updates:

- Added option to change the timezone and by default will stay on that timezone for all assets

- Added option to change the end time of current HLINE so that it's hourly based. Just input how many hours you want it to go for from NY Open time.

- Added security function so that open time will be more accurate on 1H+ timeframes.
Release Notes
Fixed bug where daily dividers wouldn't show on 5min TF
Release Notes
Fixed bug where below 1hr TF it showed the wrong price.
Release Notes
Fixed one more bug in the code.
Release Notes
Fixed bug that plotted out of context horizontal lines in ES, NQ and YM CME quarterly futures.
Release Notes
- bug fix with delay
12amBreadth IndicatorsictlevelmidnightNEWnyopenrangeTrend AnalysisVolatilityYORK

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