Download MetaTrader 5

MQL4 code error - Is not expert and cannot be executed

To add comments, please log in or register
1004
11
1004  

Hi,


I created a sample EA but it keeps getting the error "... is not expert and cannot be executed.".

Any thoughts?


Thanks,


Young

Ubzen
5394
Ubzen  
1004:

I created a sample EA but it keeps getting the error "... is not expert and cannot be executed.".

Any thoughts?

Remove the OnStart(). Use start instead.

Make sure that the expert is within expert folder instead of Scripts or Indicator.

Alain Verleyen
Moderator
32410
Alain Verleyen  
1004:

Hi,


I created a sample EA but it keeps getting the error "... is not expert and cannot be executed.".

Any thoughts?


Thanks,


Young

Wlecome to mql4.com forum,

You can also check that you don't have a line like :

#property show_inputs

If yes, you can remove it, compile and try again.

Daniel Petrovai
440
Daniel Petrovai  
1004:

Hi,


I created a sample EA but it keeps getting the error "... is not expert and cannot be executed.".

Any thoughts?


Thanks,


Young


Makes it easier to get help if you post the code. Else, we are just guessing.
To add comments, please log in or register