EMA with Dynamic Length Switch Logic
Category: trend
Calculates an Exponential Moving Average (EMA) using a length that is conditionally determined via a switch statement. In its current state, it defaults to a static input length.
Formula
EMA(source, length) \text{ where length is conditionally assigned}
Inputs
- Length (default: 2)
See signal primitives and every published strategy that uses EMA with Dynamic Length Switch Logic on WOBR StrategyVerse.