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 Thu May 02, 2024 10:55 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Sun May 27, 2012 10:14 am 
Offline

Joined: Sun May 27, 2012 9:51 am
Posts: 26
Greetings All,

I am getting the message "Error: Can't read the Custom Indicator. Aborting!" when I try to import a custom indicator into expert advisor builder.

I am using the mq4 file not the ex4 file. This indicator is working fine on my charts and compiles in MetaEditor with no errors or warnings.

Can anyone tell me how to fix the indicator so it can be used by Molanis Expert Advisor Builder?

Thank you for any help you can give.


Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Mon May 28, 2012 9:05 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Probably the custom indicator is not well written so the import fails. Please post your custom indicator (.mq4 file) to take a look


Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Mon May 28, 2012 4:31 pm 
Offline

Joined: Sun May 27, 2012 9:51 am
Posts: 26
Hi thanks for responding -

I have attached a the mq4 file for the indicator.


Attachments:
Keltner Channel w_Alert.mq4 [3.99 KiB]
Downloaded 719 times
Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Tue May 29, 2012 9:16 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You need to comment some variables that are not variables but notes for the user
Take this
extern string note1 = "method is ma mode..0=sma..1=ema";
extern string note2 = "2=smma..3=lwma";
and change it to
//extern string note1 = "method is ma mode..0=sma..1=ema";
//extern string note2 = "2=smma..3=lwma";


Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Tue May 29, 2012 4:32 pm 
Offline

Joined: Sun May 27, 2012 9:51 am
Posts: 26
Thanks for the tip. I have done as you suggested. Unfortunately I had some other issues with mismatched data errors and in the process I reinstalled Molanis EA Builder and as a result the software thinks my trial period is over and won't let me continue using it. I have 7 days remaining on the trial and am asking Molanis for some help with continuing the trial.

When I get started again I will see of your suggestion has solved the problem.

I have to say that I really like this product. When it worked the first time I created an EA I found it to be a very useful tool for testing trading set ups. If I can get to the bottom of this and the data error issue I will gladly make the purchase.

I hope you can help.


Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Wed May 30, 2012 8:48 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Unfortunately the software has a protection and only allows one trial and one installation.


Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Wed May 30, 2012 11:07 am 
Offline

Joined: Sun May 27, 2012 9:51 am
Posts: 26
I am continuing to forward test the EA I was able to make with my 3 day trial. I am getting the following error message when forward testing:

2012.05.30 10:18:57 Keltner EA EURUSD,M1: M-ERROR: Could not open new position. Error=130 invalid stops. Order Info : Order Type=OP_SELL. Symbol=EURUSD. Lot Size=1.6. Price=1.2404. SL=1.2429. TP=1.2389.

This looks like my stops are entered as price points. In the EA settings my stops are entered in pips, like in the attached jpeg.

Do I need to enter the stops as price points (which is very inconvenient) or am I correct in entering in pips. Perhaps this is the root of all the issues I'm having???


Attachments:
Inputs Keltner EA.JPG
Inputs Keltner EA.JPG [ 96.32 KiB | Viewed 11626 times ]
Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Wed May 30, 2012 11:57 am 
Offline

Joined: Sun May 27, 2012 9:51 am
Posts: 26
After looking further it looks like the problem is not the price point/pip issue as the price point of the stops is indeed 15 and 25 as entered.

However, I have a 5 digit broker and the price point of the stops are listed in 4 digit format. Could this be the problem? Attached is a jpeg of the input window showing "Five Digits" setting. Perhaps this is not the correct setting???


Attachments:
Five Digit=true.jpg
Five Digit=true.jpg [ 78.35 KiB | Viewed 11617 times ]
Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Wed May 30, 2012 2:53 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Please read the faq - at molanis.com/support/faq error 130 is there.
You are using 5 digits - the print out in mt4 prints 4 digits by default so the issue are not the number of digits


Top
 Profile  
 
 Post subject: Re: Help with: Error: Can't read the Custom Indicator. Aborting!
PostPosted: Wed May 30, 2012 5:38 pm 
Offline

Joined: Sun May 27, 2012 9:51 am
Posts: 26
OK, I read the FAQ about error 130. As a result I turned off the "Trade with SL and TP". Now the EA is making trades.

Thanks for the help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next

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