TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.79k stars 1.78k forks source link

Details on talib.BBAND "mattype" parameter. #627

Closed QuincyQuantitative closed 12 months ago

QuincyQuantitative commented 12 months ago

Hi Community,

I am trying to find documentation on talib.BBANDS, specifically, the argument "mattype" which takes in SMA by default when set to 0 as per the doc string. I tested that it takes [0,8] as valid inputs but I am trying to figure out what each integer refers to (EMA etc.). Any inputs will be helpful. Thank you!

QuincyQuantitative commented 12 months ago

After going over the code, I figured this out. Posting for other members: