I've coded a simple EA that uses CTrade to buy, sell and modify orders.
When buying or selling, I'm using SL / TP to close orders.
The issue is that although SL / TP are correctly set, they're completely ignored by Strategy Tester. The prices will reach the SL / TP levels many times, but the order never closes.
The following is the output from the "Journal" tab:
Prices touching the SL / TP price:
The funny thing is that running the same EA in my demo account, in this same symbol, works fine. It seems to be something missing in my EA regarding the Strategy Tester.
Any help is greatly appreciated.