Function to Close all orders where Magic Number = 0

MQL4 스크립트 다른

작업 종료됨

실행 시간 14 시간

명시

I need the FOR/LOOP portion only  that will iterate through all  OPEN and PENDING (buy and sell) orders that automatically close any of these orders where the MagicNumber = 0.

I'll be integrating this into some other scripts that I already have so I only need this Loop functionality and nothing else.  You can build it as a Void function.


Pretty basic and simple.

thank you

Devon

응답함

1
개발자 1
등급
(71)
프로젝트
156
44%
중재
22
41% / 14%
기한 초과
16
10%
무료
게재됨: 10 코드
2
개발자 2
등급
(103)
프로젝트
205
41%
중재
17
29% / 71%
기한 초과
45
22%
무료
3
개발자 3
등급
(106)
프로젝트
314
49%
중재
42
52% / 19%
기한 초과
22
7%
무료
4
개발자 4
등급
(328)
프로젝트
538
66%
중재
53
21% / 40%
기한 초과
169
31%
무료
게재됨: 1 코드
5
개발자 5
등급
(225)
프로젝트
285
41%
중재
15
13% / 47%
기한 초과
67
24%
무료
6
개발자 6
등급
(118)
프로젝트
217
49%
중재
1
0% / 0%
기한 초과
25
12%
무료
게재됨: 1 코드

프로젝트 정보

예산
10 - 20 USD
기한
에서 1  3 일