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 Code Library for MetaTrader 5 - 117

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

The class restricts the EA trading by time. It has flexible configuration options, which allow to set a custom number of the time zones, and also to allow trading only on the specified week days.

Robot that trades the open sentiment of the market.

This simple class can be used to adjust, for example, trading ranges, or to enable / disable certain actions by time or day of the week.

VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is trading relative to its volume weighted average for the day.

A simple way on how EA can link a manual order command from outside to use it in MetaTrader 5 Strategy Tester.

VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is trading relative to its volume weighted average for the day.

This indicator helps determine the end and the beginning of trends based on the inclination of the matches.

A simple oscillator that shows the speed of the MACD indicator change implemented as a two-colored histogram.

The fractal_dimension indicator with the timeframe selection option available in the input parameters.

A variant of the Momentum indicator with volumes and time used in its calculations.

The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

The indicator draws DotsCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The Dots indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the Dots algorithm.

Trading system based on the signals of the Dots indicator.

Trading system based on the signals of the Super_Trend indicator.

Semaphore signal indicator based on the Super_Trend indicator algorithm.

Semaphore signal indicator based on the Dots trend indicator algorithm.

The Dots indicator with the timeframe selection option available in the input parameters.

Trend indicator located directly on the chart.

The Exp_ColorXCCXCandle Expert Advisor is based on the change of color of the ColorXCCXCandle indicator candles.

The Super_Trend indicator with the timeframe selection option available in the input parameters.

Trend indicator with simple and clear indication of position opening moments.

Trading system based on the signals of the MomentumCandleSign indicator.

The XMA_Range_Channel indicator with the timeframe selection option available in the input parameters.

The Ultra_Oscillator indicator with the timeframe selection option available in the input parameters.

Sum of three moving averages of different timeframes in a separate window.

A scalper that trades depending on the last deal on the open interest side.

Trading system based on the signals of the XMA_Range_Channel indicator.

The WPR indicator with the timeframe selection option available in the input parameters.

The VininI_BB indicator with the timeframe selection option available in the input parameters.

Trading system based on the signals of the JMACandleSign indicator.

The Asymmetry indicator with the timeframe selection option available in the input parameters.

An indicator that helps to calculate a safe stop level for open positions.

A semaphore signal indicator that uses two JMA indicators, based on Open and Close values of the price series.

The geTrendOsc indicator with the timeframe selection option available in the input parameters.

The channel formed by two averages drawn on smoothing of High and Low price series. Candlesticks outside the channel limits are marked with color according to the trend.

The FP indicator with the timeframe selection option available in the input parameters.

The MFI indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the MFI algorithm.

The WPR (Williams’ Percent Range) indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the WPR algorithm.

Three WPR (Williams’ Percent Range) osicllators from the same timeframe, based on Close, High and Low in a single window.

1...110111112113114115116117118119120121122123124...183