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 16, 2024 8:10 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: problem ea
PostPosted: Tue Aug 27, 2013 3:31 am 
Offline

Joined: Fri Aug 23, 2013 2:11 am
Posts: 4
hello
i have problem for create this EA with one custom indicator
for buy the price is up of bband stop and other indicator of strategy is ok
for sell the price is down of bband stop and other indicator is ok
close buy or sell when the bband stop change direction after close candle.
thank you
Laurent


Attachments:
bband.mol [23.98 KiB]
Downloaded 424 times
BBands Stops.mq4 [5.53 KiB]
Downloaded 440 times
Top
 Profile  
 
 Post subject: Re: problem ea
PostPosted: Sun Sep 01, 2013 8:38 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
What is the problem? It does not trade? Please explain


Top
 Profile  
 
 Post subject: Re: problem ea
PostPosted: Mon Sep 02, 2013 2:13 am 
Offline

Joined: Fri Aug 23, 2013 2:11 am
Posts: 4
hi
i don't can build the ea. i don't join the files here, i write the files :
2;89;C:\Users\lolo\Documents\MetaTrader - Pepperstone break h1\experts\safe3.mq4;1946:1;'\end_of_program' - unbalanced left parenthesis
thank you


Top
 Profile  
 
 Post subject: Re: problem ea
PostPosted: Tue Sep 03, 2013 8:27 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
That error is for another ea called safe3. What is the error for bband.mol?


Top
 Profile  
 
 Post subject: Re: problem ea
PostPosted: Tue Sep 03, 2013 8:55 am 
Offline

Joined: Fri Aug 23, 2013 2:11 am
Posts: 4
it's same ea.
i have build with other name for second test


Top
 Profile  
 
 Post subject: Re: problem ea
PostPosted: Tue Sep 03, 2013 8:56 am 
Offline

Joined: Fri Aug 23, 2013 2:11 am
Posts: 4
the other files
2;89;C:\Users\lolo\Documents\MetaTrader - Pepperstone break h1\experts\bband.mq4;1946:1;'\end_of_program' - unbalanced left parenthesis


Top
 Profile  
 
 Post subject: Re: problem ea
PostPosted: Wed Sep 04, 2013 8:42 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
The problem is the custom indicator and the import.
Open the custom indicator in metaeditor to edit the code.
Look for this line:
extern int Signal=1; // Display signals mode: 1-Signals & Stops; 0-only Stops; 2-only Signals;
Delete the part after // so it looks like
extern int Signal=1;
Save it and hit F5
Then open the Strategy Builder and re import the custom indicator.
If I were you I would start with a couple of icons and test, then add more icons and test. If you do all at once then it is too difficult to find errors


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