VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(Abs(CLOSE-VAR1),7,1)*100;
SS1:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100
&&SM06>REF(SM06,1);
买点:=SM07;
选股:=SS1 AND 买点;
ZF:=(C-REF(C,1))/REF(C,1)*100;
极阴:=ZF{178448.COM--WEN98编制} <= -3;
次阳:=C > O AND C > REF((O+C)/2,1);
相对低位:=C < 2*LLV(L,240);
目标:=REF(极阴,1) AND 次阳 AND 相对低位;
X_1:=MA(CLOSE,30);
X_2:=MA(CLOSE,72);
中轨:=(X_1+X_2)/2;
KY4:=中轨*0.8;
目标 AND EXIST(选股,4) AND EXIST(L<KY4,4) AND C/REF(C,1)<1.05;