OPEN-SOURCE SCRIPT
Telah dikemas kini

RTH Session Highs & Lows

91
A Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.

Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.

These levels help traders identify intraday support (low) and resistance (high) levels.

New High/Low Markers:
Small triangle markers are placed:
  • Above the bar when a new intraday high is made (green triangle).
  • Below the bar when a new intraday low is made (red triangle).

This visually flags when momentum may be building or reversing.

Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
  • Breakouts above session highs may indicate bullish strength.
  • Breakdowns below session lows may suggest bearish momentum.


Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.

Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.

Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.

Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
Nota Keluaran
Updates
Midpoint Line: A line plotting the average of the session high and low, serving as a reference for range traders.
Retouch Marker Feature: Yellow triangle markers to highlight when the price retouches the previous session high or low without breaking through, indicating potential support or resistance levels.
Nota Keluaran
Updates:

Input for Tolerance: Allow users to customize the tolerance for retouch detection (e.g., as a percentage of the price) via the indicator’s settings.
Input to Enable/Disable Retouch Markers: Add a boolean input to toggle the display of yellow retouch markers (high and low) on or off.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.