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

Help with: Error: Can't read the Custom Indicator. Aborting!
http://www.molanis.com/forum/viewtopic.php?f=9&t=1446
Page 1 of 2

Author:  tk748 [ Sun May 27, 2012 10:14 am ]
Post subject:  Help with: Error: Can't read the Custom Indicator. Aborting!

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.

Author:  admin [ Mon May 28, 2012 9:05 am ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

Probably the custom indicator is not well written so the import fails. Please post your custom indicator (.mq4 file) to take a look

Author:  tk748 [ Mon May 28, 2012 4:31 pm ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

Hi thanks for responding -

I have attached a the mq4 file for the indicator.

Attachments:
Keltner Channel w_Alert.mq4 [3.99 KiB]
Downloaded 755 times

Author:  molanisfx [ Tue May 29, 2012 9:16 am ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

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";

Author:  tk748 [ Tue May 29, 2012 4:32 pm ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

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.

Author:  molanisfx [ Wed May 30, 2012 8:48 am ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

Unfortunately the software has a protection and only allows one trial and one installation.

Author:  tk748 [ Wed May 30, 2012 11:07 am ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

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 11701 times ]

Author:  tk748 [ Wed May 30, 2012 11:57 am ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

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 11690 times ]

Author:  molanisfx [ Wed May 30, 2012 2:53 pm ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

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

Author:  tk748 [ Wed May 30, 2012 5:38 pm ]
Post subject:  Re: Help with: Error: Can't read the Custom Indicator. Aborting!

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.

Page 1 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/