您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

请老师把我这个文化财经修改博易大师上用 [博易POBO]

咨询内容:

请老师把我这个文化财经修改博易大师上用

A1:=C>REF(C,4);
A2:=BARSLASTCOUNT(A1);
A3:=REF(A2,1)=8 AND A2>REF(A2,1);
A4:=REF(BETWEEN(A2,5,8),1) AND A2<REF(A2,1);
A5:=ISLASTBAR AND BETWEEN(A2,6,8);
A6:=(BACKSET(A3>0,9) OR BACKSET(A4>0,A2+1)*0 OR  BACKSET(A5>0,A2))*A2;
DRAWNUMBER(A6>0,H,A6,0,RGB(255,0,0));

B1:=C<REF(C,4);
B2:=BARSLASTCOUNT(B1);
B3:=REF(B2,1)=8 AND B2>REF(B2,1);
B4:=REF(BETWEEN(B2,5,8),1) AND B2<REF(B2,1);
B5:=ISLASTBAR AND BETWEEN(B2,6,8);
B6:=(BACKSET(B3>0,9) OR BACKSET(B4>0,B2+1)*0 OR  BACKSET(B5>0,B2))*B2;
DRAWNUMBER(B6>0,L,B6,0,COLORGREEN),VALIGN0;




AA1:=REF(H,N)=HHV(H,2*N+1);
BB1:=FILTER(AA1,N);
CC1:=BACKSET(BB1,N+1);
DD1:=FILTER(CC1,N);
AA2:=REF(L,N)=LLV(L,2*N+1);
BB2:=FILTER(AA2,N);
CC2:=BACKSET(BB2,N+1);
DD2:=FILTER(CC2,N);
EE1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;
EE2:=(H+L)/2;
HH1:=(DD1 AND NOT(DD2 AND EE1>=EE2)) OR ISLASTBAR OR BARPOS=1;
LL1:=(DD2 AND NOT(DD1 AND EE1<EE2));
HH2:=DD1 AND NOT(DD2 AND EE1>=EE2);
XX1:=REF(BARSLAST(HH1),1)+1;
FF11:=BACKSET(HH1 AND COUNT(LL1,XX1)>0,LLVBARS(IFELSE(LL1,L,1000000),XX1));
FF1:=IFELSE(FF11=1,1,0);
GG1:=FF1>REF(FF1,1);
II1:=BACKSET(GG1,2);
LD:=II1>REF(II1,1);
LL2:=LD OR ISLASTBAR OR BARPOS=1;
XX2:=REF(BARSLAST(LL2),1)+1;
FF22:=BACKSET(LL2 AND COUNT(HH2,XX2)>0,HHVBARS(IFELSE(HH2,H,0),XX2));
FF2:=IFELSE(FF22=1,1,0);
GG2:=FF2>REF(FF2,1);
II2:=BACKSET(GG2,2);
HD:=II2>REF(II2,1);
LJZ:=IFELSE(HD,H,L);
//POLYLINE(HD||LD,LJZ,COLORYELLOW);//
RR1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
SS1:=RR1>REF(RR1,1);
TT1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
UU1:=TT1>REF(TT1,1);
RR2:=BACKSET(SS1,REF(BARSLAST(HD),1)+2);
SS2:=RR2>REF(RR2,1);
TT2:=BACKSET(UU1,REF(BARSLAST(LD),1)+2);
UU2:=TT2>REF(TT2,1);
反拉机会:TRENDLINES(SS2,H,SS1,H), COLORWHITE,LINETHICK1;
低:TRENDLINES(UU2,L,UU1,L), COLORWHITE,LINETHICK1;

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: N:=5;

A1:=C>REF(C,4);
A2:=BARSLAST(A1);
A3:=REF(A2,1)=8 AND A2>REF(A2,1);
A4:=REF(BETWEEN(A2,5,8),1) AND A2<REF(A2,1);
A5:=ISLASTBAR AND BETWEEN(A2,6,8);
A6:=(BACKSET(A3>0,9) OR BACKSET(A4>0,A2+1)*0 OR  BACKSET(A5>0,A2))*A2;
DRAWNUMBER(A6>0,H,A6,0),COLOR0000FF;

B1:=C<REF(C,4);
B2:=BARSLAST(B1);
B3:=REF(B2,1)=8 AND B2>REF(B2,1);
B4:=REF(BETWEEN(B2,5,8),1) AND B2<REF(B2,1);
B5:=ISLASTBAR AND BETWEEN(B2,6,8);
B6:=(BACKSET(B3>0,9) OR BACKSET(B4>0,B2+1)*0 OR  BACKSET(B5>0,B2))*B2;
DRAWNUMBER(B6>0,L,B6,0),COLORGREEN,VALIGN0;




AA1:=REF(H,N)=HHV(H,2*N+1);
BB1:=FILTER(AA1,N);
CC1:=BACKSET(BB1,N+1);
DD1:=FILTER(CC1,N);
AA2:=REF(L,N)=LLV(L,2*N+1);
BB2:=FILTER(AA2,N);
CC2:=BACKSET(BB2,N+1);
DD2:=FILTER(CC2,N);
EE1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;
EE2:=(H+L)/2;
HH1:=(DD1 AND NOT(DD2 AND EE1>=EE2)) OR ISLASTBAR OR BARPOS=1;
LL1:=(DD2 AND NOT(DD1 AND EE1<EE2));
HH2:=DD1 AND NOT(DD2 AND EE1>=EE2);
XX1:=REF(BARSLAST(HH1),1)+1;
FF11:=BACKSET(HH1 AND COUNT(LL1,XX1)>0,LLVBARS(IFELSE(LL1,L,1000000),XX1));
FF1:=IFELSE(FF11=1,1,0);
GG1:=FF1>REF(FF1,1);
II1:=BACKSET(GG1,2);
LD:=II1>REF(II1,1);
LL2:=LD OR ISLASTBAR OR BARPOS=1;
XX2:=REF(BARSLAST(LL2),1)+1;
FF22:=BACKSET(LL2 AND COUNT(HH2,XX2)>0,HHVBARS(IFELSE(HH2,H,0),XX2));
FF2:=IFELSE(FF22=1,1,0);
GG2:=FF2>REF(FF2,1);
II2:=BACKSET(GG2,2);
HD:=II2>REF(II2,1);
LJZ:=IFELSE(HD,H,L);
//POLYLINE(HD||LD,LJZ,COLORYELLOW);//
RR1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
SS1:=RR1>REF(RR1,1);
TT1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
UU1:=TT1>REF(TT1,1);
RR2:=BACKSET(SS1,REF(BARSLAST(HD),1)+2);
SS2:=RR2>REF(RR2,1);
TT2:=BACKSET(UU1,REF(BARSLAST(LD),1)+2);
UU2:=TT2>REF(TT2,1);
DRAWLINE(SS2,H,SS1,H,0), COLORWHITE,LINETHICK1;
DRAWLINE(UU2,L,UU1,L,0), COLORWHITE,LINETHICK1; 来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


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

相关文章

    没有相关内容