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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.