国外MACD修改源码-精品通达信指标公式源码分享

image.png

P:=13;S:=5;M:=3;   

DIFF:EMA(C,S)-EMA(C,P);   

DEA:EMA(DIFF,M),COLORRED;   

MACD:2*(DIFF-DEA),COLORSTICK;   

STICKLINE(DEA<=REF(DEA,1)AND DEA>0,0,DEA,1,0 ),COLORFFBEFF;    

STICKLINE(DEA>REF(DEA,1)AND DEA>0,0,DEA,1,0 ),COLORMAGENTA;    

STICKLINE(DEA>REF(DEA,1)AND DEA<=0,0,DEA,1,0),COLORDBDD9A;   

STICKLINE(DEA<=REF(DEA,1)AND DEA<=0,0,DEA,1,0 ),COLORE2BC3A;   

R:(HHV(DEA,100)+ABS(LLV(DEA ,100)))/2,COLORLIBLUE;   

R/4,POINTDOT,COLORFFFF00;   

R/2,POINTDOT,COLORFFFF00;   

R/4*3,POINTDOT,COLORFFFF00;    

-R/4,POINTDOT,COLORFFFF00;   

-R/2,POINTDOT,COLORFFFF00;   

-R/4*3,POINTDOT,COLORFFFF00;   

-R,COLORYELLOW,COLORLIBLUE;


相关阅读

服务热线

18020657357

微信客服

微信客服