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 12:08 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Seperate iADX
PostPosted: Sat Feb 13, 2010 11:04 pm 
Offline

Joined: Thu Feb 11, 2010 3:51 am
Posts: 4
Are you able to split +DI from -DI for an indicator builder? If so do you know the formula to enter into the indicator builder?

I would like to be able to use iADX in the EA Builder but I am not interested in the index, only +D and -D.

Thanks for the good work.


Top
 Profile  
 
 Post subject: Re: Seperate iADX
PostPosted: Sun Feb 14, 2010 8:54 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Use the Strategy Builder. On a TA block select Average Directional Movement Index - iADX. On Mode there are 3 options:
MODE_MAIN Base indicator line.
MODE_PLUSDI +DI indicator line.
MODE_MINUSDI -DI indicator line.

Molanis Team


Top
 Profile  
 
 Post subject: Re: Seperate iADX
PostPosted: Sun Feb 14, 2010 9:06 pm 
Offline

Joined: Thu Feb 11, 2010 3:51 am
Posts: 4
Thank you.

I have tried that, and for example when +DI is higher than -DI I set to buy but what happens is it continuiously buys for every bar when +DI is higher than -DI.

I have tried other combinations as well and what seems to happen is linking of orders between buying and selling. There does not seem to be a pause to assess the conditions then trade on a signal.

I may have a setting wrong.

Your thoughts,,,


Top
 Profile  
 
 Post subject: Re: Seperate iADX
PostPosted: Sun Feb 14, 2010 9:15 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
On START make the max number of open positions to one. Verify that you don't trade on every tick.
+DI > -DI will give you lots of signals. You may add another TA with a second condition and use an AND.

Molanis Team


Top
 Profile  
 
 Post subject: Re: Seperate iADX
PostPosted: Sun Feb 14, 2010 9:59 pm 
Offline

Joined: Thu Feb 11, 2010 3:51 am
Posts: 4
I have added some other indicators and have achieved some small periods where no trading takes place. Because the difference is 'higher than' or 'lower than' the result can infinite until the next cross or merge with ADX.

I would like to see 'Cross' and 'Difference Of' added to the center selection. Periods cannot achieve the same although necessary and required.


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