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

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.

To post a new code, please log in or register
latest|best

Double smoothed RSI indicator in the form of a colored cloud.

trend_arrow_HTF_Signal shows a trend direction or a signal for performing a deal generated by trend_arrows indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

Semaphore signal indicator based on the trend_arrows indicator algorithm.

Trading system based on trend_arrows indicator signals.

trend_arrows indicator with the timeframe selection option available in input parameters.

VWAP_Close indicator with the timeframe selection option available in input parameters.

Trend Arrows draws support/resistance lines as colored dots on a price chart.

VWAP_Close indicator defines liquidity points and average Close price weighted by volume.

DarvasBoxesCloud indicator with the timeframe selection option available in input parameters.

DarvasBoxes indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits, and a price grid with these rounded values.

DarvasBoxes indicator with the background filling inside the channel.

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

Trading system based on XDPOCandle indicator signals.

ColorXTRIX_Histogram indicator with the timeframe selection option available in input parameters.

Trading system based on ColorXTRIX_Histogram indicator signals.

XTRIX indicator with the timeframe selection option available in input parameters.

DonchianChannelsCloud indicator with the timeframe selection option available in input parameters.

XDPO indicator implemented as a sequence of candlesticks.

Donchian Channel indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits, and a price grid with these rounded values.

Donchian Channel with the background filling inside the channel.

TRIX indicator is displayed as a colored histogram and provides the ability to change the averaging algorithm

TRIX indicator provides the ability to change the averaging algorithm

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram.

An example of using the MasterWindows library for creating a multicurrency game trade panel.

XDPO_HTF_Signal shows a trend direction or a signal for performing a deal generated by XDPO_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment

AroonHorn_HTF_Signal shows a trend direction or a signal for performing a deal generated by AroonHorn_Oscillator_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment

Trading system based on the signals of AroonHornSign indicator

Semaphore signal indicator using the trend detection algorithm based on AroonHorn indicator.

Trading system based on ColorJFatl_StDev indicator signals.

MC indicator with the timeframe selection option available in input parameters

MACD histogram shown as an intersection of two lines. The space between them is filled with a color background to indicate the current trend.

Trading system based on ColorJ2JMAStDev indicator signals.

Trading system based on ColorHMA_StDev indicator signals.

Trading system based on BinaryWave_StDev indicator signals.

Trading system based on Bezier_StDev indicator signals.

Semaphore signal indicator detecting changes in the direction of smoothed Detrended_Price_Oscillator and displaying them as signals.

Trading system based on ColorXdinMA_StDev indicator signals.

AroonHorn indicator with the timeframe selection option available in input parameters.

AroonHorn trend indicator.

Detrended_Price_Oscillator indicator with the timeframe selection option available in input parameters.

1...666768697071727374757677787980...148