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

老师这个指标能改成主图用吗 [博易POBO]

咨询内容:

老师这个指标能改成主图用吗

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.8,1) < REF(ZIG(C,0.8,1),1) AND REF(ZIG(C,0.8,1),1) > REF(ZIG(C,0.8,1),2);
VAR16:=ZIG(C,0.8,1) > REF(ZIG(C,0.8,1),1) AND REF(ZIG(C,0.8,1),1) < REF(ZIG(C,0.8,1),2);
FILLRGN(BARSLAST(VAR15)>BARSLAST(VAR16),100,200),COLORFFAAFF;
FILLRGN(BARSLAST(VAR15)<BARSLAST(VAR16),100,200),COLOR888800;
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.8,1) < REF(ZIG(C,0.8,1),1) AND REF(ZIG(C,0.8,1),1) > REF(ZIG(C,0.8,1),2);
VAR16:=ZIG(C,0.8,1) > REF(ZIG(C,0.8,1),1) AND REF(ZIG(C,0.8,1),1) < REF(ZIG(C,0.8,1),2);
FILLRGN(BARSLAST(VAR15)>BARSLAST(VAR16),O,C),COLORFFAAFF;
FILLRGN(BARSLAST(VAR15)<BARSLAST(VAR16),O,C),COLOR888800;
DRAWKLINE(H,O,L,C); 老师咋不显示 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容