Simple money management rule
-
Dear All, please excuse me if this type of question already there in forum because I didn't able to find it.
Well I want to set following simple rules of MM in my EA. Can some one help me out. I generally trade with single order. (not basket orders)
-
Close trade when loss (in dollars) is equal to 2% of account balance.
-
Close trade when profit (in dollars) is equal to 4% of account balance.
-
Calculate lot size based on percentage of account balance. e.g. 0.1 lot when balance is $100, or 0.2 for $200 and so on.
Thanks a lot for making this wonderful software.
-
-
Hi! Here's an example project with the functions you need

https://fxdreema.com/shared/k8meOTbceAnd here's my arrogant opinion:
You should use less leverage, even 0.01 lot per 100 usd is enough leverage to make you richer than Warren Buffet after your career -
Well, thanks for the efforts. But, when set 'No SL' and 'No TP' in 'buy now' block, the EA didn't work as per the criteria no.1&2.
Please Check.
However to satisfy 3rd criteria, I discover 'Risk of % Balance' in MM to fulfill my requirement.
Thanks
-
Some expert pls reply.
-
@vikasone24

Here's my backtest:

-22/1000 = -2%
43/978 = +4%It works, but very roughly (because of spread, commission, swap, slippage and what not...)
To get a money-based SL, check this topic:
https://fxdreema.com/forum/topic/8169/how-can-a-sl-based-on-currency-be-set-up?page=1I'm probably missing some obvious solution here, I'm sorry if thats the case
