OPEN-SOURCE SCRIPT
已更新

Premarket High/Low (Horizontal Rays)

2 159
=== Script Description ===
This TradingView script automatically detects and displays the high and low prices
during the premarket session (04:00–09:30 Eastern Time) for the current trading day.
It draws horizontal rays that extend across the chart and labels them as "PM High" and "PM Low".
These markers are refreshed daily and only apply to today's session.

The script also provides full customization for:
- Line color, width, and style (solid, dotted, dashed)
- Label text color, background color, size, and style (left, right, up, down)

Time note: This script assumes data aligned with U.S. market hours.
版本注释
=== Script Description ===
This TradingView script automatically detects and displays the high and low prices
during the premarket session (04:00–09:30 Eastern Time) for the current trading day.

It draws horizontal rays that extend across the chart and labels them as "PM High" and "PM Low".
These markers are refreshed daily and only apply to today's session.

The script also provides full customization for:
- Line color, width, and style (solid, dotted, dashed)
- Label text color, background color, size, and style (left, right, up, down)

Time note: This script assumes data aligned with U.S. market hours.
版本注释
=== Script Description ===
This TradingView script automatically detects and displays the high and low prices
during the premarket session (04:00–09:30 Eastern Time) for the current trading day.

It draws horizontal rays that extend across the chart and labels them as "PM High" and "PM Low".
These markers are refreshed daily and only apply to today's session.

The script also provides full customization for:
- Line color, width, and style (solid, dotted, dashed)
- Label text color, background color, size, and style (left, right, up, down)

Time note: This script assumes data aligned with U.S. market hours.
版本注释
Updated:
The labels for PM High and PM Low now dynamically update during the premarket session as new highs or lows are reached. The rays and labels move in real time without waiting for the premarket session to end.
版本注释
Update:
It now works on all time frames.
版本注释
Updated the chart in the script preview to include only the Premarket High/Low (Horizontal Rays) script.

免责声明

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.