ALMA with Floating Levels
Category: trend, volatility
Arnaud Legoux Moving Average (ALMA) featuring adaptive floating levels for trend exhaustion and regime detection, using a Gaussian distribution for superior smoothness.
Formula
W(i) = exp(- (i - m)^2 / (2 * s^2)) \\ m = offset * (N - 1) \\ s = N / sigma \\ ALMA = \sum(Price * W) / \sum(W) \\ FloatingLevels = Min + (Max - Min) * \%Level
Inputs
- AlmaPeriod (default: 14)
- AlmaPrice (default: pr_close)
- AlmaSigma (default: 6.0)
- AlmaSample (default: 0.25)
- ColorOn (default: cl_out)
- flLookBack (default: 25)
See signal primitives and every published strategy that uses ALMA with Floating Levels on WOBR StrategyVerse.