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...
log4mql is an MQL4 (MetaQuotes MetaTrader 4 Language) library designed for flexible logging to files and the terminal console. It is inspired by the log4j Java library.Documentatio...
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...
The original mql4-mysql.mqh library had critical memory management issues, causing crashes and instability. After thorough code analysis, the root cause was identified within the f...
This is a straightforward yet effective class for managing orders.While it could benefit from improved handling of magic numbers, this version serves as a starting point.Usage:...
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...
This library provides a comprehensive set of tools for creating and implementing fuzzy models in your applications.The library includes:- 5 core components.- A flexible framework f...
This library simplifies the process of programmatically filling values in the MT4 login dialog, which became more challenging after the release of build 880.It provides an easy-to-...
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 function enables the execution of specific code within defined time intervals. It is commonly utilized in Expert Advisors (EAs) to restrict trading activities to authorized pe...
This function closes all locked orders.This can significantly reduce trading costs by eliminating spread expenses on locked positions.Functionality- Closes all pending orders.- Clo...
This function calculates the appropriate lot size for a trade based on a specified stop loss distance and a risk percentage of the trading account balance.The calculation ensures t...
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...
This library provides a selection of 208 fonts for use within MetaTrader applications.Fonts can be chosen via a drop-down list.To apply a specific font in your code, refer to the p...
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...
A comprehensive library of functions for managing INI files within MetaTrader platforms (MT4/MT5).This library provides essential tools for both reading from and writing to INI con...
This library provides the functionality to implement a simple trailing stop mechanism for any Expert Advisor (EA) in MetaTrader 4/5.The library is designed for universal applicatio...
The Comment2 library enhances the standard comment functionality in MetaTrader 4, enabling precise placement of text comments on specified chart lines. This feature is invaluable f...
A collection of utility functions for handling time and date calculations within MetaTrader 4/5 environments.Key Functions:- Last Sunday Before DT: Returns the last Sunday at 22:00...
Function Description:This function writes quote data to a specified text file, overwriting its content if the file already exists. The filename will be the currency symbol, and the...
Detailed information on the usage and operational principles of the automated optimization library is available via the provided link.To integrate this library into your Expert Adv...
A comprehensive library of functions and expert advisors designed for trailing stop functionality within the MetaTrader environment.This tool adheres to standard MT4/MT5 convention...
This utility function generates a comprehensive list of currency pair symbols.It iterates through a predefined array of currency abbreviations to create all possible trading pair c...
This function calculates your lot size based on defined conditions specified in the input variables.The inputs determine the lot size calculation.Key Features- Automatic lot size c...
This library includes two essential functions for trade management: Break Even and Trailing Stop.Break Even Function:The Break Even function automatically adjusts the stop loss to ...
This tool calculates the appropriate lot size for trades based on a user-defined risk percentage. Ensure your risk management strategy is clearly defined before using this feature....
This library provides a smart trailing stop function that operates based on the previous candle's data.Example:The system first verifies if a new candle has formed. For buying posi...
This library simplifies the calculation of stop loss for market execution orders.The library allows you to set your stop loss in points.Alternatively, you can enable ATR calculatio...
This utility provides a method for advanced traders to manage stop loss and take profit levels without explicitly setting them on the trade.
Some brokers, particularly market make...
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...
Set of standard functions for the Year 1 timeframe.1. Number of bars in the Year 1 timeframe.int ibars_yr1 (string exchange); ibarsyr (currency pair).2. Number of bar by time in th...
This is a library named 'Period Bars High/Low'. It is designed to support traders by providing reliable functionality within the MetaTrader environment.The tool follows standard MT...
This is the library of functions for singular transformation, version 4. It is designed to support traders by providing reliable functionality within the MetaTrader 4 and MetaTrade...
This indicator displays the high and low levels of the current or past weeks.High-Low of the WeekThis tool is valuable for traders who need to quickly reference key price levels fr...
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...
This library provides functions that treat one-dimensional arrays as multidimensional.The array size can be dynamically adjusted, allowing for flexible data manipulation.Features i...
Deciding on the optimal lot size for each trade is a critical aspect of trading. The lot_lib.mqh library offers a solution to this challenge by providing various lot size calculati...
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: ...