def __init__(self, utils, config, logger): Indicator.__init__(self, utils, config, logger) self.timeframe = self.conf["timeframe"] self.distance = self.conf["distance"] self.period = self.conf["period"] self.sell = self.conf["sell"] self.buy = self.conf["buy"]
def __init__(self): Indicator.__init__(self) self.set_params({'n':5},True)
def __init__(self, ref_point): Indicator.__init__(self) self.ref_point = ref_point
def __init__(self): Indicator.__init__(self) self.set_params({'channel': 20, 'sma': 50})