Thread: MQL4 Learning
View Single Post
  #26 (permalink)  
Old 11-16-2006, 11:04 PM
ZTrader ZTrader is offline
Member
 
Join Date: Mar 2006
Posts: 91
ZTrader is on a distinguished road
How do MT4 EAs handle trade errors?

I've read a lot about re-quotes and failed orders with different brokers, but I'm wondering how these are handled by EAs in MT4... if a price quote is outside the specified slippage will it just keep trying until it gets the price it wants, or will the trade be abandoned? What if the order is rejected for some server glitch or other... does MT4 keep trying to get the order accepted?

Many EAs rely on being able to place, modify or close a position when the proper time comes, and it seems to me it would be a disaster if it just bails out under error conditions. I'm just wondering if some EA guru could explain just how these situations get handled...

THX.
Reply With Quote