DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
macd : 2*(DIFF-DEA)*80, COLORSTICK;
roc1:=(CLOSE-REF(CLOSE,14))/REF(CLOSE,14)*100;
ROC2:=(CLOSE-REF(CLOSE,11))/REF(CLOSE,11)*100;
提前量:MA(ROC2,6),coloryellow,LINETHICK2;
{ _最新股票指标公式}
HZ1:=EMA(ROC1,13),LINETHICK1,coloRYELLOW;
HZ2:EMA(ROC1,4),coloRgreen,LINETHICK1;
HZ3:EMA(HZ2,2),coloRgreen,LINETHICK1;
HZ4:EMA(HZ3,2),coloRgreen,LINETHICK1;
HZ5:EMA(HZ4,2),colorff10ff,LINETHICK1;
HZ6:EMA(HZ5,2),colorff10ff,LINETHICK1;
HZ7:EMA(HZ6,2),colorff10ff,LINETHICK1;
起步线:-13,pointdot,colorgreen;
强势线:0,pointdot,LINETHICK1,colorff10ff;
partline(提前量>=ref(提前量,1),提前量),colorred,linethick2;