I have been running an EA and was surprised to see a trade that was apparently opened 200 -300 points from the price. (Spread may have been 50-60
points). Any help appreciated.
there is no time shown on the chart, or buy arrow, therefore can not see when the trade opened.
Also, give more details such as if it was a pending order, yes or no, and what sort of pending order.
beyond that, if your internet is crap, then, slippage can be just as much distance as any spread, so need more details.
Thanks for your response.
Not sure why the confusion.
My own EA displays the Open & Close price and shows these prices displayed on the chart together with the 'line' that connects them.
The details also show the OpenTime @ 23:05. The chart is M5 (last characters of comment) The order was a straight forward BUY (type B top left hand corner).
My internet is generally pretty good (SKY/BTopenreach) and responds quickly. I suspect could have had a short outage combined with maybe 100ish point spread
I enclose following check.
if ( MQLInfoInteger(MQL_TRADE_ALLOWED)
23.05 is not shown on the chart. only on the trade info line.
sky is typically not always, have long delay. therefore more slippage is possible.
Every strategy and ea code should include and account for extra spread and/or slippage.
EDIT. i see now. your line at top is dotted, and mentions close, so i thought the trade was closed that you were discussing, but the dotted line usually means a trade is open still. I thought it was a different trade.
It is weird if 100 point spread is not normal, however, some brokers make spikes in prices more than 100 points during high vola and news events. If you think this has happened to you, then, go to new broker, there are many brokers out there.
I have been running an EA and was surprised to see a trade that was apparently opened 200 -300 points from the price. (Spread may have been 50-60
points). Any help appreciated.
Ok, This is because when significant volatility hits the market, spreads widens significantly. The EA likely placed a position when during significant volatility.
Most EA has max spread parameter to adjust. When the current spread is above that number, EA does not place any position. You need to adjust that parameter.
Many thanks
I have had a spread limit implemented on most occasions. I also have an option to restrict the hours of trading - avoiding the more volatile windows.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have been running an EA and was surprised to see a trade that was apparently opened 200 -300 points from the price. (Spread may have been 50-60
points). Any help appreciated.
File attached