按照指标图形文字提示作为买卖参考依据。
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MA(C,8),colorwhite;
MA(C,21),coloryellow;x1:STICKLINE(DIFF>DEA,C,O,8,0),colorred;
STICKLINE(DIFF>DEA,H,L,0,0),colorred;x2:STICKLINE(DIFF<=DEA,C,O,8,0),COLORF0F000;
STICKLINE(DIFF<=DEA,H,L,0,0),COLORF0F000;
DRAWTEXT(CROSS(DIFF,DEA),L-0.2,'买入'),colorwhite;
DRAWTEXT(CROSS(DEA,DIFF),H+0.2,'卖出'),colorgreen;