McGinley Dynamic Pass
McGinley Dynamic — Series Input
IndicatorTrendOverlay
Overview
McGinley Dynamic Pass applies John McGinley's adaptive smoothing filter to any upstream numeric series. The filter automatically adjusts its speed to market conditions by using a power-law denominator that responds faster to down-moves than up-moves.
Formula
MD[t] = MD[t−1] + (x[t] − MD[t−1]) / (period · (x[t]/MD[t−1])⁴)
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| period | number | 14 | Base smoothing constant. Actual speed adapts dynamically. |
Inputs & Outputs
| Port | Direction | Type | Description |
|---|---|---|---|
| input | Input | (number | null)[] | Any numeric series (values + timestamps). |
| values | Output | (number | null)[] | Smoothed output series, null for warm-up bars. |
| timestamps | Output | number[] | Bar timestamps aligned with values. |