当前位置:首页 > 股票公式 > 通达信公式

通达信指标:金山银山(主图)

时间:2019-04-20 09:36:09 来源:久久财经网 人气:
金山银山(主图)



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;  
标签 金山   空头   多头   买入   卖出   BR