molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming
http://www.molanis.com/forum/

EA That Trades at Round Numbers
http://www.molanis.com/forum/viewtopic.php?f=6&t=6131
Page 1 of 1

Author:  gwconverse [ Mon Mar 09, 2015 1:47 pm ]
Post subject:  EA That Trades at Round Numbers

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.

Author:  admin [ Fri Mar 13, 2015 9:07 am ]
Post subject:  Re: EA That Trades at Round Numbers

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

Author:  gwconverse [ Sat Mar 14, 2015 10:17 pm ]
Post subject:  Re: EA That Trades at Round Numbers

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.

Author:  molanisfx [ Sun Mar 15, 2015 8:16 am ]
Post subject:  Re: EA That Trades at Round Numbers

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/