EA Modication

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 2 giorni

Specifiche

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, 

Con risposta

1
Sviluppatore 1
Valutazioni
(647)
Progetti
1295
67%
Arbitraggio
84
26% / 49%
In ritardo
338
26%
Gratuito
2
Sviluppatore 2
Valutazioni
(12)
Progetti
16
50%
Arbitraggio
8
0% / 100%
In ritardo
4
25%
Gratuito
Ordini simili
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello, I need a martingale and grid bot. The programmer must provide a test of about 5 minutes for the EA to see how it works and if everything is fine, it will be selected to make some modifications for personal use to that EA that you provide. If it has a lot of graphics or buttons. better It doesn't matter if the robot is bad, I'm more interested in its functionalities to use with my strategy
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
Here is the Idea: I want a Semi Auto Trade Panel Manager EA that only activates when I press the BUY or SELL or BUY LIMIT or SELL LIMIT then the EA will do the rest : that includes the BUY STOP 0r SELL STOP and the hedging calculations according to below diagram. So overall , my only intervention is entering the lot size , hedge zone distance and TP ratio or entering the price for buy limit/sell limit then pressing
Hi, I'm looking for a martingale MT4 EA that performs a lot of trading volume per day. If you have the robot, you'll need to send me the demo so I can backtest it. Thank you very much
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
we want to build a dashboard ea that would display on another chart key metrics : i will foward screeshot of what i want to dashboard to look like : the function i would need to get display are the following: 1. classified past performance ea by magic number ( with classic : total trade , total profit , return/dd , max dd (base on history) , ) 2. equity chart of performance if we click on a magic number we should
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor the 2 lines in the below pictures and then start to activate bids once they cross each other and then be able to manage all bids afterwards towards the direction of the market by opening and closing them intermittently and profitably until the position at the other

Informazioni sul progetto

Budget
10 - 40 USD
Per lo sviluppatore
9 - 36 USD
Scadenze
da 1 a 2 giorno(i)