When pending order triggered, open another pending order

MQL5 Consultation

Tâche terminée

Temps d'exécution 4 heures
Commentaires du client
It was really fast. He made better as i expected.
Commentaires de l'employé
Good customer, nice working with him. No stress and good communication. Thanks for the job

Spécifications

I have been developing an EA. I couldnt catch an event when pending order activated. 
I just need a code to catch it and do something when a pending order triggered.

In the initial version of the program, I'm opening an instant active position. At the same time, I'm opening a pending order at a distance of distancePips. If this pending order is triggered, I want to open a new pending order at the same type at the location of the active position. I couldn't capture the triggering of this pending order. I need someone who can send me this code.
I tried to do it in OnTrade or OnTradeTransaction but couldn't find it.

first step
- Active buy position at 1123
- Pending sell order at 1023

---- its like a loop
-> when pending sell order triggered at 1023
-> open a new pending buy order at 1123

-> when pending buy order triggered at 1123
-> open a new pending sell order at 1023
----- i have to catch the triggering of pending order to do this !

Répondu

1
Développeur 1
Évaluation
(10)
Projets
25
28%
Arbitrage
1
0% / 0%
En retard
1
4%
Chargé
2
Développeur 2
Évaluation
(156)
Projets
219
22%
Arbitrage
14
64% / 21%
En retard
1
0%
Occupé
3
Développeur 3
Évaluation
(37)
Projets
59
27%
Arbitrage
25
20% / 52%
En retard
10
17%
Travail
4
Développeur 4
Évaluation
(17)
Projets
23
39%
Arbitrage
0
En retard
0
Travail
5
Développeur 5
Évaluation
(36)
Projets
45
2%
Arbitrage
6
33% / 17%
En retard
1
2%
Gratuit
6
Développeur 6
Évaluation
(22)
Projets
28
11%
Arbitrage
6
33% / 50%
En retard
4
14%
Travail
7
Développeur 7
Évaluation
(37)
Projets
42
29%
Arbitrage
4
25% / 25%
En retard
0
Gratuit
Commandes similaires
The basic indicator and the only indicator to be used is PRICE PERCENT RANGE and the indicator files are attached. A picture to visualize what is required is also attached. Job: Indicator : 1. Add Buy alert and Buy arrow function,if the price%R value touches or goes below value 9.5 or the user specified,after candle close. 2. Add Sell alert and Sell arrow function,if the price%R value touches or goes below value 90.5

Informations sur le projet

Budget
30 - 40 USD
Pour le développeur
27 - 36 USD
Délais
à 1 jour(s)