N:=9;M1:=3;M2:=3;A:=14;A1:=14;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,M1,1);D:SMA(K,M2,1);金:BARSLAST(OSS(K,D))NODRAW;死:BARSLAST(CROSS(D,K))NODRAW;DRAWICON(CROSS(K,D),D,1); {KD做记号};DRAWICON(CROSS(D,K),K,2); {D下穿K做记号};A80:80,DOTLINE,COLORMAGENTA,LINETHICK1;VAR1:=C-REF(C,1);VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(A(VAR1),6),6);MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HH