Unsupported Dynamic EMA Length Test
Category: trend
An Exponential Moving Average (EMA) where the smoothing period is dynamically reassigned to the current bar index. This specific script serves as a test case for variable reassignment logic in Pine Script.
Formula
EMA(close, n) \text{ where } n = bar\_index
Inputs
- length (default: 2)
See signal primitives and every published strategy that uses Unsupported Dynamic EMA Length Test on WOBR StrategyVerse.