FRAMA: an average that adapts using fractal dimension
How the Fractal Adaptive Moving Average measures the roughness of price to decide its own speed, and what fractal dimension means here.
Fractal Adaptive MA is free on Basis — the button opens a live crypto chart with it already applied. No account, no trial and no limit on how many indicators you add.
Open the chartWhat it measures
FRAMA measures the fractal dimension of recent price — a number between one and two describing how rough the path is — and uses it to set its smoothing.
A dimension near one means the path is close to a straight line, and the average speeds up. Near two means it is space-filling chop, and the average slows almost to a stop.
It is the most mathematically grounded of the adaptive averages, and in practice it behaves similarly to KAMA while reacting to a different property of the data.
How it is calculated
These are the steps Basis performs, verified against the published definition.
- 1
Split the lookback window in half and measure the price range of each half and of the whole.
- 2
Compare the sum of the two half-ranges against the full range; a path that doubles back covers more ground than its net range.
- 3
Convert that ratio into a fractal dimension using logarithms.
- 4
Map the dimension onto a smoothing constant and apply it to the previous value and the current price.
Settings
| Setting | Default | Range |
|---|---|---|
| Length | 16 | 4 – 200 |
A period of sixteen or higher, and even, is the usual requirement. Below that the dimension estimate is unstable enough that the adaptation becomes random rather than responsive.
How to read it
- Read it as a trend line whose responsiveness you do not have to manage. Flat means rough, sloping means smooth.
- The transition from flat to sloping is often earlier than a fixed average would show, because roughness falls before displacement becomes obvious.
- It is a good candidate for the baseline of a system precisely because it does not need re-tuning between regimes.
- The dimension itself is worth watching alongside the average, where an implementation exposes it. A market whose dimension falls steadily is one getting more orderly, and that transition tends to precede the part of a trend that is obvious on price.
Where it misleads
Fractal dimension is computed from ranges, so a single spike inflates the roughness measure and slows the average at exactly the moment a real move may be starting. It is also sensitive to the window being even and reasonably long — very short windows produce dimension estimates too noisy to be meaningful, which is why FRAMA implementations tend to enforce a minimum period rather than letting you set anything.
Plot Fractal Adaptive MA on a live chart
Basis is free. Every indicator, every chart type, order flow, derivatives, screening and backtesting — no paid tier and no account needed to open a chart.
Open a chart with FRAMARelated indicators
Updated 2026-08-22 · Educational reference, not financial advice.