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

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

咨询内容:

请老师改成博弈指标

VAR1:=ZIGZAG(C,2.88,1) < REF(ZIGZAG(C,2.88,1),1) AND REF(ZIGZAG(C,2.88,1),1) > REF(ZIGZAG(C,2.88,1),2);
VAR2:=ZIGZAG(C,2.88,1) > REF(ZIGZAG(C,2.88,1),1) AND REF(ZIGZAG(C,2.88,1),1) < REF(ZIGZAG(C,2.88,1),2);

VAR3:=ZIGZAG(C,4.88,1) < REF(ZIGZAG(C,4.88,1),1) AND REF(ZIGZAG(C,4.88,1),1) > REF(ZIGZAG(C,4.88,1),2);
VAR4:=ZIGZAG(C,4.88,1) > REF(ZIGZAG(C,4.88,1),1) AND REF(ZIGZAG(C,4.88,1),1) < REF(ZIGZAG(C,4.88,1),2);

VAR5:=ZIGZAG(C,5.88,1) < REF(ZIGZAG(C,5.88,1),1) AND REF(ZIGZAG(C,5.88,1),1) > REF(ZIGZAG(C,5.88,1),2);
VAR6:=ZIGZAG(C,5.88,1) > REF(ZIGZAG(C,5.88,1),1) AND REF(ZIGZAG(C,5.88,1),1) < REF(ZIGZAG(C,5.88,1),2);

VAR7:=ZIGZAG(C,6.88,1) < REF(ZIGZAG(C,6.88,1),1) AND REF(ZIGZAG(C,6.88,1),1) > REF(ZIGZAG(C,6.88,1),2);
VAR8:=ZIGZAG(C,6.88,1) > REF(ZIGZAG(C,6.88,1),1) AND REF(ZIGZAG(C,6.88,1),1) < REF(ZIGZAG(C,6.88,1),2);

VAR9:=ZIGZAG(C,8.88,1) < REF(ZIGZAG(C,8.88,1),1) AND REF(ZIGZAG(C,8.88,1),1) > REF(ZIGZAG(C,8.88,1),2);
VAR10:=ZIGZAG(C,8.88,1) > REF(ZIGZAG(C,8.88,1),1) AND REF(ZIGZAG(C,8.88,1),1) < REF(ZIGZAG(C,8.88,1),2);

VAR13:=ZIGZAG(C,15.88,1) < REF(ZIGZAG(C,15.88,1),1) AND REF(ZIGZAG(C,15.88,1),1) > REF(ZIGZAG(C,15.88,1),2);
VAR14:=ZIGZAG(C,15.88,1) > REF(ZIGZAG(C,15.88,1),1) AND REF(ZIGZAG(C,15.88,1),1) < REF(ZIGZAG(C,15.88,1),2);

VAR15:=ZIGZAG(C,0.23,1) < REF(ZIGZAG(C,0.23,1),1) AND REF(ZIGZAG(C,0.23,1),1) > REF(ZIGZAG(C,0.23,1),2);
VAR16:=ZIGZAG(C,0.23,1) > REF(ZIGZAG(C,0.23,1),1) AND REF(ZIGZAG(C,0.23,1),1) < REF(ZIGZAG(C,0.23,1),2);
FILLRGN1(BARSLAST(VAR15)>BARSLAST(VAR16),100,200),COLOR888800;
FILLRGN1(BARSLAST(VAR15)<BARSLAST(VAR16),100,200),COLORBLUE;
REFLINE:0,200,300;

 

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

博易技术人员: VAR1:=ZIG(C,2.88,1) < REF(ZIG(C,2.88,1),1) AND REF(ZIG(C,2.88,1),1) > REF(ZIG(C,2.88,1),2);
VAR2:=ZIG(C,2.88,1) > REF(ZIG(C,2.88,1),1) AND REF(ZIG(C,2.88,1),1) < REF(ZIG(C,2.88,1),2);

VAR3:=ZIG(C,4.88,1) < REF(ZIG(C,4.88,1),1) AND REF(ZIG(C,4.88,1),1) > REF(ZIG(C,4.88,1),2);
VAR4:=ZIG(C,4.88,1) > REF(ZIG(C,4.88,1),1) AND REF(ZIG(C,4.88,1),1) < REF(ZIG(C,4.88,1),2);

VAR5:=ZIG(C,5.88,1) < REF(ZIG(C,5.88,1),1) AND REF(ZIG(C,5.88,1),1) > REF(ZIG(C,5.88,1),2);
VAR6:=ZIG(C,5.88,1) > REF(ZIG(C,5.88,1),1) AND REF(ZIG(C,5.88,1),1) < REF(ZIG(C,5.88,1),2);

VAR7:=ZIG(C,6.88,1) < REF(ZIG(C,6.88,1),1) AND REF(ZIG(C,6.88,1),1) > REF(ZIG(C,6.88,1),2);
VAR8:=ZIG(C,6.88,1) > REF(ZIG(C,6.88,1),1) AND REF(ZIG(C,6.88,1),1) < REF(ZIG(C,6.88,1),2);

VAR9:=ZIG(C,8.88,1) < REF(ZIG(C,8.88,1),1) AND REF(ZIG(C,8.88,1),1) > REF(ZIG(C,8.88,1),2);
VAR10:=ZIG(C,8.88,1) > REF(ZIG(C,8.88,1),1) AND REF(ZIG(C,8.88,1),1) < REF(ZIG(C,8.88,1),2);

VAR13:=ZIG(C,15.88,1) < REF(ZIG(C,15.88,1),1) AND REF(ZIG(C,15.88,1),1) > REF(ZIG(C,15.88,1),2);
VAR14:=ZIG(C,15.88,1) > REF(ZIG(C,15.88,1),1) AND REF(ZIG(C,15.88,1),1) < REF(ZIG(C,15.88,1),2);

VAR15:=ZIG(C,0.23,1) < REF(ZIG(C,0.23,1),1) AND REF(ZIG(C,0.23,1),1) > REF(ZIG(C,0.23,1),2);
VAR16:=ZIG(C,0.23,1) > REF(ZIG(C,0.23,1),1) AND REF(ZIG(C,0.23,1),1) < REF(ZIG(C,0.23,1),2);
FILLRGN(BARSLAST(VAR15)>BARSLAST(VAR16),100,200),COLOR888800;
FILLRGN(BARSLAST(VAR15)<BARSLAST(VAR16),100,200),COLORBLUE;
REFLINE:0,200,300; 谢谢老师 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容