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
等级
(1928)
项目
3548
88%
仲裁
73
40% / 15%
逾期
268
8%
空闲
2
开发者 2
等级
(70)
项目
86
31%
仲裁
1
100% / 0%
逾期
1
1%
空闲

项目信息

预算
10 - 50 USD
截止日期
 1  3 天