Using SQX 126 to generate strategy on EUR/USD H1 timeframe, pseudo code contains:
To me this is a very important bug to fix.
This setting has no effect on the backtest results. If the results in MT are different there will be a different problem, I have to ivestigate it.
Status changed from New to Fixed
I tried both an MQL code from latest version and the source code attached, the results were equal.
When looking closer into the orders, the EA seems to be trading as expected.The different results can be caused by different settings in EA and SQX or by settings ModifyInsteadOfReplacing = true in the EA. We have fixed this feature recently.
If you still have problems, please attach a screenshot of your EA's settings in MT4.
Best regards,
Tomas