def adx(self, n, array=False):
"""ADX??"""
result = talib.ADX(self.high, self.low, self.close, n)
if array:
return result
return result[-1]
# ----------------------------------------------------------------------
文章目录