N:=80;M1:=3;M2:=3;M:=21;
RSV:=(HHV(H,N)-C)/(HHV(H,N)-LLV(L,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1),COLORCYAN;
RSV1:=((LLV(H,M)-C)/(LLV(H,M)-HHV(L,M)))*100;
K1:SMA(RSV1,M,1),COLORRED;
TJ:=K=REF(K1,1) AND K>80 AND REF(K1,1)
DRAWICON(TJ,K1,41);
N:=80;M1:=3;M2:=3;M:=21;
RSV:=(HHV(H,N)-C)/(HHV(H,N)-LLV(L,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1),COLORCYAN;
RSV1:=((LLV(H,M)-C)/(LLV(H,M)-HHV(L,M)))*100;
K1:SMA(RSV1,M,1),COLORRED;
TJ:=K=REF(K1,1) AND K>80 AND REF(K1,1)
DRAWICON(TJ,K1,41);