Some Expert Advisor is not placing any order in October 2017 BTCUSD, even during optimization by EA

To add comments, please log in or register
alec_djinn
567
alec_djinn  

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.

Marco vd Heijden
Moderator
8168
Marco vd Heijden  

Yes you need to check filling mode.

Please see: https://www.mql5.com/en/forum/217398/page2#comment_5914643
Unsupported filling mode again
Unsupported filling mode again
  • 2017.10.14
  • www.mql5.com
I know that this topic has been discussed more than hundred of times. But still...
alec_djinn
567
alec_djinn  

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?

alec_djinn
567
alec_djinn  
It is still not clear why ExpertMACD works on the very same pair for all the months but a few. 
alec_djinn
567
alec_djinn  
Playing around with the optimization inputs of ExpertMACD I have noticed that removing the StopLoss  (set it to 0) will solve the problem. Although still, it is unclear why. With StopLoss I get [invalid stops]. Again, only on some selected months.
To add comments, please log in or register