OPEN-SOURCE SCRIPT
업데이트됨

52-Week High Line

415
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.
릴리즈 노트
Updated version

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.