MQ4 Script " Script for Order Entry/Order Modification"

MQL4 Скрипты

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

Время выполнения 1 день
Отзыв от заказчика
Excellent job. Highly recommended. Truly above expectation

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

Need to write a script for MT4 for

Concept: I make my order entry at specified levels (every 250 or 500 or 1000 pips), when I enter an order I normally cover a range of 2000 pips (so roughly 4 orders). I want to automate this activity so order entry is automated with pre-specified SL and TP

A)Order Entry:

- If I click above the current market price then it should by default make a buyStop order
- If I click below the current market price then it should by default make a sellStop order

Pre Click (Setting) variables:

- Lot size (ex. 1)
- Lot numbers (ex 0.1)
- Number of orders (4)

For Example:
If I click on EURUSD 1.12 then outcome will be:

1- BuyStop @1.12000, SL 1.10500 TP1.12500
2- BuyStop @1.12500, SL 1.10500 TP1.13000
3- BuyStop @1.13000, SL 1.10500 TP1.13500
4- BuyStop @1.13500, SL 1.10500 TP1.14000
Note: SL does not move in different orders

B)Order Modification:
- All orders should respond to mouse dragging
- If closest order to price is not triggered yet and is dragged to a new trigger point then all remaining orders should adjust accordingly

For Example:
If price is on EURUSD 1.12 then outcome will be:

1- Buy @1.12000, SL 1.10500 TP1.12500 (Cant change)
2- BuyStop @1.12500, SL 1.10500 TP1.13000
3- BuyStop @1.13000, SL 1.10500 TP1.13500
4- BuyStop @1.13500, SL 1.10500 TP1.14000

If I drag order 2 to 1.13000 then the following orders change to:
1- BuyStop @1.13000, SL 1.10500 TP1.13500
2- BuyStop @1.13500, SL 1.10500 TP1.14000
3- BuyStop @1.14000, SL 1.10500 TP1.14500

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

1
Разработчик 1
Оценка
(1859)
Проекты
3463
88%
Арбитраж
73
40% / 15%
Просрочено
265
8%
Свободен
2
Разработчик 2
Оценка
(70)
Проекты
86
31%
Арбитраж
1
100% / 0%
Просрочено
1
1%
Свободен
Похожие заказы
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

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

Бюджет
10 - 50 USD
Исполнителю
9 - 45 USD
Сроки выполнения
от 1 до 3 дн.