添加本地数据源,以后就可以直接用本地数据了
This commit is contained in:
+2
-2
@@ -145,9 +145,9 @@ class ChanKLC():
|
||||
def set_state(self, state):
|
||||
self.state = state
|
||||
def check_klu_included(self, klu):
|
||||
if self.high >= klu.high:
|
||||
if self.high >= klu.high-10:
|
||||
# high大于,low小于,左包含
|
||||
if self.low <= klu.low:
|
||||
if self.low <= klu.low+10:
|
||||
self.add_klu(klu=klu)
|
||||
# gn>gn-1
|
||||
if self.dir == Chan_KLINE_DIR.UP:
|
||||
|
||||
Reference in New Issue
Block a user