The 'day of week' function is designed to determine the required month based on the day of the week and its occurrence within that month. For instance, it can identify the third Fr...
The class is designed for localization of messages in MQL5 programs. In brief, all that outputs in the log with the help of the print() function and text messages displayed in aler...
This function measures trend strength as a percentage, aiding in determining the direction of a previously formed trend for indicator creation.The ideal trend illustration (downtre...
For an operating system x86 and x64:1. Sending Instant MessagesThe function includes several tests before sending an instant message:- The user name cannot be empty or start with a...
128-byte algorithm developed by a professor from MIT in 2026.Example of use:- As an array, we can pass data read from various sources like FileReadArray, file, etc.Benefits:- Check...
A class to control the MIDI device is located in the incmidi.mqh file. The example of its use is represented in the emidi.mq5 file.The order of using the cmidi class:Connect a file...
the detailed description is .added:the setcolorformat(enum_color_format acolorformat=color_format_argb_normalize) method;the parameter: acolorformat - the enum_color_format color f...
Trade functions library designed for use in the code of scripts and expert advisors, tailored to various broker offerings.This library is the foundation for numerous expert advisor...
DescriptionMetaTrader 4 enables the use of objects within the Expert Advisor during testing. Upon test completion, the chart featuring these objects will be displayed. Arrows facil...
This trailing stop module utilizes two stop levels: a short stop and a long stop. The long stop level functions similarly to a fixed trailing stop.The short stop level is activated...
This library allows you to run most scripts and indicators from MetaTrader 4 on MetaTrader 5. Most of the functions are covered already and only trading logic is not added, so for ...
The iBarShift function, commonly used in MQL4, is not directly available in MQL5.MQL5 includes fundamental, low-level functions within its libraries that allow for the implementati...
EasyXML: A Powerful XML and XHTML Parser for MQL5Core Functionality and CapabilitiesEasyXML is a robust yet user-friendly XML parser designed to read and process XML data from mult...
An enhanced CTable class featuring a new cellRefresh method for individual cell updates. This method allows modification of cell properties including background color, text color, ...
This class implements classical smoothing techniques for double arrays, providing an alternative to standard indicator functions for smoothing data.Class Usage Requirements:- Provi...
This class implements the Donchian Channel indicator, optimized for speed.It uses a single while loop instead of two for loops for improved performance.Class Usage Requirements:- P...
This code provides a robust mechanism to manage your trading risk by setting a maximum percentage of equity risk.Key features:- Risk Assessment: Checks if the requested buy/sell lo...
We've all faced the challenge of managing complex indicators with numerous buffers and plots. The cplotmanager class is designed to streamline this process, eliminating manual buff...
This library is designed to send mail messages. The function set expands the possibilities of traditional sendmail. Now you can send messages in both text and HTML formats. Message...
This script checks if a date falls within summer or winter time.The function determines the time of year by considering the last Sunday of October and March, when shifts to winter ...
This library provides a set of functions to calculate the margin required for opening a position in MetaTrader 5.The main function, getmarginforopening(), calculates the margin nee...
Why this is necessaryGlobal variables, disk or memory-mapped files, and important operating procedures are no longer an issue!If you use:- Calls to the same data from different exp...
A library for working with files using WinAPI, eliminating location restrictions.Currently, the library supports read-only mode and will be updated in the future.To use the library...
KlotThis library provides a set of fast Fourier transformation functions for efficient signal processing and analysis.The library was first introduced in MQL4 in 2026 and offers th...
An include file contains a set of classes demonstrating a method of organizing lines in a hash array with a string key.Example of usage:- The result: [output details]- Performance ...
The ctimecontrol class is a powerful tool for managing trading times within your Expert Advisor (EA).Here's how you can use it:Include the class:#include "timecontrol.mqh"Create an...
This class is designed for creating interactive buttons with various states on a price chart.A demonstration of the cbtn classClass Methods- create(long chart_id, int sub_wnd, stri...
The Сbmp Button Transparent class and examples were developed for a competition. This class enables the handling of cursor hover and button press actions on free-form buttons.The b...
This package includes a custom indicator and an Expert Advisor (EA) example.Module Demonstration using Generated BarsTips:The module is effective as a trend filter when incorporate...
A comprehensive set of statistical functions designed for MetaTrader 4/5, enabling you to compute various descriptive values for time series data.This collection includes:- Correla...
The attached *.mqh file contains functions for creating objects and modifying object properties, aiding in rapid test code development that creates objects on charts and adjusts ex...
This file offers an improved version of the WndContainer.mqh file, enhancing the functionality of container windows. The modifications ensure that the chart remains unaffected when...
Unzip the archive into the \mql5\include\math\fuzzynet\ directory. The library codes are located here, and sample test scripts can be found in the \mql5\scripts\fuzzynet\ directory...
MetaQuotes Software: Bug Fixes and EnhancementsWhen working with the standard library on a pixel basis, you may encounter missing pixels due to bugs in the crect class. The primary...
Serialization and deserialization of JSON protocol.This code is a port from a high-speed C++ library, offering efficient data handling.Contribute by sharing examples of MQL impleme...
The CCComment class enhances the functionality of the standard function, enabling the display of multi-line comments on a panel with customizable text color, font, style, and line ...
This class is designed to help define and manage trading time intervals (sessions) within trading strategies.The class aims to simplify the input of date and time, reduce potential...
Have you ever needed to restrict your Expert Advisor's (EA) trading activities based on specific times? For instance, preventing trading during nighttime hours or closing all posit...
The CS A L Chart Points class enhances the capabilities of MetaTrader platforms.Advantages of this class include:- A simplified interface for interacting with MQL Rates data.- Exte...
Signal based on the indicator developed by analyst Odir Aguiar (Didi).It consists of 3 moving averages (3, 8, 20), also known as Didi's Needles.This indicator allows for the visual...
This article describes how to create a user-friendly interface for your programs.Implementation of interactive windows is based on the use of the MasterWindows class library.The Ma...
This filter simplifies the intraday time filter provided by the standard library. It allows you to use strings (10:00 - 16:00) to set your intraday start and end times, eliminating...
This indicator provides three operating modes: trigger, continuous, and both.In trigger mode, the signal is generated when the price crosses the indicator or when there is a pierci...
Microsoft Corporation. Source code taken from .Note: The library works on the MetaTrader 5 build 1285 and higher.Unzip the archive into the . The library codes are located in the: ...
An instance of this class provides access to various price-related values, including bid, ask, high, low, close, and open prices for the current or specified candle. It also retrie...
This lightweight cross-platform library enables efficient and rapid comparison of 'double' values for the 'price' variable.For instance, prior to executing a selllimit order, it ca...
This cross-platform library enables byte-wise operations with structures and standard data types, offering a range of features:- Byte-wise comparison (== and !=) of structures and ...
The Advanced Encryption Standard (AES) is a symmetric block cipher used for protecting classified information by the U.S. government and is widely implemented in software and hardw...