I've looked everywhere but can't find what I need. I'm looking for a trailing stop EA that sets a trailing stop in total pips for all positions. I have attached the swiss army ea which is good and will close all positions if a certain total pip loss or pip gain is achieved but I would like to have it also trail the total pips you are willing to lose.
Let me give an example to clarify what I mean.
I open a basket of 8 trades. The ea totals up the pips gained or lost so with the spreads I'm down let's say 30 or 40 pips. If the trades go against me by 300 pips in total then the EA will close down all the positions. If the trades go into profit by 200 pips then the EA will have trailed the max pips I am willing to lose to 100 pips. So, as the trade gets into profit, lets say 800 pips up then if it goes against me then it will close the whole basket down for a gain of 500 pips total.
I hope the above makes sense and that someone knows of something like this or would be willing to help?
Thanks.
Let me give an example to clarify what I mean.
I open a basket of 8 trades. The ea totals up the pips gained or lost so with the spreads I'm down let's say 30 or 40 pips. If the trades go against me by 300 pips in total then the EA will close down all the positions. If the trades go into profit by 200 pips then the EA will have trailed the max pips I am willing to lose to 100 pips. So, as the trade gets into profit, lets say 800 pips up then if it goes against me then it will close the whole basket down for a gain of 500 pips total.
I hope the above makes sense and that someone knows of something like this or would be willing to help?
Thanks.
Attached File(s)
Swiss_Army_EA_v1.361.mq4
19 KB
|
1,385 downloads