TREND, MOVING AVERAGES & STRUCTURE
Directional index
The raw, unsmoothed strength reading that ADX is built from.
spec id: dxlength (default 14)
What does Directional index measure?
The raw, unsmoothed strength reading that ADX is built from. It reacts quicker than ADX and is noisier for the same reason.
How is Directional index calculated?
Take the up-side and down-side directional readings over 14 candles, take the gap between them, and divide by their total — so one side dominating scores near 100 and a balanced tug-of-war scores near 0.
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 Directional index in a bot?
In the builder, add an indicator of type dx (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
- Exp Hull MAA Hull-style trend line built from exponential averages: fast to turn, and smooth on the way.
- EMAA smoothed price line that follows the trend.
- Elastic VWMAA trend line whose speed is set by volume: a heavy-volume candle drags it a long way, a quiet one barely moves it.
- Fibonacci pivotsSupport and resistance levels spaced by Fibonacci fractions of yesterday's range — a popular alternative to the classic pivots.
Or browse all 158 indicators in the full library.