求老师 改成文华语言 [文华财经]
-
咨询内容:
DRAWLINE(L=LLV(L,3),L,C=HHV(C,3),L,0),COLOR9A90FF;
趋势射线7: DRAWLINE(H=HHV(H,7),H,L=LLV(L,7),L,0),COLOR9AFF89;
射线7X: DRAWLINE(L=LLV(L,7),L,H=HHV(H,7),L,0),COLOR9AFF89;
趋势射线21: DRAWLINE(H=HHV(H,21),H,L=LLV(L,21),L,0),COLORC100FF;
射线21X: DRAWLINE(L=LLV(L,21),L,H=HHV(H,21),L,0),COLORC100FF;
趋势射线35: DRAWLINE(H=HHV(H,35),H,L=LLV(L,35),L,0),COLORC1005B;
射线35X: DRAWLINE(L=LLV(L,35),L,H=HHV(H,35),L,0),COLORC1005B;
趋势射线49: DRAWLINE(H=HHV(H,49),H,L=LLV(L,49),L,0),COLORYELLOW,LINETHICK2;
射线49X: DRAWLINE(L=LLV(L,49),L,H=HHV(H,49),L,0),COLORYELLOW,LINETHICK2;
A1:=REF(H,8)=HHV(H,2*8+1);
B1:=FILTER(A1,8);
C1:=BACKSET(B1,8+1);
D1:=FILTER(C1,8);{高点}
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);S11:=R11>REF(R11,1);
DRAWLINE(D1,H,S11,H,1),COLORBLUE,LINETHICK2;
A2:=REF(L,8)=LLV(L,2*8+1);
B2:=FILTER(A2,8);
C2:=BACKSET(B2,8+1);
D2:=FILTER(C2,8);{低点}
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);U11:=T11>REF(T11,1);
DRAWLINE(D2,L,U11,L,1),COLORBLUE,LINETHICK2;
M:=INTPART(3*8/5);
A12:=REF(H,M)=HHV(H,2*M+1);
B12:=FILTER(A12,M);
C12:=BACKSET(B12,M+1);
D12:=FILTER(C12,M);{高点}
R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1);S112:=R112>REF(R112,1);
DRAWLINE(D12,H,S112,H,1),COLORRED,LINETHICK2;
A22:=REF(L,M)=LLV(L,2*M+1);
B22:=FILTER(A22,M);
C22:=BACKSET(B22,M+1);
D22:=FILTER(C22,M);{低点}
T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1);U112:=T112>REF(T112,1);
DRAWLINE(D22,L,U112,L,1),COLORRED,LINETHICK2;
VAR1:=BACKSET(REF(H,2)=HHV(H,5),3);
VAR2:=CROSS(VAR1,0.9);
VAR3:=BACKSET(REF(L,2)=LLV(LOW,5),3);
VAR4:=CROSS(VAR3,0.9);
压力:= REF(H,BARSLAST(VAR2));
STICKLINE(C,REF(H,BARSLAST(VAR2)),REF(H,BARSLAST(VAR2)),1,1),COLOR00CC00,LINETHICK2;
支撑:= REF(L,BARSLAST(VAR4));
STICKLINE(C,REF(LOW,BARSLAST(VAR4)),REF(L,BARSLAST(VAR4)),1,1),COLOR00B4FF,LINETHICK2;来源:程序化99
-
文华技术人员:
不同软件函数机制处理不同,加载效果略有差异是正常的,改写参考:
DRAWLINE1(L=LLV(L,3),L,C=HHV(C,3),L,0),COLOR9A90FF;
DRAWLINE1(H=HHV(H,7),H,L=LLV(L,7),L,0),COLOR9AFF89;
DRAWLINE1(L=LLV(L,7),L,H=HHV(H,7),L,0),COLOR9AFF89;
DRAWLINE1(H=HHV(H,21),H,L=LLV(L,21),L,0),COLORC100FF;
DRAWLINE1(L=LLV(L,21),L,H=HHV(H,21),L,0),COLORC100FF;
DRAWLINE1(H=HHV(H,35),H,L=LLV(L,35),L,0),COLORC1005B;
DRAWLINE1(L=LLV(L,35),L,H=HHV(H,35),L,0),COLORC1005B;
DRAWLINE1(H=HHV(H,49),H,L=LLV(L,49),L,0),COLORYELLOW,LINETHICK2;
DRAWLINE1(L=LLV(L,49),L,H=HHV(H,49),L,0),COLORYELLOW,LINETHICK2;
A1:=REF(H,8)=HHV(H,2*8+1);
B1:=FILTER(A1,8);
C1:=BACKSET(B1,8+1);
D1:=FILTER(C1,8);
{高点}
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
S11:=R11>REF(R11,1);
DRAWLINE(D1,H,S11,H,1),COLORBLUE,LINETHICK2;
A2:=REF(L,8)=LLV(L,2*8+1);
B2:=FILTER(A2,8);
C2:=BACKSET(B2,8+1);
D2:=FILTER(C2,8);
{低点}
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
U11:=T11>REF(T11,1);
DRAWLINE(D2,L,U11,L,1),COLORBLUE,LINETHICK2;
M:=INTPART(3*8/5);
A12:=REF(H,M)=HHV(H,2*M+1);
B12:=FILTER(A12,4);
C12:=BACKSET(B12,M+1);
D12:=FILTER(C12,4);
{高点}
R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1);
S112:=R112>REF(R112,1);
DRAWLINE(D12,H,S112,H,1),COLORRED,LINETHICK2;
A22:=REF(L,M)=LLV(L,2*M+1);
B22:=FILTER(A22,4);
C22:=BACKSET(B22,M+1);
D22:=FILTER(C22,4);
{低点}
T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1);
U112:=T112>REF(T112,1);
DRAWLINE(D22,L,U112,L,1),COLORRED,LINETHICK2;
VAR1:=BACKSET(REF(H,2)=HHV(H,5),3);
VAR2:=CROSS(VAR1,0.9);
VAR3:=BACKSET(REF(L,2)=LLV(LOW,5),3);
VAR4:=CROSS(VAR3,0.9);
压力:= REF(H,BARSLAST(VAR2));
STICKLINE(C,REF(H,BARSLAST(VAR2)),REF(H,BARSLAST(VAR2)),1,1),COLOR00CC00,LINETHICK2;
支撑:= REF(L,BARSLAST(VAR4));
STICKLINE(C,REF(LOW,BARSLAST(VAR4)),REF(L,BARSLAST(VAR4)),1,1),COLOR00B4FF,LINETHICK2;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 或微信:cxhjy888 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容