Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
1. EA should open trade on a particular time - Time should be editable eg. if I set time 5:30 so it should open trade at 5:30 AND if I set 7:00 then it should open trade at 7:00
2. On a given time if start of candle is above 200 EMA then it should open buy position and if on a given time start of the candle is below 200 EMA it should open sell position with fix take profit in points
3. EA should open trade with fix take profit in points - eg. 100 points - which should be editable
4. The trade will be remain open until take profit or maximum for 48 hours and then it will take a stop loss - eg. if trade is opened 5:30 on wednesday and if it doesn't hit take profit then it will close automatically on 5:30 Friday
on Thursday it will open new trade at 5:30, So on Friday it will close wednesday trade and open new trade at 5:30. And if the trade is opened on Friday 5:30 and it will not hit profit on friday so it will remain open on Monday also and if doesn't take profit on Monday then it will close will stop loss on Tuesday 5:30. So in short opened trade remain open till take profit or for next 2 working days.(48hours)
5. In a day EA should open only one position as mentioned above.
6. Trade with open with fix points profit only and open stop loss, so it does not have stop loss when it opens trade and hit stop loss as mentioned above if profit is not booked in 48hours or 2 working days.
7. EA should work in 15minutes time frame
8. To open trade it will take % of balance amount , eg. 1% of total balance or 1.5% of total balance : it will be editable
9. Have option to close trade automatically before 1 hour of any major news of the particular pair in which we are trading eg. usa high impact news - Yes/no editable
On chart following things should be displayed
1. User name : jaanviinvestmentsninsurance
2. Date and Time :
3. Trade opening time :
4. Trade Closing time : in reverse clock 48:00 hours to going back to 00:00
5. Take profit in points :
6. Direction : Long or Short
7. Distance from 200 EMA :
8. Close trade before major news : yes/no