TREND, MOVING AVERAGES & STRUCTURE
-DM
The down-side half of the directional movement that ADX is built from — how hard the lows have been pushing lower.
spec id: minus_dmlength (default 14)
What does -DM measure?
The down-side half of the directional movement that ADX is built from — how hard the lows have been pushing lower.
How is -DM calculated?
Each candle, measure how much further the low dropped than the previous low, and count it only when that beats the matching upward 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 minus_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
- OHLC4A single, steady price for the candle that uses all four points — the smoothest of the price averages.
- Pivot pointsThe classic floor-trader support and resistance levels, worked out from yesterday's candle before today opens.
- +DMThe up-side half of the directional movement that ADX is built from — how hard the highs have been pushing higher.
- Parabolic SARA dotted trailing stop that flips from below price to above it when the trend turns.
Or browse all 158 indicators in the full library.