飞狐,通达信,选股超短源码
A1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
A2:=EMA(A1,3);
预量:=IF(DATE<>CURRENTDATE OR OPENMINUTES(CURRENTTIME)=1,VOL,(VOL/
OPENMINUTES(CURRENTTIME))*240);
XG:REF(A2,2)>REF(A2,3)*1.0191 AND REF(A2,1)<REF(A2,2)*0.809
AND A2>REF(A2,1)*1.191 AND 预量>REF(VOL,1)*2.618;
通达信用
A1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
A2:=EMA(A1,3);
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
XG:REF(A2,2)>REF(A2,3)*1.0191 AND REF(A2,1)<REF(A2,2)*0.809
AND A2>REF(A2,1)*1.191 AND 预测量>REF(VOL,1)*2.618;