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

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home