n:=13; A3:=REF(H,N)=HHV(H,2*N+1); B3:=FILTER(A3,N); C3:=BACKSET(B3,N+1); D3:=FILTER(C3,N);{高点} A4:=REF(L,N)=LLV(L,2*N+1); B4:=FILTER(A4,N); C4:=BACKSET(B4,N+1); D4:=FILTER(C4,N);{低点} STICKLINE(D3 or (D3 AND CMA(VOL,5) AND VOL>MA(VOL,60)),H+0.3,H+0.7,2,0); STICKLINE(D4 or (D4 AND C>O AND VOL>ref(LLV(VOL,60),1)),l-0.3,l-0.7,2,0); 在线等 谢谢老师了
爱约股解答:
N:=13;
A4:=REF(L,N)=LLV(L,2*N+1);
B4:=FILTER(A4,N);
C4:=BACKSET(B4,N+1);
D4:=FILTER(C4,N);
D4 OR (D4 AND C>O AND VOL>REF(LLV(VOL,60),1));