当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:实战指标之--MACD四线趋势(源码)
软件名称:[B]实战指标之--MACD四线趋势(源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-10-07 17:06:10
软件简介:
实站指标之{MACD四线趋势} 附图
{MACD四线趋势}
DIFF:EMA(CLOSE,30)-EMA(CLOSE,60);
DEA:EMA(DIFF,15);
MACD:=3*(DIFF-DEA);
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORYELLOW;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFC8FF;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFCC66;
DIF:EMA(CLOSE,9)-EMA(CLOSE,18),LINETHICK2;
DEA1:EMA(DIF,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);
{MACD四线趋势}
DIFF:EMA(CLOSE,30)-EMA(CLOSE,60);
DEA:EMA(DIFF,15);
MACD:=3*(DIFF-DEA);
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORYELLOW;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFC8FF;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFCC66;
DIF:EMA(CLOSE,9)-EMA(CLOSE,18),LINETHICK2;
DEA1:EMA(DIF,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);
[url=http://www.70822.com/soft/sort013/sort05/down-13393.html]实战指标之--MACD四线趋势(源码)[/url]