博易大师指标公式信管家指标准确率最高的期货指标15分钟准确率95指标
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
G:=EMA(C,5);
D:=EMA(C,10);
NNH:=BARSLAST(H=HHV(H,7)) ,NODRAW;
NNL:=BARSLAST(L=LLV(L,7)) ,NODRAW;
//PD:=REF(G,NNH)>REF(D,NNH) ,NODRAW;
NN:=IF(REF(G,NNH)>REF(D,NNH) AND NNH<=4,NNH,IF(REF(G,NNL) NNL<=4,NNL,5)) ,NODRAW; N:=IF(ISLASTBAR AND NN>0,NN,5) ,NODRAW; HH:=REF(H,N)=HHV(H,6); LL:=REF(L,N)=LLV(L,6); FG01:BACKSET(HH,N+1)>BACKSET(HH,N),NODRAW;//只设置前面第6个 FD01:BACKSET(LL,N+1)>BACKSET(LL,N) ,NODRAW; FG02:=FG01=FD01 AND G>D,NODRAW; FD02:FG01=FD01 AND G //FG02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND G>D,FG01,//高底是同一K看均线位置 // IF(BARSLAST(FD01)>BARSLAST(FG01),FG01,0)),NODRAW;//高点处BARLAST(FG01)=0 //FD02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND D>G,FD01, //IF(BARSLAST(FG01)>BARSLAST(FD01),FD01,0)),NODRAW; TTTT:BARSLAST(FD01),NODRAW; //FG0:=FG01 AND H=HHV(H,IF(FG02=1,BARSLAST(REF(FD01,1))+1,BARSLAST(FD01))) AND FD02=0 ,NODRAW; //FD0:=FD01 AND L=LLV(L,IF(FD02=1,BARSLAST(REF(FG01,1))+1,BARSLAST(FG01))) AND FG02=0 ,NODRAW; FG0:=FG01 AND IF(FG02=1,H=HHV(H,BARSLAST(REF(FD01,1))+1),H=HHV(H,IF(BARSLAST(L=LLV(L,7))>=5,5,BARS LAST(FD01)))) AND FD02=0 ,NODRAW; FD0:=FD01 AND IF(FD02=1,L=LLV(L,BARSLAST(REF(FG01,1))+1),L=LLV(L,IF(BARSLAST(H=HHV(L,7))>=5,5,BARSLA ST(FG01)))) AND FG02=0 ,NODRAW; //高低点间周期 //高低点间周期 GT:BARSLAST(FG0),NODRAW; DT:BARSLAST(FD0),NODRAW; //第一次处理高低点间多余的点 LLLL:DT=0 AND REF(DT,1) FG1:BACKSET(REFX(GT,1)=0 AND GT FD1:BACKSET(REFX(DT,1)=0 AND DT FG11:IF(GT=0 AND REF(GT,1) IF(REF(G,BARSLAST(L=LLV(L,7)))>REF(D,BARSLAST(L=LLV(L,7))),BARSLAST(L=LLV(L,7))<5,1) AND H FD11:IF(DT=0 AND REF(DT,1) IF(REF(G,BARSLAST(H=HHV(H,7)))REF(L,REF(DT,1)+1),1,0),NODRAW; //再次周期 GT1:BARSLAST(FG11<>1 AND FG1<>1 AND FG0),NODRAW; DT1:BARSLAST(FD11<>1 AND FD1<>1 AND FD0),NODRAW; //GGT1:=REF(GT1,1),NODRAW; //处理两边都少于3根的笔 //HHHH:REF(H,GT1),NODRAW; //HHHHH:HHV(H,GT1+5),NODRAW; FD2:BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)>LLV(L,GT1+5),DT1+1),NODRAW; //加两句,低是最低,去两边; //NL:GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 ,NODRAW; //LLLLLLLL:LLV(L,GT1+5),NODRAW; FG2A:BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)<=LLV(L,GT1+5) AND REF(H,GT1)>HHV(H,GT1+5),GT1+1),NODRAW; FG2B:IF(GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 AND REF(L,DT1)<=LLV(L,REF(GT1,1)+6) AND H>HHV(H,REF(GT1,1)+6),1,0),NODRAW; FG2:BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1) FD2A:BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)>=HHV(L,DT1+5) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW; FD2B:IF(DT1=0 AND GT1<4 AND REF(DT1,1)-GT1<4 AND REF(H,GT1)>=HHV(H,REF(DT1,1)+6)