Page 1 of 1

FRAMA, the fractal adaptive moving average: using the shape of recent price to decide its own speed

Posted: Sun Nov 22, 2026 4:27 pm
by Shadow Trader
John Ehlers published the Fractal Adaptive Moving Average in 2005. Like several other adaptive averages, it changes its speed based on market conditions. What's different is how it measures those conditions. FRAMA estimates the fractal dimension of recent price, which is a measure of how much the path fills space, and uses that to set the smoothing constant of an EMA.

The calculation splits the lookback window, which has to be an even number of bars, into two halves. It takes the high-low range of each half divided by the number of bars in it, then does the same for the whole window. From those three values it estimates a dimension D between 1 and 2. A value near 1 means price moved in a fairly straight line, like a trend. A value near 2 means price wandered back and forth and filled the range, like chop. The smoothing factor is then the exponential of -4.6 times (D minus 1), limited between 0.01 and 1.

So in a clean trend the average becomes fast and tracks price closely. In a messy range it slows down sharply and runs almost flat, which in theory keeps you out of false crosses.

There are a few things to keep in mind:

- The dimension is estimated from only three range measurements, so it's noisy. Small changes in the window can make the speed jump from slow to fast and back.
- Because the smoothing factor can be as low as 0.01, the average can stay nearly flat for a long time and then shift suddenly when a trend begins. That looks good in hindsight but can lead to late signals.
- The idea is related to other measures of trend versus chop, like Kaufman's efficiency ratio or the Hurst exponent. They all try to answer whether price is moving directly or wandering. It's worth checking whether FRAMA behaves differently from a simpler adaptive average on the same chart before assuming the fractal approach adds anything.

On M5 with a 16-bar window, the average is assessing roughly the last 80 minutes, which is a reasonable span for deciding whether the current session is trending.

Has anyone compared FRAMA with KAMA or a plain EMA on fast forex charts? Did the flat periods in chop actually reduce bad trades, or just shift them to the start of each trend?