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

请老师看看K不变色 [博易POBO]

咨询内容:

请老师看看K不变色

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.3,1) < REF(ZIG(C,0.3,1),1) AND REF(ZIG(C,0.3,1),1) > REF(ZIG(C,0.3,1),2);
VAR16:=ZIG(C,0.3,1) > REF(ZIG(C,0.3,1),1) AND REF(ZIG(C,0.3,1),1) < REF(ZIG(C,0.3,1),2);
DRAWRGNGBK(BARSLAST(VAR15)>BARSLAST(VAR16),COLOR660066,COLORBLACK);
VAR17:=ZIG(C,1,1) < REF(ZIG(C,1,1),1) AND REF(ZIG(C,1,1),1) > REF(ZIG(C,1,1),2);
VAR18:=ZIG(C,1,1) > REF(ZIG(C,1,1),1) AND REF(ZIG(C,1,1),1) < REF(ZIG(C,1,1),2);
VERTLINE(CROSS(BARSLAST(VAR17),BARSLAST(VAR18))||CROSS(BARSLAST(VAR18),BARSLAST(VAR17))),COLOR00FFFF;
DRAWKLINEEX(CROSS(BARSLAST(VAR17),BARSLAST(VAR18)),H,O,L,C),COLORFFFF00;
DRAWKLINEEX(CROSS(BARSLAST(VAR18),BARSLAST(VAR17)),H,O,L,C),COLORGREEN;
DRAWKLINE(H,O,L,C);

 

 来源:程序化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.3,1) < REF(ZIG(C,0.3,1),1) AND REF(ZIG(C,0.3,1),1) > REF(ZIG(C,0.3,1),2);
VAR16:=ZIG(C,0.3,1) > REF(ZIG(C,0.3,1),1) AND REF(ZIG(C,0.3,1),1) < REF(ZIG(C,0.3,1),2);
DRAWRGNGBK(BARSLAST(VAR15)>BARSLAST(VAR16),COLOR660066,COLORBLACK);
VAR17:ZIG(C,1,1) < REF(ZIG(C,1,1),1) AND REF(ZIG(C,1,1),1) > REF(ZIG(C,1,1),2);
VAR18:ZIG(C,1,1) > REF(ZIG(C,1,1),1) AND REF(ZIG(C,1,1),1) < REF(ZIG(C,1,1),2);
VERTLINE(CROSS(BARSLAST(VAR17),BARSLAST(VAR18))||CROSS(BARSLAST(VAR18),BARSLAST(VAR17))),COLOR00FFFF;
DRAWKLINEEX(CROSS(BARSLAST(VAR17),BARSLAST(VAR18)),H,O,L,C),COLOR00FFFF;
DRAWKLINEEX(CROSS(BARSLAST(VAR18),BARSLAST(VAR17)),H,O,L,C),COLORGREEN; 老师咋只变绿K,黄K不变 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容