Discussion of article "Library for easy and quick development of MetaTrader programs (part XVI): Symbol collection events"
Maybe someone will learn something from these codes. But what is the use of this bible?
Maybe it would be better to attach some test robot that it would be clear why all this clutter?
Maybe it would be better to attach some test robot that it would be clear why all this clutter?
Dmitiry Ananiev:
Maybe someone will learn something from these codes. But what is the use of this bible?
Maybe it would be better to attach a test robot so that it would be clear why all this clutter?
Maybe someone will learn something from these codes. But what is the use of this bible?
Maybe it would be better to attach a test robot so that it would be clear why all this clutter?
And the application will be later. Now the collection of necessary data is being realised. And test advisors are attached to each article. Further it will be organised simple access to any available data, and this data can also report about changes in its state. The user's task is to react to the message about the change of state. Or to request the necessary information and immediately receive and process it.
You see, in order to "attach a test robot", you need to know exactly what to show in it out of the many possibilities. You didn't ask "how to get", you asked "why".....
Tried it on a real account. When working with the current symbol (BR-8.22) works fine. But what is strange is that when working with the specified list, I took the names of symbols from the "Market Watch" window and BR-8.22 futures does not recognise (Number of symbols used is 0), but @BR does.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
New article Library for easy and quick development of MetaTrader programs (part XVI): Symbol collection events has been published:
In this article, we will create a new base class of all library objects adding the event functionality to all its descendants and develop the class for tracking symbol collection events based on the new base class. We will also change account and account event classes for developing the new base object functionality.
Now let's launch the EA in the tester with two symbols and see what entries it will show.
In the tester settings, for the Mode of used symbols list EA input parameter, select "Working with the specified symbol list" from the drop-down list, while in the List of used symbols (comma - separator) parameter, enter two comma-separated symbols: EURUSD,GBPUSD and launch the visual EA test:
The entries about the events of both symbols (in particular, the ones related to spread changes in the used symbols) are sent to the journal. When changing the account properties (in our case, it is an increase of the current profit), the appropriate entries are sent to the journal and profitable positions are closed.
Author: Artyom Trishkin