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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。