TREND, MOVING AVERAGES & STRUCTURE
Choppiness index
A 0-100 meter for whether the market is trending or just chopping about.
spec id: choplength (default 14)
What does Choppiness index measure?
A 0-100 meter for whether the market is trending or just chopping about. High means sideways and directionless; low means a clean, committed move.
How is Choppiness index calculated?
Add up the true range of the last 14 candles — the total distance travelled — and compare it with the straight-line distance from the window's lowest low to its highest high. Lots of travel for little net progress scores high.
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 Choppiness index in a bot?
In the builder, add an indicator of type chop (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
- DEMAA trend line that turns faster than a normal exponential average, with less of the lag that makes moving averages arrive late.
- DeMark pivotsA support and resistance pair built from yesterday's candle, with a twist: the level shifts depending on whether yesterday closed up or down.
- Donchian channelA channel drawn straight through the recent highs and lows.
- Directional indexThe raw, unsmoothed strength reading that ADX is built from.
Or browse all 158 indicators in the full library.