MetaTrader MT5 Library Source Code Downloads - Page 5

Showing 393 results
MT4 Orders library MT5
MetaTrader 5 library

MT4 Orders

This library facilitates working with orders in MQL5 (MT5-hedge) using the same approach as in MQL4.By employing this library, the order language system (OLS) in MQL5 becomes ident...
Automated Login to Trade Account library MT5
MetaTrader 5 library

Automated Login to Trade Account

After encountering the 'account disabled' error, which typically occurs on weekends when trade servers are offline, manually logging into the trading account can be cumbersome and ...
Interchange library MT5
MetaTrader 5 library

Interchange

Why this is needed:This class facilitates data exchange between your programs, especially useful when creating products for the market or when system DLLs are not preferred.For oth...
I Bar Shift MT5 library MT5
MetaTrader 5 library

I Bar Shift MT5

This is a 5 library named 'I Bar Shift MT5'. It offers traders a reliable toolset within the MetaTrader platform. Adhering to the standard MT4/MT5 conventions, this library is easy...
Vertical Histograms Constructor library MT5
MetaTrader 5 library

Vertical Histograms Constructor

A histogram is a bar chart of frequencies. One axis represents variable values, while the other axis represents the frequency of these values' occurrence. The height of each bar in...
Convenient Use of Indicators library MT5
MetaTrader 5 library

Convenient Use of Indicators

GeneralThis is a set of classes designed for convenient use of indicators in MQL4/MQL5. It was originally written to facilitate working with multiple indicators simultaneously.Each...
Signal Candles High Open library MT5
MetaTrader 5 library

Signal Candles High Open

The entire chain: indicator, expert advisor based on the signal module.The signalcandelshighopen module of trading signals assumes that the custom indicator has already been compil...
Count of Daily Opened Positions library MT5
MetaTrader 5 library

Count of Daily Opened Positions

This function returns the number of positions opened by an expert advisor for the current day.The count is specific to the trading day and resets daily.This can be useful for track...
Market Watch and Chart Management Class for MQL5 library MT5
MetaTrader 5 library

Market Watch and Chart Management Class for MQL5

This class provides MQL5 programs with the ability to easily detect changes within the Market Watch window. It monitors symbol sorting, additions, deletions, and changes to symbol ...
R Library Integration for MetaTrader library MT5
MetaTrader 5 library

R Library Integration for MetaTrader

This library requires a DLL file to be placed in the terminal's Libraries folder and the r.mqh file in the Include folder.Ensure the following directive is included in your Expert ...
Smooth Algorithms for Trading Analysis library MT5
MetaTrader 5 library

Smooth Algorithms for Trading Analysis

This document details the application of smooth algorithms within the MetaTrader trading platforms.The Exponential Moving Average (EMA) indicator is a prime example of such an algo...
History Position Information Retrieval library MT5
MetaTrader 5 library

History Position Information Retrieval

The CHistoryPositionInfo class is designed for retrieving the profit of a position in points, based on trading history.Class DescriptionThe CHistoryPositionInfo class allows for th...
Moving Average Above/Below Signal Generator library MT5
MetaTrader 5 library

Moving Average Above/Below Signal Generator

Signal Module: Moving Average Above/BelowSave the signal module file to "data folder"\mql5\include\expert\signal\.This module generates trading signals based on whether the price i...
Cross-Platform Mathematical Functions Library library MT5
MetaTrader 5 library

Cross-Platform Mathematical Functions Library

A comprehensive library of original mathematical functions designed for cross-platform compatibility.mathcorrelationpearsonThis function calculates the Pearson correlation coeffici...
Indicator Initialization Synchronization for MT5 library MT5
MetaTrader 5 library

Indicator Initialization Synchronization for MT5

Synchronization of Indicator Initialization and Deinitialization in MT5In MetaTrader 5 (MT5), changing the chart symbol or timeframe causes all indicators to be reloaded. Unlike MT...
SHA512 and HMAC Implementation library MT5
MetaTrader 5 library

SHA512 and HMAC Implementation

SHA512 Class ImplementationThis component provides an implementation of the SHA512 hashing algorithm.HMAC Functions ImplementationThis component includes implementations for HMAC f...
CMQL Parameters Management library MT5
MetaTrader 5 library

CMQL Parameters Management

Public MethodsProvides public access to the parameters array, which is the primary method for setting parameters.Methods can be chained to add multiple parameters simultaneously. R...
New Candle Checker Utility library MT5
MetaTrader 5 library

New Candle Checker Utility

This utility class simplifies the process of detecting new candle formations in MQL5 programs.Many MQL5 programs require executing specific code segments only when a new candlestic...
History Position Info library MT5
MetaTrader 5 library

History Position Info

The getprofitinpoints function is still accessible, however, it is advisable to utilize the new getprofit function.The getprofit function provides the following details about a pos...
Report library MT5
MetaTrader 5 library

Report

In both platforms (MetaTrader 4/5), you can run a script to save a report and view the generated HTML output.This is especially useful in MetaTrader 5, which does not provide visua...
Strategy Tester Performance Benchmarking library MT5
MetaTrader 5 library

Strategy Tester Performance Benchmarking

MetaTrader 5 offers a valuable function for profiling Expert Advisors on historical data, but it comes with certain limitations.One issue is the slow speed in visual mode, and the ...
Symbol library MT5
MetaTrader 5 library

Symbol

The library offers essential tools for working with custom symbols and provides ready-made solutions for various use cases.For instance, when running backtests on cross pairs, the ...
Expert Advisor Library library MT5
MetaTrader 5 library

Expert Advisor Library

The Expert Advisor Library is a powerful tool for managing charts and expert advisors in MetaTrader 4/5.Connection and Usage:The library can be connected and utilized through the p...
Subwindow Library library MT5
MetaTrader 5 library

Subwindow Library

The Subwindow Library is a powerful tool for managing subwindows in your MetaTrader 4/5 (MT4/MT5) platform.To connect the library, follow these steps:- Connect the library using th...
Notify Icon library MT5
MetaTrader 5 library

Notify Icon

This library provides every MQL program with a separate icon in the notification area of the Windows taskbar.The library enables you to display text messages by sending them from y...
CDictionary library MT5
MetaTrader 5 library

CDictionary

An implementation of the dictionary (associative array) data structure in MQL5, based on hash function FNV-1a. Usage:Primitives: It can store primitives like int, double, string, d...
cdouble and cdoublevector library MT5
MetaTrader 5 library

cdouble and cdoublevector

a library for common rounding methods in MQL development, offering a primitive wrapper class for double type and a vector for cdouble objects. Compatible with MQL5 and MQL4.cdouble...
Clock Library for MetaTrader 4/5 library MT5
MetaTrader 5 library

Clock Library for MetaTrader 4/5

The clock library (clock.mqh) enables the creation of analog clocks as custom graphical objects in MetaTrader 4/5.Features:- Raster (non-vector) clock display.- Smooth movement of ...
Signal CCI Buy or Sell library MT5
MetaTrader 5 library

Signal CCI Buy or Sell

The 'signalcci buyorsell.mqh' trading signal module is based on the CCI indicator and generates a specific type of signal: when the price is above a certain upper level or below a ...
Easy and Fast GUI Library for MetaTrader library MT5
MetaTrader 5 library

Easy and Fast GUI Library for MetaTrader

Easyandfastgui v2.0This library provides a comprehensive set of elements for building graphical interfaces in MQL-applications.## What's New?- Integrated a new element, c3dbase, fr...
Accurate Timer for MetaTrader 4/5 library MT5
MetaTrader 5 library

Accurate Timer for MetaTrader 4/5

The MetaTrader 4/5 platform relies on the system timer call, which can lead to inaccuracies. To illustrate this, consider the following expert advisor:By observing the chart commen...
Error Description library MT5
MetaTrader 5 library

Error Description

The code is based on the library, which contains the errordescription() function with two input parameters: error_code and the optional parameter txt_prefix.GetLastError() return c...
Renko 2.0 ATR: Custom Symbol Generator for MT5 library MT5
MetaTrader 5 library

Renko 2.0 ATR: Custom Symbol Generator for MT5

Renko 2.0 offline non-trading utility generates custom symbol information on 1-minute charts based on indicators.This utility references the library for MetaTrader 5 by FXSaber.It ...
Signal MA Above Below 2 library MT5
MetaTrader 5 library

Signal MA Above Below 2

This library is an advanced version of the original, with new features and improvements.Version 2 introduces the following enhancements:The 'Type of Trade' parameter offers three o...
Signal MA Above Below 3 library MT5
MetaTrader 5 library

Signal MA Above Below 3

This library is an advanced version of the previous one.What's new in version 3:The currentbarsizeparameter enables the setting of the current bar size, calculated as close-open.Th...
Math Utilities library MT5
MetaTrader 5 library

Math Utilities

This library provides a set of handy functions for working with doubles in MetaTrader 4/5 (MT4/MT5).It includes:- Comparison of doubles: Functions for comparing doubles with a loos...
A Library for Simple Storage library MT5
MetaTrader 5 library

A Library for Simple Storage

A library that offers a straightforward storage mechanism for expert advisors and indicators.Library functions sample file:'d:\my_orders.ini'...
Fast iBarShift and Bars for MT5 library MT5
MetaTrader 5 library

Fast iBarShift and Bars for MT5

As of 2026, the integrated bars function used in this iBarShift function has a bug that causes significant program lags exceeding 10 seconds. This issue occurs when the bars functi...
optimal f for mq l5 (per ralph vince) library MT5
MetaTrader 5 library

optimal f for mq l5 (per ralph vince)

i couldn't find mql5 code for the kelly criterion, so i decided to write it myself; but it turned out that the kelly criterion only works for bernoulli distributions. this means it...
uni magic number library MT5
MetaTrader 5 library

uni magic number

the library allows receiving a magic number bound to three elements:symbol (financial instrument) name;timeframe;prefix index; all these three elements are to be encoded in 64 bits...
double to text library MT5
MetaTrader 5 library

double to text

the function converts a number to a text. for example, if we call the function with the number 1234.56, the function returns the text "one thousand two hundred thirty four 56"...
trade transactions library MT5
MetaTrader 5 library

trade transactions

asynchronous trading orders have a huge advantage - high speed when sent in bulk. however, the spreading of such orders is hampered by the inconvenience - order result data can onl...
easy canvas library MT5
MetaTrader 5 library

easy canvas

the library and icanvas class simplify writing programs using canvas. here is an example of a simple indicator using this library.in this example, the indicator body features no fu...
rl algorithms library MT5
MetaTrader 5 library

rl algorithms

the idea and the simplest algorithm are provided in the article ""the library has advanced functionality allowing you to create an unlimited number of "agents".in addition, variati...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.