Watch how to download trading robots for free
Find us on Telegram!
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 - 48

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

Classic version (on Chart) of Didi Needles indicator, now with a filtering threshold based on MA threshold differences.

Draw your horizontal and trendlines and be notified when price crosses them

DSL Balance of market power JMA

Gann high/low activator JMA

Trading the trend

Corrected RSI

Corrected JMA

Dual Ulcer index

Trix with LR signal

Corrected T3

STD Trend Envelopes of Averages - multi time frame

QQE of Velocity - multi time frame

ATR adaprive EMA - multi time frame

Trading the trend - histogram

PGO TM smoothed

MFI smoothed

Choppy market index - smoothed

Anchored Momentum indicator by Rudy Stefenel was first proposed in the "Technical analysis of Stocks and Commodities" magazine in 1998.

Advanced Fractal On MA signal indicator searches for fractals of the moving average line. The indicator uses two moving averages for searching upper and lower fractals.

Increasing a position volume. Entry signal by iDeMarker (DeMarker, DeM) indicator. Regular trailing and trailing by equity.

Trading is based on iAlligator (Alligator) and iRSI (Relative Strength Index, RSI) indicators. Alligator acts as the main indicator, while RSI is used as a trend filter.

The trading system based on the XWAMI indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

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

The EA waits for a gap on a specified timeframe.

Trading by RSI and Moving Average. Moving Average is used as a trend filter on H1.

Momentum indicator by Anthony W. Warren (WAMI) indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.

Wajdyss_Ichimoku_Candle indicator provides alerts, sends email and push notifications when the candles break through the Kijun Sen line (candle color changes to the opposite one).

The trading system based on the Wajdyss_Ichimoku_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

The trading system based on the Open_Oscillator_Cloud indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

Working with pending Buy Stop and Sell Stop orders.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price and displayed as candles.

Open_Oscillator_Cloud indicator with the timeframe selection option available in input parameters

Open_Oscillator indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.

DEMA_Range_Channel indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

CandleStop_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

Rj_SlidingRangeRj_Digit_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price.

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

The trading system based on DEMA_Range_Channel indicator signals with the possibility to set a fixed position holding time.

The trading system based on Rj_SlidingRangeRj_Digit_System indicator signals with the possibility to set a fixed position holding time.

1...414243444546474849505152535455...183