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%
기한 초과
1
4%
로드됨
2
개발자 2
등급
(156)
프로젝트
219
22%
중재
14
64% / 21%
기한 초과
1
0%
바쁜
3
개발자 3
등급
(37)
프로젝트
59
27%
중재
25
20% / 52%
기한 초과
10
17%
작업중
4
개발자 4
등급
(17)
프로젝트
23
39%
중재
0
기한 초과
0
작업중
5
개발자 5
등급
(36)
프로젝트
45
2%
중재
6
33% / 17%
기한 초과
1
2%
무료
6
개발자 6
등급
(22)
프로젝트
28
11%
중재
6
33% / 50%
기한 초과
4
14%
작업중
7
개발자 7
등급
(37)
프로젝트
42
29%
중재
4
25% / 25%
기한 초과
0
무료
비슷한 주문
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

프로젝트 정보

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