Market Validation Error: "File contains native code" - No DLLs used

 

Automatic translation applied by a moderator. On the English forum, please write in English.

Hello,

I get a validation error when uploading my expert advisor to the market: "The file contains original code. ........... is not suitable for the market" (version 113.5430, flags 700440).

I checked my source code and:

  1. I do NOT use any #import for DLL files.

  2. "Allow importing of DLL files" is disabled in MetaEditor settings.

  3. I use standard MQL5 functions for trading and network management.

What could be triggering the "native code" flag? Is it possible that some standard library (like Trade.mqh or Canvas.mqh) is causing this or is it related to a specific version/compiler?

Any guidance on how to fix this would be greatly appreciated.

Thank you!

 
Kiril Ivanov:

Automatic translation applied by a moderator. On the English forum, please write in English.

I get a validation error when uploading my expert advisor to the market: "The file contains original code. ........... is not suitable for the market" (version 113.5430, flags 700440).

I checked my source code and:

  1. I do NOT use any #import for DLL files.

  2. "Allow importing of DLL files" is disabled in MetaEditor settings.

  3. I use standard MQL5 functions for trading and network management.

This is because you compiled your code with MQL Cloud protection. Don't use it during compilation if you're going to upload the result to the market.