AA:zig(3,5)+0.5,COLOR338800,linethick2;
GG:=EMA(AA,2);
BB:ZIG(3,10),COLOREEDD00,linethick2;
HH:=EMA(BB,2);
//DD:C,COLORFFFF00;
DRAWTEXT(crOSS(HH,BB),H,'卖'),COLOR00FF00;
DRAWTEXT(CROSS(BB,HH),L, '买'),COLOR0000FF;
DRAWICON(CROSS(AA,GG),L,"BUY");
DRAWICON(CROSS(GG,AA),H,"SELL")