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

博易大师指标更改 [博易POBO]

咨询内容:

博易大师指标更改

老师帮忙改一下指标,文华财经改成博易大师主图使用。效果图:
N1  1  1000  3
M1  1  1000  3
M2   1 1000  2
DIF:=CLOSE-REF(CLOSE,1);
VU:=IF(DIF>=0,DIF,0);
VD:=IF(DIF<0,-DIF,0);
MAU1:=EMA(VU,10);
MAD1:=EMA(VD,10);
MAU2:=EMA(VU,6);
MAD2:=EMA(VD,6);
RSI10:=MA(100*MAU1/(MAU1+MAD1),10),COLORWHITE; 
RSI6:=MA(100*MAU2/(MAU2+MAD2),6),COLORBLUE,LINETHICK3;//{日线级见顶底方框}
RSI30:=MA(100*MAU2/(MAU2+MAD2),30),COLORGREEN;//{更高级见顶底方框}

//STICKLINE1(RSI30<35,-50,-34,3,0),COLORBLUE,NODRAW;
//STICKLINE1(RSI30<30,-50,-34,3,0),COLORCYAN,NODRAW;
//STICKLINE1(RSI30<25,-50,-34,3,0),COLORYELLOW,NODRAW;
//STICKLINE1(RSI30<20,-50,-34,3,0),COLORRED,NODRAW;
//STICKLINE1(RSI30>65,128,110,3,0),COLORBLUE,NODRAW;
//STICKLINE1(RSI30>70,128,110,3,0),COLORCYAN,NODRAW;
//STICKLINE1(RSI30>75,128,110,3,0),COLORYELLOW,NODRAW;
//STICKLINE1(RSI30>80,128,110,3,0),COLORRED,NODRAW;//{天上的更大级别指标}
DRAWTEXT(REF(RSI30<35 OR RSI30<30 OR RSI30<25 OR RSI30<20,1)&&NOT(RSI30<35 OR RSI30<30 OR RSI30<25 OR RSI30<20),L,'大★底'),FONTSIZE17,COLORRED;
DRAWTEXT(REF(RSI30>65 OR RSI30>70 OR RSI30>75 OR RSI30>80,1)&&NOT(RSI30>65 OR RSI30>70 OR RSI30>75 OR RSI30>80),H,'大★顶'),FONTSIZE17,COLORLIGHTGREEN;


//STICKLINE1(RSI6<35,1,5,4,10),COLORGREEN;
//STICKLINE1(RSI6<30,1,5,4,10),COLORBLUE;
//STICKLINE1(RSI6<25,1,5,4,10),COLORCYAN;
//STICKLINE1(RSI6<20,1,5,4,10),COLORYELLOW;
//STICKLINE1(RSI6<15,1,5,4,10),COLORRED;
//STICKLINE1(RSI6>65,100,96,4,10),COLORGREEN;
//STICKLINE1(RSI6>70,100,96,4,10),COLORBLUE;
//STICKLINE1(RSI6>80,100,96,4,10),COLORCYAN;
//STICKLINE1(RSI6>85,100,96,4,10),COLORYELLOW;
//STICKLINE1(RSI6>90,100,96,4,10),COLORRED;//{上下方框彩色买卖点,短指标};
DRAWTEXT(REF(RSI6<35 OR RSI6<30 OR RSI6<25 OR RSI6<20 OR RSI6<15,1)&&NOT(RSI6<35 OR RSI6<30 OR RSI6<25 OR RSI6<20 OR RSI6<15),L,'小底'),COLORRED;
DRAWTEXT(REF(RSI6>65 OR RSI6>70 OR RSI6>80 OR RSI6>85 OR RSI6>90,1)&&NOT(RSI6>65 OR RSI6>70 OR RSI6>80 OR RSI6>85 OR RSI6>90),H,'小顶'),COLORLIGHTGREEN;

RSV13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K13:=SMA(RSV13,3,1);
D13:=SMA(K13,3,1);
J13:=3*K13-2*D13;
DRAWICON(CROSS(J13,5),L,'ICO1'); 
DRAWICON(CROSS(95,J13),H,'ICO42');  123.jpg<!-- 咨询内容:

附件 :

-->

 

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

博易技术人员: N1:=3;  
M1:=3;  
M2:=2;  
DIF:=CLOSE-REF(CLOSE,1);
VU:=IF(DIF>=0,DIF,0);
VD:=IF(DIF<0,-DIF,0);
MAU1:=EMA(VU,10);
MAD1:=EMA(VD,10);
MAU2:=EMA(VU,6);
MAD2:=EMA(VD,6);
RSI10:=MA(100*MAU1/(MAU1+MAD1),10),COLORWHITE; 
RSI6:=MA(100*MAU2/(MAU2+MAD2),6),COLORBLUE,LINETHICK3;//{日线级见顶底方框}
RSI30:=MA(100*MAU2/(MAU2+MAD2),30),COLORGREEN;//{更高级见顶底方框}

//STICKLINE1(RSI30<35,-50,-34,3,0),COLORBLUE,NODRAW;
//STICKLINE1(RSI30<30,-50,-34,3,0),COLORCYAN,NODRAW;
//STICKLINE1(RSI30<25,-50,-34,3,0),COLORYELLOW,NODRAW;
//STICKLINE1(RSI30<20,-50,-34,3,0),COLORRED,NODRAW;
//STICKLINE1(RSI30>65,128,110,3,0),COLORBLUE,NODRAW;
//STICKLINE1(RSI30>70,128,110,3,0),COLORCYAN,NODRAW;
//STICKLINE1(RSI30>75,128,110,3,0),COLORYELLOW,NODRAW;
//STICKLINE1(RSI30>80,128,110,3,0),COLORRED,NODRAW;//{天上的更大级别指标}
DRAWTEXT(REF(RSI30<35 OR RSI30<30 OR RSI30<25 OR RSI30<20,1)&&NOT(RSI30<35 OR RSI30<30 OR RSI30<25 OR RSI30<20),L,'大★底'),FONTSIZE17,COLORRED;
DRAWTEXT(REF(RSI30>65 OR RSI30>70 OR RSI30>75 OR RSI30>80,1)&&NOT(RSI30>65 OR RSI30>70 OR RSI30>75 OR RSI30>80),H,'大★顶'),FONTSIZE17,COLORGREEN;


//STICKLINE1(RSI6<35,1,5,4,10),COLORGREEN;
//STICKLINE1(RSI6<30,1,5,4,10),COLORBLUE;
//STICKLINE1(RSI6<25,1,5,4,10),COLORCYAN;
//STICKLINE1(RSI6<20,1,5,4,10),COLORYELLOW;
//STICKLINE1(RSI6<15,1,5,4,10),COLORRED;
//STICKLINE1(RSI6>65,100,96,4,10),COLORGREEN;
//STICKLINE1(RSI6>70,100,96,4,10),COLORBLUE;
//STICKLINE1(RSI6>80,100,96,4,10),COLORCYAN;
//STICKLINE1(RSI6>85,100,96,4,10),COLORYELLOW;
//STICKLINE1(RSI6>90,100,96,4,10),COLORRED;//{上下方框彩色买卖点,短指标};
DRAWTEXT(REF(RSI6<35 OR RSI6<30 OR RSI6<25 OR RSI6<20 OR RSI6<15,1)&&NOT(RSI6<35 OR RSI6<30 OR RSI6<25 OR RSI6<20 OR RSI6<15),L,'小底'),COLORRED;
DRAWTEXT(REF(RSI6>65 OR RSI6>70 OR RSI6>80 OR RSI6>85 OR RSI6>90,1)&&NOT(RSI6>65 OR RSI6>70 OR RSI6>80 OR RSI6>85 OR RSI6>90),H,'小顶'),COLORGREEN;

RSV13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K13:=SMA(RSV13,3,1);
D13:=SMA(K13,3,1);
J13:=3*K13-2*D13;
DRAWICON(CROSS(J13,5),L,4); 
DRAWICON(CROSS(95,J13),H,5);  谢谢老师 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容