PROTECTED SOURCE SCRIPT
已更新

Multi-Timeframe Highs & Lows

50
This indicator plots the previous period high and low levels for multiple timeframes: Yearly, Monthly, Weekly, Daily, 4H, 1H, and 15M.
Key features:

Automatically detects and draws horizontal lines at the high and low of the completed previous period for each selected timeframe.
Lines extend into the future by a user-defined number of bars.
Option to end the line extension when price wicks through the level (high broken upward or low broken downward).
When a level is broken, the line stops at the breaking bar and the label moves to the midpoint, positioned slightly above the high or below the low for clearer visibility.
Individual toggles to show or hide each timeframe independently.
Auto-hides levels when viewing the chart on the same timeframe (e.g., daily levels hidden on daily chart).
Configurable line style (solid, dotted, dashed), label font size, and extension length.
Built-in alert conditions for each individual level (14 total): triggers once when price wicks through any previous high or low, with clear messages identifying the specific timeframe and direction broken.

Useful for identifying potential support/resistance zones based on prior period extremes across multiple timeframes directly on the price chart, with real-time alerts on liquidity sweeps.
版本注释
Fixed bug plotting incorrect timeframe. Next fix will clean up same timeframe labels.
版本注释
Fixed Bug in Buffer Extension Function
Added Feature to change line style/color when High or Low is broken.
版本注释
Fixed broken line settings. When broken lines are extended, the broken line settings are still used.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。