MQ4 Script " Script for Order Entry/Order Modification"

MQL4 Scripts

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
Excellent job. Highly recommended. Truly above expectation

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(1928)
Projets
3548
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
2
Développeur 2
Évaluation
(70)
Projets
86
31%
Arbitrage
1
100% / 0%
En retard
1
1%
Gratuit

Informations sur le projet

Budget
10 - 50 USD
Délais
de 1 à 3 jour(s)