AA15:=C>COST(85) AND C<COST(90) AND C<HHV(H,60);
天:=FILTER(AA15,25);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
A1:=COST(65);
A2:=C/REF(C,150)<1.2;
A3:=MA(V,100)>MA(V,50);
A4:=YEAR>2012;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
状元出击:=A4 AND crOSS(C,A1) AND CROSS(K,D) AND A2 AND C<HHV(H,60) AND MACD>0 AND DIF>0 AND DEA>0 AND DIF>DEA*1.01 AND A3;
IF(状元出击,1,0),COLORLIRED;