Hi all.
I did a simple H4 and daily EA based on moving averages. It works on many well tranding pairs (GBP,JPY, CHF; mainly) It's quite promising and sometime I see until 3000/4000$ of gain in my 10K cent account.
What I need to improve is partial closures.
For example I want that
-when 100 pips are done (target1) EA closes 20% of the positions
-when 200 pips are done (target2) EA closes 20% of the positions
-when 300 pips are done (target3) EA closes 20% of the positions (and puts stop loss at break even possibly)
-when 400 pips are done (target4) EA closes 20% of the positions
I saw that some EA specialized in partial closure are available (not many to say the truth and some are also for sale). Some other are working very bad.
So is there Anybody which could write down two lines of code (mq4) to help me to do that by mysel ?
I'de be very grateful. Any other suggestion is good!
I did a simple H4 and daily EA based on moving averages. It works on many well tranding pairs (GBP,JPY, CHF; mainly) It's quite promising and sometime I see until 3000/4000$ of gain in my 10K cent account.
What I need to improve is partial closures.
For example I want that
-when 100 pips are done (target1) EA closes 20% of the positions
-when 200 pips are done (target2) EA closes 20% of the positions
-when 300 pips are done (target3) EA closes 20% of the positions (and puts stop loss at break even possibly)
-when 400 pips are done (target4) EA closes 20% of the positions
I saw that some EA specialized in partial closure are available (not many to say the truth and some are also for sale). Some other are working very bad.
So is there Anybody which could write down two lines of code (mq4) to help me to do that by mysel ?
I'de be very grateful. Any other suggestion is good!