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 Apr 28, 2024 3:37 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Questions
PostPosted: Fri Mar 29, 2013 9:21 pm 
Offline

Joined: Tue Mar 26, 2013 9:43 am
Posts: 9
1. How can i create a strategy like only buy when the stochastic crossing up is 20 to 50?

2. I have 6 ta, how can i create a strategy like when any 3 are true, the strategy go on?


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Tue Apr 02, 2013 9:14 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
1) if you want to trigger a trade if an indicator is between 20 and 50, you need 2 conditions; one for indicator>20 AND another one for indicator<50. Since both need to be active you need to join them by an AND so it looks like TA AND TA

2) if you want to trade if any TA is true, you need to join all of them with the icon OR


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Tue Apr 02, 2013 9:11 pm 
Offline

Joined: Tue Mar 26, 2013 9:43 am
Posts: 9
1. how can set over 20? i cannot find this setting

2. when i use "or", only 6 ta, 1 true, go on. i want a type is 6 ta, any 3 are true, then go on..


Thx your reply


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Wed Apr 03, 2013 10:05 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
1- compare the indicator to user defined number or price, you type 20

2- Any 3 of 6 is more complex since you need to build the logic for all options. I would use the mql icon to put each group of 3 conditions and then join it with more mql icons using an OR


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Fri Apr 05, 2013 8:33 am 
Offline

Joined: Tue Mar 26, 2013 9:43 am
Posts: 9
I got the software but cannot create a strategy that i wants.I only can do some parts that i want.

i can create a crossing strategy according to the example that can download in the site.

can you or admin create examples for me?( I mean point 1 and 2)

would you mind to creat a am example of "3 of 6 logic" using custom MQL trading conditions?'
(maybe am example of "2 of 4 logic " is good for our beginner.)


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Sun Apr 07, 2013 9:25 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Example 7 shows how to compare an indicator with a number (7. RSI indicator Overbuying/Overselling strategy)
If you want that we create the strategy for you, please contact our sales department to get a quote


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Thu Apr 11, 2013 5:29 am 
Offline

Joined: Tue Mar 26, 2013 9:43 am
Posts: 9
New questions

a strategy like THIS:

(condition 1 "and" condition 2 "and" condition 3 "and" condition 4) ---> this 4 conditions must be true

When that 4 conditions are true, i need to use below any condition to trade..

(condition A "or" condition B "or" condition c)--> any 1 condition is true is ok



The trade like
(condition 1 "and" condition 2 "and" condition 3 "and" condition 4) "and" (condition A "or" condition B "or" condition c)

I want to know that
(condition 1 "and" condition 2 "and" condition 3 "and" condition 4) USE "MQL" FUNCTION create "MQL 1"
(condition A "or" condition B "or" condition c) create another "MQL 2"

FINAL "MQL 1" AND "MQL 2".


Attachments:
sample.GIF
sample.GIF [ 11.39 KiB | Viewed 12934 times ]


Last edited by kk090909 on Thu Apr 11, 2013 8:17 am, edited 4 times in total.
Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Thu Apr 11, 2013 5:32 am 
Offline

Joined: Tue Mar 26, 2013 9:43 am
Posts: 9
OR USE simple task

Create 3 tasks in one strategy

1 . (condition 1 "and" condition 2 "and" condition 3 "and" condition 4 ) "and" condition A + buy

2 . (condition 1 "and" condition 2 "and" condition 3 "and" condition 4 ) "and" condition B + buy

3 . (condition 1 "and" condition 2 "and" condition 3 "and" condition 4 ) "and" condition C + buy

Which one is work and better? or both aren't work?


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Thu Apr 11, 2013 12:44 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
For new questions start a new thread
The logic depends on what you want
If you create separated logic to buy, if all of them are true at the same time you may get more than one order


Top
 Profile  
 
 Post subject: Re: Questions
PostPosted: Fri Apr 12, 2013 12:10 am 
Offline

Joined: Tue Mar 26, 2013 9:43 am
Posts: 9
The trade like
(condition 1 "and" condition 2 "and" condition 3 "and" condition 4) "and" (condition A "or" condition B "or" condition c)

I want to know that
(condition 1 "and" condition 2 "and" condition 3 "and" condition 4) USE "MQL" FUNCTION create "MQL 1"
(condition A "or" condition B "or" condition c) create another "MQL 2"

FINAL "MQL 1" AND "MQL 2".

do you mean this method is work?

my target is
the background is true any condition to buy
(condition 1 "and" condition 2 "and" condition 3 "and" condition 4) "and" (condition A "or" condition B "or" condition c)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

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