From 56c52d6cffddba5a8a43268b44a67bc2637348b0 Mon Sep 17 00:00:00 2001 From: jackyu66git Date: Tue, 25 Nov 2025 22:07:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 10244 -> 10244 bytes ChanKLU.py | 2 -- ChanSBI.py | 4 ++++ web/.DS_Store | Bin 6148 -> 6148 bytes web/templates/index.html | 6 +++--- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.DS_Store b/.DS_Store index 541ac0ad2b3ae378c21fc2bb1ea9b1c13b8ebb99..b7cc749118b364a9d123080f340c2c8d6f31de81 100644 GIT binary patch delta 1100 zcmZn(XbG6$&*-o*U^hRb!(<+TjrH6N@jzI>P|1+YkO;&X45=WIoOHwB zrxpXrc!nY{tCS%J$SX#1I!FgTJ@rsc$iA4D`*s!g^J5@i5VR~eAK@QT^uavF26i9A z<{biD%=K)*@Xu$+V@PAjWJpKx1|x?nP$7yuvWwkZHx@091cy7C8iea`se!qKfq@lh z1>=Ir`-Fp;XWnC-ykA&uvXMw3)2f2aOGRXu>rouU^Ar?3T;T980>%d@F4BR{2F3`o z!!nnNJS~a>I}C?fgaZkv6(~ly6lgWyfypbxbAdrt3{1M9RFKM$i{e5CCKYgyA;}}V zET#E<;9;GXemZ))7kp delta 147 zcmZn(XbG6$F8U^hRb&SV~ejhkJCSeYmP6qTO*R@8*Ky8FuH^P+N-ox}>6{xEFb zDkj4`xl$@*a;UVg9fP?K0|NsyLpeh#LsD+Oi%U{YeiBfGBYkPkPp#9(9Fb*H&}An- bkd|O#NZ6R@%f6Xi;TOwhLGc4jK(n0zy2dXx diff --git a/ChanKLU.py b/ChanKLU.py index eaef870..8a5a9f8 100644 --- a/ChanKLU.py +++ b/ChanKLU.py @@ -88,8 +88,6 @@ class ChanKLU: if self.klc and self.klc.pre and self.klc.next: if self.klc.klc_fx_type != Chan_KLC_FX.UNKNOWN or self.klc.pre.klc_fx_type != Chan_KLC_FX.UNKNOWN or self.klc.next.klc_fx_type != Chan_KLC_FX.UNKNOWN: self.separate_div = 99 - else: - self.separate_div = 0 def set_next(self, next): self.next = next #if self.fx_type != Chan_FX_TYPE.UNKNOWN and self.fx_strength > 1: diff --git a/ChanSBI.py b/ChanSBI.py index 0f693c7..f12d6da 100644 --- a/ChanSBI.py +++ b/ChanSBI.py @@ -61,6 +61,9 @@ class ChanSBI(): included = False else: included = False + # high小于,low大于,右包含 + if self.low > bi.low: + included = True if included: if self.pre: if self.high > self.pre.high and self.low < self.pre.low: @@ -75,4 +78,5 @@ class ChanSBI(): # DOWN -> min(gn) self.high = bi.high #self.print(bi, "Z") + #print(self.start_bi.start_time, bi.start_time, included) return included \ No newline at end of file diff --git a/web/.DS_Store b/web/.DS_Store index 8b8c0235b769be31fc76ca3b1ff366a5e0f7cec6..0e37fdca78499bf5d7af67b25ee6998de467cc3d 100644 GIT binary patch delta 555 zcmZoMXfc@JFDk*nz`)4BAi%(o%#aAg84Rfm@tXxXmNVCbq_`R4fv|v~5?PudJ}2EU zI5|JJ0H^|}-J1!w%G`Vxm!zEhB%lh8^UL-|DE&F+h);D2T(uElY9`-clLu+DV;7su&#uGF oAY2V(E3t?0I0piam^_hPd~zK-4-#L6i9umw;Sa{m>>Pjj0eFfkrvLx| diff --git a/web/templates/index.html b/web/templates/index.html index 6727fef..22c1186 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -5918,9 +5918,9 @@ lineWidth: 2, lineStyle: 0, upperColor: '#ff6b6b', - middleColor: '#667eea', - lowerColor: '#4ecdc4', - visible: true + middleColor: '#ffffff', + lowerColor: '#ff6b6b', + visible: false }; bollingerBands.push(defaultBB); console.log('添加默认布林带: BB(20, 2, 2)');