Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
hi
You will make a new Expert Adviser for MT4 Platform. You will give me ex4 and mq4 file.
Strategy of EA will be like this-
EA will have different options which can be enabled or disabled.
It will have features which will be as follows-( All options will be optional which can be enabled or disabled)-
Hidden stop loss,
Hidden take profit,
Hidden break even point,
Hidden trailing stop loss,
Overall take profit in 1 day,
(We will mention pips or points.
for example we put value of 100 pips in overall Take profit option. And if today EA reaches to that point where it has overall profit of 100 pips from all trades combination, it will instantly close all running trades for today and stop working for today’s date. Unless we don’t re-start the EA manually once again.which means we reattach it to same chart and start EA again for today’s date)
Time to Trade for EA – Start time and End time (At the end time, there might be a running trade , give me option in the EA, If I want to close this ongoing trade instantly at the mentioned end trading time only or if we disable this option, the ongoing trade will keep running until it will not get the closing signal from change of MACD Histogram Value to other direction.)
Trade Instantly- Enable or Disable. If we choose Disable, After the start of EA, it will open the first new trade once the MACD Histogram Value changes direction. For example- If at start time of EA , MACD Histogram Value is positive, EA will wait until the Value changes to negative and it will open first sell trade.
If we enable this option, the EA will open trade at the very start time, it will see if MACD Histogram Value is positive,a buy trade will be opened instantly at the start time of EA and vice versa for sell trade.
Filter Moving Average- If we Enable it, If price is below the MA, it will only open sell trade when MACD Histogram value is negative and close these trades when MACD Histogram value becomes positive but it will not open the buy trade until price remains below the MA and vice versa.
One important point here- If we use Filter MA, it should open a buy trade when 2 criteria meets together- (1) Price is above MA and (2) MACD Histogram is positive. It can happen in two ways- First way- MACD Histogram was running positive since earlier and price suddenly crosses above MA. So at the cross of MA (to above) by a candle, the buy trade will be opened by the EA , on the open of very next candle which will be above MA.This was First way.
Second way would be like- Price was already above the MA and now MACD Histogram value becomes positive from negative and at this instance , the EA should open a buy trade.
These both ways should work for sell trade when opposite criteria meets.
This is very very important that the EA should work according to above point which is in bold letters and Red.
It will open 1 trade at a time - buy or sell. When the EA closes 1 trade, at the same time , it will open opposite trade.(When Filter MA is Disabled otherwise when Filter MA is Enabled-there will be times when there will be only 1 open trade and sometimes no trade will be running because EA will wait for both criteria to meet which are Price and MACD Histogram values – both should be above or below at a time.)
It work according to VALUE of MACD histogram. It will not use the signal of Histogram.
When MACD Histogram value becomes positive from negative, it will open a buy trade at the open of very next candle. It will close this buy trade on the change of MACD Histogram from positive to negative and at the same time , it will open a sell trade.So, on the change of value of MACD Histogram from positive to negative, buy trade closes and sell trade opens and vice cersa.It will keep going like this until trade end time.
Please tell me , if you make an EA like this, how much time and money it will take?
I want to use it from tomorrow morning , You should finish it in few hours only.
Thanks.