[docs]defset_di_minus_color(self,color:str):"""Sets the line color of the -DI line. Args: color (str): New line color as string, should be in HEX format e.g. #FFFFFF. """self.instance.send(self.id,'setDiMinusColor',{'color':color})returnself
[docs]defset_di_plus_color(self,color:str):"""Sets the line color of the +DI line. Args: color (str): New line color as string, should be in HEX format e.g. #FFFFFF. """self.instance.send(self.id,'setDiPlusColor',{'color':color})returnself
[docs]defshow_di_lines(self,show:bool):"""Control whether -DI and +DI lines should be displayed. Args: show (bool): Set true to show DI lines. """self.instance.send(self.id,'showDiLines',{'showDiLines':show})returnself