软件名称:[B]趋势MACD公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2019-09-28 00:34:12
软件简介:
DIF:EMA(CLOSE,12)-EMA(CLOSE,27),COLORRED,LINETHICK1;
DEA:EMA(DIF,9),COLORWHITE,LINETHICK1;
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORLIBLUE,LINETHICK1;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORFF00FF,LINETHICK1;
建仓:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK1;
加仓:IF(DIF<0,0,DIF),COLORRED,LINETHICK1;
白线破仓:IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK1;
趋势强弱:IF(DIF>DEA,DEA,DEA),COLORGREEN,LINETHICK1;
IF(趋势强弱>=REF(趋势强弱,1),趋势强弱,DRAWNULL),COLORRED,LINETHICK1;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.4,1),COLORFF00FF;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1.9,1)COLOR00FF00;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,1.5,3),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1.9,0),COLORRED;
AA:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
AH1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
背离:=REF(CLOSE,AH1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
AH:STICKLINE(背离,0,0.06,5,0),COLORRED;
AAK:STICKLINE(背离,0,0.06,2,0),COLORYELLOW;
DRAWTEXT(背离,0.005,'-- 底背离'),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-141188.html]趋势MACD公式[/url]