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 9:23 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Help with Simple EA
PostPosted: Wed Aug 18, 2010 1:59 pm 
Offline

Joined: Wed Aug 18, 2010 11:42 am
Posts: 3
Hi

I read you post of an exsample of a simple EA. I am trying something very simialer. I would like the EA to only buy/sell when the difference between the two MA are say 8 or more. How would I program the two TA's do do that ?

Thanks


Top
 Profile  
 
 Post subject: Re: Help with Simple EA
PostPosted: Wed Aug 18, 2010 2:00 pm 
Offline

Joined: Wed Aug 18, 2010 11:42 am
Posts: 3
Hi

Molanisfx replyed this:

The easiest way is to create a new indicator with the technical indicator builder equal to ma1-ma2 .. then use the strategy builder evaluating the condition.


Top
 Profile  
 
 Post subject: Re: Help with Simple EA
PostPosted: Wed Aug 18, 2010 2:41 pm 
Offline

Joined: Wed Aug 18, 2010 11:42 am
Posts: 3
Can I do this in the demo version ?

In the Indicatorbuilder, I click the TI. Fill in the data, then I click indicator (my ma1) then I click minus then indactor again (my ma2). Have I got this right ? ma1 - ma2


Top
 Profile  
 
 Post subject: Re: Help with Simple EA
PostPosted: Wed Aug 18, 2010 4:22 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Yes you can do it with the demo version. Pay attention to the modes.
Do not plot on top of the currency chart since ma1 - ma2 gives lower values than the currency price - use the separate graph option


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