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;
HZ1:=EMA(ROC1,13),LINETHICK1,COLORYELLOW;
{ _通达信股票指标公式}
HZ2:EMA(ROC1,4),COLORGREEN,LINETHICK1;