Simple Solution for Requotes?

 

Hi, Does anybody have a simple solution for solving "re quote" problems?

Thank You!

 
Set a 10-20 pip slippage
 
tonny:
Set a 10-20 pip slippage

Thank You!
 
tonny:
Set a 10-20 pip slippage
LOL :-)
 
tonny:
Set a 10-20 pip slippage

Thank You!
 
RaptorUK:
LOL :-)

Thank you for your post!
 

About slippage and ECN...

An ECN broker wont accept (or ignores) slippage with order entry. And market orders have to be entered at market price (slippage cant be added to the entry price) ... Does this mean that slippage is irrelevant when dealing with ECNs ?

 
WhooDoo22:

Hi, Does anybody have a simple solution for solving "re quote" problems?

Thank You!



RefreshRates();

and try again. You may want to put in counter for number of attempts.

 
danjp:


RefreshRates();

and try again. You may want to put in counter for number of attempts.

Don't use Predefined Variables and you have no need of RefreshRates.

RefreshRates()

Refreshing of data in pre-defined variables and series arrays.

 
RaptorUK:

Don't use Predefined Variables and you have no need of RefreshRates.

RefreshRates()

Refreshing of data in pre-defined variables and series arrays.


Where are you getting your price data from then?

I use



price = MarketInfo(Symbol(), MODE_BID);

........
....
...

 ticket = InternalOrderSend(Symbol(), cmd, lotSize, price, Slippage, stopLoss, takeProfit, NULL, MagicNumber,NO_EXPR,ArrowColor);

Where esle can you get the current price data? MarketInfo(Symbo()l,Mod_Bid)returns the same value as Bid? If you get a 138 on the OrderSend() you need to do a RefreshRates() don't you?

https://www.mql5.com/en/forum/135058

Now you have me thinking my code may be wrong!

 
Most ecn brokers claim there is 0 requotes so i guess no need for slippage. If you see a requote and you are using an ecn account then there could be some dishonesty somewhere.