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

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.

latest|best

Exp_Directed_Movement is based on the change of color of ROC2_VG indicator.

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

Envelopes 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.

Envelopes 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.

TrendX indicator can be used for the market entry/exit.

Plotting ROC indicators of two arbitrary types (including Momentum) and periods in a single window.

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

M2_MA indicator implemented as a sequence of candlesticks.

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

Trading system based on MaChannel indicator signals.

Exp_Q2MA is based on the change of color of the Q2MA indicator.

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

Smooth non-trivial linear combination of EMA and LWMA averagings.

A simple trend indicator based on two Moving Averages in NRTR form.

A simple trend indicator based on two Moving Averages in the form of a colored cloud.

Semaphore signal indicator using asymmetric Stochastic oscillator in the form of a colored cloud.

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

Asymmetric Stochastic oscillator in the form of a colored cloud.

Exp_Directed_Movement Expert Advisor is based on the change of color of the CCI_Woodies indicator.

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

Two CCI oscillators in a single window in the form of a colored cloud.

Exp_Directed_Movement Expert Advisor is based on the change of color of the Directed_Movement indicator.

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

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

Exp_VWAP_Close is based on VWAP_Close moving average change of direction.

The trend indicator drawn in the form of the colored cloud.

Simple and resource efficient ZigZag.

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.

1...596061626364656667686970717273...141