python-tradingview-ta
python-tradingview-ta copied to clipboard
Description of indicators
First, thanks so much for the awesome package. Is there a place where we can see a description for each of the indicators being fetched?
Hi, i wanna know how is calculated CCI201 in:
def CCI20(cci20, cci201):
"""Compute Commodity Channel Index 20
Args:
cci20 (float): CCI20 value
cci201 ([type]): CCI20[1] value
Returns:
string: "BUY", "SELL", or "NEUTRAL"
"""
if (cci20 < -100 and cci20 > cci201):
return Recommendation.buy
elif (cci20 > 100 and cci20 < cci201):
return Recommendation.sell
else:
return Recommendation.neutral