CTrade requote
The SetDeviationInPoints seems to intended for closing a position only.
To get order through, i used a MqlTick.ask - for buy orders and MqlTick.bid for sell orders, which is updated right before placing order SymbolInfoTick.
This solved my problem
Hello,
can anyone help how to solve the requote problem. If i do a buy or sell with CTrade,
i get sometimes no transaction because there was a requote.
(I set also the SetDeviationInPoints to 100, would should not be the solution in real trading)
This is from backtest log:
The logic is put OrderSend () inside a loop that is repeated several times or until it returns "true". At each step of the loop the slip increases several points to ensure the implementation of the operation
Hello,
can anyone help how to solve the requote problem. If i do a buy or sell with CTrade,
i get sometimes no transaction because there was a requote.
(I set also the SetDeviationInPoints to 100, would should not be the solution in real trading)
This is from backtest log: