rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:ref(every(c<ma(c,21),21) ,1) and ex**t(cross(d,j),21)=1 and c>ma(c,21);
ma1:=ma(close,5);ma2:=ma(close,10);ma3:=ma(close,20);ma4:=ma(close,60);xg:count(cross(ma1,ma2),3)=1 and count(cross(ma1,ma3),3)=1 and count(cross(ma1,ma4),3)=1;