通达信简单明了MACD指标(源码)

2014-12-15 20:45:00来源:本站整理浏览:488

{STICKLINE(MACD3>REF(MACD3,1)AND MACD3<0,0,MACD3,1,0),COLORFFC8FF;
STICKLINE(MACD3<=REF(MACD3,1)AND MACD3<0,0,MACD3,1,0),COLORFFCC66;}
{DIF3:EMA(CLOSE,9)-EMA(CLOSE,18),LINETHICK2;
DEA3:EMA(DIF3,7),LINETHICK2;}
{下穿:=COUNT(DEA<=0,5)=1 AND DEA<=0;
上穿:=COUNT(DEA>=0,5)=1 AND DEA>=0;
DRAWTEXT(下穿,LOW*0.1,"↓"),COLORYELLOW;
DRAWTEXT(上穿,LOW*0.1,"↑"),COLOR0000FF;
日线空头:IF(DEA<0,1,0);};


 

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式