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 Apr 29, 2024 2:16 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Specific timeframe Hi Low EA
PostPosted: Thu Sep 22, 2011 1:48 pm 
Offline

Joined: Thu Sep 22, 2011 1:39 pm
Posts: 2
Hi. Hoping somebody with a little more knowledge can help me out here!

I am currently trying to create an EA for MT5 with the following conditions:

1. The EA can identify the High and Low of a 6 hour period from 0000 to 0600 GMT,
2. Trading can only be within the time of 0700 to 1300 GMT,
3a. If the current price is equal to the high (within above trading hours) a long order is made,
3b. If the current price is equal to the low (within above trading hours) a short order is made,
4. Should either of the above orders be made, the opposite order is automatically cancelled.
5. Looking to have a simple 20 pip SL & TP

I'm useless at creating EAs so any help would be greatly appreciated!


Top
 Profile  
 
 Post subject: Re: Specific timeframe Hi Low EA
PostPosted: Thu Sep 22, 2011 2:09 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Quote:
1. The EA can identify the High and Low of a 6 hour period from 0000 to 0600 GMT,

You need to get point 1 from a custom indicator. You cannot build it with the current version.


Top
 Profile  
 
 Post subject: Re: Specific timeframe Hi Low EA
PostPosted: Thu Sep 22, 2011 2:24 pm 
Offline

Joined: Thu Sep 22, 2011 1:39 pm
Posts: 2
Thanks for the quick reply.

Is this possible with the Molanis CI Creator? All I seem to be able to create with high/lows is a moving line - I'm looking for the high and low from a set timeframe which would show 2 straight lines as support/resistance.


Top
 Profile  
 
 Post subject: Re: Specific timeframe Hi Low EA
PostPosted: Thu Sep 22, 2011 7:36 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
It's not possible with the current version. We already have a TIME icon for the MT4 option that will add to the MT5 version before year end.


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