_涨停上穿10,30,60,90四条均线 AA:=ref(close,1)*0.1;{今日涨停数值} BB:=(INTPART(AA*100))/100; CC:=BB+0.01; DD:=IF(FRACPART(AA*100)>=0.5,CC,BB); XX:=(close-ref(close,1))=DD;{判断涨停} EE:=IF(CROSS(CLOSE,MA(CLOSE,10)),1,0); FF:=IF(CROSS(CLOSE,MA(CLOSE,30)),1,0); GG:=IF(CROSS(CLOSE,MA(CLOSE,60)),1,0); HH:=IF(CROSS(CLOSE,MA(CLOSE,90)),1,0); YY:=(EE+FF+GG+HH)>=3;{4个条件至少满足3个} XX AND YY;
爱约股解答:
XX:=(C-REF(C,1))/REF(C,1)>0.095 AND C=H;{判断涨停}
EE:=IF(CROSS(CLOSE,MA(CLOSE,10)),1,0);
FF:=IF(CROSS(CLOSE,MA(CLOSE,30)),1,0);
GG:=IF(CROSS(CLOSE,MA(CLOSE,60)),1,0);
HH:=IF(CROSS(CLOSE,MA(CLOSE,90)),1,0);
YY:=(EE+FF+GG+HH)>=3;