MACD变形图,它是把MACD红绿柱子用曲线的形式表现出来,看着更直观些。
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9),coloryellow;
A:=2*(DIFF-DEA);
M2: IF(A =0,A,0),COLOR00FF00,LINETHICK1;
M1: IF(A =0,A,0),colorred,LINETHICK1;
Zero : 0;
DRAWICON(CROSS(M1,0),0,'buy');