DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA(C,8),COLORWHITE;
MA(C,21),COLORYELLOW;
多头:STICKLINE(DIFF>DEA,C,O,8,0),COLORRED;
STICKLINE(DIFF>DEA,H,L,0,0),COLORRED;
{爱约股-股票公式网站 }
空头: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;
通达信金山银山主图指标公式的选股公式如下: