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

请老师改成博弈指标 [博易POBO]

咨询内容:

请老师改成博弈指标

B:=C<REF(C,4);
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
N:=CURRBARSCOUNT;
B1:=(N=6 AND REFX(COUNT(B,6),5)=6) OR (N=7 AND REFX(COUNT(B,7),6)=7) OR (N=8 AND REFX(COUNT(B,8),7)=8) OR (N>=9 AND REFX(COUNT(B,9),8)=9);
DRAWNUMBER1(B1 AND REF(B,1)=0,L,1,0),COLORMAGENTA,FONTSIZE30;
B2:=(N=5 AND REFX(COUNT(B,6),4)=6) OR (N=6 AND REFX(COUNT(B,7),5)=7) OR (N=7 AND REFX(COUNT(B,8),6)=8) OR (N>=8 AND REFX(COUNT(B,9),7)=9);
DRAWNUMBER1(B2 AND REF(B,2)=0,L,2,0),COLORMAGENTA,FONTSIZE30;
B8:=(N=1 AND COUNT(B,8)=8) OR (N>=2 AND REFX(COUNT(B,9),1)=9);
DRAWNUMBER1(B8 AND REF(B,8)=0,L,8,0),COLORMAGENTA,FONTSIZE30;
B9:=(N>=1 AND COUNT(B,9)=9);
DRAWNUMBER1(B9 AND REF(B,9)=0,L,9,0),COLORYELLOW,FONTSIZE30;
S:=C>REF(C,4);
S1:=(N=6 AND REFX(COUNT(S,6),5)=6) OR (N=7 AND REFX(COUNT(S,7),6)=7) OR (N=8 AND REFX(COUNT(S,8),7)=8) OR (N>=9 AND REFX(COUNT(S,9),8)=9);
DRAWNUMBER1(S1 AND REF(S,1)=0,H,1,0),COLORMAGENTA,FONTSIZE30;
S2:=(N=5 AND REFX(COUNT(S,6),4)=6) OR (N=6 AND REFX(COUNT(S,7),5)=7) OR (N=7 AND REFX(COUNT(S,8),6)=8) OR (N>=8 AND REFX(COUNT(S,9),7)=9);
DRAWNUMBER1(S2 AND REF(S,2)=0,H,2,0),COLORMAGENTA,FONTSIZE30;
S8:=(N=1 AND COUNT(S,8)=8) OR (N>=2 AND REFX(COUNT(S,9),1)=9);
DRAWNUMBER1(S8 AND REF(S,8)=0,H,8,0),COLORMAGENTA,FONTSIZE30;
S9:=(N>=1 AND COUNT(S,9)=9);
DRAWNUMBER1(S9 AND REF(S,9)=0,H,9,0),COLORGREEN,FONTSIZE30;

 

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

博易技术人员: B:=C<REF(C,4);
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
N:=CURRBARSCOUNT;
B1:=(N=6 AND REFX(COUNT(B,6),5)=6) OR (N=7 AND REFX(COUNT(B,7),6)=7) OR (N=8 AND REFX(COUNT(B,8),7)=8) OR (N>=9 AND REFX(COUNT(B,9),8)=9);
DRAWNUMBER(B1 AND REF(B,1)=0,L,1,0),COLORMAGENTA,FONTSIZE30;
B2:=(N=5 AND REFX(COUNT(B,6),4)=6) OR (N=6 AND REFX(COUNT(B,7),5)=7) OR (N=7 AND REFX(COUNT(B,8),6)=8) OR (N>=8 AND REFX(COUNT(B,9),7)=9);
DRAWNUMBER(B2 AND REF(B,2)=0,L,2,0),COLORMAGENTA,FONTSIZE30;
B8:=(N=1 AND COUNT(B,8)=8) OR (N>=2 AND REFX(COUNT(B,9),1)=9);
DRAWNUMBER(B8 AND REF(B,8)=0,L,8,0),COLORMAGENTA,FONTSIZE30;
B9:=(N>=1 AND COUNT(B,9)=9);
DRAWNUMBER(B9 AND REF(B,9)=0,L,9,0),COLORYELLOW,FONTSIZE30;
S:=C>REF(C,4);
S1:=(N=6 AND REFX(COUNT(S,6),5)=6) OR (N=7 AND REFX(COUNT(S,7),6)=7) OR (N=8 AND REFX(COUNT(S,8),7)=8) OR (N>=9 AND REFX(COUNT(S,9),8)=9);
DRAWNUMBER(S1 AND REF(S,1)=0,H,1,0),COLORMAGENTA,FONTSIZE30;
S2:=(N=5 AND REFX(COUNT(S,6),4)=6) OR (N=6 AND REFX(COUNT(S,7),5)=7) OR (N=7 AND REFX(COUNT(S,8),6)=8) OR (N>=8 AND REFX(COUNT(S,9),7)=9);
DRAWNUMBER(S2 AND REF(S,2)=0,H,2,0),COLORMAGENTA,FONTSIZE30;
S8:=(N=1 AND COUNT(S,8)=8) OR (N>=2 AND REFX(COUNT(S,9),1)=9);
DRAWNUMBER(S8 AND REF(S,8)=0,H,8,0),COLORMAGENTA,FONTSIZE30;
S9:=(N>=1 AND COUNT(S,9)=9);
DRAWNUMBER(S9 AND REF(S,9)=0,H,9,0),COLORGREEN,FONTSIZE30; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容