MACD使用标准参数

This commit is contained in:
jackyu66git
2025-08-10 19:55:26 +08:00
parent 05942fed8e
commit 285f62f1ab
15 changed files with 1281 additions and 39 deletions
+3
View File
@@ -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