修改bug
This commit is contained in:
@@ -42,6 +42,10 @@ class ChanBIZS():
|
|||||||
def add_bi(self, bi: ChanBI):
|
def add_bi(self, bi: ChanBI):
|
||||||
if bi:
|
if bi:
|
||||||
self.bi_list.append(bi)
|
self.bi_list.append(bi)
|
||||||
|
if bi.high > self.gg:
|
||||||
|
self.gg = bi.high
|
||||||
|
if bi.low < self.dd:
|
||||||
|
self.dd = bi.low
|
||||||
bi.set_bi_zs(self)
|
bi.set_bi_zs(self)
|
||||||
self.classify_zs()
|
self.classify_zs()
|
||||||
def set_pre(self, pre):
|
def set_pre(self, pre):
|
||||||
|
|||||||
Reference in New Issue
Block a user