Invalid Stops error

This usually happens with XM on MT5.

It's a technical incompatibility due to the fact that some brokers like XM use different order codes. 

SOLUTION: Using MT4 instead of MT5 usually solves this problem.