Skip to content

ADX / DMI

Measures trend strength (ADX) and its direction (+DI/-DI). ADX/DMI consists of three lines: ADX (the average trend-strength line), +DI (Positive Directional Indicator) and -DI (Negative Directional Indicator). An ADX above 25 signals the presence of a trend, above 50 — a strong trend. The crossover of +DI and -DI is used as a position-entry signal.

Formula:

+DI = 100 * EMA(+DM) / ATR
-DI = 100 * EMA(-DM) / ATR
DX = 100 * |+DI - -DI| / (+DI + -DI)
ADX = EMA(DX, period)
ParameterTypeDefaultRange / Values
Periodint141-200
TriggerDirectionConditionDescription
Level cross up🟢 BuyThe indicator value crossed the specified level from below to above.The ADX line crosses the configurable Level from below to above. Level is set in the trigger parameters.
Level cross down🔴 SellThe indicator value crossed the specified level from above to below.The ADX line crosses Level from above to below. Level is set in the trigger parameters.
Value above level by N🟢 BuyThe indicator value rose above the level by the specified distance.The ADX line crosses the Level + Distance mark moving upward. The distance delays entry until the breakout is confirmed.
Value below level by N🔴 SellThe indicator value fell below the level by the specified distance.The ADX line crosses the LevelDistance mark moving downward.
Value rising🟢 BuyThe indicator value is rising relative to the previous bar.The ADX line is higher on the current bar than on the previous one — upward momentum.
Value falling🔴 SellThe indicator value is falling relative to the previous bar.The ADX line is lower on the current bar 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 ADX line changes its slope from descending to ascending — the indicator stopped falling and started rising.
Slope turns negative🔴 SellThe indicator’s slope turned negative — a downward reversal.The ADX line changes its slope from ascending to descending — the indicator stopped rising and started falling.
Signal line cross up🟢 BuyThe main line crossed the signal line from below to above — a buy signal.+DI crosses −DI from below to above — a bullish signal: positive directional movement begins to prevail.
Signal line cross down🔴 SellThe main line crossed the signal line from above to below — a sell signal.+DI crosses −DI from above to below — a bearish signal: negative directional movement begins to prevail.
Line diverges from signal↕️ BothThe distance between the main line and the signal line increased by the specified amount.+DI and −DI diverge — the gap between the directional lines grows, the trend is gaining strength.
Line converges to signal↕️ BothThe distance between the main line and the signal line decreased by the specified amount.+DI and −DI converge — the gap between the directional lines narrows, the trend is weakening.
Enter uptrend🟢 BuyThe indicator entered an uptrend.Fires when a trend indicator (ADX/DMI, Ichimoku, Supertrend, etc.) signals the start of an uptrend.
Enter downtrend🔴 SellThe indicator entered a downtrend.Fires when a trend indicator (ADX/DMI, Ichimoku, Supertrend, etc.) signals the start of a downtrend. The specific condition depends on the indicator.
ParameterTypeDefaultRange / Values
Level (Value above level by N, Value below level by N, Level cross up, Level cross down)float0
Distance (Value above level by N, Value below level by N)float00>
Min Delta (Line converges to signal, Line diverges from signal)float00>
Threshold (Enter downtrend, Enter uptrend)float500-100