Improving McGinley Dynamic Stability with a Bounded Denominator
Summary
This indicator presents a modified McGinley Dynamic moving average designed to avoid extreme numerical behavior in the unconstrained calculation. The author explains that raising the ratio of current price to the prior average to a power can make the denominator approach zero or grow very large during unusual price moves. The modified formula bounds that denominator using minimum and maximum functions, limiting these failure modes. Inputs let users select the period, price source, exponent, and a coefficient based on modern, original, or custom settings.
The script plots the improved line alongside a conventional exponential moving average and an unconstrained version for comparison; the latter is included to illustrate instability and is discouraged for reuse. The description says the revised calculation can plot from the first bar and later adds support for another resolution. These are implementation and visualization claims, not evidence of better trading returns or predictive value. The indicator is a smoothing tool, and the source offers no systematic tests, market-specific guidance, or rules for turning its line into trades.
Key ideas
- The improved formula bounds the denominator in the McGinley Dynamic update.
- The bounds are intended to reduce near-zero and excessively large intermediate values.
- Users can adjust the period, source, exponent, and coefficient formulation.
- The indicator compares the improved line with an EMA and an unconstrained version.
- The document offers no evidence that the modified average improves trading performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.