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
Hi, is this signal enough for a bot to trade on attached images. its literally just a telegram channel I have access to, the trader avg's 10% weekly for the last 2 years, but I do not have the time to copy trade so wanted to find a solution, all he does is send TV screenshots of his entry/sl/tp and then sends updates as he manages the trade. I thought about hiring someone in a similar timezone to the trader (hes in
Modifiedea 30+ USD
Please my robot doesn’t open trades and I also believe it the ma crossover and others please I want the ma crossover to be fixed.also add trade directions to parameter for both, only sell, or only buys. Please also correct the balance drawdown and equity drawdown if it’s not working.the ea would be carefully tested for assessment l. Also source code will be handed before Payment. Only 30bucks for budget
I need an MT4/MT5 EA modification. Requirements: 1. Equity protection based on DAILY and TOTAL drawdown 2. Automatically close all trades when limit is hit 3. Disable trading after drawdown hit 4. Email notification when: - Daily loss limit reached - Total loss limit reached 5. EA must work on multiple accounts simultaneously 6. Clean and error-free code 7. Compatible with MT5 (or MT4 mention yours)
If you have profitable strategy or profitable EA on the gold pair without martingale / Hedge, then share me the EA with expiry time to back test and to test on the live market. Platform: MT5 pair: Gold Non-Martingale, No Hedging. Need Source Code
I have a working Python backtester for my “DC-WAD Donchian” strategy. I need a MetaTrader 5 Expert Advisor (MQL5) for live trading that matches the Python logic as closely as possible ( no lookahead ). ✅ Critical requirement (must accept) EA must be tick-driven for entries/exits (touch logic). Bar-close approximation is not acceptable . Timeframes Strategy runs on a single Setup Timeframe (HTF) (user input, e.g
This indicator will code into MT5 EA. Trade on live, demo and strategy tester. No repaint, no redraw and stable on chart. 1. Include all inputs variable and value, Lots size in points adjustable, TP in points true or false adjustable, SL in points true or false adjustable, close position on opposite signal true or false, Use pending order true or false, use BE points true or false, use slippage point true or false
can you help me with the strategy for my mt4 or mt5 bot? I am learning trading, while working and I was thinking this could be a good way to still earn from the market while learning. If I have someone like you to guide me on strategy and maintaining the trading bot going forward. I do not have anything setup, I am going to pay a ten to build the EA, I just need the mentorship and we can agree on a unique price to
Good day, I am searching the very high level expert, which could create the auto-trade robot and I would like to order the trading robot for GOLD XAU/USD auto-trade on MetaTrader. I could pay a lot for the institutional grade auto-trade robot, just contact me and let me know what level of the robot you could offer and we will negotiate the price
Looking to purchase a EA for Gold and US30 with source Requirements: must have proper built in Risk Management Must yield good profit factor and recovery Factor Must work on any Broker Must have less than 15% drawdown Year over Year Z-Score should be high Consecutive Profits Must Outweigh Consecutive losses atleast 3/1 Must be able to work on accounts from 100USD and up Testing must be based off of real Tick Values
I’m looking for a NinjaTrader 8 developer to build or customize a fully automated futures strategy . Goals: Target ~$100/day (consistency over aggression) Long-term survivability (not scalping hype) Requirements: Trade ES/MES or NQ/MNQ Fixed risk per trade Daily profit & loss limits Time/session filters Break-even & trailing stop logic Full NT8 strategy (not indicator) Nice to have: Backtest + optimization

Información sobre el proyecto

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