自用的一个副图指标,MACD顶底背离指标,以及二次金叉
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-03-26 09:32:00
公式简介:
自用的一个副图指标,MACD顶底背离指标,以及二次金叉,发现买入信号后,第二天以上一天收盘价以下价位买进,在未来一周内绝对有5%-10%收益,希望大家能受益。
指标均来源于网络,感谢原作者。
{参数:SHORT,2,200,12;LONG,2,200,26;MID,2,200,9;}
SHORT:=12;
LONG:=26;
MID:=9;
DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORBLUE,LINETHICK1.5;
DEA:EMA(DIFF,MID),COLORYELLOW,LINETHICK1.5;
MACD:(DIFF-DEA)*2,COLORSTICK;
低位金:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金,0,0.15,8,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,34)=1;
STICKLINE(二次金,0,0.1,8,0),COLORFF80FF;
DRAWICON(二次金,DEA*0.85,1) ;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.05,8,0),COLORRED;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;
[url=http://www.goodgupiao.com/gupiaogongshi/27094.html][B]自用的一个副图指标,MACD顶底背离指标,以及二次金叉[/B][/url]