MT4 FUNCTION to Close Any Open Orders that Exceeds X% Loss or Y% Gain

MQL4 Скрипты

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

Время выполнения 15 минут
Отзыв от заказчика
very fast! ty

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

I'm looking for a simple function, similar in format to the attached image, that I can call to close any orders based on either a MaxLossPercent or MaxGainPercent , both variables will be user parameters.

For Example

extern double MaxLossPercent = 0.03;

extern double MaxGainPercent = 0.10;


Any open traders that equal or exceed either of these conditions will be closed by the script. Should include error checking and sleep()


These 2 values are calculated based on the *** current account value **  (i.e. 100 account * MaxLossPercent = $3.00 ) or 100 account * MaxGainPercent = $10.00 ).

If you bid, please specify your turn around time.



 

Файлы:

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

2
Разработчик 2
Оценка
(885)
Проекты
1410
67%
Арбитраж
123
32% / 41%
Просрочено
218
15%
Свободен
Опубликовал: 1 пример

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

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