This strategy performs Significantly differently in the MT5 terminal than in the MT5 hedged engine of SQX. about 25% fewer trades in SQX, all trades are on different days. Performance is kinda similar but not really. I did try amping up the commission to make room for missing SWAP but like I said SWAP differences don't explain the number of trades differences and trading on completely different days etc.
I have the exact (Dukas) data copied right out of sqx and imported to my mt5 terminal.
I did have to replace this to work around the infinite loop problem but it only kicks in when the market is closed and shouldn't cause any differences.
//REPLACE
sqDeletePendingOrder(orderTicket);
//WITH
if(!sqDeletePendingOrder(orderTicket)) Sleep(1000);
Performance starts to match up near the end of the sample though....