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 Sat May 18, 2024 4:28 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Compiler execution failed
PostPosted: Tue Sep 09, 2014 7:47 pm 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
Hello Molanis,

I was facing an error with the attached Indicator, an error message was: MQL compiler execution failed. May I know what's wrong with this Indicator and can it be use?

Thank you!


Attachments:
Ultimate Arrows.mq4 [4.32 KiB]
Downloaded 357 times
Top
 Profile  
 
 Post subject: Re: Compiler execution failed
PostPosted: Tue Sep 09, 2014 10:30 pm 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
I attached errors file as well.


Attachments:
Doc1.pdf [152.6 KiB]
Downloaded 441 times
Top
 Profile  
 
 Post subject: Re: Compiler execution failed
PostPosted: Wed Sep 10, 2014 9:15 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Please post the .mol strategy file, and the expert advisor description including an explanation of the signals
Mind you that type of indicators looks good on paper and in historical data. On live data they repaint up to 3 , 4 bars so they are not reliable


Top
 Profile  
 
 Post subject: Re: Compiler execution failed
PostPosted: Wed Sep 10, 2014 7:19 pm 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
Thank you for your reply!

I want the signal 0 for EA to buy and signal 1 to sell.


Attachments:
Ultimate Arrows EA.mol [7.78 KiB]
Downloaded 374 times
Top
 Profile  
 
 Post subject: Re: Compiler execution failed
PostPosted: Fri Sep 12, 2014 4:58 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
What is signal 0/1? what do you see on the screen? We need to know buy/sell using what you see on the screen


Top
 Profile  
 
 Post subject: Re: Compiler execution failed
PostPosted: Sun Sep 14, 2014 7:56 am 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
When arrow pointing down is for sell and arrow pointing up is for buy.


Top
 Profile  
 
 Post subject: Re: Compiler execution failed
PostPosted: Tue Sep 16, 2014 8:04 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You need to make changes to the indicator
Change:
extern int ExtDepth=115;//105;//21;
extern int ExtDeviation=130;//120;//24;
extern int ExtBackstep=80;//70;//14;

to
extern int ExtDepth=115;
extern int ExtDeviation=130;
extern int ExtBackstep=80;

Then it will be imported correctly

I think that indicator plots the arrow or has a cero value, you need to test that. Also, it probably repaints which causes many false signals. My experience with zigzag is that it repaints the last 3 bars so they are difficult to use in live trading.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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