Modify MT5 EA

MQL5 Experts

Job finished

Execution time 21 days
Feedback from customer
Another great delivery from the dev. Other devs did not understand my request, but he is very quick in understanding details. Executes as per specifications.
Feedback from employee
Happy to be of service. Client knows exactly what he wants making it easy and a joy to work with. Well-deserved 5 stars!!

Specification

I have an EA that works like this. The only difference is that it closes all trades in loss or profit when SL and TP is reached.

I want a 2nd function added to the EA. Adding Martingale function such that trades do not close with negative until a total dollar amount is reached.
I will share EA in the private section.

Step-by-step flow of the trades taking place:

Logic When we select Close Losing Trades=False/No

First and most important: Selecting No/False activates a martingale system- So, add this.

So, here is an example of how the system will work;

Assume we start with a buy and I have set SL=-50 and TP=50 for all trades and target $ value =1000

EXAMPLE

Step 1: Buy (lot 1) open BUT does not reach TP A (we call this Buy A)

Step 2: Since the single Buy A does not close by take profit and it reaches SL (-50) level, the trade DOES NOT CLOSE. Instead, Step 3 kicks in.

Step 3: After Buy A reaches SL (-50), a Sell (lot 2) is opened (We call this Sell B). In this case Sell B also has SL=   -50 and TP=50.

 So, if the down trend continues, we have two trades running (Buy A with lot 1 and Sell B with lot 2).

If (Buy A+ Sell B) = 1000 (Target $ value), the two trades close automatically.

Step 4: If (Buy A+ Sell B) continue to run and reach Sell B Take Profit before attaining the Target $ value of 1000, another Sell C (lot 4) is opened at Sell B Take Profit.


Responded

1
Developer 1
Rating
(98)
Projects
137
52%
Arbitration
5
40% / 60%
Overdue
0
Free
2
Developer 2
Rating
(139)
Projects
181
24%
Arbitration
23
22% / 39%
Overdue
13
7%
Free
3
Developer 3
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
Similar orders
I need an ea send news low medium or high to my telegram channel or group with topic news news news news news n n n j j i i i o
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007

Project information

Budget
30+ USD
Deadline
to 1 day(s)