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
Specification 1. EA opens a buy stop and sell stop on the last candle 2. stop loss is determined by percentage of the distance between the buy stop and sell stop 3. take profit is also determined by percentage of the distance between the buy stop and sell stop 4. lot size is calculated by fixed amount. example risk $40 per trade 5. a small gap between candle and buy/sell limits determined by percentage of distance
Tradinh robot 30+ USD
build a trading robot for mql5 from a pdf build within a week discuss more about the trading robot demo runs as the bot purchased write a comsulation for the trading robot
i want to add a specific trading time to an already existing wa that places pending orders above and below opening price bar also change stop loss from percentage to a specific amount
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
I am looking for a ready-made or custom-built AI-based Expert Advisor (EA) for MetaTrader (MT4/MT5), focused on Forex pairs and Gold (XAUUSD) . 🔹 Requirements: Fully automated trading system (no manual intervention) Must work on Gold (XAUUSD) + major currency pairs Should use AI-style logic (adaptive strategy, not simple indicators) Multi-timeframe analysis (trend + entry confirmation) Smart risk management: Dynamic
MT5 Support and Resistance MT5 Support and Resistance Indicator Automatic Drawing of Multiple Supports and Resistances with levels. Supports As follow 1. Weak Support 2. Untested Support 3. Verified Support 4. Proven Support 5. Turncoat Support Resistances As follow 1. Weak Resistance 2. Untested Resistance 3. Verified Resistance 4. Proven Resistance 5. Turncoat Resistance Best Strategy to use 1. Identify Trend
Hello, I’m reaching out regarding my TradingView project. I’d like to know if you’re familiar with the Chrome extension for Pine Script optimization. I’m looking for a developer with a premium account who can help optimize some Pine Script code. Please I actually need someone who has a premium account of the chrome extension TradeTuning to optimize Pinescripts (for some specific data they give in their reports). Do
I need an MT5 Expert Advisor for Gold (XAUUSD) on M15 timeframe. Strategy Rules: Trade only after breakout and retest of support/resistance. Also include trendline breakout and retest entry. Only one trade at a time. High accuracy trades only. Stop Loss: fixed SL (developer make input adjustable). Take Profit: next support/resistance level. Trade should hold until trend change. Close trade when Higher Low or Lower
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower
REQUIREMENTS SPECIFICATION FOR MT5 EXPERT ADVISOR - NAS100 1. GENERAL INFORMATION 1.1 Platform: MetaTrader 5 1.2 Symbol: Nas100 1.3 Timeframe: M5 1.4 Account Type: Hedge 1.5 Broker: Must work on Khwezi Trade / ATFX broker 2. ENTRY RULES - ALL 3 MUST ALIGN ON CLOSED CANDLE 2.1 Trend: Price above 50 EMA for Buy, below 50 EMA for Sell 2.2 Momentum: RSI(14) > 50 for Buy, < 50 for Sell 2.3 Confirmation: MACD line above

Información sobre el proyecto

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