Page 1 of 1

The McGinley Dynamic: a moving average that adjusts its own speed

Posted: Sat Nov 21, 2026 4:27 pm
by Shadow Trader
The McGinley Dynamic was designed by John McGinley to address a common problem with moving averages: a fixed length is either too slow in fast markets or too jumpy in slow ones. The formula updates each value as the previous value plus the difference between price and the previous value, divided by N multiplied by the ratio of price to the previous value raised to the fourth power. The effect is that the line speeds up or slows down depending on how far price has moved from it.

An interesting side effect of the formula is an asymmetry. When price falls below the line, the ratio is less than one, which makes the divisor smaller and the line adjust faster. When price rises above the line, the divisor grows and the line follows more slowly. McGinley intended this, reasoning that markets tend to fall faster than they rise, so the line should catch drops quickly.

For currency pairs, that asymmetry is worth thinking about. A currency pair is a ratio of two currencies, and a fall in EURUSD is a rise in the dollar against the euro. The assumption that downward moves are faster may not hold the same way it does in stock indices. On intraday charts the ratio is also very close to one most of the time, so the adjustment is fairly mild.

Practical uses include:

- A trend line that hugs price more closely than an EMA during sharp moves, with fewer crosses during quieter spells.
- A trailing reference for scalps, exiting when price closes on the other side.
- A substitute in any setup that already uses a moving average, to see if the adaptive speed helps.

A fair test is to put the McGinley Dynamic and an EMA of the same nominal length into the same rules and compare the number of whipsaw crosses and the lag at turning points.

Has anyone compared it with standard averages on forex, and did the asymmetry show up in the results?