OPEN-SOURCE SCRIPT
Multi-Timeframe High/Low Lines

Multi-Timeframe High/Low Lines
Track and visualize high/low levels from multiple timeframes with automatic interaction detection and alerts.
Features:
How It Works:
Settings:
Use Cases:
Compatibility:
This indicator automatically manages line lifecycle, removing old lines and limiting total count for optimal performance.
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:
- Detects new candles on higher timeframes (Daily, Weekly, Monthly, Quarterly, Yearly)
- Creates horizontal lines at the high and low of each new timeframe candle
- Lines are drawn from the exact time/bar where the high/low occurred
- Lines extend to the right until price touches the level
- When a level is touched, the line stops extending and is marked as "hit"
- 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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.