[docs]defset_overbought_color(self,color:str):"""Sets the color for the overbought line in the Money Flow Index indicator. Args: color (str): The color to set for the overbought line. """self.instance.send(self.id,'setOverboughtColor',{'color':color})returnself
[docs]defset_oversold_and_overbought_ranges(self,oversold:int,overbought:int):"""Sets the oversold and overbought ranges for the Money Flow Index indicator. Args: oversold (int): The value to define the oversold threshold. overbought (int): The value to define the overbought threshold. """self.instance.send(self.id,'setOversoldAndOverboughtRanges',{'oversoldRange':oversold,'overboughtRange':overbought},)returnself
[docs]defset_oversold_color(self,color:str):"""Sets the color for the oversold line in the Money Flow Index indicator. Args: color (str): The color to set for the oversold line. """self.instance.send(self.id,'setOversoldColor',{'color':color})returnself