TA-Lib / ta-lib-python

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

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

Closed QuincyQuantitative closed 10 months ago

QuincyQuantitative commented 10 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 10 months ago

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