MT5 EA to close all trades in profit

MQL5 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 43 dakika
Geliştirici tarafından geri bildirim
Всё отлично! Чёткое задание!
Müşteri tarafından geri bildirim
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.

Şartname

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.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(139)
Projeler
181
24%
Arabuluculuk
23
22% / 39%
Süresi dolmuş
13
7%
Serbest
2
Geliştirici 2
Derecelendirme
(621)
Projeler
698
42%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 9 kod
3
Geliştirici 3
Derecelendirme
(132)
Projeler
178
39%
Arabuluculuk
4
25% / 50%
Süresi dolmuş
14
8%
Serbest
4
Geliştirici 4
Derecelendirme
(47)
Projeler
61
54%
Arabuluculuk
7
86% / 0%
Süresi dolmuş
2
3%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(145)
Projeler
169
50%
Arabuluculuk
22
14% / 55%
Süresi dolmuş
22
13%
Serbest
6
Geliştirici 6
Derecelendirme
(164)
Projeler
259
61%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
10
4%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(31)
Projeler
41
20%
Arabuluculuk
9
11% / 89%
Süresi dolmuş
5
12%
Serbest
8
Geliştirici 8
Derecelendirme
(15)
Projeler
23
9%
Arabuluculuk
7
29% / 57%
Süresi dolmuş
2
9%
Serbest
9
Geliştirici 9
Derecelendirme
(15)
Projeler
19
42%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
3
16%
Serbest
Yayınlandı: 4 kod
10
Geliştirici 10
Derecelendirme
(3)
Projeler
3
0%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(22)
Projeler
18
6%
Arabuluculuk
31
3% / 65%
Süresi dolmuş
5
28%
Serbest
12
Geliştirici 12
Derecelendirme
(568)
Projeler
641
41%
Arabuluculuk
25
48% / 36%
Süresi dolmuş
46
7%
Çalışıyor
13
Geliştirici 13
Derecelendirme
(137)
Projeler
167
35%
Arabuluculuk
11
91% / 0%
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(96)
Projeler
143
76%
Arabuluculuk
0
Süresi dolmuş
2
1%
Serbest
15
Geliştirici 15
Derecelendirme
(361)
Projeler
629
72%
Arabuluculuk
14
43% / 7%
Süresi dolmuş
28
4%
Serbest
Yayınlandı: 9 kod
Benzer siparişler
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
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 a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
EA for Gold 50+ USD
need a Gold robot? check out this EA for Gold. It specialises in bringing in big amounts of profit and is very consistent. It's very trustworthy and it trades the SMC strategy.Enjoy
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
I develop and customize automated trading systems for MetaTrader 5 using MQL5. My experience includes developing EAs based on price action, market structure, Moving Averages, ADX, Smart Money Concepts, supply and demand zones, Break of Structure, Fair Value Gaps, trailing stops, risk management, and multi-timeframe analysis . I can also modify existing MQL5 source code, fix errors, add new trading features, and help
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 → ПОКУПКА / ПРОДАЖА /
The EA needs to be upgraded according to the strategie built in and first the programer must specify the problems and how can correct and provide the video on how the bot works on different assets after correction
//———————————————————————————————————————————————————————————————————— 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 () {

Proje bilgisi

Bütçe
30 USD
Son teslim tarihi
to 2 gün