Skip to content

ATR

Average True Range — the average of the true range, measures market volatility. Average True Range (ATR) averages the True Range over n periods using Wilder’s smoothed moving average. ATR does not show the direction of price movement — only volatility. It is used to set stop-losses, determine position size, and filter signals.

Formula:

TR = max(High - Low, |High - Close_prev|, |Low - Close_prev|)
ATR = RMA(TR, period) [Wilder smoothing: ATR = ATR_prev * (n-1)/n + TR/n]
ParameterTypeDefaultRange / Values
Periodint141-200
TriggerDirectionConditionDescription
Level cross up🟢 BuyThe indicator value crossed the set level from below.The ATR line crosses the configurable Level from below. Level is set in the trigger parameters.
Level cross down🔴 SellThe indicator value crossed the set level from above.The ATR line crosses the Level from above. Level is set in the trigger parameters.
Value above level by N🟢 BuyThe indicator value rose above the level by a set distance.The ATR line crosses the Level + Distance mark, moving upward. The distance delays entry until the level breakout is confirmed.
Value below level by N🔴 SellThe indicator value dropped below the level by a set distance.The ATR line crosses the LevelDistance mark, moving downward.
Value rising🟢 BuyThe indicator value is rising relative to the previous bar.The ATR line on the current bar is higher than on the previous one — upward momentum.
Value falling🔴 SellThe indicator value is declining relative to the previous bar.The ATR line on the current bar is lower than on the previous one — downward momentum. Fires on every declining bar.
Slope turns positive🟢 BuyThe indicator’s slope turned positive — an upward reversal.The ATR line changes its slope from descending to ascending — the indicator has stopped falling and started rising.
Slope turns negative🔴 SellThe indicator’s slope turned negative — a downward reversal.The ATR line changes its slope from ascending to descending — the indicator has stopped rising and started falling.
ParameterTypeDefaultRange / Values
Distance (Value above level by N, Value below level by N)float00>
Level (Value above level by N, Value below level by N, Level cross up, Level cross down)float0