Download MetaTrader 5
To add comments, please log in or register
Searching on MQL5.community is performed in all sections. Try it!
1004
11
1004 2014.03.04 01:03 

Hi,


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

Any thoughts?


Thanks,


Young

Ubzen
Moderator
5394
Ubzen 2014.03.04 01:09  
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
28606
Alain Verleyen 2014.03.04 09:06  
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 2014.03.05 00:16  
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