StratBase.aiStratBase.ai
DashboardCreate BacktestMy BacktestsCatalogBlogNewsToolsHelp

Products

  • Researcher Dashboard
  • Create Backtest
  • My Backtests
  • Catalog
  • Blog
  • News

Alerts

  • Calendar
  • OI Screener
  • Funding Rate
  • REKT
  • Pump/Dump

Company

  • About Us
  • Pricing
  • Affiliate
  • AI Widget
  • Contact

Legal

  • Privacy
  • Terms
  • Refund Policy

Support

  • Help Center
  • Reviews
StratBase.aiStratBase.ai

Think it. Test it.

StratBase.ai does not provide financial advice or trading recommendations. AI only formalizes user ideas into testable strategy configurations for research purposes. Past backtesting performance does not guarantee future results. All trading decisions and associated risks are the sole responsibility of the user. This platform is not a broker and does not facilitate real trading.

© 2026 StratBase.ai · AI-powered strategy research and backtesting platform

support@stratbase.ai
Help Center/Indicators/McGinley Dynamic

McGinley Dynamic

📈Indicators
📌

McGinley Dynamic

📋

What is the McGinley Dynamic?

The McGinley Dynamic, developed by John R. McGinley, is a self-adjusting moving average that automatically adapts its speed to market velocity. Unlike traditional MAs with fixed smoothing factors, McGinley Dynamic tightens during fast moves and loosens during slow ones, producing a line that hugs price more consistently.

⚙️

How it works

MD = MD_prev + (Close - MD_prev) / (N × (Close / MD_prev)^4)

The (Close / MD_prev)^4 term is the key innovation:

  • When price moves quickly away from MD, the ratio deviates from 1 and MD accelerates.
  • When price is near MD, the ratio is close to 1 and MD moves slowly.
⭐

Key features

  • Self-adjusting speed — no need to switch periods for fast vs. slow markets.
  • Reduced whipsaws — adapts smoothness automatically, unlike fixed EMA/SMA.
  • Stays on the correct side of price — designed to minimize crossover noise.
📌

Trading signals

Trend direction

  • Price above McGinley Dynamic — bullish.
  • Price below McGinley Dynamic — bearish.

Trend strength

  • Large gap between price and MD — strong trend momentum.
  • Price hugging MD closely — trend may be weakening or market is consolidating.
📌

Parameters

| Parameter | Default | Description | |-----------|---------|-------------| | Period | 14 | Base smoothing period |

💡

Example conditions

| Condition | Meaning | |-----------|---------| | close > MCGINLEY(14) | Price above McGinley Dynamic — bullish | | close cross_over MCGINLEY(14) | Price reclaims MD — potential reversal up | | close cross_under MCGINLEY(14) | Price breaks below MD — bearish |

💡

Tips

  • McGinley Dynamic is excellent as a trend filter on higher timeframes.
  • Pair with momentum oscillators (RSI, Stochastic) for entry timing.
  • MD rarely produces false crossovers in trending markets — more reliable than SMA/EMA for trend direction.
  • Consider using MD instead of SMA(200) on daily charts for a more adaptive long-term trend indicator.
Related Resources|Fibonacci CalculatorPivot Points CalculatorTrading Blog