Ok, first of all I use this EA for Grid Trading. This Trailing Stop EA works very good, executing the TS fast and perfectly.
My setup is 2 charts, one chart with the Grid EA and another chart with the Trailing Stop EA.
My question is, can it be possible to add a Max Loss function to the TS EA?
For example, the Grid EA makes the grid with pending orders, then as soon as an order is executed, the Trailing Stop EA starts monitoring the trades and as soon as they are in profit, the TS kicks in and steps however you like (1, 5, 10 etc. pips).
I would like for the TS EA to put a Max Loss or a Stop Loss on all open trades while they are in negative pips, therefore the grid would not be left hanging with killer open trades and closing them if they reach the SL. Then as soon as trades are in profit, the normal code of the TS kicks in.
The Grid EA has a Stop Loss function which doesn't work and I can't modify orders manually, so that is why I'm asking if this much wanted function can be added to the other EA.
Can this be done? If it can't be done, is there another way to do what I am trying to accomplish?
My setup is 2 charts, one chart with the Grid EA and another chart with the Trailing Stop EA.
My question is, can it be possible to add a Max Loss function to the TS EA?
For example, the Grid EA makes the grid with pending orders, then as soon as an order is executed, the Trailing Stop EA starts monitoring the trades and as soon as they are in profit, the TS kicks in and steps however you like (1, 5, 10 etc. pips).
I would like for the TS EA to put a Max Loss or a Stop Loss on all open trades while they are in negative pips, therefore the grid would not be left hanging with killer open trades and closing them if they reach the SL. Then as soon as trades are in profit, the normal code of the TS kicks in.
The Grid EA has a Stop Loss function which doesn't work and I can't modify orders manually, so that is why I'm asking if this much wanted function can be added to the other EA.
Can this be done? If it can't be done, is there another way to do what I am trying to accomplish?
Attached File(s)
TrailingStop.mq4
7 KB
|
197 downloads