Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
The EA will have the same inputs as the one in the market and will do the same thing but with the custom money management (https://www.mql5.com/en/market/product/24023#!tab=overview).
The EA will Trail the SL with PSAR value and exit the trade either by SL or TP .
Extra inputs for money management:
Order size:
Input: Order1, Order2, Order3, Order4, Order5, Order6, Order7, Order8, Order9, Order10
The series of orders to open new position.
Input: DD reduction algorithm (Enable/Disable)
Input: Number of order to start DD reduction algorithm (a integer value from 1 to 10)
Input: Profit (currency value)
When DD reduction algorithm is Enable the EA will read all previous closed positions with a loss and close the current position to cover the total loss of the past positions plus “Profit”. The DD reduction algorithm will start with the opening order corresponding to the “Number of order to start DD reduction algorithm” and start a new series with O1.
Example:
O1=0.1 lots closed with 20 pip loss
O2=0.2 lots closed with 20 pip loss
O3=0.3 lots closed with 20 pip loss
Number of order to start reduction algorithm=4
O4=0.6 and will close if over 20 pip of profits that will cover all previous losses + Profit
If is a loss
O5=1 lot and will close if over 20 pip of profits that will cover all previous losses + Profit
And so on…
The lot size was picked as a example and they are to be inputted by user