작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
I am using a Modified Version of "Multi purpose Trade manager" and I need to further improve it and fix some bugs and overlapping functionalities inserted from the last programmer.
Below the needed changes, the specifications will have also Print Screens
the First tests by the developer before releasing for my tests are a MUST.
DO not release for testing before testing that the basic works.
----------------------------
The EA is able to manage single Positions or a Basket of positions (see logic)
All the functionalities must work on Basket Trades; the Single positions settings/Code can be eliminated as "basket trade" works also with 1 Position.
1 - Fix "Manage this pair only" to apply the EA to the installed in the Chart only
2 - the EA has overlapping settings/code: "Manage by Pair" that works properly but it has only 5 Pairs; "Pairstomanage" has the right design by but it doesn't work.
the "Manage by pairs" works perfectly in conjunction with MagicNumber, ByTicketNumber,Trade comment therefore:
a) delete "Pairstomanage" code/settings/inputs
b) Change the Input type of "Manage by pair" with List of pairs as "AUDJPY, AUDUSD, EURUSD, etc) and not with single Inputs ; (the same logic of pairstomanage" that unfortunately doesn't work(
All the functionalities must work on Basket Trades - please test before releasing for my tests.
3 -- Disable/delete the codes/inputs for single trades from "BI1" to "Basket Trade Settings"
All the functionalities must work on Basket Trades - please test before releasing for my tests.
4 - Basket trade issue: when a position is closed manually, reset and Recalculate the Basket sl, TP, TS.
the EA identifies perfectly the basket Profit and "locks the Profit" according to "BAsket Jumping Stop or BAsket trailing Stop" settings.
Issue to be solved: If a position is closed manually the EA must recalculate the Profit to lock and not closing the positions if the closed position makes hit the "basket Trailing Stop level"
example:
Position 1 - buy positions with 250$ Profit
Position 2 - Buy positions with 100$profit
Position 3 - SELL positions with -100$ profit
TOT Basket Profit= 250$ ="Basket Profit"
the "basket Trailing stop" = 200
if I decide to close manually the position 2 the EA closes all the positions as the profit =150 which <200
--->change behaviour: if a position is closed manually, the EA has to delete/reset and recalculate SL, TS, Jumping Stop and waiting again the level of "Lock profit".
All the functionalities must work on Basket Trades - please test before releasing for my tests.
5 - Close all settings is the Same as Basket Take profit and Stop loss.
Eliminate the "Close All settings" and test carefully the Basket Take profit Setting anf Take profit to close immediately the positions at market
All the functionalities must work on Basket Trades - please test before releasing for my tests.
6 - Basket Jumping stop loss: Fix "DisableJumpingStop aftrer BreakEven" or add new input
the goal is to Jump Only After Break even ONCE and not continue Jumping.
a) Add new Input= Jump only ONCE (YES/NO):
if YES, the Jumping Stop Loss jumps only the 1 time According to "BasketjumpingStooProfit" ($);
if NO it jumps as now every "BasketjumpingStooProfit"
b) Disable JumpingBAsketStop