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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.