Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
1) Add a close order for basket of trades when multiple trades are opened, break even, loss or profit. (FIFO account)
Explanation: My current EA closes out all opened trades together as a basket take profit at specified profit amount. When there are 2 or more opened positions, I want to close out the first trades in the basket if / when price comes back to breakeven/loss or profit. That way it takes off risk, In case more orders are opened against trades. When multiple trades are opened, 1st position will be closed out bye break even, loss or profit if/when price comes back. For example, when a 2nd order opens then 1st opened position will hopefully be closed at Breakeven/loss/profit + spread if price comes back. If an order #3 is opened then orders #2 will close out breakeven/loss/profit, if/when price comes back. This will be the sequence to continue as long as total profit has not been met. If 1st order was taken at +2 pips then remaining total of Take profit will change to 48 pips. Take profit will not change if orders were closed out negative.
See attached picture.
2) Add - Moving Average stop-loss and take profit and partial take profit.
Example: I have 1 position with 0.05 lots, when price touches 21 period’s moving average, close 0.02 lots. With same position when price touches 55 periods moving average close out 0.02 lots, when price touches 200 periods moving average close out remaining 0.01 lots. See attached Picture
3) Modify - Inside Candle to be used or not. On/Off
I simply want to be able to have this inside candle feature on or off and EA run everything else. For example Grid and RMI run without Inside candle.
4) RMI - Indicator On/Off.
I simply want to be able to have this feature turned on or off and EA run everything else. For example Grid and Inside candle run without RMI.
5) Grid - On/Off.
I simply want to be able to have this feature turned on or off and EA run everything else. For example Inside candle and RMI run without Grid.
6) Equity stop - to stop EA opening trades after selected amount of equity percentage dollar amount, include for all opened orders on all symbols
7) Equity Emergency stop - EA to close all trades at specific equity %
8) Close all opened and pending orders on all symbols or specified symbols at specified Pip or dollar amount.
9) visual window (dash board) window on upper right side of chart that displays all opened positions equity draw down, available margin in dollars, number of lots open, amount of equity risked by where stops are placed. Equity amount earned for the current day, week, Month, Year.
10) User to place horizontal line to activate EA.
Explanation: I would like to add a horizontal line and update it by mouse drag on chart or add price point to trigger inside candle + RMI sell/buy. Price will have to close outside of horizontal line then the Inside candle + RMI to complete a order buy or sell. See picture