N:=9;M1:=3;M2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,M1,1);D:SMA(K,M2,1);J:3*K-2*D;100;DRAWICON(J>100,J,2);-10;DRAWICON(J<-8,J,1); :IF(K<10 COLORRED;GD:=HHVBARS(H,20);DD1: FINDLOWBARS(L,GD+1,20,1);C1:=REF(C,GD);C2: REF(C,DD1+1);ZF:=(C1-C2)/C2*100;GZ: REF(ZF,GD);DF:=(C-REF(C,GD+1))/REF(C,GD+1)*100;A:>MACD.DEA,GD);A11:=EVERY(L
[MA(C,20);A3:=REF(MACD.DIF,1)20;XG:=A AND REF(A11,1) AND REF(A2,1) AND A3 AND A4;:=C-REF(C,1);DX:=100*EMA
]