MT5 EA to close all trades in profit

MQL5 Experts

Trabalho concluído

Tempo de execução 43 minutos
Comentário do desenvolvedor
Всё отлично! Чёткое задание!
Comentário do cliente
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.

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(139)
Projetos
181
24%
Arbitragem
23
22% / 39%
Expirado
13
7%
Livre
2
Desenvolvedor 2
Classificação
(592)
Projetos
668
41%
Arbitragem
2
100% / 0%
Expirado
1
0%
Livre
Publicou: 9 códigos
3
Desenvolvedor 3
Classificação
(132)
Projetos
178
39%
Arbitragem
4
25% / 50%
Expirado
14
8%
Livre
4
Desenvolvedor 4
Classificação
(44)
Projetos
55
51%
Arbitragem
6
83% / 0%
Expirado
1
2%
Trabalhando
5
Desenvolvedor 5
Classificação
(145)
Projetos
169
50%
Arbitragem
22
14% / 55%
Expirado
22
13%
Livre
6
Desenvolvedor 6
Classificação
(163)
Projetos
258
61%
Arbitragem
4
50% / 25%
Expirado
10
4%
Livre
7
Desenvolvedor 7
Classificação
(31)
Projetos
41
20%
Arbitragem
9
11% / 89%
Expirado
5
12%
Livre
8
Desenvolvedor 8
Classificação
(15)
Projetos
23
9%
Arbitragem
7
29% / 57%
Expirado
2
9%
Livre
9
Desenvolvedor 9
Classificação
(15)
Projetos
19
42%
Arbitragem
1
0% / 100%
Expirado
3
16%
Livre
Publicou: 4 códigos
10
Desenvolvedor 10
Classificação
(3)
Projetos
3
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(22)
Projetos
18
6%
Arbitragem
31
3% / 65%
Expirado
5
28%
Livre
12
Desenvolvedor 12
Classificação
(568)
Projetos
641
41%
Arbitragem
25
48% / 36%
Expirado
46
7%
Trabalhando
13
Desenvolvedor 13
Classificação
(137)
Projetos
167
35%
Arbitragem
11
91% / 0%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(96)
Projetos
143
76%
Arbitragem
0
Expirado
2
1%
Livre
15
Desenvolvedor 15
Classificação
(361)
Projetos
629
72%
Arbitragem
14
43% / 7%
Expirado
28
4%
Livre
Publicou: 9 códigos
Pedidos semelhantes
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I need an Expert Advisor (EA) for MetaTrader (MT4 or MT5) based on the following scalping strategy. Platform: MT4 or MT5 Symbol: EURUSD (should work on other pairs as well) Timeframe: M1 or M5 Indicators: - EMA 9 - EMA 21 - RSI (14) Buy Conditions: - EMA 9 crosses above EMA 21 - RSI > 55 - Spread < 1.5 pips - Only one trade at a time Sell Conditions: - EMA 9 crosses below EMA 21 - RSI < 45 - Spread < 1.5 pips -
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
Pakayaku Robot Trading 30 - 200 USD
Revolusi Trading BTCUSD dengan Presisi Fibonacci & Ichimoku Kumo "Memperkenalkan Pakayaku Robot Trading , asisten cerdas yang dirancang khusus untuk menaklukkan pasar emas (XAUUSD) dan Bitcoin (BTCUSD). Menggabungkan algoritma Fibonacci Retracement untuk akurasi titik pantul dan Ichimoku Kumo sebagai filter tren global. Mengapa Memilih Pakayaku? Analisa Multi-Indikator: Menggabungkan Fibonacci, Ichimoku, dan
I’m looking to purchase an existing high-risk Expert Advisor (EA) for MT5. This is NOT a low-risk or conservative system. I am specifically looking for a high-risk, aggressive strategy such as: Martingale Grid trading High-frequency / high-leverage systems Objective: The goal of this EA is simple: Achieve extremely high returns (e.g. 100% in a day) I fully understand and accept the risk of losing the entire capital

Informações sobre o projeto

Orçamento
30 USD
Prazo
para 2 dias