← All indicator tools

Indicator Lab · CHOP · Trend structure

Choppiness Index

Logarithmically compares a sum of true-range movements with the overall high-low range.

BTCUSDC · 1h · latest 30 complete days · shared snapshot · no account required

CHOP · Trend structureBTCUSDC · 1h · 30 days

How large is accumulated range relative to the entire price range of the window?

Logarithmically compares a sum of true-range movements with the overall high-low range.

One dataset, the same parameters and the same candle for application and explanation.

BTCUSDC · confirmed hourly candles

Snapshot retrieved: 11 Oct 2026, 15:52 UTC · stored snapshot · background refresh scheduled · age when opened: 3,138.4 min

11 Sept 2026, 15:00 — 11 Oct 2026, 15:00 UTC · 720 evaluation candles · 3000 earlier candles for warm-up only. Your opened snapshot stays fixed. A visit can refresh a stale cache in the background for later visitors; fetching fresh is not a tick stream.

Parameters and precise application

Number of confirmed hourly candles. Warm-up history stays fixed; only this parameter changes.

Number of confirmed hourly candles. Warm-up history stays fixed; only this parameter changes.

Explicit formula parameter of the calculation convention described below.

Base rule with this filter

Spot long/cash: BUY only on a confirmed EMA10 crossing above EMA30 AND CHOP ≤ 61.8. SELL on the reverse cross regardless of the filter. No catch-up entries. Next open with costs; control: the same EMA rule without the filter. Quoted thresholds refer to scalar=100 and are rescaled by scalar/100.

Shared capital and cost model

Includes the buy fee; the remainder stays in cash.

One adverse markup/markdown. Do not add spread a second time.

1 = next open. No retroactive trade at the signal close.

Preparing the calculation module. The shared market snapshot is already available.

Calculation and interpretation of the same candle

High values describe relatively much movement within a limited range; low values describe a more direct path.

scalar·log(ΣₙATR/(maxₙ(H)−minₙ(L)))/log(n)

TA-Lib Wilder ATR; n≥2. Zero high-low range is unavailable.

CHOP contains no trading direction and needs a separate base rule; a vanishing range makes the ratio undefined.

Checked sources and reproducibility

Data source, versions and hash
Market data source
https://data-api.binance.vision/api/v3/klines?symbol=BTCUSDC&interval=1h&startTime=1778338800000&endTime=1791730799999
Specification
indicator-library-1.0.0
Execution model
signal-simulation-1.0.0
Data hash
42ac75e03e017bcac023d319dabb0928e0562fda0e51f4bfa5549ac50e3e8be4
Disclosed candles including warm-up
3720

The sources support definitions and methodological limits. They do not establish profit for this specific BTCUSDC rule. This analysis is descriptive; parameter trials on the same history are not independent out-of-sample evidence. Parity with a deployed unCoded engine is not claimed.

    Choppiness Index · Interactive trading tool | unCoded