[docs]defset_fill_color(self,color:str):"""Sets the fill color for the Commodity Channel Index (CCI) visualization. Args: color (str): The fill color in hexadecimal or RGB format. """self.instance.send(self.id,'setFillColor',{'color':color})returnself
[docs]defset_overbought_and_sold_levels(self,overbought_level:int|float,oversold_level:int|float):"""Sets the overbought and oversold levels for the Commodity Channel Index (CCI) indicator. Args: overbought_level (int | float): The overbought threshold level. oversold_level (int | float): The oversold threshold level. """self.instance.send(self.id,'setOverboughtAndSoldLevels',{'overboughtLevel':overbought_level,'oversoldLevel':oversold_level},)returnself