Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Classes for working with databases in a simplified way - MetaTrader 5 Library | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

I wanted to use a SQLite database to store statistics generated by simulations, but I noticed early on that using the database built-in functions seemed very challenging and time-consuming. Then I decided to create a simplified class and function to make my job easier.

To use this class, developers simply include the file in their code and call the object databases.xxxxfunction_name().

It has served me very well in extracting and saving thousands of data points.


Attachment download

📎 databases.mqh (6.1 KB)

📎 stats_special_bars.mq5 (2.24 KB)

📎 example_database.png (154.57 KB)

📎 instructions.txt (0.73 KB)

Source: MQL5 #48362

Verification code Refresh