OPEN-SOURCE SCRIPT
52-Week High/Low with Momentum Filter & ATR Stop

This indicator for swing traders combines key yearly price levels with a hybrid moving average system and volatility-based risk markers. It identifies the 52-week high and low, providing the exact percentage distance from current prices to highlight potential breakouts or overextended moves.
Key Features
How to Use
The 52-week labels pinpoint high-probability breakout or reversal zones. Strong momentum is confirmed when the price holds above the EMA 21/50, while the SMA 200 ensures you are trading in the direction of the long-term trend. The 1.5x ATR circles offer an objective exit point to protect capital during pullbacks.
Key Features
- Yearly Range Labels: Automatically plots the 52-week high and low with labels showing the price distance from these extremes.
- Hybrid Trend System: Uses a combination of EMA 21 and EMA 50 to capture short-to-medium term momentum, while the SMA 200 provides the standard institutional trend filter.
- Volatility Stop (1.5x ATR): Features a circle-style trailing line set at 1.5 times the Average True Range. This provides a technical floor designed to filter out market noise for tighter swing trade management.
How to Use
The 52-week labels pinpoint high-probability breakout or reversal zones. Strong momentum is confirmed when the price holds above the EMA 21/50, while the SMA 200 ensures you are trading in the direction of the long-term trend. The 1.5x ATR circles offer an objective exit point to protect capital during pullbacks.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.