OK.. I check it..
Latest posts made by abu zaki
-
RE: identify group related to entry count and the ageposted in Questions & Answers
yap... Not specify by no actually..
-
RE: identify group related to entry count and the ageposted in Questions & Answers
Here one more sample for your understand..
......
002.mq4 -
RE: identify group related to entry count and the ageposted in Questions & Answers
Here attach sample for your reference..
......
001.mq4 -
RE: identify group related to entry count and the ageposted in Questions & Answers
Still not work..
Any more idea...

-
RE: identify group related to entry count and the ageposted in Questions & Answers
__Magic number attribute is used for Group numbers (Magic number=MagicStart+Group) and magic numbers cannot be modified at least in MQL4 - here is the function to modify trade/order and there is nowhere Magic number parameter: http://docs.mql4.com/trading/ordermodify
In other words, if a trade is created with magic number = 1000, it stays with it forever.But you can always close the N-th trade.[/quote:iv9utn2o]
OK I understand.. I try... thank..
-
RE: identify group related to entry count and the ageposted in Questions & Answers
It look like need sub loop after loop.
1st loop
- skip 10
- not more than 10.
2nd loop
- skip = EMPTY
- not more than = 1 ( best entry to closed base on condition)
is it possible ???....
-
RE: identify group related to entry count and the ageposted in Questions & Answers
But the problem.
How to determint if want to close only one post for certain group.
the post felt best to close based on condition.
-
RE: identify group related to entry count and the ageposted in Questions & Answers
How to identify group related to entry count and the age :
Assume have 3 group need in identify.
Example – entry count = 9 = post 1,2,3,4,5,6,7,8,9.
Group 01 = 1, 2, 3 (post 1 = entry that oldest)
Group 02 = 4, 5, 6
Group 03 = 7, 8, 9 (post 9 = entry that youngest)If case further position closed for entry 1, 5, 7 and the next new entry is A, B, C.
Group condition will change like :Group 01 = 2, 3, 4 (post 2 = entry that oldest)
Group 02 = 6, 8, 9
Group 03 = A, B C (post C = entry that youngest)I need the solution please.....