添加新的配置

This commit is contained in:
jackyu66git
2025-11-25 22:07:38 +08:00
parent fb88ae23f4
commit 56c52d6cff
5 changed files with 7 additions and 5 deletions
Vendored
BIN
View File
Binary file not shown.
-2
View File
@@ -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:
+4
View File
@@ -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
BIN
View File
Binary file not shown.
+3 -3
View File
@@ -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)');