Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Create an EA to trade pair 1 and pair 2 on the main chart (pair 1)
EA will open buy pair 1 and sell pair 2 OR
EA will open sell pair 1 and buy pair 2
open and closing condition based on indicator that will be given to you.
Conditions to open position (positive HedgeRange)
a. HedgeRange >= 150, trading status = OK
b. Open positions by following the indicator signal.
c. If HedgeRange becomes bigger >= 300, trading status = OK
d. Open new positions by following the indicator signal.
e. If HedgeRange becomes bigger >= 450, trading status = OK
f. Open new positions by following the indicator signal.
g. HedgeRange < 0 Close all positions
Conditions to open position (negative HedgeRange)
h. HedgeRange <= -150, trading status = OK
i. Open positions by following the indicator signal.
j. If HedgeRange becomes bigger <= -300, trading status = OK
k. Open new positions by following the indicator signal.
l. If HedgeRange becomes bigger <= -450, trading status = OK
m. Open new positions by following the indicator signal.
n. HedgeRange > 0 Close all positions
If trading status = NONE, do not open positions.
EA must show trade level for both pairs on main chart.
Once you done create EA, i want to forward test first for 3-4 days before we can complete job.