Ehlers MESA Stochastic (MSTOCH)
Category: cycle, momentum
A high-precision oscillator that applies Ehlers' Roofing Filter (combining a Highpass filter and SuperSmoother) to eliminate trend bias and spectral noise before calculating a stochastic value.
Formula
\begin{cases} HP = \text{2-pole Butterworth Highpass}(src, hpLength) \\ Filt = \text{SuperSmoother}(HP, ssLength) \\ Stoc = \frac{Filt - \min(Filt, n)}{\max(Filt, n) - \min(Filt, n)} \\ MSTOCH = \text{SuperSmoother}(Stoc, ssLength) \end{cases}
Inputs
- Stochastic Length (default: 20)
- HP Length (default: 48)
- SS Length (default: 10)
- Source (default: close)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.