Shanxia

ICT New York NY Midnight Open and Divider

Shanxia 已更新   
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.



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

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?