添加新的判断依据

This commit is contained in:
jackyu66git
2025-11-16 20:58:03 +08:00
parent 03c5148c29
commit d61cbbec21
8 changed files with 24 additions and 76 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class ChanMACD():
else:
signal = klu.pre.signal < klu.signal and klu.next.signal > klu.signal
sd = klu.separate_div
if sd > 1 and ((hist > 0 and hist < 20) or (hist < 0 and hist > -20)):
if sd > 1 and ((hist > 0 and hist < 200) or (hist < 0 and hist > -200)):
sd_list.append(klu.time)
print(klu.time, sd)
return sd_list