Multi-Type Moving Average Sticker
Category: trend
A multi-method moving average indicator supporting Simple (SMA), Exponential (EMA), Smoothed (SMMA), and Linear Weighted (LWMA) calculations with a configurable visual shift.
Formula
EMA = \alpha \cdot Close_t + (1 - \alpha) \cdot EMA_{t-1}, \text{where } \alpha = \frac{2}{n+1} \\ LWMA = \frac{\sum_{i=1}^{n} (Close_i \cdot (n - i + 1))}{\sum_{i=1}^{n} i} \\ SMMA = \frac{SMMA_{t-1} \cdot (n-1) + Close_t}{n}
Inputs
- MA_Period (default: 17)
- MA_Shift (default: 2)
- MA_Method (default: 0)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.