SL removal / reinstatement

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

Время выполнения 6 дней
Отзыв от заказчика
Good developer. Thought I would give him a go. He definitely delivered and was patient throughout the whole process. Will use again. Thanks Reza.

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

Problem: Spread jumps at role over hitting stops due to massive spreads.

I need a script or EA to:

* runs at a particular time: say hour (23) and Minute (57)

* records current stop losses of all trades (if any) and writes to buffer/file
* removes all stop losses from trades

*script stays active until input time of Hour (00) and minute (05) reads buffer/file and reinstates stop loss values onto the orders previously recorded (if any).
*if SL reinstatement fails, then retries X minutes later.

*Sleeps until activation time above.

 Variables:

Start hour

Start minute

Finish Hour

Finish Minute

SL distance change 

Remove SL: true/false 

Notifications: true/false (sends notifications to MQID device to inform that the SLs have been removed, and then again for when the SLs have been replaced.) 

 

and anything else you can think of?

 ************************

I have realised that you don't need to REMOVE the SL, you can make it very big instead. i.e. It might be easier, to:

if order = sell then, read current SL, add 200 pips to CURRENT SL to obtain the new SL... at finish time, remove 200pips from the new SL to get back to the original distance.

If order = buy then, read current SL, remove 200pips to current SL  to obtain the new SL... at finish time, add back on the 200pips from the new SL to get back to the original distance.

************************ 

The EA/script MUST NOT interfere with the magic numbers associated with the orders that are being modified. 

Thanks 

 



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

1
Разработчик 1
Оценка
(624)
Проекты
981
47%
Арбитраж
32
38% / 34%
Просрочено
96
10%
Работает
Опубликовал: 6 примеров
2
Разработчик 2
Оценка
(117)
Проекты
138
41%
Арбитраж
30
7% / 77%
Просрочено
17
12%
Свободен
3
Разработчик 3
Оценка
(11)
Проекты
12
0%
Арбитраж
2
0% / 50%
Просрочено
1
8%
Свободен
4
Разработчик 4
Оценка
(34)
Проекты
80
34%
Арбитраж
13
31% / 54%
Просрочено
19
24%
Свободен
5
Разработчик 5
Оценка
(97)
Проекты
121
25%
Арбитраж
5
20% / 60%
Просрочено
17
14%
Свободен

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

Бюджет
10+ USD
Сроки выполнения
от 1 до 5 дн.