ATR Stop - Traditional w/SignalsATR Stop – Traditional w/Signals
ATR Stop – Traditional w/Signals is a volatility-based trailing stop indicator built using the Average True Range (ATR) framework originally introduced by J. Welles Wilder. The indicator dynamically adjusts its stop level based on market volatility and flips direction when price crosses the stop, providing clear trend-following signals.
The stop is calculated using a traditional ATR method:
Long Stop: Close − (ATR × Multiplier)
Short Stop: Close + (ATR × Multiplier)
Once established, the stop ratchets only in the direction of the trend:
In long mode, the stop can only move upward
In short mode, the stop can only move downward
When price crosses the stop level, the indicator flips direction and generates a BUY or SELL signal.
Features
• Traditional ATR-based trailing stop
• Automatic long/short trend detection
• Ratcheting stop that never moves against the trend
• Clear BUY / SELL labels on stop crossovers
• Optional bar coloring for quick trend visualization
• Adjustable ATR period and multiplier for sensitivity control
Inputs
ATR Period
Controls how volatility is measured. Smaller values react faster to price changes.
Multiplier
Determines the distance between price and the trailing stop. Larger values produce wider stops and fewer signals.
Barcolor Toggle
Enables or disables bar coloring based on price relative to the stop.
How to Use
Trend Identification
Green Stop / Bars: Price is above the stop → bullish trend
Red Stop / Bars: Price is below the stop → bearish trend
Signals
BUY: Price crosses above the ATR stop
SELL: Price crosses below the ATR stop
Traders often use the stop to:
Identify trend reversals
Manage trade exits
Trail stops during strong trends
Notes
This indicator follows the traditional ATR trailing stop structure and does not use Chandelier or highest-high/lowest-low calculations. The stop distance adapts dynamically to market volatility using ATR.
مؤشر Pine Script®






















