MAVOL1:=MA(VOL,5);MAVOL2:=MA(VOL,35);MAVOL3:=MA(VOL,135);MB:=CROSS(EXPMA(CLOSE,7),EXPMA(CLOSE,21));SC3:=BARSLAST(MB);SJ:=VOL>MAVOL3 OR CROSS(MAVOL1,MAVOL2);SC2:=BARSLAST(SJ);XG: (MB AND SC2<4) OR (SJ AND SC3<4);