OPEN-SOURCE SCRIPT

Multi-Timeframe High/Low Lines

131
Multi-Timeframe High/Low Lines

Track and visualize high/low levels from multiple timeframes with automatic interaction detection and alerts.

Features:

  • Displays horizontal lines for highs and lows from Daily, Weekly, Monthly, Quarterly, and Yearly timeframes
  • Lines extend to the right until price interacts with them
  • Automatic interaction detection - lines stop extending when touched
  • Customizable colors for each timeframe and level type
  • Configurable line width and style (solid, dashed, dotted)
  • Built-in alerts for level interactions
  • Performance optimized for smooth operation
  • Works with traditional markets (futures, stocks) and crypto


How It Works:

  1. Detects new candles on higher timeframes (Daily, Weekly, Monthly, Quarterly, Yearly)
  2. Creates horizontal lines at the high and low of each new timeframe candle
  3. Lines are drawn from the exact time/bar where the high/low occurred
  4. Lines extend to the right until price touches the level
  5. When a level is touched, the line stops extending and is marked as "hit"
  6. Alerts can be configured to notify when levels are touched


Settings:

  • Timeframe Settings: Enable/disable individual timeframes
  • Visual Settings: Line width, style, and maximum number of levels
  • Colors: Custom colors for each timeframe's highs and lows
  • Alert Settings: Enable alerts for high/low level touches


Use Cases:

  • Identify key support and resistance levels from higher timeframes
  • Track when price interacts with significant levels
  • Use as part of a multi-timeframe analysis strategy
  • Set up alerts for level breaks or bounces
  • Combine with other indicators for entry/exit signals


Compatibility:

  • Works on all timeframes (1m to monthly)
  • Compatible with traditional markets (futures, stocks, forex)
  • Optimized for crypto markets
  • Handles market gaps and session resets properly


This indicator automatically manages line lifecycle, removing old lines and limiting total count for optimal performance.

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.