添加本地数据源,以后就可以直接用本地数据了

This commit is contained in:
jackyu66git
2025-11-12 23:59:11 +08:00
parent 8e21ecb057
commit ac845ccfd0
14 changed files with 1461 additions and 446 deletions
+2 -2
View File
@@ -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: