股票软件通达信精品指标公式-主升浪指标源码通达信公式

2017-11-26    来源:原创    编辑:翔博软件
公式源码: DRAWTEXT_FIX(C0,0.005,0.02,0,【翔博软件】版权所有,盗版必究),COLORBROWN; MA1:MA(CLOSE,M1); MA2:MA(CLOSE,M2); MA3:MA(CLOSE,M3); MA4:MA(CLOSE,M4); MA5:MA(C


公式源码:

DRAWTEXT_FIX(C>0,0.005,0.02,0,'【翔博软件】版权所有,盗版必究'),COLORBROWN;

MA1:MA(CLOSE,M1);

MA2:MA(CLOSE,M2);

MA3:MA(CLOSE,M3);

MA4:MA(CLOSE,M4);

MA5:MA(CLOSE,M5);

MA6:MA(CLOSE,M6);

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

 

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;

 

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

 

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

 

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);

 

三全项:=低位金叉 AND 二次金叉 AND 底背离;

DRAWICON(低位金叉 AND 二次金叉,LOW*0.99,26);

DRAWICON(三全项,LOW*0.97,25);

 

特别提示:

选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280

 

一个聚百万原创指标公式圈子

	

	

原创价值分享公众号

ID:xiangbogongshi

1
3
点击进入翔博软件旗下官方微店--指标超市