OPEN-SOURCE SCRIPT
Aktualisiert ATR + True RTH Day Range

RTH Range & Daily ATR Monitor
Track the regular trading session’s price range and compare it with the daily Average True Range (ATR), using a compact panel on your chart.
Panel Values
• ATR(D): Daily ATR with a configurable lookback, set to 14 periods by default.
• Range RTH: The difference between the highest and lowest prices recorded during the regular session.
• Used: The RTH range expressed as a percentage of daily ATR.
Used = RTH Range ÷ Daily ATR × 100
For example, a session range of 3.87 and a daily ATR of 6.22 produces approximately 62.23%. The calculation uses unrounded values.
Regular Session Only
The session range uses standard one-minute candles from the regular-session data feed, filtered to 9:30 a.m.–4:00 p.m., Monday through Friday, in America/New_York time. Daylight saving time is handled automatically.
Premarket and after-hours prices are excluded from the range calculation, whether extended hours are visible on the chart or hidden.
The daily ATR also uses an explicitly selected regular-session feed.
Session Tracking
At the first available RTH candle of each new session, the indicator saves the preceding session’s high and low, then resets the current range.
During RTH, the range expands as new highs or lows form. Outside RTH, the panel retains the latest available regular-session values until the next session begins.
Panel Colors
The background compares the latest RTH price with the preceding RTH session’s range:
• Green: Above the previous session’s high.
• Red: Below the previous session’s low.
• Gray: Inside the previous session’s range, equal to either boundary, or without sufficient previous-session data.
Extended-hours price movements do not change this directional comparison.
Display Options
• Always: Displays the latest available RTH information, including after the session ends.
• Only Today: Displays the panel only when its RTH data belongs to the current New York calendar date. Before today’s RTH session begins, the panel remains hidden.
Understanding the ATR Percentage
The percentage compares the session’s high-to-low range with daily ATR. It does not measure the total distance traveled by price or predict how much movement remains.
Values above 100% are possible when the session range exceeds the ATR.
ATR uses True Range, which accounts for gaps relative to the previous daily close. Range RTH measures only the session’s high minus its low. These are related but different measurements.
Timeframes and Updates
Designed for intraday charts, the indicator calculates the session range from one-minute data rather than the visible chart candles. Update timing depends on the chart timeframe and available data.
The daily ATR includes the developing daily candle and can change during the regular session. It is not a fixed previous-day ATR reference.
Purpose
A compact tool for monitoring regular-session range expansion, daily volatility, and price position relative to the previous RTH session. It does not generate trade entries, execute orders, or provide backtest results.
Track the regular trading session’s price range and compare it with the daily Average True Range (ATR), using a compact panel on your chart.
Panel Values
• ATR(D): Daily ATR with a configurable lookback, set to 14 periods by default.
• Range RTH: The difference between the highest and lowest prices recorded during the regular session.
• Used: The RTH range expressed as a percentage of daily ATR.
Used = RTH Range ÷ Daily ATR × 100
For example, a session range of 3.87 and a daily ATR of 6.22 produces approximately 62.23%. The calculation uses unrounded values.
Regular Session Only
The session range uses standard one-minute candles from the regular-session data feed, filtered to 9:30 a.m.–4:00 p.m., Monday through Friday, in America/New_York time. Daylight saving time is handled automatically.
Premarket and after-hours prices are excluded from the range calculation, whether extended hours are visible on the chart or hidden.
The daily ATR also uses an explicitly selected regular-session feed.
Session Tracking
At the first available RTH candle of each new session, the indicator saves the preceding session’s high and low, then resets the current range.
During RTH, the range expands as new highs or lows form. Outside RTH, the panel retains the latest available regular-session values until the next session begins.
Panel Colors
The background compares the latest RTH price with the preceding RTH session’s range:
• Green: Above the previous session’s high.
• Red: Below the previous session’s low.
• Gray: Inside the previous session’s range, equal to either boundary, or without sufficient previous-session data.
Extended-hours price movements do not change this directional comparison.
Display Options
• Always: Displays the latest available RTH information, including after the session ends.
• Only Today: Displays the panel only when its RTH data belongs to the current New York calendar date. Before today’s RTH session begins, the panel remains hidden.
Understanding the ATR Percentage
The percentage compares the session’s high-to-low range with daily ATR. It does not measure the total distance traveled by price or predict how much movement remains.
Values above 100% are possible when the session range exceeds the ATR.
ATR uses True Range, which accounts for gaps relative to the previous daily close. Range RTH measures only the session’s high minus its low. These are related but different measurements.
Timeframes and Updates
Designed for intraday charts, the indicator calculates the session range from one-minute data rather than the visible chart candles. Update timing depends on the chart timeframe and available data.
The daily ATR includes the developing daily candle and can change during the regular session. It is not a fixed previous-day ATR reference.
Purpose
A compact tool for monitoring regular-session range expansion, daily volatility, and price position relative to the previous RTH session. It does not generate trade entries, execute orders, or provide backtest results.
Versionshinweise
RTH Range & Daily ATR MonitorTrack the regular trading session’s price range and compare it with the daily Average True Range (ATR), using a compact panel on your chart.
Panel Values
• ATR(D): Daily ATR with a configurable lookback, set to 14 periods by default.
• Range RTH: The difference between the highest and lowest prices recorded during the regular session.
• Used: The RTH range expressed as a percentage of daily ATR.
Used = RTH Range ÷ Daily ATR × 100
For example, a session range of 3.87 and a daily ATR of 6.22 produces approximately 62.23%. The calculation uses unrounded values.
Regular Session Only
The session range uses standard one-minute candles from the regular-session data feed, filtered to 9:30 a.m.–4:00 p.m., Monday through Friday, in America/New_York time. Daylight saving time is handled automatically.
Premarket and after-hours prices are excluded from the range calculation, whether extended hours are visible on the chart or hidden.
The daily ATR also uses an explicitly selected regular-session feed.
Session Tracking
At the first available RTH candle of each new session, the indicator saves the preceding session’s high and low, then resets the current range.
During RTH, the range expands as new highs or lows form. Outside RTH, the panel retains the latest available regular-session values until the next session begins.
Panel Colors
The background compares the latest RTH price with the preceding RTH session’s range:
• Green: Above the previous session’s high.
• Red: Below the previous session’s low.
• Gray: Inside the previous session’s range, equal to either boundary, or without sufficient previous-session data.
Extended-hours price movements do not change this directional comparison.
Display Options
• Always: Displays the latest available RTH information, including after the session ends.
• Only Today: Displays the panel only when its RTH data belongs to the current New York calendar date. Before today’s RTH session begins, the panel remains hidden.
Understanding the ATR Percentage
The percentage compares the session’s high-to-low range with daily ATR. It does not measure the total distance traveled by price or predict how much movement remains.
Values above 100% are possible when the session range exceeds the ATR.
ATR uses True Range, which accounts for gaps relative to the previous daily close. Range RTH measures only the session’s high minus its low. These are related but different measurements.
Timeframes and Updates
Designed for intraday charts, the indicator calculates the session range from one-minute data rather than the visible chart candles. Update timing depends on the chart timeframe and available data.
The daily ATR includes the developing daily candle and can change during the regular session. It is not a fixed previous-day ATR reference.
Purpose
A compact tool for monitoring regular-session range expansion, daily volatility, and price position relative to the previous RTH session. It does not generate trade entries, execute orders, or provide backtest results.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.