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

老师,帮我转咱们博弈大师的 [博易POBO]

咨询内容:

老师,帮我转咱们博弈大师的

VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;
VAR4:=MA(VAR3,13);
VAR5:=EMA(MA(CLOSE,3),34);
VAR6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR7:=MA(VAR6,5);
VAR8:=MA(VAR6,10);
STICKLINE(IFELSE(VAR3<VAR5,VAR3<=1.015*VAR4,VAR3<=1.005*VAR4),VAR3,VAR4,COLORBLUE,1);
STICKLINE(VAR3>1.005*VAR4,VAR3,VAR4,COLORMAGENTA,1);

STICKLINE(COUNT(VAR3>1.005*VAR4 && VAR3<=REF(VAR3,1),2)=2 || COUNT(IFELSE(VAR3<VAR5,VAR3<=1.015*VAR4,VAR3<=1.005*VAR4) && VAR3>=REF(VAR3,1),2)=2,VAR3,VAR4 ,COLORRED,1);
LC := REF(CLOSE,1);//前一周期收盘价
RSI1:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
DRAWTEXT(RSI1>85,H,'▼'),FONTSIZE35,VALIGN2,COLORGREEN;
DRAWTEXT(RSI1<12,L,'▲'),FONTSIZE35,VALIGN0,COLORRED;
CROSS(RSI1,85)||CROSSDOWN(RSI1,10),SOUND('A');
PB6:(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3,COLORRED; //定义6条瀑布线
MA60:MA(CLOSE,N6),COLORWHITE;

DRAWNUMBER(ISLASTBAR&&(RSI1>65||RSI1<30),H,RSI1,2,COLORYELLOW),FONTSIZE30; 

 

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

博易技术人员: VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;
VAR4:=MA(VAR3,13);
VAR5:=EMA(MA(CLOSE,3),34);
VAR6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR7:=MA(VAR6,5);
VAR8:=MA(VAR6,10);
STICKLINE(IFELSE(VAR3<VAR5,VAR3<=1.015*VAR4,VAR3<=1.005*VAR4),VAR3,VAR4,10,1),COLORBLUE;
STICKLINE(VAR3>1.005*VAR4,VAR3,VAR4,10,1),COLORMAGENTA;

STICKLINE(COUNT(VAR3>1.005*VAR4 && VAR3<=REF(VAR3,1),2)=2 || COUNT(IFELSE(VAR3<VAR5,VAR3<=1.015*VAR4,VAR3<=1.005*VAR4) && VAR3>=REF(VAR3,1),2)=2,VAR3,VAR4 ,COLORRED,1);
LC := REF(CLOSE,1);//前一周期收盘价
RSI1:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
DRAWTEXT(RSI1>85,H,'▼'),FONTSIZE35,VALIGN2,COLORGREEN;
DRAWTEXT(RSI1<12,L,'▲'),FONTSIZE35,VALIGN0,COLORRED;

PB6:(EMA(CLOSE,6)+MA(CLOSE,6*2)+MA(CLOSE,6*4))/3,COLORRED; //定义6条瀑布线
MA60:MA(CLOSE,60),COLORWHITE;

DRAWNUMBER(ISLASTBAR&&(RSI1>65||RSI1<30),H,RSI1,2),COLORYELLOW,FONTSIZE30;  主图为什么没显示呀? 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容