TREND, MOVING AVERAGES & STRUCTURE

+DM

The up-side half of the directional movement that ADX is built from — how hard the highs have been pushing higher.

spec id: plus_dmlength (default 14)

What does +DM measure?

The up-side half of the directional movement that ADX is built from — how hard the highs have been pushing higher.

How is +DM calculated?

Each candle, measure how much further the high pushed than the previous high, and count it only when that beats the matching downward push. Then smooth those over 14 candles with a running average that keeps most of yesterday's value.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use +DM in a bot?

In the builder, add an indicator of type plus_dm (parameters: length, default 14). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on +DM — the first backtest is free.

Run a free backtest