VAR1:=(H+L+O+3*C)/6;
WLT:=EMA(VAR1,3);
WLTA:=EMA(WLT,1),COLORFFFFFF;
空:=HHV(MA(H,3),2),LINETHICK2,COLOR00DD00;
多:=LLV(MA(H,3),1),LINETHICK2,COLOR0000DD;
JCBT:=LAST(多<空,9,1) AND 多=空;
VARA:=(C-REF(O,21))/REF(O,21)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
WLBT1:=V>=1.3*MA(V,5) AND REF(L,1)=LLV(L,55) AND VARA>=VARB AND VARA<-6.18;
WLBT2:=V>=1.3*MA(V,5) AND crOSS(VARA,VARB) AND VARA<-10.18;
WLBT:=WLBT1 OR WLBT2;
bias6:=(C-MA(C,6))/MA(C,6)*100;
BIAS12:=(C-MA(C,12))/MA(C,12)*100;
BIAS24:=(C-MA(C,24))/MA(C,24)*100;
TJ1:=BIAS6<=-8;
TJ2:=BIAS12<=-12;
TJ3:=BIAS24<=-18;
BBT:=(TJ1 AND TJ2 AND TJ3) OR (TJ1 AND TJ2 ) OR (TJ1 AND TJ3);
BTJ5:=CROSS(BIAS6,-10);
BTJ6:=CROSS(BIAS6,-6.2);
BIASXG:=FILTER(BBT OR BTJ5 OR BTJ6,3);
WLTBT:=COUNT(WLBT OR JCBT OR BIASXG,2);
XG1:=WLTBT>=2;
XG:=FILTER(XG1,3);
金牛:XG;