1- The strategy is set for editing in the Algowizard ( Strategy)
2- Once a long or a short exit signal, the results are illogical ,ie : if the close is below a SMA THEN the order should close and it does not execute in the correct logic.
3- The correct logic would be to exit the long position once the Close is below the MA.
4- Once removed the signals that produced the fault the strategy return to normal without editing.
Please run the Strategy before editing and add the editing to see the faults.
Status changed from New to Waiting for information
I think your exit signal is simply wrong - it will immediately close the order when the market is below EMA or SMA.
This happens a lot, hence you have many trades that are closed after a bar or two.
But I don't see any bug in SQ.