TJ:=IF(BJ=1,高量,IF(BJ=2,倍量,IF(BJ=3,跳空,高量 OR 倍量 OR 跳空)));
T1:=BARSLAST(FILTER(TJ,3));
跳空TJ:=REF(跳空,T1);
虛實(shí):=畫(huà)底虛實(shí);
LC:=IF(虛實(shí)=0,LOW,MIN(CLOSE,OPEN));
底:=IF(跳空TJ,REF(HIGH,T1+1),REF(LC,T1));
T2:=IF(跳空TJ,T1+1,T1);
不破:=LLV(CLOSE,T2)>=底;
HC:=MAX(CLOSE,OPEN);
VX:=REF(HHV(HC,2),1);
BB:=CLOSE>VX;
AX:=REF(LLV(MIN(CLOSE,OPEN),2),1);
SS:=CLOSE<AX;
BB1:=BB AND COUNT(BB,BARSLAST(SS))=1;
J:=KDJ.J;
R:=RSI.RSI1;
JX1:=FILTER(REF(J,1)<=10 AND CROSS(J,REF(J,1)),3);
JX2:=FILTER(REF(R,1)<=20 AND CROSS(R,REF(R,1)),3);
買(mǎi)點(diǎn)J:=JX1 AND CLOSE>REF(CLOSE,1);
買(mǎi)點(diǎn)R:=JX2 AND CLOSE>REF(CLOSE,1);
陽(yáng)蓋陰:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN AND CLOSE>REF(HC,1);
ZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
極陰:=ZF<=(-1) AND CLOSE<=0.9005*HHV(HC,5) OR ZF<=(-5);
次陽(yáng):=CLOSE>=OPEN AND CLOSE>=REF((OPEN+CLOSE)/2,1);
極陰次陽(yáng):=REF(極陰,1) AND 次陽(yáng);
價(jià)升量縮:=CLOSE>REF(CLOSE,1) AND VOL<REF(VOL,1) AND CLOSE>REF(HC,1);
MAN:=MA(CLOSE,N日均線向上);
均線向上:=MAN>REF(MAN,1);
買(mǎi)入信號(hào):=BB1 OR 買(mǎi)點(diǎn)J OR 買(mǎi)點(diǎn)R OR 陽(yáng)蓋陰 OR 極陰次陽(yáng);
XG:不破 AND T1>=3 AND 買(mǎi)入信號(hào) AND 均線向上 AND DYNAINFO(8)>0;