EXP1:=EXPMA(CLOSE,5);
EXP2:=EXPMA(CLOSE,12);
EXP3:=EXPMA(CLOSE,50);
EXP4:=EXPMA(CLOSE,150);
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
QST:=S1 AND S2;
市值:=C*CAPITAL/1000000<100;
全去:=QST AND 市值;
度假:=EXP3<EXP4;
DYC:=REF(度假,1) AND REF(度假,2) AND REF(度假,3) AND REF(度假,4) AND REF(度假,5) AND REF(度假,6) AND REF(度假,7) AND REF(度假,8) AND
REF(度假,9) AND REF(度假,10) AND REF(度假,11) AND REF(度假,12) AND REF(度假,13) AND REF(度假,14) AND REF(度假,15) AND REF(度假,16)
AND REF(度假,17) AND REF(度假,18) AND REF(度假,19) AND REF(度假,20) AND REF(度假,21) AND REF(度假,22) AND REF(度假,23) AND
REF(度假,24) AND REF(度假,25) AND REF(度假,26) AND REF(度假,27) AND REF(度假,28) AND REF(度假,29);
度假50:=EXP2<EXP3;
DYC50:=REF(度假50,6) AND REF(度假50,7) AND REF(度假50,8) AND
REF(度假50,9) AND REF(度假50,10) AND REF(度假50,11) AND REF(度假50,12) AND REF(度假50,13) AND REF(度假50,14) AND REF(度假50,15) AND REF(度假50,16)
AND REF(度假50,17) AND REF(度假50,18) AND REF(度假50,19) AND REF(度假50,20) AND REF(度假50,21) AND REF(度假50,22) AND REF(度假50,23) AND
REF(度假50,24) AND REF(度假50,25) AND REF(度假50,26) AND REF(度假50,27) AND REF(度假50,28) AND REF(度假50,29);
热身:=CROSS(EXP2,EXP3) AND 全去;
饮水:=(REF(热身,1) OR REF(热身,2) OR REF(热身,3) OR REF(热身,4) OR REF(热身,5) OR REF(热身,6) OR REF(热身,7) OR REF(热身,8) OR
REF(热身,9) OR REF(热身,10) OR REF(热身,11) OR REF(热身,12) OR REF(热身,13) OR REF(热身,14) OR REF(热身,15) OR REF(热身,16) OR
REF(热身,17) OR REF(热身,18) OR REF(热身,19) OR REF(热身,20) OR REF(热身,21) OR REF(热身,22) OR REF(热身,23) OR REF(热身,24)) AND EXP2>EXP3;
黑马腾飞:饮水 AND REF(C,1)<=REF(O,1) AND EXP2>EXP3 AND EXP2<EXP4 AND C>O AND DYC AND DYC50 AND 全去;