Modifications to my breakout EA

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 17 días
Comentario del Ejecutor
Not an easy job to work on someone else code. Finally all was ok. Very patient customer. Thank you.
Comentario del Cliente
really good programmer, highly recommend him :)

Tarea técnica

hello

 my breakout ea needs some tweaks: 

(1)i would like to be able to add positions to successful trades.  

these trades are not regarded as separate trades in a cycle (too much exposure) and we dont need to add more than 2 per pair for now. i want them to replace the current limit parameters. they will use the same trailing stoplosses and exit rules than their initial- trade they are based on.

parameters:

first_scale_factor (default 1. so we add to a trade, when the source trades trailing stoploss moved to the original stoploss distance (we call it x)away from the entry point.its the entry e1 in the example picture. in other words, if scale_factor is 1, we open new position when the source trades trailing stoploss is at least at entry point level. as our trailing stoploss never hits a exact scale factor value, we add a trade as soon as the trail stop is bigger or equal than the exact distance the scale factor gives us)

first_scale_size(default 0.5 see picture)

second_scale_factor (default 2, so we enter another trade when initial trades trailing stop is 2 times the stoploss pips distance away in our favour. second entry in the example)

second_scale_size (default 0.5, see picture)

if scale factor is 0, we dont add to trades. 

 (2)i need a virtual sl so we dont get stopped out by sudden extreme spreads? this will lead to us sometimes risking more than initially intended so we need to have a factor where we limit the risk. default 2(2times the initial risk)

(3)ea needs some memory use debugging as i get these all the time so struggle to backtest. as a note we never need more than a 7 candle breakout so maybe we can free up some memory? also at the moment i just use it on 2 pairs so we dont need to always waste ressources on the other 2 unused pairs.  

MQL5 Cloud USA pass 1115 tested with error "expert rejected by MQL5 Cloud Network due to excessive memory use" in 5 sec (PR 117)

(4) we only want to allow the ea to close a current trade to open one in the opposite direction when the macd reading difference between the current signal value and the previous candle signal line value is higher than a certain value (default:0.0014)

(5) can we add timing settings for the first friday of the month. so we have NFPfriday and normal friday timing settings.  

(6) i need a maximum lotsize workaround for my backtesting. so if we hit the lotsize maximum of the broker, we need to open instances of the trade so achieve the lotsize we initially intended. example: ea wants to juse a lotsize of 110: open first and second trade with lotsize 50 and third trade with lotsize 10. they all share the same entry/stoploss/exits rules and are not regarded as separate trades in a cycle.

 (7) i need a html file generated that shows current trades info and historic info including pair/timeframe/entry_datetime/entry_pips/sl/initial risk in pips and gbp/exitdate and time/exit pips/cycle number/cycle profit/reduction/account balance

 (8) can someone write me a script that converts the historic data mt5 downloads into a readable file so i can use it in python for my own research. the csv's need to have the same syntax yahoo finance csv's have.

Archivos adjuntos:

PNG
scaleIn.PNG
55.5 Kb

Han respondido

1
Desarrollador 1
Evaluación
(215)
Proyectos
302
79%
Arbitraje
4
25% / 0%
Caducado
62
21%
Libre
Ha publicado: 7 ejemplos
2
Desarrollador 2
Evaluación
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
Solicitudes similares
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
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop
I am looking for an experienced MQL5 developer to modify an existing Expert Advisor by adding an automated hedging module. The existing EA is fully functional and already manages trade entries and exits. The objective of this enhancement is to introduce a risk management feature that automatically opens a hedge position when an existing trade reaches a predefined unrealized loss in USD. The hedge should remain active
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades

Información sobre el proyecto

Presupuesto
Plazo límite de ejecución
de 5 a 10 día(s)