DIF:=EMA(CLOSE,5)-EMA(CLOSE,26);
DEA:=EMA(DIF,55);
macd:=(DIF-DEA)*2;
TJ:=MacD>0;T:=MACD<0;
A:=LLV(MACD,55)=MACD;
B:=HHV(MACD,55)=MACD;
DRAWICON(A AND FILTERX(A,25), L*0.99,11);
DRAWICON(B AND FILTERX(B,25), H*1.01,12);
DIF:=EMA(CLOSE,5)-EMA(CLOSE,26);
DEA:=EMA(DIF,55);
macd:=(DIF-DEA)*2;
TJ:=MacD>0;T:=MACD<0;
A:=LLV(MACD,55)=MACD;
B:=HHV(MACD,55)=MACD;
DRAWICON(A AND FILTERX(A,25), L*0.99,11);
DRAWICON(B AND FILTERX(B,25), H*1.01,12);