RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
RSI4:=SMA(MAX(CLOSE-LC,0),N4,1)/SMA(ABS(CLOSE-LC),N4,1)*100;
ZJ1:=RSI1-REF(RSI1,1)
ZJ2:=RSI2-REF(RSI2,1)
ZJ3:=RSI3-REF(RSI3,1)
ZJ4:=RSI4-REF(RSI4,1)
ZJ1 AND ZJ2 AND ZJ3 AND ZJ4;