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
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage
I want a gold order management ea that should be like the below... Pending orders When I open one manual order, ea should be able to set 3 pending orders at x amount of pips below (if buy order) or above (if sell order) manual order entry. So like this Pending order 1 true or false Pending order pips away: 20. Pending order lot size:0.3 Pending order 2 true or false Pending order pips away: 40 Pending order lot
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
MT5 Manager API 30+ USD
make an api for mt5 and a trade copier eith the api thst uses local computer no cloud trader api ea mt5 that saves all trade data nd logs time and entry and exit tp sl logs delted pending order api that uses market execution not pending orfer
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob

Información sobre el proyecto

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