Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Existing EA needs clean up/modification-
This is 2 of 2 Stage modification. Coder applying for this job needs to take all 2 jobs. If any of the jobs listing (Stage 1, Stage2, ) doesn’t interest you, please do not apply.
Existing EA needs fixing/modifying. This project is multiple work orders in one, but in order to achieve what I want to see this in progression. In the past, when I had this types of coding fix/modification, I have hard time checking all of the fixed code at once, so this time, I want to do this in stage. What I want in this project is, as listing below, coder to fixed the EA and send it to me to test. I can test all different version# at the same time or simultaneously or in any orders as coders complete the code, but at the end of this project, I would like to have all source code of different version#s, so please make sure not to mixed the version#. In other words, to be checked/fixed/modified listed below, each listing will have different version# and I want the mq4 file for each versions.
I will provide original EA to selected coder.
About my existing EA:
This EA is Grid/Hedging type EA that was written several years ago and was working flawlessly.
Since new build, it has multiple issues and I can’t pinpoint the reason why suddenly EA stops working on some parts of its functions. Ex: EA doesn’t seems to open/close on some of the options built-in to this EA. Also, SL/TP doesn’t seems to work sometimes. (Example: Even if I set the SL = 30 and TP=39, it close when Profit=0. It was working before. This, I can’t pin point since sometimes it works and sometimes it doesn’t even on same broker’s platform. I like many features this EA has and I got used to using it, thus, rather than creating new EA, I want to use this EA and do clean up, modify, check to make sure all function is working, etc.
Stage 3: Marked the version#300
After Stage 1, I need hedging function of the EA to be modify.
When this EA hedge, it hedge on same pair. I (US Citz) can’t hedge on same pair, thus, I want this options to be modify to hedge with correlation pair:
Example: Currently, when EA Initiate initial order of direction = long, as trend reverses, EA opens ‘short’ order of same pair. - Since I can’t hedge on same pair, I want this function of the EA to be an option and modified to open Correlation Pair, in same direction. In this modification process, EA’s settings should have extra options;
extern bool HedgeWithCorrPair = true/false;
extern bool CorrelationPair = USDCHF;
If HedgeWithCorrPair = true, EA will open CorrelationPair instead of hedging on same pair. It will be a market order where EA calls hedging order of same pair, thus, there isn’t going to be uniform Grid space on initial order for this correlation pair. However, once CorrelationPair is hedged, the following Grid orders should be followed the EA’s existing rules already in place.
** I will send more detail description of this function with image once this job is assigned to a coder.