Download MetaTrader 5

Deviation (slippage) Limitation and Strategy Tester Random Delay Mode

To add comments, please log in or register
Henrique Vilela
1321
Henrique Vilela  

Hi,

I'm setting the request deviation variable of the MqlTradeRequest structure before send an order and testing my EA with the Random Delay Mode enabled on the Strategy Tester.

The problem is that the order is been executed with slippgages much grater than the value set.

There's any pre-requisit to use the deviation? For exemple, it only works for some kind of orders, or some kind of filling... anything like that.

Thanks.

Alain Verleyen
Moderator
31599
Alain Verleyen  
Henrique Vilela:

Hi,

I'm setting the request deviation variable of the MqlTradeRequest structure before send an order and testing my EA with the Random Delay Mode enabled on the Strategy Tester.

The problem is that the order is been executed with slippgages much grater than the value set.

There's any pre-requisit to use the deviation? For exemple, it only works for some kind of orders, or some kind of filling... anything like that.

Thanks.

Which broker/symbol ? Deviation setting only work for Instant/Request execution, not for Market/Exchange.
To add comments, please log in or register