当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:macd增强(副图 源码 贴图)
软件名称:[B]macd增强(副图 源码 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-04-15 05:39:15
软件简介:
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>0 AND REF(MACD,1)>MACD,MACD,0,0,-1),COLORCYAN;
STICKLINE(MACD<0 AND REF(MACD,1)<MACD,MACD,0,0,-1),COLORRED;
COND:= DIF < REF(DIF,1);
COND1:= DIF > REF(DIF,1) AND REF(DIF,1) < REF(DIF,2);
COND2:= DIF < REF(DIF,1) AND REF(DIF,1) > REF(DIF,2);
IF(COND,DIF,DRAWNULL),COLORRED;
IF(COND,DRAWNULL,DIF),COLORGREEN;
DRAWLINE(1,DIF,COND1,DIF,0),COLORYELLOW,LINETHICK3;
DRAWLINE(1,DIF,COND2,DIF,0),COLORRED,LINETHICK3;
参数short=12 long=26 mid=9
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>0 AND REF(MACD,1)>MACD,MACD,0,0,-1),COLORCYAN;
STICKLINE(MACD<0 AND REF(MACD,1)<MACD,MACD,0,0,-1),COLORRED;
COND:= DIF < REF(DIF,1);
COND1:= DIF > REF(DIF,1) AND REF(DIF,1) < REF(DIF,2);
COND2:= DIF < REF(DIF,1) AND REF(DIF,1) > REF(DIF,2);
IF(COND,DIF,DRAWNULL),COLORRED;
IF(COND,DRAWNULL,DIF),COLORGREEN;
DRAWLINE(1,DIF,COND1,DIF,0),COLORYELLOW,LINETHICK3;
DRAWLINE(1,DIF,COND2,DIF,0),COLORRED,LINETHICK3;
参数short=12 long=26 mid=9
[url=http://www.70822.com/soft/sort013/sort05/down-32724.html]macd增强(副图 源码 贴图)[/url]