| | | | 以下是通达信MACD-ROC副图指标
通达信MACD-ROC副图指标
源码
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),COLORMAGENTA,LINETHICK1;
HZ6:EMA(HZ5,2),COLORMAGENTA,LINETHICK1;
HZ7:EMA(HZ6,2),COLORMAGENTA,LINETHICK1;
起步线:-13,POINTDOT,COLORGREEN;
强势线:0,POINTDOT,LINETHICK1,COLORMAGENTA;
| | | | |
|