请帮我把文华指标改为博易指标 [博易POBO]
咨询内容:
B1:=FILTER(A1,3);
C1:=BACKSET(B1,3+1);
D1:=FILTER(C1,3);
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
M1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
M2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(M1),1)+1;
F1:BACKSET(M1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,100000),X1)),NODRAW;
G1:F1>REF(F1,1)||F1=1&&REF(NOT(F1>=0),1),NODRAW;
I1:BACKSET(G1,2),NODRAW;
LD:I1>REF(I1,1),NODRAW;
L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:BACKSET(L2 AND COUNT(M2,X2)>0,HHVBARS(IF(M2,HIGH,0),X2)),NODRAW;
G2:F2>REF(F2,1)||F2=1&&REF(NOT(F2>=0),1),NODRAW;
I2:BACKSET(G2,2),NODRAW;
HD:I2>REF(I2,1),NODRAW;
LMID:=(L+REF(H,BARSLAST(HD)))/2;
HMID:=(H+REF(L,BARSLAST(LD)))/2;
LDRAW:=IF(LD,1,IF(EVERY(C<LMID,BARSLAST(LD)+1),1,0));
HDRAW:=IF(HD,1,IF(EVERY(C>HMID,BARSLAST(HD)+1),1,0));
AAA:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
BBB:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
DRAWLINE1(LD,L,HD,H,0),COLORYELLOW,LINETHICK2,POINTDOT;
DRAWLINE1(HD,H,LD,L,0),COLORYELLOW,LINETHICK2,POINTDOT;
N1:=SUMBARS(LD,2);
N2:=SUMBARS(HD,2),NODRAW;
Y1:=BACKSET(ISLASTBAR,BARSLAST(LD&&L>REF(L,N1-1))+1);
Y2:=BACKSET(ISLASTBAR,BARSLAST(HD&&H<REF(H,N2-1))+1);
DRAWLINE3(Y2&&HD&&H<REF(H,N2-1),REF(H,N2-1),N2-1,Y2&&HD&&H<REF(H,N2-1),H,0,1),COLORGREEN,DOT;
DRAWLINE3(Y1&&LD&&L>REF(L,N1-1),REF(L,N1-1),N1-1,Y2&&LD&&L>REF(L,N1-1),L,0,1),COLORRED,DOT;
J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
DRAWLINE1(J2,IF(HD,H,L),ISLASTBAR,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORYELLOW,LINETHICK2,POINTDOT;
STICKLINE(AAA=1&&LDRAW,REF(LMID,BARSLAST(LD)),REF(LMID,BARSLAST(LD)),COLORGREEN,0);
STICKLINE(BBB=1&&HDRAW,REF(HMID,BARSLAST(HD)),REF(HMID,BARSLAST(HD)),COLORRED,0);
B1:=FILTER(A1,3);
C1:=BACKSET(B1,3+1);
D1:=FILTER(C1,3);
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
M1:=(D1ANDNOT(D2ANDE1>=E2))ORISLASTBARORBARSCOUNT(CLOSE)=1;
L1:=(D2ANDNOT(D1ANDE1<E2));
M2:=D1ANDNOT(D2ANDE1>=E2);
X1:=REF(BARSLAST(M1),1)+1;
F1:BACKSET(M1ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,100000),X1)),NODRAW;
G1:F1>REF(F1,1)||F1=1&&REF(NOT(F1>=0),1),NODRAW;
I1:BACKSET(G1,2),NODRAW;
LD:I1>REF(I1,1),NODRAW;
L2:=LDORISLASTBARORBARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:BACKSET(L2ANDCOUNT(M2,X2)>0,HHVBARS(IF(M2,HIGH,0),X2)),NODRAW;
G2:F2>REF(F2,1)||F2=1&&REF(NOT(F2>=0),1),NODRAW;
I2:BACKSET(G2,2),NODRAW;
HD:I2>REF(I2,1),NODRAW;
LMID:=(L+REF(H,BARSLAST(HD)))/2;
HMID:=(H+REF(L,BARSLAST(LD)))/2;
LDRAW:=IF(LD,1,IF(COUNT(C<LMID,BARSLAST(LD)+1)=BARSLAST(LD)+1,1,0));
HDRAW:=IF(HD,1,IF(COUNT(C>HMID,BARSLAST(HD)+1)=BARSLAST(LD)+1,1,0));
AAA:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
BBB:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
DRAWLINE(LD,L,HD,H,0),COLORYELLOW,LINETHICK2,POINTDOT;
DRAWLINE(HD,H,LD,L,0),COLORYELLOW,LINETHICK2,POINTDOT;
N1:=SUMBARS(LD,2);
N2:=SUMBARS(HD,2),NODRAW;
Y1:=BACKSET(ISLASTBAR,BARSLAST(LD&&L>REF(L,N1-1))+1);
Y2:=BACKSET(ISLASTBAR,BARSLAST(HD&&H<REF(H,N2-1))+1);
J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
DRAWLINE(J2,IF(HD,H,L),ISLASTBAR,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORYELLOW,LINETHICK2,POINTDOT;
STICKLINE(AAA=1&&LDRAW,REF(LMID,BARSLAST(LD)),REF(LMID,BARSLAST(LD)),COLORGREEN,0);
STICKLINE(BBB=1&&HDRAW,REF(HMID,BARSLAST(HD)),REF(HMID,BARSLAST(HD)),COLORRED,0); 来源 程序化久久网
请帮我把文华指标改为博易指标
A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);B1:=FILTER(A1,3);
C1:=BACKSET(B1,3+1);
D1:=FILTER(C1,3);
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
M1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
M2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(M1),1)+1;
F1:BACKSET(M1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,100000),X1)),NODRAW;
G1:F1>REF(F1,1)||F1=1&&REF(NOT(F1>=0),1),NODRAW;
I1:BACKSET(G1,2),NODRAW;
LD:I1>REF(I1,1),NODRAW;
L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:BACKSET(L2 AND COUNT(M2,X2)>0,HHVBARS(IF(M2,HIGH,0),X2)),NODRAW;
G2:F2>REF(F2,1)||F2=1&&REF(NOT(F2>=0),1),NODRAW;
I2:BACKSET(G2,2),NODRAW;
HD:I2>REF(I2,1),NODRAW;
LMID:=(L+REF(H,BARSLAST(HD)))/2;
HMID:=(H+REF(L,BARSLAST(LD)))/2;
LDRAW:=IF(LD,1,IF(EVERY(C<LMID,BARSLAST(LD)+1),1,0));
HDRAW:=IF(HD,1,IF(EVERY(C>HMID,BARSLAST(HD)+1),1,0));
AAA:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
BBB:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
DRAWLINE1(LD,L,HD,H,0),COLORYELLOW,LINETHICK2,POINTDOT;
DRAWLINE1(HD,H,LD,L,0),COLORYELLOW,LINETHICK2,POINTDOT;
N1:=SUMBARS(LD,2);
N2:=SUMBARS(HD,2),NODRAW;
Y1:=BACKSET(ISLASTBAR,BARSLAST(LD&&L>REF(L,N1-1))+1);
Y2:=BACKSET(ISLASTBAR,BARSLAST(HD&&H<REF(H,N2-1))+1);
DRAWLINE3(Y2&&HD&&H<REF(H,N2-1),REF(H,N2-1),N2-1,Y2&&HD&&H<REF(H,N2-1),H,0,1),COLORGREEN,DOT;
DRAWLINE3(Y1&&LD&&L>REF(L,N1-1),REF(L,N1-1),N1-1,Y2&&LD&&L>REF(L,N1-1),L,0,1),COLORRED,DOT;
J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
DRAWLINE1(J2,IF(HD,H,L),ISLASTBAR,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORYELLOW,LINETHICK2,POINTDOT;
STICKLINE(AAA=1&&LDRAW,REF(LMID,BARSLAST(LD)),REF(LMID,BARSLAST(LD)),COLORGREEN,0);
STICKLINE(BBB=1&&HDRAW,REF(HMID,BARSLAST(HD)),REF(HMID,BARSLAST(HD)),COLORRED,0);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 文华财政显示虚线,博易不显示虚线对吗 A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);B1:=FILTER(A1,3);
C1:=BACKSET(B1,3+1);
D1:=FILTER(C1,3);
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
M1:=(D1ANDNOT(D2ANDE1>=E2))ORISLASTBARORBARSCOUNT(CLOSE)=1;
L1:=(D2ANDNOT(D1ANDE1<E2));
M2:=D1ANDNOT(D2ANDE1>=E2);
X1:=REF(BARSLAST(M1),1)+1;
F1:BACKSET(M1ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,100000),X1)),NODRAW;
G1:F1>REF(F1,1)||F1=1&&REF(NOT(F1>=0),1),NODRAW;
I1:BACKSET(G1,2),NODRAW;
LD:I1>REF(I1,1),NODRAW;
L2:=LDORISLASTBARORBARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:BACKSET(L2ANDCOUNT(M2,X2)>0,HHVBARS(IF(M2,HIGH,0),X2)),NODRAW;
G2:F2>REF(F2,1)||F2=1&&REF(NOT(F2>=0),1),NODRAW;
I2:BACKSET(G2,2),NODRAW;
HD:I2>REF(I2,1),NODRAW;
LMID:=(L+REF(H,BARSLAST(HD)))/2;
HMID:=(H+REF(L,BARSLAST(LD)))/2;
LDRAW:=IF(LD,1,IF(COUNT(C<LMID,BARSLAST(LD)+1)=BARSLAST(LD)+1,1,0));
HDRAW:=IF(HD,1,IF(COUNT(C>HMID,BARSLAST(HD)+1)=BARSLAST(LD)+1,1,0));
AAA:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
BBB:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
DRAWLINE(LD,L,HD,H,0),COLORYELLOW,LINETHICK2,POINTDOT;
DRAWLINE(HD,H,LD,L,0),COLORYELLOW,LINETHICK2,POINTDOT;
N1:=SUMBARS(LD,2);
N2:=SUMBARS(HD,2),NODRAW;
Y1:=BACKSET(ISLASTBAR,BARSLAST(LD&&L>REF(L,N1-1))+1);
Y2:=BACKSET(ISLASTBAR,BARSLAST(HD&&H<REF(H,N2-1))+1);
J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
DRAWLINE(J2,IF(HD,H,L),ISLASTBAR,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORYELLOW,LINETHICK2,POINTDOT;
STICKLINE(AAA=1&&LDRAW,REF(LMID,BARSLAST(LD)),REF(LMID,BARSLAST(LD)),COLORGREEN,0);
STICKLINE(BBB=1&&HDRAW,REF(HMID,BARSLAST(HD)),REF(HMID,BARSLAST(HD)),COLORRED,0); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容