The top-left panel classifies every candle in the backtest into one of three volatility regimes — High, Medium, or Low — and shows how the strategy's trade exposure compares to the overall market distribution.
How Volatility Is Classified
The backend uses a 14-period Average True Range (ATR) to measure price movement magnitude. ATR captures the full range of each candle including gaps, then smooths the values using Wilder's method. To make the measure comparable across different price levels, ATR is normalised as a percentage of price.
Rather than using fixed thresholds (which would break across assets and timeframes), the system uses rolling percentiles. For each candle, it looks back at a window of up to 100 prior ATR values and computes the 33rd and 67th percentiles:
- ATR at or below the 33rd percentile → Low volatility
- ATR at or above the 67th percentile → High volatility
- Everything between → Medium volatility
This relative classification means "high volatility" for a stable asset like a bond ETF represents a completely different absolute ATR than "high volatility" for a cryptocurrency. The system adapts to whatever instrument it analyses.
Market vs Exposure Bars
Each regime row shows two overlapping bars. The dimmer bar represents market availability — the percentage of the test period that spent in that volatility level. The brighter bar represents strategy exposure — the percentage of the strategy's total in-market time that fell within that regime.
The numbers to the right (e.g., "37% → 14%") show market percentage first, then exposure percentage. When these numbers diverge significantly, the strategy is being selective. In the screenshot, the strategy was exposed to High volatility only 14% of the time despite the market being in High volatility 37% of the time — it actively avoided volatile conditions.
Transition Count
At the bottom, "211 transitions" counts how many times the volatility regime changed over the test period. A high transition count means the market moved between regimes frequently — conditions were unstable. A low count means the market sat in one regime for extended periods. This number sets context for interpreting the distribution: a backtest with 10 transitions may have only experienced 2-3 distinct volatility environments, while one with 200+ transitions saw constant regime changes.