你好,老师,帮忙改文华wh6用,谢谢

2天前发布

NN:= BARSTATUS=2;
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;
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT(D1 AND E1
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,LOW,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
L2:=LD OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);

UU:=BACKSET(BARSTATUS,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
UU2:=BACKSET(BARSTATUS,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);


一低:=REF(L,BARSLAST(VV)),COLOR99FF66,LINETHICK1;
一高:=REF(H,BARSLAST(VV2)),COLOR99FF66,LINETHICK1;


//{AND (H-L)/2>H-C 非上影线}

DRAWTEXT( C>O AND C一高 OR MAX(H,L)>一高) AND (O-C>C*0.00005 OR O>=C AND O-C

NN:= BARSTATUS=2;
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;
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT(D1 AND E1
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,LOW,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
L2:=LD OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);

UU:=BACKSET(BARSTATUS,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
UU2:=BACKSET(BARSTATUS,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);


一低:=REF(L,BARSLAST(VV)),COLOR99FF66,LINETHICK1;
一高:=REF(H,BARSLAST(VV2)),COLOR99FF66,LINETHICK1;


//{AND (H-L)/2>H-C 非上影线}

DRAWTEXT( C>O AND C一高 OR MAX(H,L)>一高) AND (O-C>C*0.00005 OR O>=C AND O-C

付费偷看设置
发送
7条回答
文华向前进
2楼-- · 2天前
您的指标是可以测试通过正常加载的,没有标记可能是由于条件没有满足
文华自动化
3楼-- · 2天前
谢谢老师帮忙改一下
4楼-- · 2天前
需要您说下您具体标记的思路,我们才能为您修改
5楼-- · 2天前
前提条件是,一波上涨行情突破前高和压力,收第一根阴线,锤子线也可以,做空,反之
无语无文
6楼-- · 2天前
需要您具体定一下“前高”“压力”等条件
另外您是全自动交易的思路,在wh8加载?
7楼-- · 2天前
老师,我不是很清楚,老师你看一看,需要加什么条件都可以,我只是需要提示就可以