Unsupported UDF Final Switch Const Reassignment Qualifier

Category: trend

An indicator that calculates an Exponential Moving Average (EMA) with a dynamic length determined by a switch statement inside a user-defined function. In its default state, the length corresponds to the current bar index.

Formula

EMA(close, bar\_index) \text{ where flag=true}

Inputs

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


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