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
I need a custom MT4 Expert Advisor based on H4 breakout with martingale and equity protection. Platform: MetaTrader 4 / MQL4 Main symbol: XAUUSD Must work on 5-digit / 3-digit brokers All settings must be adjustable from EA inputs Strategy Logic: EA must detect the previous H4 candle high and low. Automatically open BUY when price breaks above the previous H4 high. Automatically open SELL when price breaks below the
Hello, I am looking for an experienced MQL5 developer who can build a reliable choppy/range market filter for my existing EA. My EA works well in trending markets , but it takes too many losing trades during sideways, choppy, and ranging markets . I want an indicator/filter that can detect bad market conditions and pause or block EA entries during those periods. Main Requirement: Detect Trend / Range / Choppy market
Trend Filter BUY EMA 9 > EMA 21 > EMA 50 EMA 50 slope must be pointing upward. Price must remain above EMA 50. SELL EMA 9 < EMA 21 < EMA 50 EMA 50 slope must be pointing downward. Price must remain below EMA 50. Slope sensitivity should be adjustable in the EA settings. Entry Conditions Wait for a pullback toward EMA 9 or EMA 21. Entry only after a valid engulfing candle. BUY Previous candle bearish. Current candle
Kenyan Editor 30+ USD
1.a specific robot to earn for a quick and reasonable trade all over. The Idear of being specific makes me perfect, I want this to be clear that make me a high luxurious person will describe me and I will promise to advertise the market both internally and externally
I have my own strategy in 1min. I want it convert to a bot. Please reach me only coding experts. I dont want bit makers from Ai. Demo version should be provided for confirmation
Code the indicator to MT5 EA, include all the inputs variable and values Enable EA true or false Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Lot size adjustable Max spread in points (0=disable) Use stop loss true or false Stop loss in points (adjustable) Use stop loss circle true or false Use take profit true or false Use take profit in points (adjustable) Use pending order in
Siraj Durrani 30 - 50 USD
Title: Need MT4 Expert Advisor for XAUUSD (SMC/ICT Strategy) Requirements: I need a professional MT4 Expert Advisor (EA) for XAUUSD based on Smart Money Concepts (SMC) / ICT strategy. Features: - Platform: MetaTrader 4 (MT4) - Symbol: XAUUSD - Automatic Buy and Sell trades. - Detect market trend automatically. - Use Break of Structure (BOS) and Change of Character (CHoCH) for trend confirmation. - Enter trades only
Xauusd to gold 35+ USD
The EA must be fully automated , backtest-friendly , prop-firm-safe , and built with a clean modular architecture . Core Strategy Requirements 1. Higher Timeframe Bias Use D1 and H4 . Use 200 EMA as trend filter: If price is above 200 EMA on both D1 and H4 -> allow BUY only If price is below 200 EMA on both D1 and H4 -> allow SELL only If D1 and H4 are not aligned -> no trade 2. Market Structure Module Detect and
Looking for an experienced MQL5 developer to build a professional, fully automated Multi-Timeframe trend-following Expert Advisor for MT5. The system is asset-agnostic (Forex, Gold, Indices, Crypto, and Deriv Synthetics). Core Technical Logic: Macro Trend (H4 & H1): Direction determined by Candle Close vs. EMA 200, and EMA 50 > EMA 200 crossover state. Market Structure Filter (H1): Algorithmic
Eagoldcent 30 - 200 USD
I need an MT4 & MT5 Expert Advisor for ALL pair support Cent Account. Features: Platform: MT4 & MT5 Pair: All Pair Account Type: Cent Account Buy and Sell Fixed Lot Start (user input) Lot Exponent / Multiplier (user input) PipStep / Grid Distance (user input) Take Profit (user input) Maximum Trades (user input) Magic Number (user input) Inputs: Start Lot = 0.01 Take Profit = 40 Lot Exponent = 1.50 PipStep = 40 Max

Información sobre el proyecto

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