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

请老师加条线 [博易POBO]

咨询内容:

请老师加条线




QQ图片20190327204126.png
N:=75;
P:=5;
P1:=10;
A1:=REF(H,P)=HHV(H,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);
E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
F1:=E1>REF(E1,1);
DRAWLINE(D1,H,F1,H,1),COLORCYAN,LINETHICK3;
A2:=REF(L,P)=LLV(L,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);
E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
F2:=E2>REF(E2,1);
DRAWLINE(D2,L,F2,L,1),COLORRED,LINETHICK3;
AA1:=REF(H,P1)=HHV(H,2*P1+1);
BB1:=FILTER(AA1,P1);
CC1:=BACKSET(BB1,P1+1);
DD1:=FILTER(CC1,P1);
EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);
FF1:=EE1>REF(EE1,1);
DRAWLINE(DD1,H,FF1,H,1),COLORGREEN,LINETHICK3;
AA2:=REF(L,P1)=LLV(L,2*P1+1);
BB2:=FILTER(AA2,P1);
CC2:=BACKSET(BB2,P1+1);
DD2:=FILTER(CC2,P1);
EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);
FF2:=EE2>REF(EE2,1);
DRAWLINE(DD2,L,FF2,L,1),COLORRED,LINETHICK3;
高:=REFX(HHV(H,N),10000);
低:=REFX(LLV(L,N),10000);
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382;
H3:=高-(高-低)*0.5;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
CURRBARSCOUNT:=DATACOUNT - BARPOS;
DRAWTEXT(CURRBARSCOUNT=1,高,'高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H1,'鮁'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=1,H2,'髂'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=1,H3,'中'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,'駖'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,'餗'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低,'低'),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORGRAY;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;

A01:=REF(HIGH,3)=HHV(HIGH,2*3+1);
B01:=FILTER(A01,3);
C01:=BACKSET(B01,3+1);
D01:=FILTER(C01,3);
A02:=REF(LOW,3)=LLV(LOW,2*3+1);
B02:=FILTER(A02,3);
C02:=BACKSET(B02,3+1);
D02:=FILTER(C02,3);
E01:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E02:=(HIGH+LOW)/2;
H01:=(D01 AND NOT(D02 AND E01>=E02)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
L1:=(D02 AND NOT(D01 AND E01<E02));
H02:=D01 AND NOT(D02 AND E01>=E02);
X1:=REF(BARSLAST(H01),1)+1;
F01:=BACKSET(H01 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F01>REF(F01,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
UU:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
DRAWLINE(XX,L,VV,L,3),COLORMAGENTA,LINETHICK2;


加一条像DRAWLINE(XX,L,VV,L,3),COLORMAGENTA,LINETHICK2;一样,H的 <!-- 咨询内容:

附件 :

-->

 

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

博易技术人员: 您好,无法加这根线。 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容