Discussion of article "Library for easy and quick development of MetaTrader programs (part XV): Collection of symbol objects"

 

New article Library for easy and quick development of MetaTrader programs (part XV): Collection of symbol objects has been published:

In this article, we will consider creation of a symbol collection based on the abstract symbol object developed in the previous article. The abstract symbol descendants are to clarify a symbol data and define the availability of the basic symbol object properties in a program. Such symbol objects are to be distinguished by their affiliation with groups.

Symbol collection concept

I have already defined the concept of constructing object collection classes in the third part of the library description. Here, I am going to adhere to the adopted data storage structure. This means we need to create a list for the symbol collection. The list is to store descendant objects of the "symbol" class created in the previous article. The abstract symbol descendants are to clarify a symbol data and define the availability of the basic symbol object properties in a program. Such symbol objects are to be distinguished by their affiliation with groups (symbol status).

  • Forex symbol — all Forex symbols not falling into the following Forex symbol categories:
  • Major Forex symbol — the custom category of the most used forex symbols
  • Minor Forex symbol — the custom category of less used Forex symbols
  • Exotic Forex symbol — the custom category of rarely used Forex symbols
  • Forex symbol/RUB — the custom category of Forex symbols featuring RUB
  • Metal — the custom category of metal symbols
  • Index — the custom category of index symbols
  • Indicative — the custom category of indicative symbols
  • Cryptocurrency symbol — the custom category of cryptocurrency symbols
  • Commodity symbol — the custom category of commodity symbols
  • Exchange symbol — all exchange symbols not falling into the following categories of exchange symbols:
  • Futures
  • CFD
  • Security
  • Bond
  • Option
  • Non-tradable asset
  • Custom symbol
  • General category — symbols that do not fall into the above categories

Author: Artyom Trishkin

 

Hi,

Super interesting article, like the previous ones of the collection.

Thank you so much for sharing.

How many articles will there be in total ?
 
Laurent Soudron :

Hi,

Super interesting article, like the previous ones of the collection.

Thank you so much for sharing.

How many articles will there be in total ?

Hi. Thank you for rating. There will be many articles. Much more than there is at the moment. I won’t say the exact quantity - I don’t know the exact quantity myself.

 

Big praise again Artyom!

You write the best articles for the German users.

Very understandable !

MQ continues to support him for new good articles.

Greetings

 
Christian :

High praise again Artyom !

You write the best articles for the German users.

Very understandable !

MQ continues to support him for new good articles.

Greetings

Thank you very much.

 

How do you manage such a good translation?

 
Christian :

How do you manage such a good translation?

By translating articles? That's what MetaQuotes does.

 
Artyom Trishkin:

With the translation of articles? That's what MetaQuotes does.

Ok, I thought that was done by the article creator.

So an external translator is still working in the background?

 
Christian :

Ok, I thought the article creator would do that.

So an external translator is still working in the background?

The MetaQuotes team has its own full-time translators. They deal with the translation of articles.

 
Artyom Trishkin:

The MetaQuotes team has its own full-time translators. They deal with the translation of articles.

Good, thanks for the info

 

Hi Artyom,

Thank you for sharing your vast knowledge, there is so much to learn in your articles.

However, it seems like even when you select to work with the Market Watch Symbols, the EA still uses only the current symbol, it does not load the rest of the Market Watch Symbols.. I don't know if its only me experiencing that.. but I would love to see it work on all the Market Watch Symbols if possible.

Otherwise, congrats and thanks again for your selflessness in sharing info.

Kudos!!