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

麻烦老师改成博易用,谢谢! [博易POBO]

咨询内容:

麻烦老师改成博易用,谢谢!

N:=20;
SHORT:=7;
LONG:=19;
CAPITAL:=GETPRICE1('流通股本');
T:=PERIOD;
D:=1;
RMA:=EMA(CLOSE,SHORT),COLORGRAY;
NMA:=EMA(CLOSE,LONG),COLORMAGENTA;
RISK:=IF(NMA>RMA,NMA,NULL),COLORGREEN;
UP:=TRENDLINES(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1)
AND L=LLV(L,D) AND RMA<=NMA,L,H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA>=NMA,H),COLOR0000BB,LINETHICK2;
DOWN:=TRENDLINES(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA>=NMA,H,L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1) AND L=LLV(L,D) AND RMA<=NMA,L),COLOR00BB00,LINETHICK2;
箱顶:REFX1(REF(HHV(H,96),5),10000),LINETHICK1,COLORBLUE;
箱低:REFX1(REF(LLV(L,96),5),10000),LINETHICK2,COLOR00FF00;
箱腰:((箱顶)+(箱低))/2,LINETHICK1,COLORGREEN;
箱0.809:IF(BACKSET(ISLASTBAR,N),((箱顶)-(箱低))*0.809+箱低,NULL),LINETHICK1,COLORWHITE;
箱0.618:IF(BACKSET(ISLASTBAR,N),((箱顶)-(箱低))*0.618+箱低,NULL),LINETHICK1,COLORYELLOW;

 

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

博易技术人员: N:=20;
SHORT:=7;
LONG:=19;

T:=DATAPERIOD;
D:=1;
RMA:=EMA(CLOSE,SHORT),COLORGRAY;
NMA:=EMA(CLOSE,LONG),COLORMAGENTA;
RISK:=IF(NMA>RMA,NMA,DRAWNULL),COLORGREEN;
DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1)
AND L=LLV(L,D) AND RMA<=NMA,L,H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA>=NMA,H,O),COLOR0000BB,LINETHICK2;
DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA>=NMA,H,L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1) AND L=LLV(L,D) AND RMA<=NMA,L,0),COLOR00BB00,LINETHICK2;
箱顶:REFX(REF(HHV(H,96),5),DATACOUNT-BARPOS-1),LINETHICK1,COLORBLUE;
箱低:REFX(REF(LLV(L,96),5),DATACOUNT-BARPOS-1),LINETHICK2,COLOR00FF00;
箱腰:((箱顶)+(箱低))/2,LINETHICK1,COLORGREEN;
箱0809:IF(BACKSET(ISLASTBAR,N),((箱顶)-(箱低))*0.809+箱低,DRAWNULL),LINETHICK1,COLORWHITE;
箱0618:IF(BACKSET(ISLASTBAR,N),((箱顶)-(箱低))*0.618+箱低,DRAWNULL),LINETHICK1,COLORYELLOW; 多谢! 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容