I've hit a problem where the backtesting server seems to ignore my order's stop loss and take profit levels. Judging from the logs the price have long since passed the stop-loss level, yet the trade is not being closed. Any idea why this would happen?

Also, still unsure of how to check whether a ticket is closed. The OrderEvent.Status enumeration only specified whether an order got filled or not, but contains no detail on when an order is automatically closed by the server.

Any ideas?

Kind regards,