DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
多头:STICKLINE(DIFF>DEA,C,O,5,0),COLORRED;
STICKLINE(DIFF>DEA,H,L,0,0),COLORRED;
空头:STICKLINE(DIFF<=DEA,C,O,5,0),COLORGRAY;
STICKLINE(DIFF<=DEA,H,L,0,0),COLORGRAY;
DRAWTEXT(CROSS(DIFF,DEA),L-0.2,'买入'),COLORWHITE;
{股票指标网}
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
多头1:STICKLINE(DIFF1>DEA1,C,O,5,0),COLORRED;
STICKLINE(DIFF>DEA1,H,L,0,0),COLORRED;
空头1:STICKLINE(DIFF1<=DEA1,C,O,5,0),COLORGRAY;
STICKLINE(DIFF1<=DEA1,H,L,0,0),COLORGRAY;
DRAWTEXT(CROSS(DIFF1,DEA1),L-0.2,'买入'),COLORWHITE;