MACD使用标准参数
This commit is contained in:
@@ -84,6 +84,9 @@ class ChanKLC():
|
||||
if self.fx == Chan_FX_TYPE.BOTTOM:
|
||||
if self.macd < 0:
|
||||
self.bb_out = True
|
||||
def cal_macd_state(self, dir):
|
||||
|
||||
return macd_state
|
||||
def cal_indicators(self):
|
||||
for index in range(1, len(self.klus)):
|
||||
self.volume += self.klus[index].volume
|
||||
|
||||
Reference in New Issue
Block a user