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

老师,请改下指标 [博易POBO]

咨询内容:

老师,请改下指标

请把文华改成博易
DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(2,22,47),0);
RSV1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
龙Ⅰ:SMA(RSV1,5,1),RGB(238,255,255);
龙Ⅱ:SMA(龙Ⅰ,3,1),RGB(0,255,0);
RSV2:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
虎Ⅰ:=SMA(RSV2,3,1);
虎Ⅱ:SMA(虎Ⅰ,3,1),RGB(255,255,0),LINETHICK1;


STICKLINE1(龙Ⅰ>REF(龙Ⅱ,1),90,100,2,0),COLORRED;
STICKLINE1(龙Ⅰ<REF(龙Ⅱ,1),90,100,2,0),COLORGREEN;
STICKLINE1(虎Ⅰ>REF(虎Ⅱ,1),0,10,2,0),COLORRED;
STICKLINE1(虎Ⅰ<REF(虎Ⅱ,1),0,10,2,0),COLORGREEN;
JCA:=CROSSUP(龙Ⅰ,龙Ⅱ) && REF(龙Ⅰ<20,0);
SCB:=CROSSUP(虎Ⅰ,虎Ⅱ) && REF(虎Ⅰ<20,0);
AA:=JCA && COUNT(SCB,3)>0;
BB:=SCB && COUNT(JCA,3)>0;
STICKLINE1(AA || BB>0,10,90,0,1),COLORRED;
JCC:=CROSSDOWN(龙Ⅰ,龙Ⅱ) && REF(龙Ⅰ>85,0);
SCD:=CROSSDOWN(虎Ⅰ,虎Ⅱ) && REF(虎Ⅰ>85,0);
DD:=JCC && COUNT(SCD,3)>0;
EE:=SCD && COUNT(JCC,3)>0;
STICKLINE1(DD || EE<0,10,90,0,1),COLORGREEN;
GZJC:=(CROSSUP(龙Ⅰ,龙Ⅱ) && CROSSUP(虎Ⅰ,虎Ⅱ));
GZSC:=(CROSSDOWN(龙Ⅰ,龙Ⅱ) && CROSSDOWN(虎Ⅰ,虎Ⅱ));

STICKLINE1(GZJC>0,90,100,0,0),RGB(255,0,0);
STICKLINE1(GZSC>0,0,10,0,0),RGB(0,240,0);

VA1:=龙Ⅰ<=2,SOUND('A');
VA2:=龙Ⅰ>=96,SOUND('B');
STICKLINE1(龙Ⅰ>=96,0,5,0,0),RGB(128,255,128);
STICKLINE1((龙Ⅰ>=97),0,5,0,0),RGB(0,255,64);
STICKLINE1((龙Ⅰ>=98),0,5,0,0),RGB(0,128,64);
STICKLINE1((龙Ⅰ>=99),0,5,0,0),RGB(255,255,255);


DRAWSL(ISLASTBAR,90,0,0,1,COLORGREEN),POINTDOT;
DRAWSL(ISLASTBAR,10,0,0,1,COLORRED),POINTDOT;
做多区:20,DOT,COLORWHITE;
做空区:80,DOT,COLORWHITE;
PARTLINE1(虎Ⅱ<REF(虎Ⅱ,1),虎Ⅱ),COLORBLUE,LINETHICK4;
STICKLINE1(虎Ⅰ>虎Ⅱ,虎Ⅱ,虎Ⅰ,3,0),COLORLIGHTRED;
BACKGROUNDSTYLE(1);
AUTOFILTER;

 

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

博易技术人员: RSV1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
龙Ⅰ:SMA(RSV1,5,1),COLORFFFFEE;
龙Ⅱ:SMA(龙Ⅰ,3,1),COLOR00FF00;
RSV2:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
虎Ⅰ:=SMA(RSV2,3,1);
虎Ⅱ:SMA(虎Ⅰ,3,1),COLOR00FFFF,LINETHICK1;


STICKLINE(龙Ⅰ>REF(龙Ⅱ,1),90,100,2,0),COLORRED;
STICKLINE(龙Ⅰ<REF(龙Ⅱ,1),90,100,2,0),COLORGREEN;
STICKLINE(虎Ⅰ>REF(虎Ⅱ,1),0,10,2,0),COLORRED;
STICKLINE(虎Ⅰ<REF(虎Ⅱ,1),0,10,2,0),COLORGREEN;
JCA:=CROSS(龙Ⅰ,龙Ⅱ) && REF(龙Ⅰ<20,0);
SCB:=CROSS(虎Ⅰ,虎Ⅱ) && REF(虎Ⅰ<20,0);
AA:=JCA && COUNT(SCB,3)>0;
BB:=SCB && COUNT(JCA,3)>0;
STICKLINE(AA || BB>0,10,90,0,1),COLORRED;
JCC:=CROSS(龙Ⅱ,龙Ⅰ) && REF(龙Ⅰ>85,0);
SCD:=CROSS(虎Ⅱ,虎Ⅰ) && REF(虎Ⅰ>85,0);
DD:=JCC && COUNT(SCD,3)>0;
EE:=SCD && COUNT(JCC,3)>0;
STICKLINE(DD || EE<0,10,90,0,1),COLORGREEN;
GZJC:=(CROSS(龙Ⅰ,龙Ⅱ) && CROSS(虎Ⅰ,虎Ⅱ));
GZSC:=(CROSS(龙Ⅱ,龙Ⅰ) && CROSS(虎Ⅱ,虎Ⅰ));

STICKLINE(GZJC>0,90,100,0,0),COLOR0000FF;
STICKLINE(GZSC>0,0,10,0,0),COLOR00F000;

STICKLINE(龙Ⅰ>=96,0,5,0,0),COLOR80FF80;
STICKLINE((龙Ⅰ>=97),0,5,0,0),COLOR40FF00;
STICKLINE((龙Ⅰ>=98),0,5,0,0),COLOR408000;
STICKLINE((龙Ⅰ>=99),0,5,0,0),COLORFFFFFF;


DRAWSL(ISLASTBAR,90,0,0,1),COLORGREEN,POINTDOT;
DRAWSL(ISLASTBAR,10,0,0,1),COLORRED,POINTDOT;
做多区:20,POINTDOT,COLORWHITE;
做空区:80,POINTDOT,COLORWHITE;
PARTLINE(虎Ⅱ<REF(虎Ⅱ,1),虎Ⅱ),COLORBLUE,LINETHICK4;
STICKLINE(虎Ⅰ>虎Ⅱ,虎Ⅱ,虎Ⅰ,3,0),COLORRED; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容