OPEN-SOURCE SCRIPT

Pentuple Exponential Moving Average (PEMA)

5966
This type of moving average was originally developed by Bruno Pio in 2010. I just ported the original code from MetaTrader 5. The method uses a linear combination of EMA cascades to achieve better smoothness. Well, actually you can create your own X-uple EMA, but be sure that the combination' coefficients are valid.

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.