资源描述:
《帝纳波利系列专用分析指标(大智慧-通达信-同花顺-飞狐)源码.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、帝纳波利系列专用分析指标(大智慧通达信同花顺飞狐)源码[通达信]帝纳波利系列专用分析指标【飞狐系列帝式指标】1.三条置换移动平均线【主图】D3X3:ma(c,3),SHIFT3,COLORCYAN;D7X5:ma(c,7),SHIFT5,COLORCYAN;D25X5:ma(c,25),SHIFT5,COLORCYAN;2.macdFast:eMA(close,8.3896)-eMA(close,17.5185),colorred;Slow:eMA(fast,9.0503),COLORCYAN;drawicon(cross(fast,slow
2、),fast,5);PARTLINE(1>0,0);3.随机指标RSV:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;K:SMA(RSV,3,1),colorred;D:SMA(K,3,1),COLORCYAN;drawicon(cross(k,d)andk<20,d,7);4.超买超卖C-ma(C,7),colorwhite;5.摆动指标预测器(DOP)【主图】DMA3X3:ma(c,3),SHIFT3,COLORMAGENTA;INPUT:N(135,1,250);v1:=C
3、-ma(C,7);vv:=v1;e:=SORT(vv,0,datacount-N,DATACOUNT);smax:=(vv+vv+vv)/3;smin:=(vv+vv+vv)/3;超买价:smax*7/6+ma(c,6),shift1,COLORCYAN;超卖价:smin*7/6+ma(c,6),shift1,COLORCYAN;DRAWICON(high>超买价,high*1.01,7);DRAWICON(low<超卖价,low*0.99,6);drawtext(barpos=SYSPARAM(2),sysparam(5),
4、明日超买价:+numtostr(超买价,2)),colorgreen,PXUP75;drawtext(barpos=SYSPARAM(2),sysparam(5),明日超卖价:+numtostr(超卖价,2)),colorgreen,PXUP75;drawtext(barpos=SYSPARAM(2),sysparam(5),明日DMA3x3:+numtostr(ref(DMA3X3,2),2)),colorgreen,PXUP75;6.MACD预测器(DMP)【主图】//dinapolimacdbb:=clo
5、se;ema08<1>:=bb<1>;ema17<1>:=bb<1>;fast<1>:=0;slow<1>:=0;fori=2todatacountdobeginema08:=(bb*2+ema08*7.3896)/9.3896;//ema(x:single,n:single)ema17:=(bb*2+ema17*16.5185)/18.5185;Fast:=ema08-ema17,colorred;Slow:=(fast*2+slow*(8.0503))/(10.050
6、3),COLORCYAN;end;//dmpdmp:(18.5185*9.3896*slow+ema17*9.3896*16.5185-ema08*18.5185*7.3896)/18.2578,colorred,shift01;//18.2578=2*(17.5185-8.3896);DRAWNUMBER(ISLASTBAR,dmp,dmp,2),colored;7、帝式DSP随机指标【主图】RS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;KSMA:=SMA(RS,3,1);DSMA:
7、=SMA(KSMA,3,1);F:=HHV(HIGH,8)-LLV(LOW,8);DSP:((DSMA*3-KSMA*2)*F/100+LLV(LOW,8)),SHIFT1,linethick1,colorgreen;PARTLINE(CLOSE>REF(DSP,1),REF(DSP,1)),LINETHICK1,colorFF;【大智慧系列的帝式指标】1、XDMA(置换移动平均线)——主图指标:上唇:REF(SMA(C,3,1),3),COLORGREEN,LINETHICK1;牙齿:REF(SMA(C,7,1),5),COLORRE
8、D,LINETHICK2,CROSSDOT;下颚:REF(SMA(C,25,1),5),COLORBLUE,LINETHICK2;或(老帝的原书是下面的这个)上唇: