PROTECTED SOURCE SCRIPT
Updated Daily Context (yctrades_)

This indicator automatically marks the Previous Day’s High and Low, as well as the market’s midnight opening price.
These levels are updated at the start of each new trading day and remain visible throughout the entire session.
By providing key daily reference points, the indicator helps establish a clear market context and allows traders to immediately understand where price is positioned relative to the previous day’s range and the daily open.
The New York midnight line (00:00 NY) now appears only at the actual NY midnight.
Any previous day’s NY midnight line is automatically deleted when the day changes.
Between the previous NY midnight and the current one, no line is displayed, avoiding clutter or outdated lines.
The line’s color can now be individually customized via NY 00:00 Line + Text Color input, applying to both the line and its label.
Displays a vertical line between each trading day.
Fully customizable in the settings:
Color of the line
Width of the line
Style (solid, dashed, dotted)
This makes it easy to visually separate trading sessions directly on the chart.
PDH / PDL are calculated using UTC 00:00–23:59 to ensure identical levels for all traders worldwide, regardless of market or timezone.
These levels are updated at the start of each new trading day and remain visible throughout the entire session.
By providing key daily reference points, the indicator helps establish a clear market context and allows traders to immediately understand where price is positioned relative to the previous day’s range and the daily open.
The New York midnight line (00:00 NY) now appears only at the actual NY midnight.
Any previous day’s NY midnight line is automatically deleted when the day changes.
Between the previous NY midnight and the current one, no line is displayed, avoiding clutter or outdated lines.
The line’s color can now be individually customized via NY 00:00 Line + Text Color input, applying to both the line and its label.
Displays a vertical line between each trading day.
Fully customizable in the settings:
Color of the line
Width of the line
Style (solid, dashed, dotted)
This makes it easy to visually separate trading sessions directly on the chart.
PDH / PDL are calculated using UTC 00:00–23:59 to ensure identical levels for all traders worldwide, regardless of market or timezone.
Release Notes
indicator updated.Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.