True Range (TRANGE)
StratCraft indicator page for a smoothed range and volatility reference.
Route: /indicators/trange/
What It Does
TRANGE measures range expansion from the high, low, and close series using a configurable smoothing setup.
Formula
The value tracks true range behavior across the selected lookback and smoothing inputs.
Parameters
period1- default25period2- default13pchange- default1_movav- defaultEMA
C++23 API
#include <nonabt/indicators/trange.hpp>
auto trange = std::make_unique<nonabt::TRANGE>(data().close(), 25, 13, 1, "EMA");
Common Usage
- Use it as a volatility reference or threshold input.
- Pair it with breakout or regime filters.
- Helpful when you want a smoothed range measure rather than raw candles.
