Simplest Logger class for MetaTrader 5 – library MetaTrader 5

Simplest Logger class for MetaTrader 5 - library for MetaTrader 5
Every programmer has their own logger. I wrote my own for MQL5, inspired by the Python logging module. This class is simplest. No hierarchy, rotators or formatters. It’s simple and convenient for any project. Installation Copy CDKLogger.mqh to MQL\Include\DKStdLib\Logger folder. Import CDKLogger class. #include <DKStdLib\Logger\CDKLogger.mqh onee CDKLogger logger; // STEP 1. Init Logger with “MyLoggerName” … Read more

Simplest CSV file reader – script MetaTrader 5

Simplest CSV file reader - script for MetaTrader 5
Use this simplest class to read CSV file with out any preparations and types casting declarations. Find the shortest usage example below. string Filename = “filename.csv”; CDKSimplestCSVReader CSVFile; // Create class object // Read file pass FILE_ANSI for ANSI files or another flag for another codepage. // Give values separator and flag of 1sr line … Read more