OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
Updated notesNotes 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 TFNotes 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 delayScript open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
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.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
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.