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

强烈要求把这指标公开博易大师系统,供大家使用 [博易POBO]

咨询内容:

强烈要求把这指标公开博易大师系统,供大家使用

 
第一步创建个指标名字(J多空)
 
N5:=1;
WH5:=HHV(HIGH,N5);
WL5:=LLV(LOW,N5);
HH5:=BARSLAST((WH5>REF(WH5,1)));
LL5:=BARSLAST((WL5<REF(WL5,1)));
WA5:=IF((HH5 < LL5),1,IF((HH5 > LL5),-1,0));
IF(WA5>=0,WL5,WH5),COLORYELLOW;
DRAWTEXT(CROSS(HH5,LL5),WH5,'开空');
DRAWTEXT(CROSS(LL5,HH5),WL5,'开多');
 
第二步
 
J1分钟:=STKINDI('',1,'J多空');
J3分钟:=STKINDI('',13,'J多空');
J5分钟:=STKINDI('',2,'J多空');
J15分钟:=STKINDI('',3,'J多空');
J半小时:=STKINDI('',4,'J多空');
时:=STKINDI('',5,'J多空');
两小时线:=STKINDI('',15,'J多空');
四小时线:=STKINDI('',16,'J多空');
日:=STKINDI('',6,'J多空');
周:=STKINDI('',7,'J多空');
月:=STKINDI('',8,'J多空');
季:=STKINDI('',12,'J多空');
年:=STKINDI('',9,'J多空');
Y3:=CURRENTTIME-REF(REF(YEAR,1),1);
Y4:=YEAR-REF(REF(CURRENTTIME,1),1);
A:=CURRENTTIME-REF(YEAR,1);
B:=YEAR-REF(CURRENTTIME,1);
Y1:=MAX(A,B,Y3,Y4) ;
GT1:=ZIG(J1分钟,1),COLORYELLOW,LINETHICK1;
GT2:=ZIG(J3分钟,1),COLORYELLOW,LINETHICK1;
GT3:=ZIG(J5分钟,1),COLORYELLOW,LINETHICK1;
GT4:=ZIG(J15分钟,1),COLORYELLOW,LINETHICK1;
GT5:=ZIG(J半小时,1),COLORYELLOW,LINETHICK1;
GT6:=ZIG(时,1),COLORYELLOW,LINETHICK1;
GT7:=ZIG(两小时线,1),COLORYELLOW,LINETHICK1;
GT8:=ZIG(四小时线,1),COLORYELLOW,LINETHICK1;
GT9:=ZIG(日,1),COLORYELLOW,LINETHICK1;
GT10:=ZIG(周,1),COLORYELLOW,LINETHICK1;
GT11:=ZIG(月,1),COLORYELLOW,LINETHICK1;
GT12:=ZIG(季,1),COLORYELLOW,LINETHICK1;
GT13:=ZIG(年,1),COLORYELLOW,LINETHICK1;

QR1:=BARSLAST(CROSS(MA(GT1,1),MA(GT1,2))),COLOR00A600;
QB1:=BARSLAST(CROSS(MA(GT1,2),MA(GT1,1))),COLOR0000FF;
HM1:QR1-QB1,COLOR00D900,LINETHICK1;
HN1:QB1-QR1,COLOR0000FF,LINETHICK1;
QR2:=BARSLAST(CROSS(MA(GT2,1),MA(GT2,2))),COLOR00A600;
QB2:=BARSLAST(CROSS(MA(GT2,2),MA(GT2,1))),COLOR0000FF;
HM2:QR2-QB2,COLOR00D900,LINETHICK1;
HN2:QB2-QR2,COLOR0000FF,LINETHICK1;
QR3:=BARSLAST(CROSS(MA(GT3,1),MA(GT3,2))),COLOR00A600;
QB3:=BARSLAST(CROSS(MA(GT3,2),MA(GT3,1))),COLOR0000FF;
HM3:QR3-QB3,COLOR00D900,LINETHICK1;
HN3:QB3-QR3,COLOR0000FF,LINETHICK1;
QR4:=BARSLAST(CROSS(MA(GT4,1),MA(GT4,2))),COLOR00A600;
QB4:=BARSLAST(CROSS(MA(GT4,2),MA(GT4,1))),COLOR0000FF;
HM4:QR4-QB4,COLOR00D900,LINETHICK1;
HN4:QB4-QR4,COLOR0000FF,LINETHICK1;
QR5:=BARSLAST(CROSS(MA(GT5,1),MA(GT5,2))),COLOR00A600;
QB5:=BARSLAST(CROSS(MA(GT5,2),MA(GT5,1))),COLOR0000FF;
HM5:QR5-QB5,COLOR00D900,LINETHICK1;
HN5:QB5-QR5,COLOR0000FF,LINETHICK1;
QR6:=BARSLAST(CROSS(MA(GT6,1),MA(GT6,2))),COLOR00A600;
QB6:=BARSLAST(CROSS(MA(GT6,2),MA(GT6,1))),COLOR0000FF;
HM6:QR6-QB6,COLOR00D900,LINETHICK1;
HN6:QB6-QR6,COLOR0000FF,LINETHICK1;
QR7:=BARSLAST(CROSS(MA(GT7,1),MA(GT7,2))),COLOR00A600;
QB7:=BARSLAST(CROSS(MA(GT7,2),MA(GT7,1))),COLOR0000FF;
HM7:QR7-QB7,COLOR00D900,LINETHICK1;
HN7:QB7-QR7,COLOR0000FF,LINETHICK1;
QR8:=BARSLAST(CROSS(MA(GT8,1),MA(GT8,2))),COLOR00A600;
QB8:=BARSLAST(CROSS(MA(GT8,2),MA(GT8,1))),COLOR0000FF;
HM8:QR8-QB8,COLOR00D900,LINETHICK1;
HN8:QB8-QR8,COLOR0000FF,LINETHICK1;
QR9:=BARSLAST(CROSS(MA(GT9,1),MA(GT9,2))),COLOR00A600;
QB9:=BARSLAST(CROSS(MA(GT9,2),MA(GT9,1))),COLOR0000FF;
HM9:QR9-QB9,COLOR00D900,LINETHICK1;
HN9:QB9-QR9,COLOR0000FF,LINETHICK1;
QR10:=BARSLAST(CROSS(MA(GT10,1),MA(GT10,2))),COLOR00A600;
QB10:=BARSLAST(CROSS(MA(GT10,2),MA(GT10,1))),COLOR0000FF;
HM10:QR10-QB10,COLOR00D900,LINETHICK1;
HN10:QB10-QR10,COLOR0000FF,LINETHICK1;
QR11:=BARSLAST(CROSS(MA(GT11,1),MA(GT11,2))),COLOR00A600;
QB11:=BARSLAST(CROSS(MA(GT11,2),MA(GT11,1))),COLOR0000FF;
HM11:QR11-QB11,COLOR00D900,LINETHICK1;
HN11:QB11-QR11,COLOR0000FF,LINETHICK1;
QR12:=BARSLAST(CROSS(MA(GT12,1),MA(GT12,2))),COLOR00A600;
QB12:=BARSLAST(CROSS(MA(GT12,2),MA(GT12,1))),COLOR0000FF;
HM12:QR12-QB12,COLOR00D900,LINETHICK1;
HN12:QB12-QR12,COLOR0000FF,LINETHICK1;
QR13:=BARSLAST(CROSS(MA(GT13,1),MA(GT13,2))),COLOR00A600;
QB13:=BARSLAST(CROSS(MA(GT13,2),MA(GT13,1))),COLOR0000FF;
HM13:QR13-QB13,COLOR00D900,LINETHICK1;
HN13:QB13-QR13,COLOR0000FF,LINETHICK1;
 
 
  _XPQ3XH8TDU7(DS16_VWLP.png<!-- 咨询内容:

附件 :

-->

 

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

博易技术人员: 您好,这个需求我已经记录,需要评估。 请问如何改为彭博 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容