EMA with Switch-Based Length Reassignment
Category: trend
A technical test indicator that calculates an Exponential Moving Average (EMA) using a dynamic length reassignment based on a switch expression.
Formula
EMA(close, length) \text{ where length is conditionally reassigned}
Inputs
- length (default: 2)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.