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 Sat May 11, 2024 7:49 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Simple iADX crossover does not work
PostPosted: Sun Sep 12, 2010 3:51 pm 
Offline

Joined: Sun Sep 12, 2010 1:42 pm
Posts: 2
Hi I am just trying to create a simple ADX crossover to build into a bigger system but I cannot get any consistency on the crossover in back testing.
Basically I am just buying when this occurs.

Bar1 [ Plus DI > Minus DI ] && Bar2 [ Plus DI < Minus DI ]

However it seems that this simple statement does not produce a buy when the ADX crosses, any idea?

I've attached the Molanis EA file

Thanks for the help


Attachments:
M_ADX.mol [5.6 KiB]
Downloaded 444 times
Top
 Profile  
 
 Post subject: Re: Simple iADX crossover does not work
PostPosted: Mon Sep 13, 2010 3:32 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
That logic will give you most of the crosses. After changing the max number of positions I backtested it and looks fine. Try visual testing and you will see why some crosses are missed. Think about the cases when it goes up and then down.
MT4 backtesting is just ok, it's not perfect, it has some issues. You cannot backtest muti-currency - multi timeframe eas.
[Edited by admin on March 11, 2014] Now you can backtest multi timeframe eas - see viewtopic.php?f=3&t=6030


Top
 Profile  
 
 Post subject: Re: Simple iADX crossover does not work
PostPosted: Wed Sep 15, 2010 4:25 pm 
Offline

Joined: Sun Sep 12, 2010 1:42 pm
Posts: 2
Thanks you are right it does work, I looks like the first couple trades might be a little bit off.

Great support and product

Dan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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:  
Powered by Molanis © 2009