Is there any way to code the acceptance of a broker requote in MQL4? I see them
in the journal but see no function that uses requotes as an argument and brokers
only allow a couple of seconds to accept/reject them manually. This would be a
very useful feature in an expert I'm writing. Thanks.
- Accepting a requote?
- What would it take to get everyone to finally switch to MT5? (collecting opinions)
- How to know requote new price.
David_M:
Is there any way to code the acceptance of a broker requote in MQL4? I see them in the journal but see no function that uses requotes as an argument and brokers only allow a couple of seconds to accept/reject them manually. This would be a very useful feature in an expert I'm writing. Thanks.
Is there any way to code the acceptance of a broker requote in MQL4? I see them in the journal but see no function that uses requotes as an argument and brokers only allow a couple of seconds to accept/reject them manually. This would be a very useful feature in an expert I'm writing. Thanks.
// Internal Variable
int Restarts;
int start() {
// Ticks
int tickStart = GetTickCount();
//Check to make sure our pricing has not changed
TickBid = Bid;
TickAsk = Ask;
// Put this 1 line before you use any "order function" OrderSend() OrderModify()
ect...
RefreshRates();if (Bid != TickBid || Ask != TickAsk){start();Restarts++;}
// And for your last 4 lines of code in the start() ...
Print("EA calculation took "+(GetTickCount()-tickStart)+" milliseconds.
With "+Restarts+" Restarts...");
Restarts = 0;
return (0);
}

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register