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 Tue May 14, 2024 5:48 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: AND and OR combination
PostPosted: Sun Jan 26, 2014 8:45 pm 
Offline

Joined: Tue Dec 14, 2010 11:44 pm
Posts: 50
I want to use the OR logic on four TAs and one TA like this
if (A>B or B>C or C>D or D>E) and if (X>Y) then
BUY 2 lots
Trailing stop 20 pips
Take profit 98 pips
Stop loss 40 pips...
I need help with AND and OR combination.

Thanks for your help.


Top
 Profile  
 
 Post subject: Re: AND and OR combination
PostPosted: Mon Jan 27, 2014 10:24 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
That is call nested conditions - will be available in the next version using the current icons plus the new ea builder icon
You will use the ea builder to create (A>B or B>C or C>D or D>E) . Will have a new beta next week.


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