MA13:MA(C,13);
MA34:MA(C,34),Linethick2;
MA55:MA(C,55),Linethick3;
MID : MA(CLOSE,21);
UPPER: MID + 2*STD(CLOSE,21);
LOWER: MID - 2*STD(CLOSE,21);
DRAWGBK(MA13>=MA55),RGB(88,0,0);
DRAWGBK(MA13<MA55),RGB(80,100,120);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DRAWICON(CROSS(DEA,DIFF) AND MA13>MA55,H*1.01,2);
DRAWICON(CROSS(DIFF,DEA) AND MA13>MA55,L*0.99,1);