DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:=EMA(DIF,9),COLORWHITE,LINETHICK2;
STICKLINE(DIF>0 AND DIF>DEA>0,0,-0.6,10,1),COLORYELLOW;
STICKLINE(0>DIF>DEA AND DIF>DEA,0,-0.6,10,1),COLORRED;
STICKLINE(DIF
DRAWTEXT(CROSS(DIF,0),0+0.1,'加仓'),COLORYELLOW;
DRAWTEXT(CROSS(DIF,DEA),0+0.1,'建仓'),COLORRED;