Watch how to download trading robots for free
Find us on Twitter!
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 Code Library for MetaTrader 5 - 157

icon

This is the largest free source code library for MetaTrader 5 platform programs. Here you can find ready-made Expert Advisors, technical indicators, scripts and libraries. Use the code library when learning MQL5 language and develop your own automated trading applications based on the provided codes.

You can freely download and test published codes, as well as launch them in MetaTrader 5. The library is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

Trading system using the ColorMETRO indicator

The Kagi chart drawn in a separate subwindow

The chart of (three) linear breakthrough in a separate subwindow

The Exp_ColorNonLagDotMACD Expert Advisor drawn on the basis of the signals taken from the ColorNonLagDotMACD histogram

Trading system using the AML trend Moving Average

The IndMATEMA indicator is based on crossing of two MA and two TEMA on close and open prices of bars.

The trading system based on crossing of the DI+ and DI- lines of the ADX_Smoothed indicator

The XMA_Range_Bands indicator variant which can be placed by fixing timeframe of the indicator on a value different from the chart timeframe.

The breakthrough trading system using the 3XMA_Ishimoku indicator.

Financial asset oscillation spectrum normalized by values of a simple Moving Average

The Expert Advisor is a profit calculator on the opening position for price movement to a price level fixed in the chart

The indicator displaying the level of opening day at any timeframe (less than two hours) with the ability to perform the shift of day start time and consider the presence of Sundays in the chart

The breakthrough system using the XMA_Range_Bands indicator.

Volatility channel is a very interesting alternative to Bollinger Bands.

Financial asset oscillation spectrum

The indicator to determine the trend and its directions.

The indicator gives Stop Loss value for open position on the basis of the XATR indicator.

Digital adaptive XXMA Moving Average represents subtype of Moving Averages with a digital flat-trend filter and is made to separate the angular direction of price movement (trend) from the horizontal (flat) for effective trend trading.

The Heikin Ashi indicator drawn in a separate subwindow with the ability to choose a period

The indicator calculates the Moving Average using a modified algorithm of the linearly weighed Moving Average.

The breakthrough system using the XMA_Ishimoku_Channel indicator.

The Keltner Channel indicator with the added flat area

The Price Channel indicator. It draws the line of high and low price values for the last N bars from high timeframe

The OsHMA oscillator is the indicator of the difference between two HMA (between two Hull Moving Averages).

Class implements neural network of radial basis functions (Radial Basis Function Network - RBFN)

The indicator displays the possible boundaries and direction of the bar looking forward to one bar

The system using the internal channel from High to Low

Average True Range indicator replacing the averaging algorithm.

The indicator to determine Stop Loss

Multiple indicator system using the RSI oscillators and stochastic with Bollinger Bands.

Trading system using the DSSBressert indicator

Export of all necessary instruments and time frames in one click with load and checking history

The Expert Advisor using the UltraFatl oscillator.

Slightly modified history load function from MetaQuotes.

Trading system using the AnchoredMomentum indicator

This stochastic considerably reduces the number of false signals by adjusting sensitivity

The Expert Advisor using the GG-RSI-CCI signal indicator.

Library of functions for working with strings: StringToArray, StringToPeriod and PeriodToString

The MACD histogram drawn using two signal lines in the price chart of the financial asset.

The indicator transfers the price data to the new coordinates system shifting price axis (axis of the ordinates).

1...150151152153154155156157158159160161162163164...183