When pending order triggered, open another pending order

MQL5 Beratung

Auftrag beendet

Ausführungszeit 4 Stunden
Bewertung des Kunden
It was really fast. He made better as i expected.
Bewertung des Entwicklers
Good customer, nice working with him. No stress and good communication. Thanks for the job

Spezifikation

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 !

Bewerbungen

1
Entwickler 1
Bewertung
(10)
Projekte
25
28%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
1
4%
Beschäftigt
2
Entwickler 2
Bewertung
(156)
Projekte
219
22%
Schlichtung
14
64% / 21%
Frist nicht eingehalten
1
0%
Überlastet
3
Entwickler 3
Bewertung
(37)
Projekte
59
27%
Schlichtung
25
20% / 52%
Frist nicht eingehalten
10
17%
Arbeitet
4
Entwickler 4
Bewertung
(17)
Projekte
23
39%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
5
Entwickler 5
Bewertung
(36)
Projekte
45
2%
Schlichtung
6
33% / 17%
Frist nicht eingehalten
1
2%
Frei
6
Entwickler 6
Bewertung
(22)
Projekte
28
11%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
4
14%
Arbeitet
7
Entwickler 7
Bewertung
(37)
Projekte
42
29%
Schlichtung
4
25% / 25%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
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

Projektdetails

Budget
30 - 40 USD
Für die Entwickler
27 - 36 USD
Ausführungsfristen
bis 1 Tag(e)