Expert Advisor that sums up open Trades

Termos de Referência

Hi there.

Assume this scenario;

Opening Account Balance = $1000

Take Profit =$(+25)

Stop Loss =$(-9)

I'm in need of an Expert Advisor / Robot for Meta Trader 4 that sums up the total of 2or more open trades and if say after some time the sum of all open trades is +25, the Expert advisor/Robot closes all trades and locks in a profit of $25. The new Account Balance becomes; $1000+$25 = $1025.

conversely if the sum of all trades is in negative i.e $-7, again it closes all open trades and the new Account Balance becomes $1000 - $9 = $991. 

For Illustration Purposes;

In the Attached jpg file,

the Profit for the open trade eurusd is -7.79

the profit for the open trade usdjpy is -0.45

the Total profit of both open trades is thus -8.84.

Assuming my maximum planned loss was -8.84, I'd like an EA/Robot that would've closed both trades the moment the negative reached -8.84.

With an opening Account Balance of $5,000, my new balance becomes $5,000 - $8.84 = $4,991.16

I hope its clear.

Regards

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(2346)
Projetos
2951
63%
Arbitragem
125
44% / 26%
Expirado
429
15%
Livre
2
Desenvolvedor 2
Classificação
(24)
Projetos
28
32%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(114)
Projetos
154
47%
Arbitragem
2
0% / 50%
Expirado
4
3%
Livre
4
Desenvolvedor 4
Classificação
(365)
Projetos
412
36%
Arbitragem
35
26% / 57%
Expirado
63
15%
Livre
5
Desenvolvedor 5
Classificação
(298)
Projetos
427
26%
Arbitragem
18
61% / 33%
Expirado
26
6%
Livre
Publicou: 8 códigos
6
Desenvolvedor 6
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
7
Desenvolvedor 7
Classificação
(2675)
Projetos
3414
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(119)
Projetos
127
41%
Arbitragem
3
33% / 67%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
10
Desenvolvedor 10
Classificação
(61)
Projetos
83
45%
Arbitragem
27
11% / 70%
Expirado
8
10%
Livre
11
Desenvolvedor 11
Classificação
(221)
Projetos
369
66%
Arbitragem
10
50% / 0%
Expirado
46
12%
Livre
12
Desenvolvedor 12
Classificação
(617)
Projetos
721
33%
Arbitragem
46
48% / 41%
Expirado
14
2%
Carregado
13
Desenvolvedor 13
Classificação
(7)
Projetos
9
0%
Arbitragem
4
0% / 100%
Expirado
0
Livre
Publicou: 1 código
14
Desenvolvedor 14
Classificação
(117)
Projetos
138
41%
Arbitragem
30
7% / 77%
Expirado
17
12%
Livre
15
Desenvolvedor 15
Classificação
(65)
Projetos
87
39%
Arbitragem
3
0% / 33%
Expirado
29
33%
Livre
16
Desenvolvedor 16
Classificação
(514)
Projetos
553
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
17
Desenvolvedor 17
Classificação
(96)
Projetos
143
76%
Arbitragem
0
Expirado
2
1%
Livre
18
Desenvolvedor 18
Classificação
(24)
Projetos
27
33%
Arbitragem
2
100% / 0%
Expirado
1
4%
Livre
19
Desenvolvedor 19
Classificação
(251)
Projetos
400
54%
Arbitragem
9
67% / 22%
Expirado
36
9%
Livre
Publicou: 2 códigos
20
Desenvolvedor 20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
22
Desenvolvedor 22
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
Pedidos semelhantes
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
Торговый робот XAUUSD AI/ML — MT5 + Python + MQL5 Ищу опытного разработчика с глубокими знаниями в следующих областях: MQL5 / MetaTrader 5 Python Машинное обучение / Искусственный интеллект Алгоритмическая торговля Проект Я хочу разработать торговую систему на основе ИИ/машинного обучения, предназначенную исключительно для XAUUSD (золото) . Архитектура: Данные рынка XAUUSD → Модель Python/ML → ПОКУПКА / ПРОДАЖА /
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or
Build a fully mechanical EA for XAUUSD on D1 timeframe. Trader spends 5-10 mins per day to run it. No discretion. EA calculates, places orders, and walks away. Timeframe Use the Daily (D1) timeframe . At the close of each completed daily candle, identify: Previous day's High (wick) Previous day's Low (wick) Previous day's Open

Informações sobre o projeto

Orçamento
30 - 60 USD
Prazo
de 1 para 60 dias