Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Publishing a Market product requires uploading an executable file, not source code. It does not care which programming "style" you use, be it OOP on any other, with or without the use of include files. It seems you don't quite understand how "compilation" works.
So in essence, you either have logic bugs or your EA does not properly apply the required conditions set out in the Market rules, regarding the validation process.
The checks a trading robot must pass before publication in the Market
MetaQuotes, 2016.08.01 09:30
Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by developers in their technical indicators and trading robots. An also shows how to self-test a product before sending it to the Market.
Publishing a Market product requires uploading an executable file, not source code. It does not care which programming "style" you use, be it OOP on any other, with or without the use of include files. It seems you don't quite understand how "compilation" works.
So in essence, you either have logic bugs or your EA does not properly apply the required conditions set out in the Market rules, regarding the validation process.
Fernando,
Thank you for your answer in such a short notice. I see what you mean. After taking some time to think about your answer and once again carefully going through my code, I think I have found a mistake. Once again thank you for your straight forward answer.
Best regards,
Stevan

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everybody,
I tried to upload new version of my EA to MQL5 market but this time code was written in object oriented style. I can't pass validation tests and there is a message that some checks I didn't pass. Specifically that checks are considering lot size. I have mechanisms that prevent that mistakes and they worked excellent in previous versions, only difference is that now they are in custom include files (.mqh) attached to my main EA code file (.mq5). My question is: Is it possible to upload EA with OOP style written code and will automatic validation algorithm recognize your custom .mqh files? If answer is yes, will other users be able to use EA without interference because that custom .mqh files are not in their standard include library? I hope I was clear explaining my question.
Thank you all in advance.
Stevan