OPEN-SOURCE SCRIPT

True Day Open

1. *nyTime*: Converts the current time to the New York timezone.
2. *nyHour and nyMinute*: Extracts the hour and minute of the current candle in the New York timezone.
3. *isNyMidnightCandle*: A boolean variable that checks if the current candle is the 12:00 AM candle in New York.
4. *bgcolor*: Colors the background of the 12:00 AM candle blue.
5. *plotshape*: Optionally, you can mark the 12:00 AM candle with a blue label above the bar for better visibility.

You can copy and paste this code into the Pine Editor on TradingView and apply it to your chart. Make sure your chart is set to the 5-minute timeframe.
concepteducationalFractal

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明