Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

MQL5 Source Codes of Libraries for MetaTrader 5 - 7

icon

Libraries are small sub-programs containing a certain functionality that can then be used for developing new applications. Once written and thoroughly checked, a library allows users to speed up the development of new MQL5 applications. One of the illustrative examples is ALGLIB library containing multiple numerical analysis functions.

Library source codes can be downloaded and used in MetaEditor when developing trading strategies. They cannot be launched in MetaTrader 5 independently.

Submit your code
latest | best

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by FiboCandles changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. ASCtrendSignal indicator's color dot serves as a market entry signal.

Trading signals module for MQL5 Wizard. SuperTrend indicator's color dot serves as a market entry signal.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by Heiken_Ashi_Smoothed changes its color, indicates the time for market entry.

Trading signals module for MQL5 Wizard. Go indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. Sidus indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. Stalin indicator's color arrow serves as a market entry signal.

New CCalendarInputBox control element of the IncGUI library has been designed for date and/or time input.

СIsNewBar class allows to determine the moment of a bar change.

CDeMarkerOnArray class is designed for calculation of DeMarker values on indicator buffers.

The CDemaOnArray class is intended for calculation of DEMA (Double Exponential Moving Average) on an indicator buffer.

The CTemaOnArray class is intended for calculation of TEMA (Triple Exponential Moving Average) on an indicator buffer.

The CFramaOnArray class is intended for calulcation of Fractal Adaptive Moving Average (FRAMA) on indicator buffers.

The COBVOnArray class is intended for calculation of OBV (On Balance Volume) on indicator buffers.

The CCHOOnArray class is intended for calculation of the Chaikin Volatility indicator (CHV) on indicator buffers.

The CFractalsOnArray class is intended for calculation of Fractals on indicator buffers.

The CTrixOnArray class is intended for calculation of Triple Exponential Average (TRIX) on an indicator buffer.

The CPriceChannelOnArray class is intended for calculation of the price channel on indicator buffers.

The CEnvelopesOnArray class is intended for calculation of Envelopes on an indicator buffer.

CVHFOnArray class is designed for calculation of Vertical Horizontal Filter (VHF) values on indicator buffers.

The CVidyaOnArray class is intended for calculation of VIDYA (Variable Index Dynamic Average) on an indicator buffer.

The CForceOnArray class is intended for calculation of Force Index on indicator buffers.

The CWPROnArray class is intended for calculation of Williams' Percent Range (%R) on indicator buffers. The example of use of the class is provided.

CBullsBearsOnArray class is designed for calculation of Bulls Power and Bears Power values on indicator buffers. The example of use of the class is provided.

CCCIOnArray class is designed for calculation of Commodity Channel Index (CCI) values on indicator buffer. The example of use of the class is provided.

The CBandsOnArray is intended for calculation of the Bollinger Bands ® (BB) on an indicator buffer.

The CIchimokuOnArray class is intended for calculation of Ichimoku (Ichimoku Kinko Hyo) values on indicator buffers.

CStdDevOnArray class is designed for calculation of Standard Deviation (StdDev) on indicator buffers. The example of use of the class is provided.

The classes (conveted from C++ to MQL5) for working with memory mapped files.

DLL (MS VC++ 2010) for working with Memory Mapped files.

CRVIOnArray class is designed for calculation of RVI (Relative Vigor Index) values on indicator buffers. Test_RVIOnArray indicator is provided as the example of the class use.

CCHOOnArray class is designed for calculation of Chaikin Oscillator (CHO) values on indicator buffers. Test_CHOOnArray indicator is provided as the example of the class use.

CADOnArray class is designed for calculation of AD (Accumulation Distribution, A/D) values on indicator buffers. Test_ADOnArray indicator is provided as the example of the class use.

CMomentumOnArray class is designed for calculation of Momentum values on indicator buffers. Test_MomentumOnArray indicator is provided as the example of the class use.

CSAROnArray class is designed for calculation of SAR (Parabolic SAR) values on indicator buffers. The example of use of the CSAROnArray class is presented.

CMOOnArray class is designed for calculation of CMO (Chande Momentum Oscillator) values on indicator buffers. The example of use of the CMOOnArray class is presented.

Function module for more convenient font selection display in the indicator input parameters. To free the indicator user from the necessity to manually enter a font name some changes to the code should be inserted.

CERDOnArray class is designed to calculate the Efficiency Ratio (ER) used in the Adaptive Moving Average (AMA) considering price movement direction. When the price is moving upwards the indicator has positive values, when it is moving downwards, - negative ones.

CEROnArray class is designed to calculate the Efficiency Ratio (ER) used in the Adaptive Moving Average (AMA). The example of use of the CEROnArray class is presented.

CMFIOnArray class is designed for calculation of MFI (Money Flow Index) values on indicator buffer. The example of use of the class is presented.

12345678