RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(RSV,3,1); D:SMA(K,3,1); J:3*D-2*K; MID:=MA(J,3); UP:MID+1.96*STD(J,8); LO:MID-1.96*STD(J,8);