AA:ZIG(3,5)+0.5,COLOR338800,linethick2;
GG:=EMA(AA,2);
BB:ZIG(3,10),COLOREEDD00,linethick2;
HH:=EMA(BB,2);
DRAWTEXT(CROSS(HH,BB),H,'卖'),COLOROOFFOO;
DRAWTEXT(CROSS(BB,HH),L,'买'),COLOROOOOFF;
DRAWICON(CROSS(AA,GG),L,"BUY");
DRAWICON(CROSS(GG,AA),H,"SELL");