Trade Management

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 6 giorni
Feedback del cliente
Great to work with!

Specifiche

I will need a trade management EA that managements all OPEN trades, Pending trades, the Recent X recent number of OPEN trades, and Oldest X  open trades.

Scenrio 1:

Close all OPEN trades that are in profit and also close all pending orders.

Scenario 2:

Close the  LAST 3 recent open trades that are in profit and close all pending orders


Scenario 3:

Close the  Oldest 3 recent open trades that are in profit and close all pending orders


Scenario 1, Scenario 2, and Scenario 3 should be enabled or disabled  and work together at same time.   


I will need the follow EA for MT5:

Scenario 1 requirements:

1. EA should work on any currency pairs, crypto pairs and commodities pairs.  All three pairs types may be open at the same time.

2. EA will compute all open trades profit

3. Profit for all open trades should be displayed on screen

4. If all Trades are in Profit by certain amount then close all open trades including all pending trades.

5. Profit should be inputted by user


Scenario 2 requirements

1. EA will compute the last X recent open trades total profit. It should be displayed on screen.

2. X can be define the user.  It represents the number of most recent trades opened.  Please exclude pending trades from calculation.

        Example: I will need to know what is the Profit level for last or most recent 5 open trades out 25 open trades.  

3. EA will close X recent open trades in profit and all pending orders.  

4. EA will also need restrictions on closing X recent trades based on number of open trades.  Please exclude pending orders from calculation. The number of open trades for restriction should be a user input.

Example:  I have 5 open trades.   I do  NOT want to close the 3 recent trades in positive profit since I only have 5 open trades in total.  If it was 6 total open trades then I would close the last 3 recent trades in profit.  User should be able to input the number of trade restriction to use close most recent open trades.

In other words there should  a certain amount of total open trades to close X amount recent open trades in profit.  If there isn't enough open trades then ignore closing X recent open trades.

 8. Profit level for X open trades should be able to be inputted by user.


Scenarion 3 

1. Scenario 3 is like Scenario 2 but EA closing the X amount of Oldest trades.  Trades should close according to FIFO.  The first trade should close first then the second and so on.

Scenario 1, Scenario 2 , and Scenario 3 need to work together.

For example I have 25 open total trades.  I also have 2 pending orders.   X most recent trades hits it profit level.  In this case it is 5 recent open trades.  The 5 recent trades are closed including the 2 pending orders.  I now have 20 open trades.   

The X oldest trades are now in profit.  The EA closes 4 trades in profit and all pending orders.


There remaining 16 open trades are closed when total profit is reached.  

If the total profit is not reached for 16 remaining open trades then the EA will continue to look to close X amount of recent OPEN trades in profit to close or X amount of oldest to close.  The 16 open trades  can also be closed by total profit.


Con risposta

1
Sviluppatore 1
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
2
Sviluppatore 2
Valutazioni
(414)
Progetti
670
33%
Arbitraggio
60
17% / 32%
In ritardo
113
17%
In elaborazione
3
Sviluppatore 3
Valutazioni
(46)
Progetti
80
13%
Arbitraggio
11
0% / 91%
In ritardo
51
64%
Gratuito
Ordini simili
Goal: Recreate a simple trading strategy on TraderBlox (no coding, just connecting logic blocks). The entire work must be done 100% within the platform , delivering the project link and the compiled code. Strategy (Simplified RSI Only): LONG Entry: RSI(14) < 40. LONG Exit: RSI(14) > 70. SHORT Entry: RSI(14) > 60. SHORT Exit: RSI(14) < 30. Fixed Volume: 0.01 lots. Editable Inputs (Mandatory): RSI_Period = 14
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007

Informazioni sul progetto

Budget
30+ USD