Concept

McGinley Dynamic

McGinley Dynamic is a Trend concept. The Library holds 2 implementations, each one a working definition you can pull into Quant.

Top McGinley Dynamic indicators

2 total

What is the McGinley Dynamic?

The McGinley Dynamic is an adaptive smoothing line developed by market technician John R. McGinley in the 1990s to address a standing complaint about moving averages: a fixed length is always tuned for one market speed, so the line lags badly in fast markets and hugs too closely in slow ones. Each bar, the McGinley Dynamic moves toward price by the distance between price and the line, divided by N times the fourth power of the price-to-line ratio. That ratio term is the whole mechanism: when price falls below the line, the divisor shrinks and the line chases price down quickly; when price stretches above, the divisor grows and the line advances more reluctantly.

The asymmetry is deliberate. McGinley built the formula around the observation that markets fall faster than they rise, so the line is designed not to get stranded far above a falling market while staying smooth through advances. N is a smoothing factor rather than a literal bar count; McGinley's own guidance was to use roughly 60% of the EMA or SMA length you would otherwise choose. It remains a lagging, price-following line: it reduces separation and whipsaw, it does not eliminate them.

How traders use it

  • As a trend baseline: slope and price's side of the line define bias, the same role an EMA plays, with speed that self-adjusts instead of being fixed by the length setting.
  • As the smoothing engine inside other constructs: substituting the McGinley Dynamic for conventional averages in crossover systems or MACD-style spreads to cut whipsaw from mis-fit lengths.
  • As one of several adaptive averages, alongside KAMA and VIDYA, compared when a strategy's fixed-length average keeps being wrong-footed by regime changes.

Related concepts · Moving-average lineage

Concept family

Trend

100 concepts mapped · 88 in the Library

McGinley Dynamic FAQ

Is the McGinley Dynamic better than an EMA?

It solves one specific problem well: staying close to price when a market accelerates downward, because its adjustment factor speeds up as price falls below the line. It is not uniformly better. It still lags, still gets chopped in ranges, and its built-in asymmetry (faster down than up) may not suit every strategy. Compare both on your market before switching.

What does the N parameter mean in the McGinley Dynamic?

N is a smoothing constant, not a literal lookback of N bars. Larger N makes the line slower and smoother; smaller N makes it hug price. McGinley's suggestion was to set N to roughly 60% of the conventional moving-average length you would otherwise use, so an N of 12 stands in for about a 20-period average.

Build McGinley Dynamic your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.