Deviation (slippage) Limitation and Strategy Tester Random Delay Mode

 

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.

 
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.
Reason: