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 Apr 27, 2024 9:57 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: EA That Trades at Round Numbers
PostPosted: Mon Mar 09, 2015 1:47 pm 
Offline

Joined: Mon Feb 02, 2015 11:49 pm
Posts: 2
Hi guys. This is my first post, and I'm a complete newbie to writing EAs and Indis, so I hope this isn't a stupid question. I've been trying to find the answer to this on here and on the web for the last few weeks and I can't seem to figure it out.

Part of the strategy I'm writing is to trade at key levels: 00, 20, 50, 80. (ie. 1.2120 or 1.3500). Can anyone point me in the right direction as to how I can do this? Am I able to do this with Molanis?

Any help would be really appreciated.


Top
 Profile  
 
 Post subject: Re: EA That Trades at Round Numbers
PostPosted: Fri Mar 13, 2015 9:07 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
In the icons look for the options user defined number. There you can set the levels.
There are some examples in the examples page that use levels
See
http://www.molanis.com/products/molanis ... rs-for-mt4
CHeck 7. RSI indicator Overbuying/Overselling strategy it uses levels


Top
 Profile  
 
 Post subject: Re: EA That Trades at Round Numbers
PostPosted: Sat Mar 14, 2015 10:17 pm 
Offline

Joined: Mon Feb 02, 2015 11:49 pm
Posts: 2
If I want it to trade at every 20 level, ie. 1.2320, 1.2420, 1.2520, do I have to enter each price in a separate TA box? That's the part I'm having trouble with. Thank you for your reply.


Top
 Profile  
 
 Post subject: Re: EA That Trades at Round Numbers
PostPosted: Sun Mar 15, 2015 8:16 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
yes, you canot set every 20.
You could use a variable and change the value by 20 but that requires to define the variable in the mt4var icon and in the mql icons change the variable value. If you are new to the software is easier to define the levels


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