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 Sun May 12, 2024 8:00 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: create complex EA
PostPosted: Sat Jul 07, 2012 2:15 pm 
Offline

Joined: Fri Aug 13, 2010 2:18 pm
Posts: 77
Hi guys,

I plan to make complex EA but not sure if all requirements will be met in your product SB(to make it ).

what I want to do is to:
1-put condition say: if moving average crossover the high for current bar for EUR/USD && if moving average crossover the high for current bar for XAU/USD.

the issue is when i attach my EA. I should attach it in Eur/Usd chart or XAU/USD chart. is there any way to calculate the conditions event if i attach EA in Eur/Usd it will calculate the condition for XAU/USD.

if not how can i do it. please provide me this peice of code.

Thanks a lot.


Top
 Profile  
 
 Post subject: Re: create complex EA
PostPosted: Sat Jul 07, 2012 9:32 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Select the symbol XAUUSD from the symbol list (it's last pair) - this is available in most icons. You can also select EURUSD or leave current symbol since you will attach it to a EURUSD chart


Top
 Profile  
 
 Post subject: Re: create complex EA
PostPosted: Sun Jul 08, 2012 2:28 pm 
Offline

Joined: Fri Aug 13, 2010 2:18 pm
Posts: 77
Thanks a lot. everthing clear now. before i really confuse, i think if i attach my EA in EUR/USD chart. the EA will never call or calculate the condition for XAU/USD.

the next quetion is:

Can i calculate the condition for if moving average crossover the high for current bar for EUR/USD by using time frame one hour and put the other conditon (if moving average crossover the high for current bar for EUR/USD ) by using time frame 15 minutes in the same EA. if not, would you provide me this peice of code for that.

Thanks a lot.


Top
 Profile  
 
 Post subject: Re: create complex EA
PostPosted: Mon Jul 09, 2012 12:52 pm 
Offline

Joined: Fri Aug 13, 2010 2:18 pm
Posts: 77
guys,

until this time i did not recieved any update from you.

can i create one EA by using your prodct with multiple time conditions, exmples:

condition for EUR/USD with time frame 15 minutes && condition for EUR/USD with time frame one hour && condition for GPD/USD with time frame one hour....

All the a bove conditions will by in one EA........ is that possible.

Thanks


Top
 Profile  
 
 Post subject: Re: create complex EA
PostPosted: Mon Jul 09, 2012 1:16 pm 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Just for my own clarification... regarding "time conditions" we are discussing time frames and not the TIME block.

This is just a matter of changing the default Current Symbol to your desired pair symbol, and the default Current Timeframe to desired time frame within the TA block used to create your condition. I've even added multiple custom pair symbols to one EA in SB Pro and it works.

_________________
I'm not a programmer, but I play one on TV.


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