EA Modication

MQL4 エキスパート

仕事が完了した

実行時間2 日

指定

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, 

応答済み

1
開発者 1
評価
(647)
プロジェクト
1295
67%
仲裁
84
26% / 49%
期限切れ
338
26%
2
開発者 2
評価
(12)
プロジェクト
16
50%
仲裁
8
0% / 100%
期限切れ
4
25%
類似した注文
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money

プロジェクト情報

予算
10 - 40 USD
開発者用
9 - 36 USD
締め切り
最低 1 最高 2 日