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

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
latest | best

Coral indicator

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

AdaptiveRenko indicator with the channel background filling and additional display of the NRTR line using colored icons allowing users to visually track trend signals present on a single bar

DSS

Double Smoothed Stochastic indicator

FanCCI Avg indicator

FanMA Avg indicator

FoM

Freedom of Movement indicator

MACD Flat Trend indicator

Normalized Moving Average Slope indicator

Sine Weighted MA indicator

Smoothed RSI indicator

Slow RSI indicator

Time Averaged Price indicator

Time Averaged MA indicator

Trend Lord indicator

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

AdaptiveRenko_Cld indicator with the timeframe selection option available in input parameters

BullsBearsEyes oscillator displayed as a color histogram, using volumes

BullsBearsEyes_Vol indicator with the timeframe selection option available in input parameters

JBrainTrend1 indicator with the timeframe selection option available in the input parameters

JMACandle indicator with the timeframe selection option available in input parameters

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

JMACandle_Chl indicator with the timeframe selection option available in input parameters

The function for moving an open position to a breakeven.

The Expert Advisor is based on OHLC and three indicators: iMACD (Moving Average Convergence/Divergence, MACD), iStochastic (Stochastic Oscillator) and iRSI (Relative Strength Index, RSI)

Semaphore signal indicator triggering when the JMACandle candles change their direction.

JMACandleTrend_Signal indicator shows information on the current trend using the values of the JMACandleTrend indicator with a fixed timeframe

JMACandleTrend_x10 shows the direction of JMACandle indicator signals from ten different timeframes from the bar defined in the indicator input parameters

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

The JMACandleTrend_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

BullsBearsEyes_Vol indicator with additional averaging of the resulting histogram

RNN

The Expert Advisor based on iRSI (Relative Strength Index, RSI) indicator and a small neural network

The indicator based on three moving averages

Virtual trading environment

MAMy v.3 indicator-based EA

The indicator displays a sloping trend line. Its parameters are set when the indicator is launched by a trader. The trend line defines the signal trigger level. The trend line breakthrough activates signals accompanied by emails and push notifications.

XBullsBearsEyes_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

XBullsBearsEyes_Vol indicator with the timeframe selection option available in input parameters

The indicator displays a horizontal price line. Its parameters are set when the indicator is launched by a trader. The line defines the signal trigger level. Its breakthrough activates signals accompanied by emails and push notifications.

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

1...181920212223242526272829303132...176