EA Modication

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 días

Tarea técnica

I have an EA that trade ‘basket’ of 3 pairs. Current settings require for manual to set certain options and I would like to automate this process by adding couple of options listed below:     Please note that this EA was programmed few years ago and under new MT4 build, it gives compiling warning;  return value of “OrderSelected” should be checked & ‘return value of ‘OrderClose” should be check.   I would like to have this corrected, so when EA is done, I see no warning after compile the code. 

Current EA is working without any issues and all options function like it always been even after modification.    Some of the code to be added in this EA requires to have Global Variable settings, thus, I want to make sure all code is correct and there’s no issues. Especially start the new Basket Cycles when it supposed to be hibernate (no new trades).

1.       Add  “AutoBskDirectionFinder” option to current EA.   Currently, EA is set by manually input Buy or Sell order :  // "Direction" inputs:    0 = Buy, 1 = Sell, Other Number = Do not trade.    I want an option for EA to find the direction automatically if it is enabled by EMA: 

Example:  Scan all 3 Pairs.  If 2 or 3 pairs’ Closed Price> xx EMA on xx TF,  Basket Direction = UP.  In this case, OP_BUY order for  all 3 pairs at the same time.  If 2 or 3 pairs’ Closed Price < EMA,  Basket Direction = DN, thus, OP_SELL order for all 3 pairs at the same time.  So, after this part of coding has modified, extern parameter should read as below:  ** Note:  At least 2 pairs has to be in same direction in order to qualify as Trend.

extern bool  AutoBskDirectionFinder = true;  // setting this to ‘true’  override Direction_01, Direction_02, Direction_03.  If this is set to ‘false’, then, trade as current setting, manual input by user.

2.       Add an “AutoExit” to current EA  // currently, it will exit if hit Basket SL or TP .  I would like to add an option to AutoExit as follow. 

if 2 or 3 pairs’ EMA direction has reversed from the entry signal, AutoExit.

Example:  At the time of entry, we has Pair1’s Close price > EMA, Pair2’s Close price > EMA, Pair3’s Closed Price < EMA, thus, according to the rule, we entered ‘Long’ direction basket orders on all 3 pairs.  Before hitting SL or TP, if EMA direction changed and now pair1 Closed Price < EMA, Pair2 Closed Price <EMA, Pair3 Closed Price <EMA.  Now, this is clearly changing direction of the basket group, thus, EA should automatically close all current positions (should be 3 positions) if  AutoExit = true;  So, after this part of coding has modified, extern parameter should read as below:  Again, this AutoExit, at least 2 pairs out of 3 pairs has to be change direction in order to qualify as Trend reversal to exit.

extern bool  AutoExit = true;  // setting this to ‘true’  override BasketGrossTP and    EquitySafetyStop.  If this is set to ‘false’, then, trade as current setting, manual BasketGrossTP and EquitySafetyStop settings input by user.

3.       Add an “AutoLotSize”.  So, if extern bool AutoLotSize = true; extern int AllocatePctforBsk = xx; (in%),  I would like EA to calculate the Lotsize and allocate correct LotSize per Pairs that I trade. – I will provide the formula for this calculation in project outline document.

4.       I would like “MaxNumOfBasketCycleDaily “ options to the EA to be add.

extern int MaxNumOfBasketCycleDaily = xx; //user input  *** Note:  if Basket Cycle was open and close (Hit SL or TP, doesn’t matter) xx time from the start of the day till end of the day, if maxNumOfBasketcycleDaily number has met, EA should not initiate any more baskets for the remainder of the day.  This number counts reset automatically at the beginning of the TradingStartTime. When add this options to the EA, I would like screen comments to be added/update to reflect changes.  Example:  Comment(header + status + div + "New Orders Disabled: Max Basket Cycle per Day met: Waiting for Start Trading Time.  ");  break;   

5.       extern int MaxNumOfSLtoHibernateEA = xx;//user input  *** Note: Max number of consecutive basket SL hit. (Whether SL occurred by AutoExit @ loss or EA hit Manual setting of SafetyStopLoss, both consider to be Loss, thus, if consecutively hit basket group loss xx times, EA should hibernate and no more trading until I use ‘ResetFull’.    When add this options to the EA, I would like screen comments to be added/update to reflect changes.  Example:    Comment(header + status + div + "New Orders Disabled after consecutive losses:  User ‘ResetFull’ require to re-start the EA ");  break;  


I will provide detail notes with image files along with original EA to assigned coder for the project.

Thanks, 

Han respondido

1
Desarrollador 1
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
2
Desarrollador 2
Evaluación
(12)
Proyectos
16
50%
Arbitraje
8
0% / 100%
Caducado
4
25%
Libre
Solicitudes similares
I am looking for an experienced MQL5 developer to build a professional, fully automated Expert Advisor (EA) for MetaTrader 5 . This project is focused on risk-controlled, long-term consistency , not unrealistic promises. 🧑‍💻 Developer Requirements (Very Important) Please apply only if you meet these criteria : ✅ Rating 4.7+ ✅ 50+ completed jobs (more is better) ✅ 3+ years experience with MQL5 ✅ Strong understanding
1. Trading Idea & Project Goal This is a Market Filter Scanner , not a trading robot. Its sole purpose is to automate the identification of high-probability price action setups across multiple symbols. The tool must scan markets, apply a strict set of objective rules to closed candles only , and alert me with a sound when a setup is found. This MVP (Minimal Viable Product) version is deliberately simplified to
## Project Summary I am hiring an experienced *MQL5 developer* to convert an existing *Heikin Ashi–based scalping strategy (currently written in Pine Script)* into a fully automated Expert Advisor for *MetaTrader 5*. The trading logic already exists. Your role is implementation, execution reliability, and engineering improvements — particularly eliminating trades during consolidation/ranging markets. This is a custom
Hi, I want to develop an EA that replicates the logic of a bot I’m currently watching on a live account. The bot has grown an account from $500 to $60k in 3 weeks using a specific 'Buy Stop/Sell Stop' strategy with 0.03 lots. I have the Investor Password and Trade History. Can you analyze the execution patterns and build a replica for me? Let me know your experience with this kind of task. message me for account
Good day to you all i need an mt5 version of the attached Indicators currently i have its mt4 source code but the indicator has the following problem it give signal after the finished bar in some case this signal disappear if the signal is false i want to know if you have its mt5 version then we can discuss the possibility of modify it so that instead of deleting the false signal it will regenerate another reversed
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
1. Objective A fully automated trading bot that: • Trades USD-quoted assets (forex pairs like EUR/USD, GBP/USD, crypto markets with USD trading pairs, and USD-denominated stocks/ETFs). • Uses real-time data to detect trends and place entries/exits based on multiple strategies. • Maximizes profit while maintaining robust risk controls and drawdown limits. 2. High-Level Architecture Components Component Purpose Data
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
I need a custom MT5 Expert Advisor with the following rules: Strategy: - Timeframe: M15 (adjustable input) - Indicators: - MACD (12,26,9) - SMA 200 as trend filter Entry rules (CLOSED candles only): - BUY: - MACD main crosses above signal on closed candle - Price close above SMA 200 - SELL: - MACD main crosses below signal on closed candle - Price close below SMA 200 General rules: - One trade at a time per
Hi everyone, I’m currently working on a private automated trading software designed specifically for XAUUSD (Gold) . This is not a signal service and not a high-frequency robot. The focus is on controlled risk, patience, and capital protection . Key points (shared briefly, not promotional): Trades one cycle at a time (no overtrading) Uses pure price behavior (no EMA, no indicators) Built-in break even and

Información sobre el proyecto

Presupuesto
10 - 40 USD
Plazo límite de ejecución
de 1 a 2 día(s)