#IMPORT[MIN,30,AA] AS VAR
#IMPORT[MIN,5,AA] AS VAR1
DIFF:=VAR.DIFF;
DEA:=VAR.DEA;
MACD:=VAR.MACD,COLORSTICK;
DIFF1:=VAR1.DIFF;
DEA1:=VAR1.DEA;
MACD1:=VAR1.MACD,COLORSTICK;
DRAWICON(MACD>0,L,'ICO10'),VALIGN0;
DRAWICON(MACD<0,L,'ICO12'),VALIGN0;
DRAWICON(MACD1>0 ,L-10*MINPRICE,'ICO118'),VALIGN0;
DRAWICON(MACD1<0 ,L-10*MINPRICE,'ICO119'),VALIGN0;
DRAWICON(CROSS(MACD1>0,0.5) ,L-20*MINPRICE,'ICO95'),VALIGN0;
DRAWICON(CROSS(MACD1<0,0.5),H+10*MINPRICE,'ICO96'),VALIGN0;