Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Hello.
I have an EA that manage my trades.
This EA has two steps of SL, and the max SL allowed.
When first target is reached, the first stop movement.. When the second target is reached, second stop movement. (it can be positive or negative values)
I can also set the Max. Stop Loss allowed in the trade, in case of not reaching even the first target.
I would like to set, together with these stop losses steps, a pending order, sell stop / buy stop, in the proper case, but with customizable number of lots and if possible, distance of the stops.
It must be, I think, stops and pending order together (or almost together), in case to not just open a counter order and hedge my trade.
When the stop moves, pending order must to move too, in case of not keep both orders (modifying order).
Some items must be noted.
* this EA has a 'close lots' function that can close all or part of my trade in each step, but it can be ignored, I don't use this..
* I can set break even with some increments, 1 pip, 2 pips.. and so on.
* In the Max. Stop loss won't be a pending order. If I stopped in the Max. SL, the trade is finished and I will wait for the next opportunity.. Only in the 2 steps will be a pending order.
The complete specification on how EA works is attached. (copied directly of the original developer specifications)
An image / screen showing how the 'inputs' looks is attached.
The ManageTP_v2.4 is also attached.
It is all in the .rar file
Thanks in advance, if some thing was not understood, just let me know and I'll try to explain.