This EA works and places orders in demo (forward) testing but fails in backtest. I thought that backtest is simply a simulation of demo. Somehow they run differently.
CopyBuffer fails all the time in backtest while in demo testing there are no errors and orders are placed fine.
Technical analysis is not the best in this EA, since whatever outcome is only Buy should be placed. But that is beyond the point. The point is that it runs fine in demo, but fails in backtest.
Is this a bug in MT5?
Please could someone tell how to make ea visible on the chat, i have installed it in my platform but couldn't work
Please could someone tell how to make ea visible on the chat, i have installed it in my platform but couldn't work
Forum on trading, automated trading systems and testing trading strategies
Sergey Golubev, 2016.08.03 08:46
I mean - if all MT5 EAs does not work in your MT5 so you can check the following: autotrading for the EA, in common tab of the EA properties.
Allow Auto Trading — this option allows or prohibits trading using Expert Advisors and scripts. If it is disabled, scripts and Expert Advisors can work, but are not able to trade. This limitation can be useful for testing the analytical capabilities of an Expert Advisor in the real-time mode (not to be confused with testing on history data).
The option enables/disables automated trading for the entire platform. If you disable it, no Expert Advisor will be allowed to trade, even if you enable automated trading individually in the Expert Advisor settings. If you enable it, the Expert Advisors will be allowed to trade, unless automated trading is individually disabled in the Expert Advisor parameters
If everything is fine with the setting but EAs does not work (any EA - how many did you try?) so ask your broker (it may be the broker's limitation).
Forum on trading, automated trading systems and testing trading strategies
Sergey Golubev, 2016.08.03 09:38
Where to check autotrading:
and
If you attached EA to the chart and you see "smiling face" so it is fine with autotading (in most of the cases):
If EA's face is not smiling and not happy so you can check everything once again:
It was for MT4 but MT5 is same with this case.
Hi, I met the same problem as you did, do you find and solutions?
The last time this user posted was in 2010.
So that's about 6 years ago.
The chance of him responding to your question is small.
If you want us to look at it please post the code.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
This EA works and places orders in demo (forward) testing but fails in backtest. I thought that backtest is simply a simulation of demo. Somehow they run differently.
CopyBuffer fails all the time in backtest while in demo testing there are no errors and orders are placed fine.
Technical analysis is not the best in this EA, since whatever outcome is only Buy should be placed. But that is beyond the point. The point is that it runs fine in demo, but fails in backtest.
Is this a bug in MT5?