N:=7;M:=2;LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);K:EMA(RSV,M),COLORRED,LINETHICK3;D:MA(K,M),LINESTICK;:20;高位谨慎:80;条件:=OSS(K,D) AND K<50 DRAWICON(条件,20,5);VAR1:=REF(LOW,1);VAR2: SMA(MAX(LOW-VAR1,0),13,1)*4;VAR3:=EMA(VAR2,13);VAR4: LLV(LOW,34);VAR5:=EMA(IF(LOW>REF(VAR5,1),0,VAR5,1,0 ),COLORGREEN;