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

麻烦老师改成博易 [博易POBO]

咨询内容:

麻烦老师改成博易

B1:=MA(C,1);
趋势1:SMA(SMA(SMA(B1,2,1),2,1),2,1),COLORRED,LINETHICK3;
趋势2:=MA(趋势1,3),COLORFF00FF,NODRAW;
停损下限:IF(LLV(MA(趋势1,2),2)<趋势1,LLV(MA(趋势1,2),2),趋势1),LINETHICK3;



FILLRGN(1,停损下限,趋势1,COLORLIGHTRED);


III:=EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
GGG:=EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
DRAWCOLORLINE(停损下限>REF(停损下限,1),停损下限,COLORRED,COLORLIGHTGREEN),LINETHICK3;
压力:=HHV(MA(趋势1,2),2),COLORYELLOW;
VAR11:=ZIGZAG(C,6,1)>REF(ZIGZAG(C,6,1),1)
AND REF(ZIGZAG(C,6,1),1)<=REF(ZIGZAG(C,6,1),2)
AND REF(ZIGZAG(C,6,1),2)<=REF(ZIGZAG(C,6,1),3);
VAR12:=ZIGZAG(C,6,1)<REF(ZIGZAG(C,6,1),1)
AND REF(ZIGZAG(C,6,1),1)>=REF(ZIGZAG(C,6,1),2)
AND REF(ZIGZAG(C,6,1),2)>=REF(ZIGZAG(C,6,1),3);
VAR13:=ZIGZAG(C,22,1)>REF(ZIGZAG(C,22,1),1)
AND REF(ZIGZAG(C,22,1),1)<=REF(ZIGZAG(C,22,1),2)
AND REF(ZIGZAG(C,22,1),2)<=REF(ZIGZAG(C,22,1),3);
VAR14:=ZIGZAG(C,22,1)<REF(ZIGZAG(C,22,1),1)
AND REF(ZIGZAG(C,22,1),1)>=REF(ZIGZAG(C,22,1),2)
AND REF(ZIGZAG(C,22,1),2)>=REF(ZIGZAG(C,22,1),3);
VAR15:=ZIGZAG(C,51,1)>REF(ZIGZAG(C,51,1),1)
AND REF(ZIGZAG(C,51,1),1)<=REF(ZIGZAG(C,51,1),2)
AND REF(ZIGZAG(C,51,1),2)<=REF(ZIGZAG(C,51,1),3);
VAR16:=ZIGZAG(C,51,1)<REF(ZIGZAG(C,51,1),1)
AND REF(ZIGZAG(C,51,1),1)>=REF(ZIGZAG(C,51,1),2)
AND REF(ZIGZAG(C,51,1),2)>=REF(ZIGZAG(C,51,1),3);
VAR17:=ZIGZAG(C,72,1)>REF(ZIGZAG(C,72,1),1)
AND REF(ZIGZAG(C,72,1),1)<=REF(ZIGZAG(C,72,1),2)
AND REF(ZIGZAG(C,72,1),2)<=REF(ZIGZAG(C,72,1),3);
VAR18:=ZIGZAG(C,72,1)<REF(ZIGZAG(C,72,1),1)
AND REF(ZIGZAG(C,72,1),1)>=REF(ZIGZAG(C,72,1),2)
AND REF(ZIGZAG(C,72,1),2)>=REF(ZIGZAG(C,72,1),3);
VAR19:=EMA(C,2)-EMA(C,150);
买点1:=(VAR11+VAR13+VAR15+VAR17);
买点2:=(VAR13+VAR15+VAR17);
卖点1:=(VAR12+VAR14+VAR16+VAR18);
卖点2:=(VAR14+VAR16+VAR18);
STICKLINE( 买点1>0 ,H,L, 10,1),COLORWHITE,LINETHICK1;
STICKLINE( 买点1>0,O,C,6,0),COLORWHITE,LINETHICK1;
STICKLINE( 买点2>0 ,H,L, 10,1),COLORWHITE,LINETHICK1;
STICKLINE( 买点2>0,O,C,6,0),COLORRED,LINETHICK1;
STICKLINE( 卖点1>0,H,L, 11,5),COLORBLUE,LINETHICK1;
STICKLINE( 卖点1>0,O,C,6,0),COLORGRAY,LINETHICK1;
STICKLINE( 卖点2>0,H,L, 11,5),COLORBLUE,LINETHICK1;
STICKLINE( 卖点2>0,O,C,6,0),COLORWHITE,LINETHICK1;
DRAWTEXT(卖点2>0, H,'顶'),COLORBLUE,LINETHICK3;
DRAWTEXT(买点2>0, L,'底'),COLORFF00FF,LINETHICK3;

 

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

博易技术人员: B1:=MA(C,1);
趋势1:SMA(SMA(SMA(B1,2,1),2,1),2,1),COLORRED,LINETHICK3;
趋势2:=MA(趋势1,3),COLORFF00FF,NODRAW;
停损下限:IF(LLV(MA(趋势1,2),2)<趋势1,LLV(MA(趋势1,2),2),趋势1),LINETHICK3;



FILLRGN(1,停损下限,趋势1),COLORRED;


III:=EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
GGG:=EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
PARTLINE2(停损下限,停损下限>REF(停损下限,1),COLORRED,停损下限<REF(停损下限,1),COLORGREEN),LINETHICK3;
压力:=HHV(MA(趋势1,2),2),COLORYELLOW;
VAR11:=ZIG(C,6,1)>REF(ZIG(C,6,1),1)
AND REF(ZIG(C,6,1),1)<=REF(ZIG(C,6,1),2)
AND REF(ZIG(C,6,1),2)<=REF(ZIG(C,6,1),3);
VAR12:=ZIG(C,6,1)<REF(ZIG(C,6,1),1)
AND REF(ZIG(C,6,1),1)>=REF(ZIG(C,6,1),2)
AND REF(ZIG(C,6,1),2)>=REF(ZIG(C,6,1),3);
VAR13:=ZIG(C,22,1)>REF(ZIG(C,22,1),1)
AND REF(ZIG(C,22,1),1)<=REF(ZIG(C,22,1),2)
AND REF(ZIG(C,22,1),2)<=REF(ZIG(C,22,1),3);
VAR14:=ZIG(C,22,1)<REF(ZIG(C,22,1),1)
AND REF(ZIG(C,22,1),1)>=REF(ZIG(C,22,1),2)
AND REF(ZIG(C,22,1),2)>=REF(ZIG(C,22,1),3);
VAR15:=ZIG(C,51,1)>REF(ZIG(C,51,1),1)
AND REF(ZIG(C,51,1),1)<=REF(ZIG(C,51,1),2)
AND REF(ZIG(C,51,1),2)<=REF(ZIG(C,51,1),3);
VAR16:=ZIG(C,51,1)<REF(ZIG(C,51,1),1)
AND REF(ZIG(C,51,1),1)>=REF(ZIG(C,51,1),2)
AND REF(ZIG(C,51,1),2)>=REF(ZIG(C,51,1),3);
VAR17:=ZIG(C,72,1)>REF(ZIG(C,72,1),1)
AND REF(ZIG(C,72,1),1)<=REF(ZIG(C,72,1),2)
AND REF(ZIG(C,72,1),2)<=REF(ZIG(C,72,1),3);
VAR18:=ZIG(C,72,1)<REF(ZIG(C,72,1),1)
AND REF(ZIG(C,72,1),1)>=REF(ZIG(C,72,1),2)
AND REF(ZIG(C,72,1),2)>=REF(ZIG(C,72,1),3);
VAR19:=EMA(C,2)-EMA(C,150);
买点1:=(VAR11+VAR13+VAR15+VAR17);
买点2:=(VAR13+VAR15+VAR17);
卖点1:=(VAR12+VAR14+VAR16+VAR18);
卖点2:=(VAR14+VAR16+VAR18);
STICKLINE( 买点1>0 ,H,L, 10,1),COLORWHITE,LINETHICK1;
STICKLINE( 买点1>0,O,C,6,0),COLORWHITE,LINETHICK1;
STICKLINE( 买点2>0 ,H,L, 10,1),COLORWHITE,LINETHICK1;
STICKLINE( 买点2>0,O,C,6,0),COLORRED,LINETHICK1;
STICKLINE( 卖点1>0,H,L, 11,5),COLORBLUE,LINETHICK1;
STICKLINE( 卖点1>0,O,C,6,0),COLORGRAY,LINETHICK1;
STICKLINE( 卖点2>0,H,L, 11,5),COLORBLUE,LINETHICK1;
STICKLINE( 卖点2>0,O,C,6,0),COLORWHITE,LINETHICK1;
DRAWTEXT(卖点2>0, H,'顶'),COLORBLUE,LINETHICK3;
DRAWTEXT(买点2>0, L,'底'),COLORFF00FF,LINETHICK3; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容