博易大师期货软件指标公式源码期货最准的指标准确率最高的期货指标.docx
1111:=11:1.1.:=1.;A:=IF(DATACOUNT-BARPOS<13,DATACOUNT-BARPOS7,25/2);多止损:=REFX(MA(1.1.,25),25/2)-(REFX(MA(1111,25),25/2)-REFX(MA(1.1.,25),25/2)*3.5,NODRAW,CO1.ORYE1.1.OW;多止盈:=(REFX(MA(IIH.25),25/2)-REFX(MA(1.1.,25),25/2)*1+REFX(MA(IIII,25),25/2),NODRAW,CO1.ORWIIITE;空止损:=(REFX(MA(IIH.25),25/2)-REFX(MA(1.1.,25),25/2)*3.5+REFX(MA(HH,25),25/2),NODRAW,CO1.ORYE1.1.OW;空止盈:=REFX(MA(1.1.,25),25/2)-(REFX(MA(HU,25),25/2)-REFX(MA(1.1.,25),25/2)*1,NODRAW,CO1.ORWIIITE;多止损:=REFX(MA(1.1.,25),A)-(REFX(MA(1.1.25),A)-REFX(MA(1.1.,25),A)*3.5,NODRAW,CO1.ORYE1.1.OW;多止盈:=(REFX(MA(i1.,25),A)-REFX(MA(1.1.,25),A)*1+REFX(MA(IIH,25),A),NODRAW,CO1.ORWIIITE;空止损:=(REFX(MA(1.1.,25),A)-REFX(MA(1.1.,25),A)*3.5+REFX(MA(HH,25),A),NODRAW,CO1.ORYE1.1.OW;空止盈:=REFX(MA(1.1.,25),A)-(REFX(MA(IIH,25),A)-REFX(MA(1.1.,25),A)*1,NODRAW,CO1.ORWIIITE;短高11:=(20*11+19*1(11,1)+18*1«(11,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(II,8)÷11*REF(II,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(II,20)/210,CO1.ORB1.UE,1.INETIIICK1;短低1.:=(20*1.+19*REF(1.,1)+18*REF(1.,2)+17*REF(1.,3)+16*REF(1.,4)+15*REF(1.,5)+14*REF(1.,6)÷13*REF(1.,7)+12*REF(1.,8)÷11*REF(1.,9)+10*REF(1.,10)+9*REF(1.,11)+8*REF(1.,12)+7*REF(1.,13)+6*REF(1.,14)+5*REF(1.,15)+4*REF(1.,16)+3*REF(1.,17)+2*REF(U18)+REF(1.,20)/210,CO1.ORB1.UE,1.INETIIICK1;D90H:=EMA(短高H,90),C01.0RRED,1.INETHICK1;D901.=EMA(短低1.90),CO1.ORRED,1.INETHICK1;D90差:=D90H-D901.;D90顶:=D90H+D90差*2,CO1.ORRED,1.INETHICK1;D90底:=D901.-D90差*2,CO1.ORRED,1.INETHICK1;高0:=(REFX(MA(HH,25),A)-REFX(MA(1.1.,25),A)*1+REFX(MA(HH.25),A),1.INETHICK1,CO1.ORWIIITE;低0:=REFX(MA(1.1.,25),A)-(REFX(MA(HH,25),A)-REFX(MA(1.1.,25),A)*1,1.INETIIICK1,CO1.ORWIIITE;多头定位:=低0>=D90底AND高0>=D90顶;空头定位:=高(K=D90顶AND低0<=D90底;震荡定位:=低0>=D90底AND高0<=D90顶;短顶:=(REFX(MA(1.1.,25),A)-REFX(MA(1.1.,25),A)*2+REFX(MA(IIH,25),A),1.INETIIICK2,CO1.ORGREEN;短底:=REFX(MA(1.1.,25),A)-(REFX(MA(HH,25),A)-REFX(MA(1.1.,25),A)*2,1.INETHICK2,CO1.ORGREEN;短线收盘:=(C-短底)/(短顶-短底)*100000,1.INETHICK2,CO1.ORRED;短线开盘:=(0-短底)/(短顶-短底)*100000,1.INETIIICK2,CO1.ORRED;短线高盘:=(H-短底)/(短顶-短底)*100000,1.INETHICK2,CO1.ORRED:短线低盘:=(1.-短底)/(短顶-短底)*100000,NoDRAW,CO1.ORRED;顶1:=120000,CO1.ORYE1.1.OW,1.INETHICK3;底1:=-20000,CO1.ORYE1.1.OW,1.INETHICK3;STICK1.1.NE(多头定位=1,顶1,底1,18,0),C01.0R000066;STICK1.1.NE(空头定位=1,顶1,底1,18,0),C01.0R003300;STICK1.1.NE(震荡定位=1,顶1,底1,18,0),C01.0R555555;HD:=REFX(MA(短线高盘,25),A);1.D:=REFX(MA(短线低盘,25),A);震荡顶:=(REFX(MA(1.D,25),A)-REFX(MA(IID,25),A)*1+REFX(MA(1.D,25),A),POINTDOT,CO1.ORWHITE;震荡底:=REFX(MA(HD,25),A)-(REFX(MA(1.D,25),A)-REFX(MA(HD,25),A)*1,POINTDOT,CO1.ORWHITE;做空:=80000,CO1.ORWIIITE,1.INETHICK1.;做多:=20000,CO1.ORWIIITE,1.INETHICK1.;空损:=120000,CO1.ORMAGENTA,1.INETI1ICK2;多损:=-20000,COu)RMAGENTA,1.INETIIICK2;多减仓:=65000,POINTDOT,CO1.ORRED;空减仓:=35000,POINTDOT,CO1.ORGREEN;DRAWTEXTdS1.ASTBAR,120000,CO1.ORMAGENTA;DRAWTEXTdS1.ASTBAR,80000,),CO1.ORWHITE;DRAWTEXTdS1.ASTBAR,65000,减'),CO1.ORRED;DRAWTEXTdS1.ASTBAR,35000,减'),CO1.ORGREEN;DRAWTEXTdS1.ASTBAR,20000,多'),CO1.ORWHITE;DRAWTEXTdS1.ASTBAR,-20000,损'),CO1.ORMAGENTA;RSV:=(C1.OSE-1.1.V(1.OW,9)/(IIIIV(HIGH,9)-1.1.V(1.OW,9)*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;今D:=EMA(D,3);昨D:=REF(今D,1);STICKUNE(今D=昨D,短线低盘,短线高盘,1,0),CO1.ORRED;STIeK1.1.NE(今D=昨D,短线收盘,短线开盘,18,0),C01.0RRED;STIeK1.1.NE(今D<=昨D,短线低盘,短线高盘,1,0),CO1.ORGREEN;STIeK1.1.NE(今IX=昨D,短线收盘,短线开盘,18,0),CO1.ORGREEN;白色点多定位1:=短线低盘做多AND短线高盘>做多;白色点空定位1:=短线高盘做空AND短线低盘做空;ST1.eK1.INE(白色点多定位1=1,短线低盘,做多,18,0),CO1.ORWI11TE;STICK1.INE(白色点空定位1=1,短线高盘,做空,18,0),CO1.ORWIIITE;白色点多定位2:=短线高盘<做多;白色点空定位2:=短线低盘做空;ST1.eK1.INE(白色点多定位2=1,短线低盘,短线高盘,1,0),CO1.ORWI11TE;ST1.eK1.1.NE(白色点多定位2=1,短线收盘,短线开盘,18,0),CO1.ORWI11TE;ST1.CK1.INE(白色点空定位2=1,短线低盘,短线高盘,1,0),CO1.ORWI11TE;ST1.eK1.INE(白色点空定位2=1,短线收盘,短线开盘,18,0),CO1.ORWI11TE;多头红色点:=今D昨D;空头红色点:=今DC昨D;多头红色点定位1:=白色点多定位1=1AND多头红色点=1;空头红色点定位1:=白色点空定位1=1AND空头红色点=1;STIeK1.1.NE(多头红色点定位1=1,短线低盘,做多,18,0),CO1.ORMAGENTA;STICK1.1.NE(空头红色点定位1=1,短线高盘,做空,18,0),CO1.ORMAGENTA;多头红色点定位2:=白色点多定位2=1AND多头红色点=1;空头红色点定位2:=白色点空定位2=1AND空头红色点=1;STIeK1.INE(多头红色点定位2=1,短线低盘,短线高盘,1,0),CO1.ORMAGENTA;STIeK1.1.NE(多头红色点定位2=1,短线收盘,短线开盘,18,0),CO1.ORMAGENTA;STICK1.INE(空头红色点定位2=1,短线低盘,短线高盘,1,0),CO1.ORMAGENTA;ST1.CK1.1.NE(空头红色点定位2=1,短线收盘,短线开盘,18,0),CO1.ORMAGENTA;多头定位=1;多头定位=1AND震荡定位=0;空头定位=1;空头定位=1 AND震荡定位=0;震荡定位=1;震荡定位=1;多头多定位:=CROSS(做多,短线低盘)多头平定位:=CROSS(短线高盘,做空)空头空定位:=CRoSS(短线高盘,做空)空头平定位:=CRoSS(做多,短线低盘)震荡多定位:=CRoSS(做多,短线低盘)震荡空定位:=CROSS(短线高盘,做空)DRAWICON(空头平定位=1,短线低盘,78);DRAW1.CON(多头平定位=1,短线高盘,67);DRAW1.CON(多头多定位=1OR震荡多定位=1,短线低盘,48);DRAW1.eoN(空头空定位=1OR震荡空定位=1,短线高盘,49);STICK1.INEd,80000,80000,15,0),C01.0RW1IITE;STICK1.INEd,20000,20000,15,0),CO1.ORWIIITE;STICK1.INEd,120000,120000,15,0),CO1.ORMAGENTA;STICK1.INEd,-20000,-20000,15,0),CO1.ORMAGENTA;STICK1.INEd,65000,65000,2tO),CO1.ORRED;STICK1.INEd,35000,35000,2,0),CO1.ORGREEN;