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

博弈5的指标 麻烦改成博弈大师6能用的 [博易POBO]

咨询内容: 博弈5的指标 麻烦改成博弈大师6能用的

{主力控盘}
QJJ:=VOL / (((HIGH - LOW) * 2) - ABS(CLOSE - OPEN));
XVL:=QJJ * (CLOSE-OPEN);
HSL:=((XVL / 20) / 1.15);
攻击流量:=(HSL * 5 + REF(HSL,1) * 3+ REF(HSL,2) * 2)*0.11;
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);

主力:(HSL / 1000),COLORYELLOW,LINETHICK0,PRECIS0;
动量:LLJX,LINETHICK0,PRECIS0,COLOR00D7FE;


VAR1:= EMA(EMA(CLOSE,10),10);   
控盘指数:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,LINETHICK0,PRECIS1;   
  
空控: 控盘指数<0,LINETHICK0,COLOR00FF00,PRECIS0; 
  
多控: 控盘指数>REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLORRED,PRECIS0;   
无庄: 控盘指数<REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLOR11B87F,PRECIS0;    


{无敌精灵}
空方:=(EMA(CLOSE,20)-EMA(CLOSE,4))/2*0.95;
多方:=(EMA(CLOSE,4)-EMA(CLOSE,20))/2*0.95;
多头:=多方,COLORYELLOW;
空头:=空方,COLORYELLOW;


FILLRGN(多头>空头,多头,空头),COLOR00077A;   
FILLRGN(空头>多头,多头,空头),COLOR446600;

STICKLINE(多方>空方 ,0,多方 ,0.8 , 1),COLOR800080;

STICKLINE(空方>多方,0 ,多方 ,0.8 , 1),COLOR007500;


P:=5;S:=2;M:=3;

DIFF:=EMA(C,S)-EMA(C,P),COLORWHITE,LINETHICK0;
DEA:=EMA(DIFF,M),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA),LINETHICK0;
STICKLINE(DEA<=REF(DEA,1)AND DEA>0,0,DEA,7.0,0 ),COLOR00077A;
STICKLINE(DEA>REF(DEA,1)AND DEA>0,0,DEA,8.0,0 ),COLORFF77FF;
STICKLINE(DEA>REF(DEA,1)AND DEA<=0,0,DEA,7.0,0),COLOR3B5816;
STICKLINE(DEA<=REF(DEA,1)AND DEA<=0,0,DEA,8.0,0 ),COLOR00D883;

QIFF : EMA(CLOSE,7) - EMA(CLOSE,14),COLORGREEN,LINETHICK2;
PARTLINE(QIFF>REF(QIFF,1),QIFF),COLORRED,LINETHICK2; 

0;
DRAWTEXT(CROSS(QIFF,0),0,'多',-15),COLORFEBEFF;
DRAWTEXT(CROSS(0,QIFF),0,'空',15),COLORCFFFCE;


 

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

博易技术人员: {主力控盘}
QJJ:=VOL / (((HIGH - LOW) * 2) - ABS(CLOSE - OPEN));
XVL:=QJJ * (CLOSE-OPEN);
HSL:=((XVL / 20) / 1.15);
攻击流量:=(HSL * 5 + REF(HSL,1) * 3+ REF(HSL,2) * 2)*0.11;
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);

主力:(HSL / 1000),COLORYELLOW,NODRAW,PRECIS0;
动量:LLJX,NODRAW,PRECIS0,COLOR00D7FE;


VAR1:= EMA(EMA(CLOSE,10),10);   
控盘指数:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,LINETHICK0,PRECIS1;   
  
空控: 控盘指数<0,LINETHICK0,COLOR00FF00,PRECIS0; 
  
多控: 控盘指数>REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLORRED,PRECIS0;   
无庄: 控盘指数<REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLOR11B87F,PRECIS0;    


{无敌精灵}
空方:=(EMA(CLOSE,20)-EMA(CLOSE,4))/2*0.95;
多方:=(EMA(CLOSE,4)-EMA(CLOSE,20))/2*0.95;
多头:=多方,COLORYELLOW;
空头:=空方,COLORYELLOW;


FILLRGN(多头>空头,多头,空头),COLOR00077A;   
FILLRGN(空头>多头,多头,空头),COLOR446600;

STICKLINE(多方>空方 ,0,多方 ,0.8 , 1),COLOR800080;

STICKLINE(空方>多方,0 ,多方 ,0.8 , 1),COLOR007500;


P:=5;S:=2;M:=3;

DIFF:=EMA(C,S)-EMA(C,P),COLORWHITE,LINETHICK0;
DEA:=EMA(DIFF,M),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA),LINETHICK0;
STICKLINE(DEA<=REF(DEA,1)AND DEA>0,0,DEA,7.0,0 ),COLOR00077A;
STICKLINE(DEA>REF(DEA,1)AND DEA>0,0,DEA,8.0,0 ),COLORFF77FF;
STICKLINE(DEA>REF(DEA,1)AND DEA<=0,0,DEA,7.0,0),COLOR3B5816;
STICKLINE(DEA<=REF(DEA,1)AND DEA<=0,0,DEA,8.0,0 ),COLOR00D883;

QIFF : EMA(CLOSE,7) - EMA(CLOSE,14),COLORGREEN,LINETHICK2;
PARTLINE(QIFF>REF(QIFF,1),QIFF),COLORRED,LINETHICK2; 

0;
DRAWTEXT(CROSS(QIFF,0),0,'多',-15),COLORFEBEFF;
DRAWTEXT(CROSS(0,QIFF),0,'空',15),COLORCFFFCE;
 
多画了两条线,去除就可以了,LINETHICK函数有问题我已经提交修复 指标在博弈5上面是图一到了博弈6变成了图2麻烦看下怎么回事 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容