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

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

咨询内容:

请老师改成博弈指标

VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
指标: =EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DRAWTEXT(VARA=20,L,'底部'),COLORWHITE;
STICKLINE((VARA=20),0,10,5,0),COLORWHITE;
VARC:=(ZIGZAG(C,1,1)>REF(ZIGZAG(C,1,1),1)) AND (REF(ZIGZAG(C,1,1),1)<=REF(ZIGZAG(C,1,1),2)) AND (REF(ZIGZAG(C,1,1),2)<=REF(ZIGZAG(C,1,1),3));
VARD:=(ZIGZAG(C,1,1)<REF(ZIGZAG(C,1,1),1)) AND (REF(ZIGZAG(C,1,1),1)>=REF(ZIGZAG(C,1,1),2)) AND (REF(ZIGZAG(C,1,1),2)>=REF(ZIGZAG(C,1,1),3));
STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF;
VERTLINE((VARC=1),COLORRED);
DRAWTEXT((VARC=1),1,'买'),COLORRED;
STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;
VERTLINE((VARD=1),COLORGREEN);
DRAWTEXT((VARD=1),10,'卖'),COLOR00FF00,VALIGN0;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
Q:=BARSLAST(VARC)<BARSLAST(VARD);
DRAWCOLORLINE(Q,5,COLORRED,COLORGREEN),LINETHICK5;
VARC=1||VARD=1,SOUND('A');

 

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

博易技术人员: VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
指标:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DRAWTEXT(VARA=20,L,'底部'),COLORWHITE;
STICKLINE((VARA=20),0,10,5,0),COLORWHITE;
VARC:=(ZIG(C,1,1)>REF(ZIG(C,1,1),1)) AND (REF(ZIG(C,1,1),1)<=REF(ZIG(C,1,1),2)) AND (REF(ZIG(C,1,1),2)<=REF(ZIG(C,1,1),3));
VARD:=(ZIG(C,1,1)<REF(ZIG(C,1,1),1)) AND (REF(ZIG(C,1,1),1)>=REF(ZIG(C,1,1),2)) AND (REF(ZIG(C,1,1),2)>=REF(ZIG(C,1,1),3));
STICKLINE((VARC=1),-14,0,4,0),COLOR0000FF;
VERTLINE((VARC=1),1),COLORRED;
DRAWTEXT((VARC=1),1,'买'),COLORRED;
STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;
VERTLINE((VARD=1),1),COLORGREEN;
DRAWTEXT((VARD=1),10,'卖'),COLOR00FF00,VALIGN0;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
Q1:=BARSLAST(VARC)<BARSLAST(VARD);
Q2:=BARSLAST(VARC)>BARSLAST(VARD);
PARTLINE2(5,Q1,COLORRED,Q2,COLORGREEN),LINETHICK5;
DRAWICON(VARC=1||VARD=1,5,1);  谢谢老师 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容