When pending order triggered, open another pending order

MQL5 컨설팅

작업 종료됨

실행 시간 4 시간
고객의 피드백
It was really fast. He made better as i expected.
피고용인의 피드백
Good customer, nice working with him. No stress and good communication. Thanks for the job

명시

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 !

응답함

1
개발자 1
등급
(10)
프로젝트
25
28%
중재
1
0% / 0%
기한 초과
2
8%
작업중
2
개발자 2
등급
(144)
프로젝트
203
21%
중재
13
62% / 23%
기한 초과
1
0%
로드됨
3
개발자 3
등급
(37)
프로젝트
59
27%
중재
24
21% / 54%
기한 초과
10
17%
작업중
4
개발자 4
등급
(15)
프로젝트
19
42%
중재
0
기한 초과
0
로드됨
5
개발자 5
등급
(36)
프로젝트
45
2%
중재
6
33% / 17%
기한 초과
1
2%
무료
6
개발자 6
등급
(20)
프로젝트
24
8%
중재
6
17% / 17%
기한 초과
3
13%
바쁜
7
개발자 7
등급
(36)
프로젝트
40
30%
중재
4
0% / 25%
기한 초과
0
작업중

프로젝트 정보

예산
30 - 40 USD
개발자에게
27 - 36 USD
기한
 1 일