Hi guys,
I need help modifying an EA since i dont know anything about coding.
I get some preaty good results with it, but i need some changes made to money management part of the code.
I need coded a rule so that after each lost trade it calculates how many lots are needed to regain that loss based on the equity it had before the loss and the curent equity, and open the next trade with that amount of lots. But in such a way that the current money management code still works as it should.( progresion based on risk).
or
based on an external imput that we can set in pips, for ex. 5 pips profit. how many lots are needed to regain the loss in those 5 pips.
or
any other way to regain the previous loss.
After wich it should return to its normal risk management.
Im sorry for my bad english.
Thanks in advance,
EA here :
I need help modifying an EA since i dont know anything about coding.
I get some preaty good results with it, but i need some changes made to money management part of the code.
I need coded a rule so that after each lost trade it calculates how many lots are needed to regain that loss based on the equity it had before the loss and the curent equity, and open the next trade with that amount of lots. But in such a way that the current money management code still works as it should.( progresion based on risk).
or
based on an external imput that we can set in pips, for ex. 5 pips profit. how many lots are needed to regain the loss in those 5 pips.
or
any other way to regain the previous loss.
After wich it should return to its normal risk management.
Im sorry for my bad english.
Thanks in advance,
EA here :
Attached File(s)
universalMACrossEA.mq4
33 KB
|
190 downloads
"The trend is your friend, until the end, when it bends"