{ 股票指标 }
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);
N:=K+D;
KX:=N<55;
KX1:=N<60;
F:=crOSS(MA(CLOSE,10),MA(CLOSE,15));
F1:=CROSS(MA(CLOSE,10),MA(CLOSE,19));
F2:=REF(KX,3) AND (REF(KX,18) OR REF(KX,27) OR REF(KX,76) OR REF(KX,87) OR REF(KX,99) OR REF(KX,212));
F3:=REF(KX,23) AND (REF(KX,78) OR REF(KX,132));
F4:=SARTURN(2,3,30)=1;
F5:=REF(KX,8) AND (REF(KX,132) OR REF(KX,76));
F6:=REF(KX1,18) AND (REF(KX1,88) AND REF(KX1,90));
F7:=CLOSE/REF(CLOSE,1)>=1.099;
F8:=OPEN=LOW AND HIGH=CLOSE;
F9:=vol<ma(vol,5) and="" vol<ref(vol,1);<br="">
P:=F7 AND F8 AND F9 AND COUNT(F7 AND F8 AND F9,20)=1;
P AND (F OR F1 OR F2 OR F3 OR F4 OR F5 OR F6 OR N<38);
标签:MA,通达信,源码,LOW,KX1,选股,CLOSE,KX,REF From: https://www.cnblogs.com/zhibiao/p/18032160