Discussion of article "MQL5 Cookbook — Macroeconomic events database"


New article MQL5 Cookbook — Macroeconomic events database has been published:

The article discusses the possibilities of handling databases based on the SQLite engine. The CDatabase class has been formed for convenience and efficient use of OOP principles. It is subsequently involved in the creation and management of the database of macroeconomic events. The article provides the examples of using multiple methods of the CDatabase class.

Adding new columns to a table is also a pretty common task.

Suppose that we need to expand our COUNTRIES table and add a column containing the number of macroeconomic events that fall into the calendar.

The task will be performed by the 15_add_new_column.mq5 script.

After executing the script, check the table (Fig. 5). Now it features the new column EVENTS_NUM.

New EVENTS_NUM column in the COUNTRIES table

Fig. 5. New EVENTS_NUM column in the COUNTRIES table

Author: Denis Kirichenko

nail sertoglu  
Nice "Information System Design" ; thanks for all efforts, i will study on article..