软件名称:[B]大道至简MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2018-03-05 00:00:46
软件简介:
MACD指标说明
MACD指数平滑异同移动平均线为两条长、短的平滑平均线。
其买卖原则为:
1.DIFF、DEA均为正,DIFF向上突破DEA,买入信号参考。
2.DIFF、DEA均为负,DIFF向下跌破DEA,卖出信号参考。
3.DEA线与K线发生背离,行情可能出现反转信号。
4.分析MACD柱状线,由红变绿(正变负),卖出信号参考;由绿变红,买入信号参考。+
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA :EMA(DIFF,M);
MACD :2*(DIFF-DEA),nodraw;
MA5:=MA(C,5);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,6,0),color0000ff;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,6,1),colorff9900;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,4,0),coloryellow;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,6,0),color007700;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1) AND O>REF(C,1) AND REF(C,1)>REF(O,1) AND REF(C,1)>=C AND REF(C,1)*0.91>REF(C,2),MACD*0.5,MACD,6,0),colorcyan;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1) AND O>REF(C,1) AND REF(C,1)>REF(O,1) AND REF(C,1)*1.03<REF(H,1) AND C<O,MACD*0.5,MACD,6,0),colorcyan;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1) AND O<REF(C,1) AND REF(C,1)>REF(O,1) AND C<O,MACD*0.5,MACD,6,0),colorcyan;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1) AND O<REF(C,1) AND REF(C,1)>REF(O,1) AND H>REF(H,1) AND C<O,MACD*0.5,MACD,6,0),colorcyan;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DRAWTEXT(底背离,0.1,'底背离'),colormagenta;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,DIFF,'顶背离'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-122081.html]大道至简MACD[/url]