MT5 EA to close all trades in profit

MQL5 Experts

Tâche terminée

Temps d'exécution 43 minutes
Commentaires de l'employé
Всё отлично! Чёткое задание!
Commentaires du client
Vitaly is a fantastic Developer. He even helped me to solve some issues even after completing the job and suggested many things about other issues. He is a great coder! I'll work with him again.

Spécifications

Criteria: Create a New MT5 EA, that will do only the following:

If the “Account Profit” ≥ “Profit Target”

--> Close ALL open positions in ALL pairs in this trading account.


“Account Profit” is the floating profit/loss of this Trading Account which is equal to “Equity minus Balance”.

“Profit Target” should be an external variable in the account currency (Dollar) which can be a positive or negative number.


Display:

On the upper right hand corner of the chart, below the EA name, display the following text in Arial 12 font yellow color-

 

Profit Target: [from the external variable]

Current Profit: [real time profit/loss data]

 

Please Note:

1. Once the “Profit Target” is reached, ALL open positions must be closed immediately. Some similar EAs start closing the positions but once the Account Profit goes below the Profit Target value, it stops closing positions. Which should not happen in thie EA.

2. After all open positions are closed, the EA should start to look for the Profit Target” again and close all positions again when the Profit Target” is reached. This should be continued unless the EA is manually removed from the chart.


Répondu

1
Développeur 1
Évaluation
(139)
Projets
181
24%
Arbitrage
23
22% / 39%
En retard
13
7%
Gratuit
2
Développeur 2
Évaluation
(614)
Projets
691
42%
Arbitrage
2
100% / 0%
En retard
1
0%
Gratuit
Publié : 9 codes
3
Développeur 3
Évaluation
(132)
Projets
178
39%
Arbitrage
4
25% / 50%
En retard
14
8%
Gratuit
4
Développeur 4
Évaluation
(46)
Projets
60
53%
Arbitrage
7
86% / 0%
En retard
2
3%
Gratuit
5
Développeur 5
Évaluation
(145)
Projets
169
50%
Arbitrage
22
14% / 55%
En retard
22
13%
Gratuit
6
Développeur 6
Évaluation
(163)
Projets
258
61%
Arbitrage
4
50% / 25%
En retard
10
4%
Gratuit
7
Développeur 7
Évaluation
(31)
Projets
41
20%
Arbitrage
9
11% / 89%
En retard
5
12%
Gratuit
8
Développeur 8
Évaluation
(15)
Projets
23
9%
Arbitrage
7
29% / 57%
En retard
2
9%
Gratuit
9
Développeur 9
Évaluation
(15)
Projets
19
42%
Arbitrage
1
0% / 100%
En retard
3
16%
Gratuit
Publié : 4 codes
10
Développeur 10
Évaluation
(3)
Projets
3
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
11
Développeur 11
Évaluation
(22)
Projets
18
6%
Arbitrage
31
3% / 65%
En retard
5
28%
Gratuit
12
Développeur 12
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
13
Développeur 13
Évaluation
(137)
Projets
167
35%
Arbitrage
11
91% / 0%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
15
Développeur 15
Évaluation
(361)
Projets
629
72%
Arbitrage
14
43% / 7%
En retard
28
4%
Gratuit
Publié : 9 codes
Commandes similaires
I am looking for an experienced Sierra Chart ACSIL developer he project involves developing a custom study trading system that utilizes Market Profile (TPO), Single Prints, Footprint/Order Flow data, Delta analysis, and price action confirmation
Bot 30 - 80 USD
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor (EA) for MetaTrader 5 based on a Price Action strategy. The bot needs to automatically identify specific candlestick formations and market structure levels, execute trades, and manage risk using a dynamic trailing stop.The EA should monitor the chart for the following price action setup:Market Structure / Trend Filter:The bot
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
Aak 30+ USD
BhvvI understand you want to combine the best features of these two scripts into a single, highly accurate scalping indicator for TradingView, and then translate that logic into an MQL5 Expert Advisor for MetaTrader (MT4/MT5). However, I must be upfront: "Zero SL with peak average peak target" does not exist in real trading. Markets are unpredictable. A more realistic approach is to use a tight, ATR-based Stop Loss
Description Infinite Tsukuyomi EA MT5 is an advanced fully automated Expert Advisor designed to identify high-probability trading opportunities using a combination of trend analysis, market structure, momentum, and intelligent risk management. Inspired by the concept of absolute control, the EA continuously scans the market, waits patiently for optimal entries, and executes trades with precision while minimizing
Spärtã Ackah 50+ USD
I go by the name Spärtã Ackah, and this is my first time trying this trading, and I am also a beginner so sometimes I will need guide lines, and most atimes I feel very difficult to withdraw the money
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
PROJECT: Gold (XAUUSD) Scalping Expert Advisor – M1 Timeframe OVERVIEW This EA is designed as a "sniper" scalper for Gold on the M1 chart. It does not enter trades randomly — it waits for a confirmed entry signal before firing, similar to a sniper waiting for the perfect shot rather than a random shooter. ENTRY LOGIC - The EA must wait for a confirmation signal before opening a trade (do not enter on the first sign
Do you have a bot that yoi think it makes real income ' i will buy it after testing i want to test it first you send me demo version or i give you my demo account both ways works.testing is for free and i don't pay for that . please don't semd me videos or files of you testing the bot already i will not accept another other method of testing
Do you have HFT bot that yoi rhink it makes real money' i will buy it after testing i want to test it first you send me demo version or i give you my demo account both ways works.testing is for free and i don't pay for that . please don't semd me videos or files of you testing the bot already i will not accept another other method of testing

Informations sur le projet

Budget
30 USD
Délais
à 2 jour(s)