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
- Parabolic SARA dotted trailing stop that flips from below price to above it when the trend turns.
- Pascal WMAA moving average with bell-shaped weights, so the middle of the window matters most and both ends taper off gently.
- Wilder MA (RMA)Wilder's moving average — the slow, sticky trend line that sits underneath RSI, ATR and ADX.
- Rolling maxThe highest value another series reached over a recent window.
Or browse all 158 indicators in the full library.