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
- Ulcer indexA volatility measure that only counts the PAIN — how deep drawdowns went and how long they lasted.
- Upper shadowThe wick sticking up above the candle's body — how far buyers pushed before sellers took it back.
- VarianceThe spread of recent prices before the square root is taken — standard deviation's rawer twin, used where the squared scale is wanted.
- Z-scoreHow unusual today's price is, in standard deviations from its own recent average.
Or browse all 158 indicators in the full library.