Unsupported const if expression reassignment qualifier

Category: trend

Calculates an Exponential Moving Average (EMA) using a length that is dynamically reassigned based on the bar index within an if-expression.

Formula

EMA(price, bar\_index) \text{ (due to reassignment)}

Inputs

See signal primitives and every published strategy that uses Unsupported const if expression reassignment qualifier on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home