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
Trade XAUUSD only Support MT5 Use Buy Stop and Sell Stop pending orders around a configurable breakout range. When the market breaks the range, activate the corresponding trade. Automatically place Stop Loss and Take Profit immediately with every order. Automatically cancel the opposite pending order after one side is triggered. No Martingale No Grid No averaging down No loss recovery system No unlimited position
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Hello! I want to automatically trade on Sierra Charts (IronBeam Brokerage). NQ ($20 per "handle") or MNQ ($2 per point or handle) - futures Broker: IronBeam mostly for the low capital requirement for futures Chart: Sierra Charts I almost exclusively trade a 5-20 bracket with 2 contracts (first contract closes at a +5 and second bracket closes at a +20.) When the +5 is reached, I move my stop from -15 to BE
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially

Informazioni sul progetto

Budget
30+ USD