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 Mon May 13, 2024 2:12 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Multitimeframe EA
PostPosted: Wed Nov 07, 2012 4:07 am 
Offline

Joined: Mon Oct 22, 2012 12:22 pm
Posts: 3
Good day

I am using 4hour chart and 15min chart to trade. On the 4hour chart I use RSI 14. On the 15min chart I use two MA's(slow MA and Fast MA. When (RSI > 50) I enter long position when the fast MA > slowMA on the 15min chart. and vice versa.

How do I create such a multitime frame EA.
Secondly I want EA to buy in one direction only. eg If RSI 14 > 50 buy positions only on the 15 min chart as long as RSI is above 50
If RSI 14< 50 sell positions only on the 15 min chart as long as RSI is below 50
The EA that I have it open and close positions at the same time(close sell and open buy and vice versa)
And lastly how do I convert XML file to mol file
I will appreciate if you can help.


Top
 Profile  
 
 Post subject: Re: Multitimeframe EA
PostPosted: Tue Nov 13, 2012 9:52 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Sorry for the late reply. The moderator missed your post.
The examples in the examples pages will help you - go to example 0 and get all of them in a zip file.
If you try to get just one do right click - save as This will help you to get it in a .mol and not an .xml file

To create a multitime frame EA, in the TA icons select each time frame when building the trading condition.
To use the RSI compare it with a user defined number

Please try to get the examples and let me know if you need more help


Top
 Profile  
 
 Post subject: Re: Multitimeframe EA
PostPosted: Thu Nov 15, 2012 11:33 am 
Offline

Joined: Fri Feb 04, 2011 9:48 pm
Posts: 114
Location: Canada
Hello Velly

building a multi-time frame ea is very easy actually. in the TA block just set the time frame that you want the indicator to apply to. Then you can set it on a lower time frame in order for the program to check the conditions more frequently -- this might give you a more accurate entry and exit.

If you need any more help, let me know.

_________________
Building a future with automated trading


Top
 Profile  
 
 Post subject: Re: Multitimeframe EA
PostPosted: Tue Nov 20, 2012 9:34 am 
Offline

Joined: Mon Oct 22, 2012 12:22 pm
Posts: 3
Hi ,thank you very much for the help my multi time EA is working perfect.
Thanks once more.


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