请帮我修改能装在博易大师上 [博易POBO]
咨询内容:
请帮我修改能装在博易大师上
O1:=MA(C,O), LINETHICK1;
N1:=MA(C,21), LINETHICK1;
M2:MA(C,55),COLOR0080FF;
PARTLINE1(N1>M2,M2),COLORRED,LINETHICK2;
PARTLINE1(N1<=M2,M2),COLORGREEN,LINETHICK2;
Y:=(HIGH+LOW)/2;
DRAWCOLORKLINE(C>M2,COLORRED,0);
DRAWCOLORKLINE(C<=M2,COLORGREEN,0);
DRAWTEXT(CROSS(C,M2),L,'开多'),VALIGN0;
DRAWTEXT(CROSSDOWN(C,M2),H,'开空');
CROSS(C,M2)||CROSSDOWN(C,M2),SOUND('A');
Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=EMA(Q,13);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN;
DRAWNUMBER1(ISLASTBAR,AA10,AA10,2),COLOR0000FF,ALIGN0;
AA20:=EMA(Q,34);
BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;
DRAWNUMBER1(ISLASTBAR,AA20,AA20,2),COLOR00FFFF,ALIGN0;
DRAWTEXT(CROSS(AA10,AA20),L,'↑'),VALIGN0,FONTSIZE50,RGB(255,128,128);
DRAWTEXT(CROSS(AA20,AA10),H,'↓'),VALIGN2,FONTSIZE50,RGB(128,255,255);
DRAWBKBMP(CLOSE>0,'A008');
VAR1:=(C+L+H)/3;
VAR2:=EMA(VAR1,6);
VAR3:=EMA(VAR2,5);
VAR4:=EMA(VAR3,12);
VAR5:=EMA(VAR4,5);
生命线:EMA(VAR3,30),COLORRED,POINTDOT;
DRAWICON(C>=生命线,生命线,10);
DRAWICON(C<生命线,生命线,11);
A:=HHV(MA((L+H+C)/3,3),3);
B:=LLV(MA((L+H+C)/3,3),10);
AA1:=COST(95);
AA2:=COST(5);
LY:=(AA1-AA2)*100/(AA1+AA2);
DRAWICON(LY>REF(LY,1), L*0.98,8),ALIGN2;
N:=3;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
{高点}
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);
{低点}
E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;
E2:=(H+L)/2;
{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);
{过滤后高点}
///HD:="JGB.HD"(N);LD:="JGB.LD"(N);
R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
S1:=R1>REF(R1,1);
{前一高}
T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
U1:=T1>REF(T1,1);
{前一低}
R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2);
S2:=R2>REF(R2,1);
{前二高}
T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2);
U2:=T2>REF(T2,1);
{前二低}
T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2);
U3:=T3>REF(T3,1);
{前三低}
T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2);
U4:=T4>REF(T4,1);
{前四低}
R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2);
S3:=R3>REF(R3,1);
{前三高}
R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2);
S4:=R4>REF(R4,1);
//{前四高}
DRAWLINE1(S2,H,S1,H,1),COLOR80FFFF;
DRAWLINE1(U2,L,U1,L,1),DOT,COLOR00FFFF,LINETHICK2;
DRAWLINE1(S3,H,S2,H,1),COLORFF8000;
DRAWLINE1(U3,L,U2,L,1),DOT,COLORFF8000;
DRAWLINE1(S4,H,S3,H,1),COLOR0000FF;
DRAWLINE1(U4,L,U3,L,1),DOT,COLOR0000FF;
V1:=MA(CLOSE,30);
底:= V1-2*STD(CLOSE,60),COLORCYAN,LINETHICK1;
平:= MA(CLOSE,60),COLOR0000FF,LINETHICK1;
天:= V1+2*STD(CLOSE,60),COLOR80FFFF,LINETHICK1;
DRAWTEXT(CROSS(ZIGZAG(C,5,1),REF(ZIGZAG(C,5,1),1)),LOW*0.9985,'买'),COLORRED,FONTSIZE20;
DRAWTEXT(CROSS(REF(ZIGZAG(C,5,1),1),ZIGZAG(C,5,1)),HIGH*1.005,'卖') ,COLORGREEN,FONTSIZE20;
N1:=MA(C,21), LINETHICK1;
M2:MA(C,55),COLOR0080FF;
PARTLINE(N1>M2,M2),COLORRED,LINETHICK2;
PARTLINE(N1<=M2,M2),COLORGREEN,LINETHICK2;
Y:=(HIGH+LOW)/2;
DRAWKLINEEX(C>M2,H,O,L,C),COLORRED;
DRAWKLINEEX(C<=M2,H,O,L,C),COLORGREEN;
DRAWTEXT(CROSS(C,M2),L,'开多'),VALIGN0;
DRAWTEXT(CROSS(M2,C),H,'开空');
Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=EMA(Q,13);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN;
DRAWNUMBER(ISLASTBAR,AA10,AA10,2),COLOR0000FF,ALIGN0;
AA20:=EMA(Q,34);
BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;
DRAWNUMBER(ISLASTBAR,AA20,AA20,2),COLOR00FFFF,ALIGN0;
DRAWTEXT(CROSS(AA10,AA20),L,'↑'),VALIGN0,FONTSIZE50,COLOR8080FF;
DRAWTEXT(CROSS(AA20,AA10),H,'↓'),VALIGN2,FONTSIZE50,COLORFFFF80;
VAR1:=(C+L+H)/3;
VAR2:=EMA(VAR1,6);
VAR3:=EMA(VAR2,5);
VAR4:=EMA(VAR3,12);
VAR5:=EMA(VAR4,5);
生命线:EMA(VAR3,30),COLORRED,POINTDOT;
DRAWICON(C>=生命线,生命线,10);
DRAWICON(C<生命线,生命线,11);
A:=HHV(MA((L+H+C)/3,3),3);
B:=LLV(MA((L+H+C)/3,3),10);
AA1:=COST(95);
AA2:=COST(5);
LY:=(AA1-AA2)*100/(AA1+AA2);
DRAWICON(LY>REF(LY,1), L*0.98,8),ALIGN2;
N:=3;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
{高点}
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);
{低点}
E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;
E2:=(H+L)/2;
{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);
{过滤后高点}
///HD:="JGB.HD"(N);LD:="JGB.LD"(N);
R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
S1:=R1>REF(R1,1);
{前一高}
T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
U1:=T1>REF(T1,1);
{前一低}
R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2);
S2:=R2>REF(R2,1);
{前二高}
T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2);
U2:=T2>REF(T2,1);
{前二低}
T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2);
U3:=T3>REF(T3,1);
{前三低}
T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2);
U4:=T4>REF(T4,1);
{前四低}
R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2);
S3:=R3>REF(R3,1);
{前三高}
R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2);
S4:=R4>REF(R4,1);
//{前四高}
DRAWLINE(S2,H,S1,H,0),COLOR80FFFF;
DRAWLINE(U2,L,U1,L,0),POINTDOT,COLOR00FFFF,LINETHICK2;
DRAWLINE(S3,H,S2,H,0),COLORFF8000;
DRAWLINE(U3,L,U2,L,0),POINTDOT,COLORFF8000;
DRAWLINE(S4,H,S3,H,0),COLOR0000FF;
DRAWLINE(U4,L,U3,L,0),POINTDOT,COLOR0000FF;
V1:=MA(CLOSE,30);
底:= V1-2*STD(CLOSE,60),COLORCYAN,LINETHICK1;
平:= MA(CLOSE,60),COLOR0000FF,LINETHICK1;
天:= V1+2*STD(CLOSE,60),COLOR80FFFF,LINETHICK1;
DRAWTEXT(CROSS(ZIG(C,5,1),REF(ZIG(C,5,1),1)),LOW*0.9985,'买'),COLORRED,FONTSIZE20;
DRAWTEXT(CROSS(REF(ZIG(C,5,1),1),ZIG(C,5,1)),HIGH*1.005,'卖') ,COLORGREEN,FONTSIZE20; 来源 程序化久久网
N1:=MA(C,21), LINETHICK1;
M2:MA(C,55),COLOR0080FF;
PARTLINE1(N1>M2,M2),COLORRED,LINETHICK2;
PARTLINE1(N1<=M2,M2),COLORGREEN,LINETHICK2;
Y:=(HIGH+LOW)/2;
DRAWCOLORKLINE(C>M2,COLORRED,0);
DRAWCOLORKLINE(C<=M2,COLORGREEN,0);
DRAWTEXT(CROSS(C,M2),L,'开多'),VALIGN0;
DRAWTEXT(CROSSDOWN(C,M2),H,'开空');
CROSS(C,M2)||CROSSDOWN(C,M2),SOUND('A');
Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=EMA(Q,13);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN;
DRAWNUMBER1(ISLASTBAR,AA10,AA10,2),COLOR0000FF,ALIGN0;
AA20:=EMA(Q,34);
BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;
DRAWNUMBER1(ISLASTBAR,AA20,AA20,2),COLOR00FFFF,ALIGN0;
DRAWTEXT(CROSS(AA10,AA20),L,'↑'),VALIGN0,FONTSIZE50,RGB(255,128,128);
DRAWTEXT(CROSS(AA20,AA10),H,'↓'),VALIGN2,FONTSIZE50,RGB(128,255,255);
DRAWBKBMP(CLOSE>0,'A008');
VAR1:=(C+L+H)/3;
VAR2:=EMA(VAR1,6);
VAR3:=EMA(VAR2,5);
VAR4:=EMA(VAR3,12);
VAR5:=EMA(VAR4,5);
生命线:EMA(VAR3,30),COLORRED,POINTDOT;
DRAWICON(C>=生命线,生命线,10);
DRAWICON(C<生命线,生命线,11);
A:=HHV(MA((L+H+C)/3,3),3);
B:=LLV(MA((L+H+C)/3,3),10);
AA1:=COST(95);
AA2:=COST(5);
LY:=(AA1-AA2)*100/(AA1+AA2);
DRAWICON(LY>REF(LY,1), L*0.98,8),ALIGN2;
N:=3;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
{高点}
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);
{低点}
E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;
E2:=(H+L)/2;
{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);
{过滤后高点}
///HD:="JGB.HD"(N);LD:="JGB.LD"(N);
R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
S1:=R1>REF(R1,1);
{前一高}
T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
U1:=T1>REF(T1,1);
{前一低}
R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2);
S2:=R2>REF(R2,1);
{前二高}
T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2);
U2:=T2>REF(T2,1);
{前二低}
T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2);
U3:=T3>REF(T3,1);
{前三低}
T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2);
U4:=T4>REF(T4,1);
{前四低}
R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2);
S3:=R3>REF(R3,1);
{前三高}
R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2);
S4:=R4>REF(R4,1);
//{前四高}
DRAWLINE1(S2,H,S1,H,1),COLOR80FFFF;
DRAWLINE1(U2,L,U1,L,1),DOT,COLOR00FFFF,LINETHICK2;
DRAWLINE1(S3,H,S2,H,1),COLORFF8000;
DRAWLINE1(U3,L,U2,L,1),DOT,COLORFF8000;
DRAWLINE1(S4,H,S3,H,1),COLOR0000FF;
DRAWLINE1(U4,L,U3,L,1),DOT,COLOR0000FF;
V1:=MA(CLOSE,30);
底:= V1-2*STD(CLOSE,60),COLORCYAN,LINETHICK1;
平:= MA(CLOSE,60),COLOR0000FF,LINETHICK1;
天:= V1+2*STD(CLOSE,60),COLOR80FFFF,LINETHICK1;
DRAWTEXT(CROSS(ZIGZAG(C,5,1),REF(ZIGZAG(C,5,1),1)),LOW*0.9985,'买'),COLORRED,FONTSIZE20;
DRAWTEXT(CROSS(REF(ZIGZAG(C,5,1),1),ZIGZAG(C,5,1)),HIGH*1.005,'卖') ,COLORGREEN,FONTSIZE20;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: O1:=MA(C,O), LINETHICK1;N1:=MA(C,21), LINETHICK1;
M2:MA(C,55),COLOR0080FF;
PARTLINE(N1>M2,M2),COLORRED,LINETHICK2;
PARTLINE(N1<=M2,M2),COLORGREEN,LINETHICK2;
Y:=(HIGH+LOW)/2;
DRAWKLINEEX(C>M2,H,O,L,C),COLORRED;
DRAWKLINEEX(C<=M2,H,O,L,C),COLORGREEN;
DRAWTEXT(CROSS(C,M2),L,'开多'),VALIGN0;
DRAWTEXT(CROSS(M2,C),H,'开空');
Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=EMA(Q,13);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN;
DRAWNUMBER(ISLASTBAR,AA10,AA10,2),COLOR0000FF,ALIGN0;
AA20:=EMA(Q,34);
BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;
DRAWNUMBER(ISLASTBAR,AA20,AA20,2),COLOR00FFFF,ALIGN0;
DRAWTEXT(CROSS(AA10,AA20),L,'↑'),VALIGN0,FONTSIZE50,COLOR8080FF;
DRAWTEXT(CROSS(AA20,AA10),H,'↓'),VALIGN2,FONTSIZE50,COLORFFFF80;
VAR1:=(C+L+H)/3;
VAR2:=EMA(VAR1,6);
VAR3:=EMA(VAR2,5);
VAR4:=EMA(VAR3,12);
VAR5:=EMA(VAR4,5);
生命线:EMA(VAR3,30),COLORRED,POINTDOT;
DRAWICON(C>=生命线,生命线,10);
DRAWICON(C<生命线,生命线,11);
A:=HHV(MA((L+H+C)/3,3),3);
B:=LLV(MA((L+H+C)/3,3),10);
AA1:=COST(95);
AA2:=COST(5);
LY:=(AA1-AA2)*100/(AA1+AA2);
DRAWICON(LY>REF(LY,1), L*0.98,8),ALIGN2;
N:=3;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
{高点}
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);
{低点}
E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;
E2:=(H+L)/2;
{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);
{过滤后高点}
///HD:="JGB.HD"(N);LD:="JGB.LD"(N);
R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);
S1:=R1>REF(R1,1);
{前一高}
T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);
U1:=T1>REF(T1,1);
{前一低}
R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2);
S2:=R2>REF(R2,1);
{前二高}
T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2);
U2:=T2>REF(T2,1);
{前二低}
T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2);
U3:=T3>REF(T3,1);
{前三低}
T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2);
U4:=T4>REF(T4,1);
{前四低}
R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2);
S3:=R3>REF(R3,1);
{前三高}
R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2);
S4:=R4>REF(R4,1);
//{前四高}
DRAWLINE(S2,H,S1,H,0),COLOR80FFFF;
DRAWLINE(U2,L,U1,L,0),POINTDOT,COLOR00FFFF,LINETHICK2;
DRAWLINE(S3,H,S2,H,0),COLORFF8000;
DRAWLINE(U3,L,U2,L,0),POINTDOT,COLORFF8000;
DRAWLINE(S4,H,S3,H,0),COLOR0000FF;
DRAWLINE(U4,L,U3,L,0),POINTDOT,COLOR0000FF;
V1:=MA(CLOSE,30);
底:= V1-2*STD(CLOSE,60),COLORCYAN,LINETHICK1;
平:= MA(CLOSE,60),COLOR0000FF,LINETHICK1;
天:= V1+2*STD(CLOSE,60),COLOR80FFFF,LINETHICK1;
DRAWTEXT(CROSS(ZIG(C,5,1),REF(ZIG(C,5,1),1)),LOW*0.9985,'买'),COLORRED,FONTSIZE20;
DRAWTEXT(CROSS(REF(ZIG(C,5,1),1),ZIG(C,5,1)),HIGH*1.005,'卖') ,COLORGREEN,FONTSIZE20; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容