Download MetaTrader 5
To add comments, please log in or register
Create interesting Forum topics concerning the automated trading!
Forex Trader
114375
Forex Trader 2009.12.23 18:36 

Hello

I have an Expert Advisor and I would like to know if is possible add a condition.I would like to know if I can change the lots of contract.My EA will start to play at 1,1 lots if the trade is in gain,next trade will be at 1,1 lots,if trade lost,next trade will be at 1,2 lots.In few words My EA will add a 0,1 lots at every trade lost and subtract 0,1 lots at every trade gained.

Can somebody tell me if its possible and maybe send me the code of that.

Forex Trader
114375
Forex Trader 2010.01.02 14:54  

Yes, this is easily possible. MQL is a fully featured and flexible programming language and provides the possibility for you to write pretty much any trading strategy and money management strategy you like.


CB

/
To add comments, please log in or register