DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58),COLORWHITE;
DEA1:=EMA(DIFF1,88),COLORYELLOW;
macd1:2*(DIFF1-DEA1)*100 ;
MAMacD1:MA(MACD1,5),,COLORWHITE;
DWX:LLV(MACD1,20);
GWX:HHV(MAMACD1,20),COLORRED;
DIFF:=EMA(CLOSE,8) - EMA(CLOSE,26),COLORWHITE;
DEA:=EMA(DIFF,50),COLORYELLOW;
MACD:2*(DIFF-DEA)*100 ;
MAMACD:MA(MACD,5),,COLORWHITE;
STICKLINE(MACD1
STICKLINE(MACD<0,MAMACD,MACD1,2,0),COLORGREEN;
STICKLINE(MACD1>MAMACD1 AND MACD>MAMACD ,0,MACD1,2,0),COLORRED;
{- }
XG:MACD1>MAMACD1 AND MACD>MAMACD AND (REF(MACD,1)
STICKLINE(FILTER(XG,5),0,50,2,0),COLORFFFFFF;