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

麻烦老师帮我把两个文华的指标改成博易大师的 [博易POBO]

咨询内容: 麻烦老师帮我把两个文华的指标改成博易大师的 麻烦老师帮我把两个文华财经的指标改成博易大师的,加载在博易大师模拟板上面的,谢谢。
 
第一个:
 
//趋势操盘线
MX:=EMA(C,2);
SX:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(MX,SX);
SEL:=CROSS(SX,MX);
DRAWTEXT(BU,LOW,'B');
DRAWTEXT(BU,LOW,' ̄');
DRAWTEXT(SEL,HIGH,' ̄');
DRAWTEXT(SEL,HIGH,'S');
DRAWLINE(MX>=SX,LOW,MX>=SX,HIGH,COLORRED);
STICKLINE(MX>=SX,CLOSE,OPEN,COLORRED,1);
STICKLINE(MX<SX,CLOSE,OPEN,COLORCYAN,0);
DRAWLINE(MX<SX,LOW,MX<SX,HIGH,COLORCYAN);
STICKLINE(CROSS(MX,SX)||CROSS(SX,MX),OPEN,CLOSE,COLORYELLOW,0);
ZDX: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),COLORBLUE;
J: MA(CLOSE,27),COLORGREEN;
DRAWTEXT(CROSS(ZDX,J),J,' ̄ ̄');
DRAWTEXT(CROSS(J,ZDX),J,' ̄ ̄');
 
 
第二个:
 
VAR1:=REF(CLOSE,1);
VAR2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VAR3:=(CLOSE-VAR1)*VAR2;
VAR4:=SUM(VAR3,0);
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR4,13,1);
DB:VAR5-VAR6,COLORWHITE,LINETHICK2;
CB:MA(DB,4),COLORRED,LINETHICK2;
STICKLINE(DB>0,0,DB,COLORRED,1);
STICKLINE(VAR5-VAR6<0,0,VAR5-VAR6,COLORGREEN,1);
STICKLINE(DB>CB,DB,CB,COLORRED,0);
STICKLINE(DB<CB,DB,CB,COLORCYAN,0);
QS:=CROSS(DB,CB),COLORRED;
RS:=CROSS(CB,DB),COLORGREEN;
BJ:0,COLORBLUE,LINETHICK3;
DRAWICON(QS,CB,'ICO4'),VALIGN0;
DRAWICON(RS,DB,'ICO5'),VALIGN2;
 
 
争取改完后加载在博弈大师上的效果没变,麻烦你们了,谢谢
 
  <!-- 咨询内容: 附件 : -->

 

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

博易技术人员: //趋势操盘线
MX:=EMA(C,2);
SX:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(MX,SX);
SEL:=CROSS(SX,MX);
DRAWTEXT(BU,LOW,'B');
DRAWTEXT(BU,LOW,' ̄');
DRAWTEXT(SEL,HIGH,' ̄');
DRAWTEXT(SEL,HIGH,'S');
STICKLINE(MX>=SX,LOW,HIGH,1,0),COLORRED;
STICKLINE(MX>=SX,CLOSE,OPEN,10,1),COLORRED;
STICKLINE(MX<SX,CLOSE,OPEN,10,0),COLORCYAN;
STICKLINE(MX<SX,LOW,HIGH,1,0),COLORCYAN;
STICKLINE(CROSS(MX,SX)||CROSS(SX,MX),OPEN,CLOSE,10,0),COLORYELLOW;
ZDX: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),COLORBLUE;
J: MA(CLOSE,27),COLORGREEN;
DRAWTEXT(CROSS(ZDX,J),J,' ̄ ̄');
DRAWTEXT(CROSS(J,ZDX),J,' ̄ ̄'); VAR1:=REF(CLOSE,1);
VAR2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VAR3:=(CLOSE-VAR1)*VAR2;
VAR4:=SUM(VAR3,0);
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR4,13,1);
DB:VAR5-VAR6,COLORWHITE,LINETHICK2;
CB:MA(DB,4),COLORRED,LINETHICK2;
STICKLINE(DB>0,0,DB,10,1),COLORRED;
STICKLINE(VAR5-VAR6<0,0,VAR5-VAR6,10,1),COLORGREEN;
STICKLINE(DB>CB,DB,CB,10,0),COLORRED;
STICKLINE(DB<CB,DB,CB,10,0),COLORCYAN;
QS:=CROSS(DB,CB),COLORRED;
RS:=CROSS(CB,DB),COLORGREEN;
BJ:0,COLORBLUE,LINETHICK3;
DRAWICON(QS,CB,4),VALIGN0;
DRAWICON(RS,DB,5),VALIGN2; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容