I have been testing some Expert Advisor on the BTCUSD H1 pair on Alpari-MT5-Demo account. Something weird happens to some of them during October 2017 (from July 2017 as well) and I cannot figure out what is the problem. In particular, I see that the Advisors do not place any trade, not during backtesting, nor during optimization. (Screenshot)
In contrast, during the other months, these advisors place hundreds or even thousands of trades.
The default Advisor ExpertMACD, for example, is one falling under the "no trades placed" category while ExpertMAMA does place trades.
I checked the tick data and all looks fine. Am I missing something? Why does this happen?
Any insight is really appreciated. Thanks.
Yes you need to check filling mode.
Thanks Marco for your answer.
Unfortunately, I am quite a noob with MQL5 and I am having problems to adapt your code for the default ExpertMACD, for example. Could you please be so gentle to show me how would you properly modify ExpertMACD?