ATR Renko: Calculation and Timing
Calculate True Range and decide when an ATR-based brick size becomes available.
Compute True Range and ATR
True Range is the maximum of high minus low, the absolute high-to-previous-close gap and the absolute low-to-previous-close gap. For a previous close of 100, high 112 and low 108, True Range is 12. Wilder seeds with the mean of the first n values and updates via new ATR = (old ATR × (n − 1) + TR) / n.
Set when size takes effect
Use completed time bars only. Freezing the initial ATR gives one reproducible experiment. For adaptive sizing, define when each new size applies and how to carry the anchor forward. The data checker uses fixed brick sizes.