Expert Advisor that sums up open Trades

Spécifications

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

Dossiers :

Répondu

1
Développeur 1
Évaluation
(2301)
Projets
2897
63%
Arbitrage
122
44% / 25%
En retard
429
15%
Gratuit
2
Développeur 2
Évaluation
(24)
Projets
28
32%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
Publié : 1 code
3
Développeur 3
Évaluation
(114)
Projets
154
47%
Arbitrage
2
0% / 50%
En retard
4
3%
Gratuit
4
Développeur 4
Évaluation
(365)
Projets
412
36%
Arbitrage
35
26% / 57%
En retard
63
15%
Gratuit
5
Développeur 5
Évaluation
(298)
Projets
427
26%
Arbitrage
18
61% / 33%
En retard
26
6%
Gratuit
Publié : 8 codes
6
Développeur 6
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
7
Développeur 7
Évaluation
(2636)
Projets
3351
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
Publié : 1 code
8
Développeur 8
Évaluation
(119)
Projets
127
41%
Arbitrage
3
33% / 67%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(169)
Projets
204
30%
Arbitrage
25
40% / 44%
En retard
12
6%
Gratuit
10
Développeur 10
Évaluation
(59)
Projets
81
43%
Arbitrage
27
11% / 70%
En retard
8
10%
Gratuit
11
Développeur 11
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
12
Développeur 12
Évaluation
(547)
Projets
630
33%
Arbitrage
38
39% / 50%
En retard
11
2%
Travail
13
Développeur 13
Évaluation
(7)
Projets
9
0%
Arbitrage
4
0% / 100%
En retard
0
Gratuit
Publié : 1 code
14
Développeur 14
Évaluation
(117)
Projets
138
41%
Arbitrage
30
7% / 77%
En retard
17
12%
Gratuit
15
Développeur 15
Évaluation
(65)
Projets
87
39%
Arbitrage
3
0% / 33%
En retard
29
33%
Gratuit
16
Développeur 16
Évaluation
(511)
Projets
549
53%
Arbitrage
13
69% / 15%
En retard
3
1%
Gratuit
17
Développeur 17
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
18
Développeur 18
Évaluation
(24)
Projets
27
33%
Arbitrage
2
100% / 0%
En retard
1
4%
Gratuit
19
Développeur 19
Évaluation
(251)
Projets
400
54%
Arbitrage
9
67% / 22%
En retard
36
9%
Gratuit
Publié : 2 codes
20
Développeur 20
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
22
Développeur 22
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
Hey guys, I’ve been trading for 6 years now and I need to automate a strategy that is really simple and ove developed by myself. Can you help me on that? Here is my e-mail angelocherubini24@gmail.com
Hello developers, I am currently using a scalping EA on XAUUSD (M1) based on pending orders and ATR logic, and I’m looking for professional optimization and possibly strategy improvements. My main goals: High-speed scalping (fast execution and fast entry logic) Ability to trade both directions simultaneously (true hedge mode: buy and sell at the same time) Professionally optimized pending order distance based on gold
SavannaFX Pro 100+ USD
//+------------------------------------------------------------------+ //| SavannaFX Pro | //| Created for Junior | //+------------------------------------------------------------------+ #property strict input int FastMA = 20; input int SlowMA = 50; input int RSIPeriod = 14; input double LotSize = 0.1; input int StopLoss = 300; input int TakeProfit = 600; int
Hello, I have a strategy written in Pine Script (TradingView) that used to send signals to MetaTrader 5 via PineConnector. Now I want a native MT5 Expert Advisor (EA) written in MQL5, so I can do full backtesting and trading inside MetaTrader without any external bridge. I will provide: - Full Pine Script code - Entry and exit rules (based on BOS and OB logic) - SL/TP and dynamic risk management (R:R) - Breakeven
Specification Hi Free lancers, I need an EA which relates to Sure Fire Hedging EA base on Below parameters needed. Overview how it works: This EA will be able to open a trade with either Buy or Sell selection (manual- to be manually switch buy or sell selection ), another selection for automatic open trading can choose only buy. Once the EA already open trade (example -buy position) with starting lot size 0.01
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides
1. General Objective Development of an Expert Advisor in MQL5 intended for Futures markets , based on an existing trading strategy that I will provide (described logic or precise rules). The main objectives are: Faithful implementation of the strategy , Full debugging of the EA, Validation of correct behavior through backtesting. 2. Markets and Instruments Markets: Futures Symbols: to be defined (e.g. indices
Subject: Major Upgrade Request: Auto Confluence of Signal/Trend/Momentum Scores with Multi-Timeframe SMC Hello, Your bot is excellent analytically, but I'm facing daily manual intervention due to the multiple indicators and timeframes. --- 📊 Current Situation: The bot uses: · Signal Score · Trend Score · Momentum Score · SMC Analysis · 3 Timeframes (Fast 5M, Medium 15M, Main 1H) · 4 Additional Indicators Currently
Busco programador profesional con experiencia demostrable en MQL5 para crear un Expert Advisor en MetaTrader 5 basado en Price Action , con lógica jerárquica, reglas objetivas y gestión de zonas dinámicas. La estrategia esta explicada en un documento Word de 30 páginas (con imágenes) explicado en español. Características del EA: Operaciones Buy, Sell, Buy Limit y Sell Limit (máx. 2 operaciones pendientes simultáneas
Multi-Slave Inverse Hedging EA with Martingale Grid — MT5 Category: Experts Description: I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor system called Hedging EA Trader . This is a well-documented project — I have a full 30+ page Software Requirements Specification (SRS) ready to share with the selected developer. System Overview: The EA uses a Master/Slave architecture: 1

Informations sur le projet

Budget
30 - 60 USD
Délais
de 1 à 60 jour(s)