OPEN-SOURCE SCRIPT
Mis à jour

ICT New York NY Midnight Open and Divider

70 581
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.



Notes de version
Updated notes
Notes de version
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.
Notes de version
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.
Notes de version
Fixed bug where daily dividers wouldn't show on 5min TF
Notes de version
Fixed bug where below 1hr TF it showed the wrong price.
Notes de version
Fixed one more bug in the code.
Notes de version
Fixed bug that plotted out of context horizontal lines in ES, NQ and YM CME quarterly futures.
Notes de version
- bug fix with delay

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.