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

麻烦老师转换成博易大师的 [博易POBO]

咨询内容:

麻烦老师转换成博易大师的

S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
DRAWTEXT(SS,LOW,'多');
DRAWTEXT(XX,HIGH,'空');

 

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

博易技术人员: S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),5,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),5,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),5,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),5,1),COLORGREEN;
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150)),COLORRED;
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150)),COLORGREEN;
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150)),COLORRED;
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),COLORCYAN;
DRAWTEXT(SS,LOW,'多');
DRAWTEXT(XX,HIGH,'空'); 尾部的  DRAWTEXT(SS,LOW,'多');     指标里根本不显示提示
             DRAWTEXT(XX,HIGH,'空'); 来源 程序化久久网

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容