MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA31:MA(C,31);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DRAWNUMBER(MACD 0 AND MA5 MA10 AND MA10 MA20 AND MA20 MA31 AND MA5 REF(MA5,1) AND MA10 REF(MA10,1) AND MA20 REF(MA20,1) AND (MA5/MA31) (1+GLL/100),H,C);
DRAWTEXT(MACD 0 AND MA5 MA10 AND MA10 MA20 AND MA20 MA31 AND MA5 REF(MA5,1) AND MA10 REF(MA10,1) AND MA20 REF(MA20,1) AND (MA5/MA31) (1+GLL/100),L,'▲'),colorblue;