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

帮我改成博弈大师的公式 [博易POBO]

咨询内容:

帮我改成博弈大师的公式

MA(C,p1);
MA(C,p2),LINETHICK2;
MA(C,p3),LINEDOT;
MA(C,p4),LINEDOT;
MA(C,p5),LINEDOT;

AAA:=COUNT(BACKSET(ISLASTBAR,50),50)=1;
DRAWTEXT(ISLASTBAR,HHV(CLOSE,50),
'止损**1个点止一半*2个点止完 '),COLORgreen,ALIGN2;

VAR1:=ZIG(3,2.88) < REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) > REF(ZIG(3,2.88),2);
 VAR2:=ZIG(3,2.88) > REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) < REF(ZIG(3,2.88),2);
 STICKLINE(VAR1,C,O,8,0),COLOR00FF00;
 STICKLINE(VAR1,C,O,5,0),COLOR00FF00;
 STICKLINE(VAR1,H,L,2,0),COLOR00FF00;
 DRAWTEXT(VAR1,H*1.007,'  空提示'),COLOR80FFFF;
 STICKLINE(VAR2,C,O,7,0),COLOR0000FF;
 STICKLINE(VAR2,C,O,5,0),COLOR0000FF;
 STICKLINE(VAR2,H,L,2,0),COLOR0000FF;
 DRAWTEXT(VAR2,L*0.993,'  多提示'),COLOR43D0FA;
 VAR3:=ZIG(3,4.88) < REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) > REF(ZIG(3,4.88),2);
 VAR4:=ZIG(3,4.88) > REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) < REF(ZIG(3,4.88),2);
 STICKLINE(VAR3,C,O,8,0),COLOR00FF00;
 STICKLINE(VAR3,C,O,5,0),COLOR00FF00;
 STICKLINE(VAR3,H,L,2,0),COLOR00FF00;
 DRAWTEXT(VAR3,H*1.007,'强空提示'),COLOR43D0FA;
 STICKLINE(VAR4,C,O,7,0),COLOR0000FF;
 STICKLINE(VAR4,C,O,5,0),COLOR0000FF;
 STICKLINE(VAR4,H,L,2,0),COLOR0000FF;
 DRAWTEXT(VAR4,L*0.993,'强多提示'),COLOR43D0FA;
 VAR5:=ZIG(3,5.88) < REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) > REF(ZIG(3,5.88),2);
 VAR6:=ZIG(3,5.88) > REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) < REF(ZIG(3,5.88),2);
 STICKLINE(VAR5,C,O,9,0),COLOR00FFFF;
 STICKLINE(VAR5,C,O,6,0),COLOR00FF00;
 STICKLINE(VAR5,H,L,3,0),COLOR00FF00;
 DRAWTEXT(VAR5,H*1.007,'■强空提示■'),COLOR00FF00;
 STICKLINE(VAR6,C,O,8,0),COLOR00FFFF;
 STICKLINE(VAR6,C,O,6,0),COLOR0000FF;
 STICKLINE(VAR6,H,L,3,0),COLOR0000FF;
 DRAWTEXT(VAR6,L*0.993,'■强多提示■'),COLOR00FFFF;
 VAR7:=ZIG(3,6.88) < REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) > REF(ZIG(3,6.88),2);
 VAR8:=ZIG(3,6.88) > REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) < REF(ZIG(3,6.88),2);
 STICKLINE(VAR7,C,O,9,0),COLOR00FFFF;
 STICKLINE(VAR7,C,O,6,0),COLOR00FF00;
 STICKLINE(VAR7,H,L,2,0),COLOR00FF00;
 DRAWTEXT(VAR7,H*1.007,'■强空提示■'),COLOR00FF00;
 DRAWTEXT(VAR8,L*0.993,'■强多提示■'),COLOR00FFFF;
 VAR9:=ZIG(3,8.88) < REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) > REF(ZIG(3,8.88),2);
 VAR10:=ZIG(3,8.88) > REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) < REF(ZIG(3,8.88),2);
 DRAWTEXT(VAR9,H*1.007,'■强空提示■'),COLOR00FF00;
 DRAWTEXT(VAR10,L*0.993,'■强多提示■'),COLOR00FFFF;
 VAR13:=ZIG(3,15.88) < REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) > REF(ZIG(3,15.88),2);
 VAR14:=ZIG(3,15.88) > REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) < REF(ZIG(3,15.88),2);
 DRAWTEXT(VAR13,H*1.02,'★波段高位注意转空★'),COLOR00FF00;
 DRAWTEXT(VAR14,L*0.975,'★下跌低位注意转多★'),COLOR00FFFF;
 VAR15:=ZIG(3,0.23) < REF(ZIG(3,0.23),1) AND REF(ZIG(3,0.23),1) > REF(ZIG(3,0.23),2);
 VAR16:=ZIG(3,0.23) > REF(ZIG(3,0.23),1) AND REF(ZIG(3,0.23),1) < REF(ZIG(3,0.23),2);
 DRAWICON(VAR15,H,5);
 DRAWICON(VAR16,L,4);


AAA:=COUNT(BACKSET(ISLASTBAR,50),50)=1;
DRAWTEXT(ISLASTBAR,HHV(CLOSE,50),''),COLORgreen,ALIGN2;

 

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

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

P2:=10;P3:=20;P4:=40;P5:=60;
MA(C,P1);
MA(C,P2),LINETHICK2;
MA(C,P3),POINTDOT;
MA(C,P4),POINTDOT;
MA(C,P5),POINTDOT;

AAA:=COUNT(BACKSET(ISLASTBAR,50),50)=1;
DRAWTEXT(ISLASTBAR,HHV(CLOSE,50),
'止损**1个点止一半*2个点止完 '),COLORGREEN,ALIGN2;

VAR1:=ZIG(3,2.88) < REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) > REF(ZIG(3,2.88),2);
 VAR2:=ZIG(3,2.88) > REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) < REF(ZIG(3,2.88),2);
 STICKLINE(VAR1,C,O,8,0),COLOR00FF00;
 STICKLINE(VAR1,C,O,5,0),COLOR00FF00;
 STICKLINE(VAR1,H,L,2,0),COLOR00FF00;
 DRAWTEXT(VAR1,H*1.007,'  空提示'),COLOR80FFFF;
 STICKLINE(VAR2,C,O,7,0),COLOR0000FF;
 STICKLINE(VAR2,C,O,5,0),COLOR0000FF;
 STICKLINE(VAR2,H,L,2,0),COLOR0000FF;
 DRAWTEXT(VAR2,L*0.993,'  多提示'),COLOR43D0FA;
 VAR3:=ZIG(3,4.88) < REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) > REF(ZIG(3,4.88),2);
 VAR4:=ZIG(3,4.88) > REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) < REF(ZIG(3,4.88),2);
 STICKLINE(VAR3,C,O,8,0),COLOR00FF00;
 STICKLINE(VAR3,C,O,5,0),COLOR00FF00;
 STICKLINE(VAR3,H,L,2,0),COLOR00FF00;
 DRAWTEXT(VAR3,H*1.007,'强空提示'),COLOR43D0FA;
 STICKLINE(VAR4,C,O,7,0),COLOR0000FF;
 STICKLINE(VAR4,C,O,5,0),COLOR0000FF;
 STICKLINE(VAR4,H,L,2,0),COLOR0000FF;
 DRAWTEXT(VAR4,L*0.993,'强多提示'),COLOR43D0FA;
 VAR5:=ZIG(3,5.88) < REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) > REF(ZIG(3,5.88),2);
 VAR6:=ZIG(3,5.88) > REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) < REF(ZIG(3,5.88),2);
 STICKLINE(VAR5,C,O,9,0),COLOR00FFFF;
 STICKLINE(VAR5,C,O,6,0),COLOR00FF00;
 STICKLINE(VAR5,H,L,3,0),COLOR00FF00;
 DRAWTEXT(VAR5,H*1.007,'■强空提示■'),COLOR00FF00;
 STICKLINE(VAR6,C,O,8,0),COLOR00FFFF;
 STICKLINE(VAR6,C,O,6,0),COLOR0000FF;
 STICKLINE(VAR6,H,L,3,0),COLOR0000FF;
 DRAWTEXT(VAR6,L*0.993,'■强多提示■'),COLOR00FFFF;
 VAR7:=ZIG(3,6.88) < REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) > REF(ZIG(3,6.88),2);
 VAR8:=ZIG(3,6.88) > REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) < REF(ZIG(3,6.88),2);
 STICKLINE(VAR7,C,O,9,0),COLOR00FFFF;
 STICKLINE(VAR7,C,O,6,0),COLOR00FF00;
 STICKLINE(VAR7,H,L,2,0),COLOR00FF00;
 DRAWTEXT(VAR7,H*1.007,'■强空提示■'),COLOR00FF00;
 DRAWTEXT(VAR8,L*0.993,'■强多提示■'),COLOR00FFFF;
 VAR9:=ZIG(3,8.88) < REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) > REF(ZIG(3,8.88),2);
 VAR10:=ZIG(3,8.88) > REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) < REF(ZIG(3,8.88),2);
 DRAWTEXT(VAR9,H*1.007,'■强空提示■'),COLOR00FF00;
 DRAWTEXT(VAR10,L*0.993,'■强多提示■'),COLOR00FFFF;
 VAR13:=ZIG(3,15.88) < REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) > REF(ZIG(3,15.88),2);
 VAR14:=ZIG(3,15.88) > REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) < REF(ZIG(3,15.88),2);
 DRAWTEXT(VAR13,H*1.02,'★波段高位注意转空★'),COLOR00FF00;
 DRAWTEXT(VAR14,L*0.975,'★下跌低位注意转多★'),COLOR00FFFF;
 VAR15:=ZIG(3,0.23) < REF(ZIG(3,0.23),1) AND REF(ZIG(3,0.23),1) > REF(ZIG(3,0.23),2);
 VAR16:=ZIG(3,0.23) > REF(ZIG(3,0.23),1) AND REF(ZIG(3,0.23),1) < REF(ZIG(3,0.23),2);
 DRAWICON(VAR15,H,5);
 DRAWICON(VAR16,L,4);


AAA:=COUNT(BACKSET(ISLASTBAR,50),50)=1;
DRAWTEXT(ISLASTBAR,HHV(CLOSE,50),''),COLORGREEN,ALIGN2; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容