Beispiel #1
0
	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"]
Beispiel #2
0
 def __init__(self):
     Indicator.__init__(self)
     self.set_params({'n':5},True)
Beispiel #3
0
 def __init__(self, ref_point):
     Indicator.__init__(self)
     self.ref_point = ref_point
Beispiel #4
0
 def __init__(self):
     Indicator.__init__(self)
     self.set_params({'channel': 20, 'sma': 50})