StepMA pdf nmc 3.142 + arrows
Category: trend
A Step Moving Average variant that uses a Normal Probability Density Function (Gaussian) for smoothing price inputs before applying step-transition logic.
Formula
\text{PDF}(x, \sigma, \mu) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}} \\ \text{PDFMA}_t = \frac{\sum_{i=0}^{L-1} P_{t-i} \cdot \text{PDF}(i)}{\sum_{i=0}^{L-1} \text{PDF}(i)} \\ \text{StepMA}_t = \begin{cases} \text{Trailing Max}(PDFMA_{low}) + \text{Step} & \text{if Trend Up} \\ \text{Trailing Min}(PDFMA_{high}) - \text{Step} & \text{if Trend Down} \end{cases} \text{ where Step triggers transition on Price cross.}
Inputs
- PriceFirstList (default: true)
- MaPriceFirstList (default: pr_hl)
- PdfMaLength (default: 10)
- Sensitivity (default: 5.0)
- StepSize (default: 2.0)
- Variance (default: 1.0)
- ATRScaling (default: false)
See signal primitives and every published strategy that uses StepMA pdf nmc 3.142 + arrows on WOBR StrategyVerse.