OPEN-SOURCE SCRIPT
Aktualisiert 52-Week High Line

52-Week High Line
This indicator automatically identifies and plots the highest price level reached over the past 52 weeks (252 trading days) directly on your chart as a horizontal line.
The line starts from the beginning of the 52-week lookback window and extends to the right, giving you a clear visual reference of where the annual resistance level sits at all times. The line updates only on the current live bar, so it remains stable as you scroll or pan through chart history.
Features:
- Plots the rolling 52-week high as a clean horizontal line
- Line anchors to the start of the current 52-week window, not the original high bar
- Label displays the exact 52-week high price level
- Fully customizable — line color, width, and style (Solid / Dashed / Dotted)
- Toggle label on or off
How to use:
- Price approaching or breaking above the 52-week high line signals potential breakout momentum
- Price consistently rejected below the line signals strong resistance
- Best used on the Daily timeframe for true 52-week accuracy. For other timeframes, adjust the lookback accordingly (Weekly = 52 bars, Monthly = 12 bars)
- Note: The default lookback of 252 bars is calibrated for stock markets. For crypto or forex (24/7 markets), change the lookback to 365 bars for daily charts.
This indicator automatically identifies and plots the highest price level reached over the past 52 weeks (252 trading days) directly on your chart as a horizontal line.
The line starts from the beginning of the 52-week lookback window and extends to the right, giving you a clear visual reference of where the annual resistance level sits at all times. The line updates only on the current live bar, so it remains stable as you scroll or pan through chart history.
Features:
- Plots the rolling 52-week high as a clean horizontal line
- Line anchors to the start of the current 52-week window, not the original high bar
- Label displays the exact 52-week high price level
- Fully customizable — line color, width, and style (Solid / Dashed / Dotted)
- Toggle label on or off
How to use:
- Price approaching or breaking above the 52-week high line signals potential breakout momentum
- Price consistently rejected below the line signals strong resistance
- Best used on the Daily timeframe for true 52-week accuracy. For other timeframes, adjust the lookback accordingly (Weekly = 52 bars, Monthly = 12 bars)
- Note: The default lookback of 252 bars is calibrated for stock markets. For crypto or forex (24/7 markets), change the lookback to 365 bars for daily charts.
Versionshinweise
Updated versionOpen-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.