RR:=(HHV(EMA(EMA(C,5)-EMA(C,13),1),3)+ABS(LLV(EMA(EMA(C,5)-EMA(C,13),1),3)))/2;
RR/4*4,COLOR0000FF;
RR/4*3,COLORAAAA00;
0000,POINTDOT,COLORAAAAAA;
-RR/4*3,COLORAAAA00;
-RR/4*4,COLOR0000FF;
{ 爱约股_通达信股票指标公式}
R:=(HHV(EMA(EMA(C,5)-EMA(C,13),1),100)+ABS(LLV(EMA(EMA(C,5)-EMA(C,13),1),100)))/2;
R/4*4,COLOR0000AA;
R/4*3,COLORAAAA00;
-R/4*3,COLORAAAA00;
-R/4*4,COLOR0000AA;
M:EMA(EMA(C,5)-EMA(C,13),1),LINETHICK2,COLORYELLOW;
DRAWTEXT(ISLASTBAR AND M>REF(M,1),M,' ▲'),COLORDD00FF;
DRAWTEXT(ISLASTBAR AND M<REF(M,1),M,' ▼'),COLORCCEE00;

 

通达信国外MACD指标公式