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 일