OPEN-SOURCE SCRIPT
STOP ATR Classic Long & Short

STOP ATR Classic Long & Short
Professional ATR-based stop management indicator designed for traders who use volatility-driven risk control.
This indicator automatically calculates dynamic STOP LONG and STOP SHORT levels using the Average True Range (ATR), helping traders identify adaptive stop-loss zones based on real market volatility.
Features
Dynamic ATR-based stop levels
Separate STOP LONG and STOP SHORT projections
Clean dotted-line visualization
Real-time volatility measurement
Built-in information panel displaying:
Current ATR value
STOP LONG level
STOP SHORT level
Adjustable table position
Inputs
ATR Period
ATR Multiplier
Table Position
How It Works
The indicator uses the ATR to calculate adaptive stop zones:
STOP LONG → Positioned below price for long trade protection
STOP SHORT → Positioned above price for short trade protection
As market volatility expands or contracts, stop levels automatically adjust to current conditions.
Best Use Cases
Risk management
Swing trading
Intraday trading
Trend-following systems
Volatility-based stop placement
Compatible with all markets and timeframes:
Forex
Crypto
Stocks
Futures
Indices
Notes
This indicator does not provide buy or sell signals.
It is designed as a professional trade management and stop placement tool.
© 2026 Ronald Sena. All rights reserved.
Professional ATR-based stop management indicator designed for traders who use volatility-driven risk control.
This indicator automatically calculates dynamic STOP LONG and STOP SHORT levels using the Average True Range (ATR), helping traders identify adaptive stop-loss zones based on real market volatility.
Features
Dynamic ATR-based stop levels
Separate STOP LONG and STOP SHORT projections
Clean dotted-line visualization
Real-time volatility measurement
Built-in information panel displaying:
Current ATR value
STOP LONG level
STOP SHORT level
Adjustable table position
Inputs
ATR Period
ATR Multiplier
Table Position
How It Works
The indicator uses the ATR to calculate adaptive stop zones:
STOP LONG → Positioned below price for long trade protection
STOP SHORT → Positioned above price for short trade protection
As market volatility expands or contracts, stop levels automatically adjust to current conditions.
Best Use Cases
Risk management
Swing trading
Intraday trading
Trend-following systems
Volatility-based stop placement
Compatible with all markets and timeframes:
Forex
Crypto
Stocks
Futures
Indices
Notes
This indicator does not provide buy or sell signals.
It is designed as a professional trade management and stop placement tool.
© 2026 Ronald Sena. All rights reserved.
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.