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

Or browse all 158 indicators in the full library.

Build a bot that trades on Choppiness index — the first backtest is free.

Run a free backtest