Current candle is greater/lesser than previous candle close[x] in successive periods = add to the length
In the case of reversals, price tends to spike up, retrace, then reverse. In that event, the EMA resets length to catch up before a full reversal occurs.
When price moves uniformly in one direction, the EMA length increases excessively to prevent chop.
Similar to a McGinley Dynamic, except weight isn't give to a particular direction.
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Also on:
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.