MT5 EA to close all trades in profit

MQL5 Experts

Job finished

Execution time 43 minutes
Feedback from employee
Всё отлично! Чёткое задание!
Feedback from customer
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.

Specification

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.


Responded

1
Developer 1
Rating
(139)
Projects
181
24%
Arbitration
23
22% / 39%
Overdue
13
7%
Free
2
Developer 2
Rating
(572)
Projects
646
41%
Arbitration
2
100% / 0%
Overdue
1
0%
Free
Published: 9 codes
3
Developer 3
Rating
(132)
Projects
178
39%
Arbitration
4
25% / 50%
Overdue
14
8%
Free
4
Developer 4
Rating
(43)
Projects
53
49%
Arbitration
6
83% / 0%
Overdue
0
Free
5
Developer 5
Rating
(143)
Projects
167
49%
Arbitration
22
14% / 55%
Overdue
22
13%
Free
6
Developer 6
Rating
(163)
Projects
258
61%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
7
Developer 7
Rating
(31)
Projects
41
20%
Arbitration
9
11% / 89%
Overdue
5
12%
Free
8
Developer 8
Rating
(15)
Projects
23
9%
Arbitration
7
29% / 57%
Overdue
2
9%
Free
9
Developer 9
Rating
(15)
Projects
19
42%
Arbitration
1
0% / 100%
Overdue
3
16%
Free
Published: 4 codes
10
Developer 10
Rating
(3)
Projects
3
0%
Arbitration
2
0% / 100%
Overdue
0
Free
11
Developer 11
Rating
(22)
Projects
18
6%
Arbitration
31
3% / 65%
Overdue
5
28%
Free
12
Developer 12
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
13
Developer 13
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
14
Developer 14
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
15
Developer 15
Rating
(361)
Projects
629
72%
Arbitration
14
43% / 7%
Overdue
28
4%
Free
Published: 9 codes
Similar orders
The EA should be designed to react to very fast price movements on the M1 timeframe on XAUUSD. Logic overview: • When price moves up quickly, the EA should place a sell order. • The initial stop loss must be set exactly at the entry price. • A very tight trailing stop must be activated immediately. Sell trade behavior: • If price moves a few pips in favor after entry, the trade should close with a small profit via
Hello there Hpe you are doing good I am in search of a pine script expert developer who can build strategy in apudFlow in pinescript. Kinldy bid on this project if you can do this
Forex 30 - 200 USD
Develop an Expert Advisor trading trend reversals. Reversal signals will be generated based on Price Action patterns. Trend will be determined based on ADX, Alligator and MACD, while the indicator selection should be available in the EA's input parameters
I need a scalping-specific logic MT5 trading bot with a Donchian-channel–based dynamic stop-loss and take-profit system, applies RSI volatility filtering to avoid low-quality setups, and allows asset-specific adjustable parameters for fine-tuning performance Trading details: - Symbol: Any Forex EUR/USD - Platform: MT5 - Strategy type: Scalping (fast trades) - Timeframes: 5sec/ M1 / M5 - Fixed Stop Loss and Take
I am looking for an experienced MQL4/MQL5 developer to build an Expert Advisor with the following specific behavior: • Place buy and sell orders with entry price equal to the stop loss Stop loss should trigger immediately when the trade goes into a small loss Trailing stop should activate immediately once the trade is in profit Designed for micro-scalping (very small price movements) Proper handling of spread
deseo un bot que genere una orden de compra y una orden venta simultanea, con una distancia no muy lejos una de la otra para aplicarla en el par oro/dolar. el bot requiere que al momento que se active una de las dos ordenes, la de compra o la de venta y se cierre la operacion en positivo, vuelva a generar una nueva orden siguiendo la tendencia del mercado
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
I am looking for a highly experienced developer with proven AI / Machine Learning expertise applied to financial markets to work with me on building an AI-driven trading EA for MT5 . This is NOT a traditional indicator-based EA and NOT a signal provider role. The objective is to build an AI/ML system that generates trade signals , which will then be executed automatically by an MT5 Expert Advisor . I am specifically
1. **Indicator Integration**: The EA should be developed utilizing the Bheurekso pattern indicator. 2. **Sell Signals**: The EA must execute a sell order upon the appearance of any of the following bearish signals or a down arrow that appears on the chart: - Bearish Engulfing - Bear Cross - Bearish Dark Cloud - Bearish Shooting Star - Bearish Harami - Bearish Evening Star - Bearish Hanging Man 3. **Buy
Looking for an experienced MQL5 developer to analyze and reverse-engineer the trading logic of an existing scalping Zone Recovery EA using Moving Averages and Bollinger Bands, and then rebuild it

Project information

Budget
30 USD
Deadline
to 2 day(s)