molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sun Apr 28, 2024 4:17 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: .ex4-file / .mql file
PostPosted: Mon Oct 22, 2012 8:18 am 
Offline

Joined: Thu Oct 18, 2012 3:37 am
Posts: 4
i have developed an easy indicator for testing it.
High[i]+(0,0020)
this indicator runs in the chart EURUS correct.

Now, i'd like to use it for an ea, but i receive a false information, like "indicator isn't programed well", when i'm importing the indicator as icustom indicator.

As far as i understand from the forum here, it looks like i'll need a pro version to convert the indicator
OR
i have to set the allocations manually.

how can i do this for this easy indicator?

i guess it's easy, but my trials failled, so some help would be great!!
thx


Top
 Profile  
 
 Post subject: Re: .ex4-file / .mql file
PostPosted: Mon Oct 22, 2012 10:05 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
If you created it using the indicator builder it will create the mq4 file (if you have a pro version) and the .ex4 file (for pro and standard)

For pro versions, just click the import button and it will be fine
For standard versions, you need to add it manually. The import button will not work because you need the mq4 file for that.
To add it manually write the indicator name in the custom field surrounded by "" . When you generate the indicator code the builder tells you the signals - use this to select the mode

If you need further help attach the .mol and .moi files and a description of the strategy


Top
 Profile  
 
 Post subject: Re: .ex4-file / .mql file
PostPosted: Mon Oct 22, 2012 10:41 am 
Offline

Joined: Thu Oct 18, 2012 3:37 am
Posts: 4
i'd do it, but now i receive the following message:
*you can not open, because it was built with an older version*

but: i did it yesterday, with version 3.15 and i'm still running this version.

what can i do?


Top
 Profile  
 
 Post subject: Re: .ex4-file / .mql file
PostPosted: Mon Oct 22, 2012 10:53 am 
Offline

Joined: Thu Oct 18, 2012 3:37 am
Posts: 4
... created the ea again, and not i receide this error message:

2;75;C:\Program Files (x86)\MetaTrader 4 Admiral Markets AS\experts\st_neu.mq4;368:77;'i' - variable not defined
2;75;C:\Program Files (x86)\MetaTrader 4 Admiral Markets AS\experts\st_neu.mq4;378:77;'i' - variable not defined

thx for assistance!


Top
 Profile  
 
 Post subject: Re: .ex4-file / .mql file
PostPosted: Mon Oct 22, 2012 11:08 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
You might try reinstalling MT4, SB, and TIB in your C:\ directory. Running all these together in (x86) created a file permission nightmare for me. And yeah, I know it's there for security reasons. I guess it really depends on who has access to your machine, your firewall quality, etc. Hope this helps.

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009