Basket Manager trailing basket profit

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 93 giorni

Specifiche

Hi,

I need an EA to manage the profit on a basket of orders on a single pair. I would like it to work as following:

I may have multiple open positions on a pair (might have different sizes and maybe directions). I want to trail the profits of the entire basket from an initial profit or loss (in money, it can be break even or not) to a profit target (of the entire basket). If "combined profit" of all the open orders reaches some amount of money the EA must start trailing the profit. It will trail a specified amount. If, on the contrary, once the trailing has started, the profit goes under a certain level, the EA must close all the orders in this pair. So I need at least the following input variables:

- profit target: if the combined profit of all the orders in the pair reaches this level, all the orders are closed with that profit (for example $20).

- profit start trailing: amount of profit at which the ea starts trailing profit (for example: $5, as soon as the combined profit reaches $5, it will start trailng profit),

- profit stop trailing: amount of profit or loss at which the ea stops trailing and closes all operations because profit decreased from profit start trailing and hit this level (for example, $1).

- profit trailing amount; amount of profit being trailed (for example $2. For example trailing profit started at $5 and when combined profit reached $7, profit stop trailing is moved to previous value + profit trailing amount).

Basic trailing system, but based on combined profit of a basket and not in pips.

All that info is shown in an info panel on the screen. 

Working with lines on the chart: 

On the chart there must be three lines showing:

- place/price where profit target would happen, (for example if profit target is $20, there must be a line where that profit will be reached)

- price where start trailing will happen,

- price where stop trailing would happen. (those lines are automatically moved when profit is trailed)

These three lines can be manually adjusted and moved, and when manually moved the new amounts of profit resulting from moving the lines must be shown in the informative panel. For example, I can move the take profit line (drag and drop the line) a few pips on the screen, and then the EA must recalculate the profit I would have if price reached that new level/line. The new value is shown in the informative panel (on the screen).

Manually moving a line has preference over the initial settings I had before in my initial variables.

All the lines must be changed when a new order is open

Some other functions:

The EA must be able to manage all the positions in a pair, no matter they were from another EA or manual.

The EA must have an informative panel showing all the related info,

Combined profit must include commissions and swaps.

There must be a button on screen to close all operations inmediately.

A variable true/false (default false) to include the pending orders in the calculations, showing the info on the panel, drawing the lines on the screen and trailing the profit.

Selectable colors for the lines.

Please, contact me if anything is not clear enough or with any comments or suggestions.

Thanks in advance,

Regards 

 

 

Con risposta

1
Sviluppatore 1
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
2
Sviluppatore 2
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
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
10 - 70 USD
Scadenze
da 1 a 7 giorno(i)