您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

背离反转预判指标源码[其他软件公式]

相关标签: 背离反转预判指标源码,背离反转预判指标公式,背离反转预判源码,顶部预判指标公式,精品的顶部预判指标,顶底反转指标源码

 

 

背离反转预判指标源码

 

 

TR1 := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-ref(CLOSE,1))),ABS(LOW-ref(CLOSE,1))),N);
HD := HIGH-ref(HIGH,1);
LD := ref(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 ,HD,0),N);
DMM:= SUM(IF(LD>0 ,LD,0),N);
PDI: DMP*100/TR1,colorwhite;
MDI: DMM*100/TR1,coloryelLOW;
反转:=ref(MDI,1)=0 and ref(MDI,2)<3 and MDI>1 and CLOSE>ref(CLOSE,1) and PDI<ref(PDI,1) and ref(PDI,1)>ref(PDI,2) and PDI<60 and PDI>45;
巨反转:=if(ref(MDI,1)=0 and ref(mdi,2)=0 AND MDI>3 AND PDI>60 and CLOSE>ref(CLOSE,1) and pdi<ref(pdi,1) and ref(CLOSE,1)>ref(CLOSE,2),1,0);
小心:=if(ref(MDI,1)<2.5 and (MDI-ref(MDI,1))>2 and CLOSE>ref(CLOSE,1) and pdi<ref(pdi,1) and 40<PDI,1,0);
背离:=if(CLOSE>ref(CLOSE,1) and pdi<ref(pdi,1) and ref(pdi,1)>ref(PDI,2) and ref(pdi,1)>60,1,0);
F:=if(CLOSE>ref(CLOSE,1) and pdi<ref(pdi,1) and ref(CLOSE,2)<ref(CLOSE,1),if((PDI-10)>0,PDI-10,0),0);
e:=if(ref(MDI,1)=0,10,0)+if(ref(MDI,1)<3,10,0)+if(ref(MDI,2)=0,10,0)+if(ref(MDI,2)<4,15,0)+if(ref(MDI,3)=0,15,0)+if(ref(MDI,3)<5,20,0)+if(MDI=0,5,0)+if(MDI<5,5,0)+F+if(F>0,ref(f,1),0);
小心指数:IF(E>100,100,E);
DRAWTEXT(巨反转=1,20,'巨反转' ),colorred;{来源 WWW.CXH99.COM }
DRAWTEXT(巨反转=0 and 反转=1,20,'反转' ),colorred;
DRAWTEXT(反转=0 and 小心=1,20,'小心' ),colorred;
DRAWTEXT(背离=1,80,'背离'),colorred;
DRAWTEXT(背离=0 and CLOSE>ref(CLOSE,1) and pdi<ref(pdi,1) {and ref(pdi,1)>ref(PDI,2)} and ref(pdi,1)>50,70,'背'),colorred;
DRAWTEXT(ref(PDI,1)<2.5 and (PDI-ref(PDI,1))>1.5 and CLOSE<ref(CLOSE,1) and Mdi<ref(Mdi,1),20,'上' ),colorred;
DRAWTEXT(ref(PDI,1)<5 and ref(PDI,1)<ref(pdi,2) and (PDI-ref(PDI,1))>1.5 and CLOSE>ref(CLOSE,1) and Mdi<ref(Mdi,1),20,'?上' ),colorred;

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容