When pending order triggered, open another pending order

MQL5 Danışmanlık

İş tamamlandı

Tamamlanma süresi: 4 saat
Müşteri tarafından geri bildirim
It was really fast. He made better as i expected.
Geliştirici tarafından geri bildirim
Good customer, nice working with him. No stress and good communication. Thanks for the job

Şartname

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 !

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(16)
Projeler
35
23%
Arabuluculuk
4
0% / 50%
Süresi dolmuş
2
6%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(274)
Projeler
403
28%
Arabuluculuk
40
40% / 50%
Süresi dolmuş
1
0%
Serbest
3
Geliştirici 3
Derecelendirme
(37)
Projeler
59
27%
Arabuluculuk
26
19% / 54%
Süresi dolmuş
10
17%
Çalışıyor
Yayınlandı: 1 kod
4
Geliştirici 4
Derecelendirme
(47)
Projeler
67
37%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
1
1%
Serbest
5
Geliştirici 5
Derecelendirme
(36)
Projeler
45
2%
Arabuluculuk
6
33% / 17%
Süresi dolmuş
1
2%
Serbest
6
Geliştirici 6
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(43)
Projeler
49
29%
Arabuluculuk
4
25% / 25%
Süresi dolmuş
0
Serbest

Proje bilgisi

Bütçe
30 - 40 USD
Son teslim tarihi
to 1 gün