OPEN-SOURCE SCRIPT
Updated ICT New York NY Midnight Open and Divider

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.
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 notesRelease 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 TFRelease 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 delayOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.