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 - 38

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 indicator implements a breakout system using the XHullTrend_Digit indicator cloud

Hurst oscillator indicator

LBR Paint Bars indicator

Rahul Mohindar oscillator

Standard Deviations/Moving Average Ratio indicator

StdDev Cross indicator

Ehlers SuperSmoother indicator

Toby Crabel NR Pattern indicator

Two identical trading systems (for long and short deals) based on the ColorSchaffJCCXTrendCycle indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Two identical trading systems (for long and short deals) based on the ColorSchaffJJRSXTrendCycle indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

JFatlCandle indicator with two colored channels based on standard deviations from High and Low of the indicator candles

JSatlCandle indicator with two colored channels based on standard deviations from High and Low of the indicator candles

The indicator looks for bars without wicks. Uses the drawing style DRAW_COLOR_HISTOGRAM

The indicator looks for bars without one or two wicks. DRAW_ARROW drawing style.

XRSI_Histogram_Vol_Direct indicator provides alerts, sends email and push notifications at the incoming trading signals

XCCI_Histogram_Vol_Direct indicator provides alerts, sends email and push notifications at the incoming trading signals

XDeMarker_Histogram_Vol_Direct indicator provides alerts, sends email and push notifications at the incoming trading signals

XDeMarker_Histogram_Vol_Direct indicator with the timeframe selection option available in input parameters

JFatlCandle_Chl indicator with the timeframe selection option available in input parameters

JFatlCandle_Chl indicator with the timeframe selection option available in input parameters

The trading system based on XDeMarker_Histogram_Vol_Direct indicator signals

Strategies based on iMA (Moving Average, MA) and iRSI (Relative Strength Index, RSI)

X2MA indicator in the form of candlesticks

Skyscraper indicator with the timeframe selection option available in input parameters

The Expert Advisor based on iStochastic (Stochastic Oscillator) indicator and OHLC analysis

Fixed version of the Skyscrape indicator

Skyscraper_Fix indicator with the space between the average and NRTR lines filled with color

X2MACandle indicator with two colored channels based on standard deviations from High and Low of the indicator candles

Two identical trading systems (for long and short positions) based on the signals of the Skyscraper_Fix indicator, which can be configured in different ways within one Expert Advisor

The trading system based on the JFatlCandle 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 X2MACandle 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

Skyscraper_Fix indicator with the timeframe selection option available in input parameters

Skyscraper_Fix_x10 shows the direction of Skyscraper_Fix indicator signals from ten different timeframes from the bar defined in the indicator input parameters

The Expert Advisor based on iMA (Moving Average, MA) and OHLC

The indicator shows information on the current trends, using the colors of the Skyscraper_Fix indicator from ten different timeframes

The Skyscraper_Fix_HTF_Signal indicator shows the trend direction or a signal for performing a trade generated by the Skyscraper_Fix indicator at the chosen bar as a graphic object with colored indication of the trend or the trade direction, generates alerts or sound notifications if there are signals for performing trades or sends push notifications to a smartphone.

iMAX3 indicator - Fast Trend Detector

Bands Fill indicator

Bollinger Bandwidth Delta oscillator

Breakdown oscillator

1...313233343536373839404142434445...183