飞狐的金山银山指标改成通达信的
2011-03-17 21:13:00来源:本站整理浏览:132
指标的源码如下:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA1:MA(CLOSE,8),COLORFFFFFF;
MA2:MA(CLOSE,21),COLORYELLOW;
多头:STICKLINE(DIFF>DEA,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(DIFF>DEA,HIGH,LOW,0,0),COLORRED;
空头:STICKLINE(DIFF<=DEA,CLOSE,OPEN,3.5,0),COLORFFFF00;
STICKLINE(DIFF<=DEA,HIGH,LOW,0,0),COLORFFFF00;
DRAWTEXT(CROSS(DIFF,DEA),LOW-0.2,'买入'),COLORRED;
DRAWTEXT(CROSS(DEA,DIFF),HIGH+0.2,'卖出'),COLORYELLOW;
- 上一篇公式:李雨青成交量组合选股公式
- 下一篇公式:七伤拳选股公式