检查第二类买卖点
This commit is contained in:
+2
-6
@@ -1223,14 +1223,10 @@ class ChanKLC():
|
||||
if self.bi.dir == Chan_BI_DIR.DOWN and self.fx == Chan_FX_TYPE.TOP:
|
||||
return strength
|
||||
if self.bi.dir == Chan_BI_DIR.UP:
|
||||
if self.klc_fx_type == Chan_KLC_FX.TOP1:
|
||||
strength += self.check_bi_end(self.bi)
|
||||
elif self.klc_fx_type == Chan_KLC_FX.TOP2:
|
||||
if self.klc_fx_type == Chan_KLC_FX.TOP1 or self.klc_fx_type == Chan_KLC_FX.TOP2 or self.klc_fx_type == Chan_KLC_FX.TOP3:
|
||||
strength += self.check_bi_end(self.bi)
|
||||
else:
|
||||
if self.klc_fx_type == Chan_KLC_FX.BOTTOM1:
|
||||
strength += self.check_bi_end(self.bi)
|
||||
elif self.klc_fx_type == Chan_KLC_FX.BOTTOM2:
|
||||
if self.klc_fx_type == Chan_KLC_FX.BOTTOM1 or self.klc_fx_type == Chan_KLC_FX.BOTTOM2 or self.klc_fx_type == Chan_KLC_FX.BOTTOM3:
|
||||
strength += self.check_bi_end(self.bi)
|
||||
else:
|
||||
return strength
|
||||
|
||||
Reference in New Issue
Block a user