EA needs some MM update

 

Hi everybody,

I'd need some help from you if possible... The basic theory that I'd like to backtest is the following: two EMAs, 9 and 20. A simple cross strategy but applying some tricky MM: stoploss = 10, TP1 = 5, getting out with 1/3 of the opened amount; TP2 = 15, another third of the money; trailing stop = 15, the amount left.

I have already downloaded an EA based on EMA crosses but the MM part needs to be modified according to the above rules.

Would somebody be so kind to help me in it? Please find the EA attached.

Many thanks in advance! Your help is highly appreciated!

Thanks,

Brekeke

Reason: