Modify to an Existing EA

MQL4 Интеграция

Работа завершена

Время выполнения 1 день
Отзыв от заказчика
Nice to work with, and got the time to understand it. Great.
Отзыв от исполнителя
thank you

Техническое задание

I need a coder to make this rule for me, so I can integrate it in my EA.

The strategy  is to count from last Orders open price,

if price goes up X-pips, it opens a BUY (POS1), then  if price goes down X-pips,  it opens a SELL (POS2).

So far so good.


But then if the price goes up again X-Pips, it would open again at the same price as the existing opened BUY, but we want it to go further up from here the X-Pips before it  is allowed to open a BUY (POS3).
If the existing Opened BUY is more than 2 positions away, it is allowed to open the BUY at the same price.

 

//=========== Code

  int tick=GetLastPositionTicket();   

  if(OrderSelect(tick,SELECT_BY_TICKET) && GVGet("Stopped")==0 && GVGet("Start")==1)

    {

      if((OrderOpenPrice()-Bid)/(Point*P)>Distance_Down)sell=true;     

      if((Ask-OrderOpenPrice())/(Point*P)>Distance_Up)buy=true;

    }

 

//==============   

Откликнулись

1
Разработчик 1
Оценка
(41)
Проекты
160
45%
Арбитраж
16
13% / 50%
Просрочено
48
30%
Свободен
2
Разработчик 2
Оценка
(266)
Проекты
540
50%
Арбитраж
55
40% / 36%
Просрочено
224
41%
Свободен
3
Разработчик 3
Оценка
(473)
Проекты
1138
44%
Арбитраж
51
31% / 33%
Просрочено
500
44%
Свободен
4
Разработчик 4
Оценка
(12)
Проекты
17
35%
Арбитраж
1
0% / 100%
Просрочено
3
18%
Свободен
5
Разработчик 5
Оценка
(467)
Проекты
701
56%
Арбитраж
44
30% / 32%
Просрочено
114
16%
Работает
6
Разработчик 6
Оценка
(47)
Проекты
140
49%
Арбитраж
9
56% / 0%
Просрочено
27
19%
Свободен
7
Разработчик 7
Оценка
(49)
Проекты
134
27%
Арбитраж
62
13% / 53%
Просрочено
58
43%
Свободен
Похожие заказы
I am seeking a coder who has experience in converting an MT4 indicator & EA(.mq4 file, source code provided) to TradingView's Pine Script. The indicator should be identical to the original, with the same inputs and settings. Upon completion of the task, the coder will send me the Pine Script indicator & EA along with the full source code, and the project will remain confidential. This task should be straightforward

Информация о проекте

Бюджет