Discussion of article "Library for easy and quick development of MetaTrader programs (part III). Collection of market orders and positions, search and sorting"
Another good series.
Keep up the good work!
It would be nice if the articles were linked to each other.
At the moment you can only get from the 3rd to the 1st, so always from the newest to the old.
But not from the 1st to the 3rd.

Or have I overlooked something ?
Can you change articles afterwards?
Regards
Another good series.
Keep up the good work!
It would be nice if the articles were linked to each other.
At the moment you can only get from the 3rd to the 1st article.
But not from the 1st to the 3rd.
...Or have I overlooked something?
Can you change articles afterwards ?
Greetings
The article says that the series is a work-in-progress, which means that when the first article was published, the third one didn't exist yet, which, according to you, should have been linked.
It's just a few more clicks - sooo lazy ;)
It's just a few more clicks - sooo lazy ;)
No Carl, I can find what I'm looking for.
I only do this for the forum to make it easier for those who don't have these skills to find the next article.
Нет, Карл, я найду то, что ищу.
Я делаю это то только для форума, чтобы тем, кто не обладает этими навыками, было легче найти следующую статью.
Начиная со статьи №4 будут линки на предыдущие части. Готово уже 8 статей, в ожидании проверки находятся две статьи. Но будет больше. Много больше. Ждите переводов. Ну или читайте на русском ;)
EN (Google):
Starting from article number 4 there will be links to the previous parts. Already published 8 articles in the Russian segment of the forum. Pending publication - two articles are under review. But there will be more. Much more. Wait for translations. Well, or read in Russian ;)
Somehow ORDER_STATUS_MARKET_ACTIVE was replaced by ORDER_STATUS_MARKET_POSITION in Defines.mqh. And everywhere, and throughout the project, where previously written ORDER_STATUS_MARKET_ACTIVE should be replaced with ORDER_STATUS_MARKET_POSITION.
This is not a big note, for those who will also scrutinise and pump their skills... On this series of articles. =)
Somehow ORDER_STATUS_MARKET_ACTIVE was replaced by ORDER_STATUS_MARKET_POSITION in Defines.mqh. And everywhere and throughout the project, where ORDER_STATUS_MARKET_ACTIVE was written earlier, it should be replaced with ORDER_STATUS_MARKET_POSITION.
This is not a big note, for those who will also scrutinise and pump their skills... On this series of articles. =)
Yes. Sometimes some things are changed "quietly" - there is no point in describing them, but it is not difficult to replace them. And it is often said in the articles that some minor tweaks were made.
Everything is in the attached files, and the articles describe the essence.
Greatest work! Blessings and prosperity to you.
There is no criticism, but there should be, in the sense of useful criticism. Still in the work on the project we ignore already standard functions.
| The function is called in EAs during thetrade event generated at the end of a trading operation on a trade server | |
| The function is called in EAs when theTradeTransaction event occurs to process a trade request execution results |
- www.mql5.com
Great work! Blessings and prosperity to you.
There is no criticism, but there should be, in the sense of useful criticism. Still, in the work on the project we ignore the already standard functions.
| The function is called in EAs during thetrade event generated at the end of a trading operation on a trade server | |
| The function is called in EAs when theTradeTransaction event occurs to process a trade request execution results |
I bypassed them on purpose.
1. Compatibility with MQL4
2. Avoiding occasional loss of events when using them.
Entendo o que você quer dizer, mas sou novo no mql. Alguém pode resolver isso para mim?
in the "TimerCounter.mqh" file, the sentence "const CTimerCounter *counter_compared = node;" throws error when compiling: "'=' - type mismatch".
I understand what you mean, but I'm new to mql. Could someone solve this for me?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use

New article Library for easy and quick development of MetaTrader programs (part III). Collection of market orders and positions, search and sorting has been published:
In the first part, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms. Further on, we implemented the collection of history orders and deals. Our next step is creating a class for a convenient selection and sorting of orders, deals and positions in collection lists. We are going to implement the base library object called Engine and add collection of market orders and positions to the library.
Here we are going to create a class for a convenient selection and sorting of orders, deals and positions in collection lists, implement the base library object called Engine and add collection of market orders and positions to the library.
At the moment, a certain data storage structure is already emerging. We are going to adhere to it when creating collections of various object types:
A single Engine object will be created for storing and managing collections, as well as for exchanging data between the program and the library. Engine is to become the base object of the entire library. Programs based on the library are to refer to it to obtain data. Besides, it is to accumulate the entire library automation.
Author: Artyom Trishkin