SL is on closing basis i.e. candle closing above SL level, and target is on touching basis.
Trade closed manually:
Target achieved but no entry available as it was gap down