N:=5;
M:=10;
劲道指数:=V*(C-REF(C,1))/C;
Ema2:EMA(劲道指数,2);
EMA13:EMA(劲道指数,13),LINETHICK2;
IF((EMA2 =0),1,DRAWNULL);
IF((EMA13 0),0,DRAWNULL);
DRAWICON(C EMA(C,13),0,1);
DRAWICON(C EMA(C,13),0,2);
roc:(CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100;
ROCMA:MA(ROC,M);
EM13:=EMA(CLOSE,13);
SROC:(EM13-REF(EM13,21))/REF(EM13,21)*100;{S-ROC方向的改变,表明市场将重大转折}
crOSS(C,EMA(C,13));
CROSS(EMA(C,13),C);