The following rules apply when it comes to setting levels for pending orders:
Pending orders along with SL and TP (for pending orders) must be set at a distance (at least the same as current spread or more) from the current market price.
SL and TP in pending orders must be set at least the same distance from the order price as the current spread.
For open positions, SL and TP must be set at a distance from the current market price which is at least the same as that of the current spread.