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