KDJ画线;N=7;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORFF00FF;
A:=REF(J,N)=HHV(J,2*N+1);
A1:=BACKSET(A,N+1);
A2:=FILTER(A1,N) AND J=HHV(J,N+1);
DRAWICON(A2,J*1.02,2);
A3:=BARSLAST(A2);
A4:=IF(A2,CURRBARSCOUNT,0);
A5:=IF(A3,REF(J,A3),J);{顶部}
A6:=IF(A3,REF(A4,A3),A4);
A7:=REF(A5,A3+1);
A8:=CONST(A6);
A9:=REF(A6,A3+1);
A10:=CONST(A9);
A11:=REF(A7,A3+1);
A0:=IF(CURRBARSCOUNT>A10,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=A10,J,CURRBARSCOUNT=A8,J,1) COLORGREEN,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=A10,J,ISLASTBAR,REF(J,A10-1),1);
DRAWLINE(CURRBARSCOUNT=A8,J,ISLASTBAR,REF(J,A8-1),1),COLORCYAN;
B:=REF(J,N)=LLV(J,2*N+1);
B1:=BACKSET(B,N+1);
B2:=FILTER(B1,N) AND J=LLV(J,N+1);
介入:DRAWICON(B2,J*0.98,1);
B3:=BARSLAST(B2);
B4:=IF(B2,CURRBARSCOUNT,0);
B5:=IF(B3,REF(J,B3),J);
B6:=IF(B3,REF(B4,B3),B4);
B7:=CONST(B6);
B8:=REF(B5,B3+1);
B9:=REF(B6,B3+1);
B0:=CONST(B9);
低点支撑:DRAWLINE(CURRBARSCOUNT=B0,J,CURRBARSCOUNT=B7,J,1) COLORRED,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=B7,J,ISLASTBAR,REF(J,B7-1),1),COLORMAGENTA;
DRAWLINE(CURRBARSCOUNT=B0,J,ISLASTBAR,REF(J,B0-1),1),COLORYELLOW;
X:=ZIG(3,50/5);
G:=MA(X,2);
M0:=MACD画线.高点压力>REF(MACD画线.高点压力,1) AND RSI画线.高点压力>REF(RSI画线.高点压力,1) AND 高点压力>REF(高点压力,1) ;
M1:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(L=LLV(L,200))+1))=0 AND CROSS(J,0) AND CROSS(K,10);
M:(M0 OR M1)AND CROSS(X,G) AND 高点压力/J>250 AND (O1),COLORRED;
DRAWTEXT(M AND M0,40,'M0入'),COLORRED;
DRAWTEXT(M AND M1,60,'M1入'),COLORRED;
上一篇:通达信仿飞翔量趋势指标 下一篇:通达信金窗共振和魔K公式等测评