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/ |
|
Error, Please help http://www.molanis.com/forum/viewtopic.php?f=2&t=392 |
Page 1 of 1 |
Author: | kwng [ Wed Jun 29, 2011 8:30 am ] | |||
Post subject: | Error, Please help | |||
Hi, Molanis, I would like to use custom indicator to create an EA, when I Generate MQL4 code, it showed that MQL compiler execution failed. On The error tab it shown that 1 error. The error message was \end of _program- unbalanced left parenthesis. May I know how to solved this problem? Thank you for your help.
|
Author: | molanisfx [ Wed Jun 29, 2011 9:12 am ] | ||
Post subject: | Re: Error, Please help | ||
An error like end of _program- unbalanced left parenthesis is a sign that the import of the custom indicator failed. Most likely the indicator is not well written so the import function cannot get all variables and signals. In your case the indicator is not well written so the import could'n recognize one variable. I made a quick change in the indicator to make it work. Please use the attached indicator.
|
Author: | kwng [ Thu Jul 07, 2011 8:41 am ] |
Post subject: | Re: Error, Please help |
Hi, Molanis, Currently, I have another Indicator want to create an EA, but I am facing the same problem as this one, The error message was \end of _program- unbalanced left parenthesis. May I know how are you modified my previous Indicator? because I won't be able to see any difference between the original and modified indicators you have modified it for me. May I know how to solved this kind of error? Thank you. |
Author: | molanisfx [ Thu Jul 07, 2011 10:56 am ] |
Post subject: | Re: Error, Please help |
90% of the indicators need a simple edit: Add the indicator to a chart and look at the inputs. This will give you an idea of the variables involved. Open the indicator with the metatrader editor (metaeditor). Look for variables definitions and clean them, do not leave comments after the variables i.e. extern int period=15; //period extern int method=3; //method extern int price=0; //enter a number should be changed to extern int period=15; //period extern int method=3; //method extern int price=0; //enter a number To fix the other 10% you need coding |
Author: | kevinb1914 [ Wed Sep 05, 2012 10:13 am ] |
Post subject: | Re: Error, Please help |
I did not receive an authorization message stating that I am allowed to post yet until I am approved. I recently signed up and posted a reply, but I have not received the message stating that it was posted. Why is there a delay? |
Author: | admin [ Thu Sep 06, 2012 9:02 am ] |
Post subject: | Re: Error, Please help |
I think you are off topic here. It's better to start a new thread for every new question. Anyway the forum gets lots of spam so a moderator has to review manually the first post and aprove it - we do not do this every day |
Author: | kevinb1914 [ Fri Sep 07, 2012 8:20 am ] | ||
Post subject: | Re: Error, Please help | ||
Hi Molinas, I am trying to create an EA using the attached indicator, which gives a digital reading using every tick. I keep getting the same error when trying to load the indicator. Can the strategy builder work for this indicator?
|
Author: | molanisfx [ Fri Sep 07, 2012 8:36 am ] |
Post subject: | Re: Error, Please help |
Please start a new thread with your question |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |