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

请老师改成博弈指标 [博易POBO]

咨询内容:

请老师改成博弈指标

C1:=100000;
C2:=105000;
N1:=3;
N11:=5;
N2:=3;
N22:=5;
X1:HHV(OPEN,N1)<REF(OPEN,N11)&&NOT(HHV(OPEN,N1)<REF(OPEN,N11)&&REF(LLV(OPEN,N1)>REF(OPEN,N11),1)),NODRAW;
X2:LLV(OPEN,N1)>REF(OPEN,N11)&&NOT(LLV(OPEN,N1)>REF(OPEN,N11)&&REF(HHV(OPEN,N1)<REF(OPEN,N11),1)),NODRAW;
HH:CROSS(BACKSET(X1,BARSLAST(X2)+1),0.5),NODRAW;
LL:CROSS(BACKSET(X2,BARSLAST(X1)+1),0.5),NODRAW;
H1:CROSS(BACKSET(HH,HHVBARS(H,4)+1),0.5),NODRAW;
L1:CROSS(BACKSET(LL,LLVBARS(L,4)+1),0.5),NODRAW;
XX:=IF(BARSLAST(H1)<BARSLAST(L1), TRENDLINES(H1||ISLASTBAR,H,L1||ISLASTBAR,L),TRENDLINES(L1||ISLASTBAR,L,H1||ISLASTBAR,H));
X1X:=HHV(C,N2)<REF(C,N22)&&NOT(HHV(C,N2)<REF(C,N22)&&REF(LLV(C,N2)>REF(C,N22),1)),NODRAW;
X2X:=LLV(C,N2)>REF(C,N22)&&NOT(LLV(C,N2)>REF(C,N22)&&REF(HHV(C,N2)<REF(C,N22),1)),NODRAW;
HHX:=CROSS(BACKSET(X1X,BARSLAST(X2X)+1),0.5),NODRAW;
LLX:=CROSS(BACKSET(X2X,BARSLAST(X1X)+1),0.5),NODRAW;
H1X:=CROSS(BACKSET(HHX,HHVBARS(H,4)+1),0.5),NODRAW;
L1X:=CROSS(BACKSET(LLX,LLVBARS(L,4)+1),0.5),NODRAW;
YY:=IF(BARSLAST(H1X)<BARSLAST(L1X), TRENDLINES(H1X||ISLASTBAR,H,L1X||ISLASTBAR,L),TRENDLINES(L1X||ISLASTBAR,L,H1X||ISLASTBAR,H));
RR:CROSS(YY>REF(YY,1)&&XX>REF(XX,1),0.5),NODRAW;
GG:CROSS(YY<REF(YY,1)&&XX<REF(XX,1),0.5),NODRAW;
FILLRGN1(BARSLAST(RR)>BARSLAST(GG),C1,C2),COLORGREEN;
FILLRGN1(BARSLAST(RR)<BARSLAST(GG),C1,C2),COLORRED;
REFLINE:1,200;//


来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容