Are rollover costs, etc, applied in strategy tester, as well?

 

Hi,

straight-forward question:

Does the strategy tester automatically take into account rollover credits/debits, on exchange pairs?

I have an EA that is very simple, and only places a market order (OrderSend()), if and when specific conditions apply.

For example, for GBPUSD, in the strategy tester, it placed a GBPUSD OP_BUY Order at 1.3882.

It closed that order at 1.51314, the order size was a 10,000 GBP lot.

If I am not mistaken, the profit, without calculation of costs, should be USD 1249.4 (15131,4 - 13,882), however, the strategy tester report gives a profit of 1228.33.

So, is this, because rollover costs, etc, are factored in, or is there something else I am missing?

Thanks!

 
Testing Features and Limits in MetaTrader 4 - MQL4 Articles All swaps, margin requirements, expirations, GTC-orders are modeled
 

Thanks, WHRoeder!

Reason: