DIFF8 := EMA(CLOSE,25) - EMA(CLOSE,65),POINTDOT,LINETHICK2;
DEA8 := EMA(DIFF8,45),POINTDOT,LINETHICK2;
macd8 := 2*(DIFF8-DEA8), COLORSTICK;
STICKLINE(DIFF8>=DEA8,DIFF8,DEA8,4,0),COLOR006CCC;
STICKLINE(DIFF8
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW,LINETHICK2;
DEA := EMA(DIFF,9)COLORGREEN,LINETHICK2;
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK1;
STICKLINE(MACDDEA,MACD,0,0.1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,3,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,0.1,0),COLORYELLOW;
{- }
STICKLINE(DIFF>DEA AND MACD STICKLINE(DIFF>DEA AND MACD STICKLINE(DIFF
{STICKLINE(DIFF
DIFFS : EMA(CLOSE,5) - EMA(CLOSE,12)COLORWHITE,LINETHICK1;
DEAS : EMA(DIFFS,4)COLORGREEN,LINETHICK1;
MACDS := 2*(DIFFS-DEAS), COLORSTICK,LINETHICK1;
DRAWICON(crOSS(DEA8,DIFF8),DEA8,3);
DRAWICON(CROSS(DIFF8,DEA8),DEA8,1);
DRAWTEXT(CROSS(DIFF,DEA) AND MACD8>0 AND DIFFS>DEAS,DEA,'--卧槽马');