VOLATILITY, DISPERSION & CANDLES

True range

How far the stock actually travelled in one candle, counting any overnight gap.

spec id: true_range

What does True range measure?

How far the stock actually travelled in one candle, counting any overnight gap. It is the raw ingredient behind ATR.

How is True range calculated?

Take the biggest of three distances: high minus low, high minus the previous close, and the previous close minus the low.

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 True range in a bot?

In the builder, add an indicator of type true_range. 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 True range — the first backtest is free.

Run a free backtest