Hi, I am new to python, but have programmed before in other languages. I don't see any examples of how to calculate exponential moving average (EMA) or even simple moving averages. In the help page it mentions "matype" parameter and gives a brief description of
Moving average types
Some of the TA-Lib methods have an integer matype parameter. Here's the list of moving average types:
0: SMA (simple)
1: EMA (exponential)
2: WMA (weighted)
3: DEMA (double exponential)
4: TEMA (triple exponential)
5: TRIMA (triangular)
6: KAMA (Kaufman adaptive)
7: MAMA (Mesa adaptive)
8: T3 (triple exponential T3)
but it simply don't give any examples of how to code them in. Thanks in advance