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

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 Expert Advisor analyses many Moving Averages from three timeframes

Two lines are channel averages created by High and Low price values for different periods displayed as clouds

The Expert Advisor used on such indicators as the Moving Average, the CCI, stochastic

The smoothed and slower version of the True MFI indicator.

The Expert Advisor with a very simple price analysis in two bars and with the increasing lot after a loss

The Exp_ColorBBCandles Expert Advisor based on the ColorBBCandles indicator.

The Balance of Power (BOP) indicator was described by Igor Livshin and measures the strength of the bulls vs bears by assessing the ability of each to push price to an extreme level.

The Exp_CoeffofLine_true Expert Advisor based on the CoeffofLine_true indicator. A signal to perform a deal is formed at bar closing, if the histogram breakthroughs its zero level

The Exp_CenterOfGravity Expert Advisor is based on the CenterOfGravity indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

The Expert Advisor operates on the principle of the Moving Average. Simultaneously in both directions. Volume for BUY and SELL is calculated separately. Divide the volume received in accordance with the given "save percentage". It responds to the setting: "change the price"

The alternative indicator for trend definition based on the breakthrough bars and distance from extremums.

The MultiMaRsiSignal indicator displays the information about the active trends using the five MaRsi-Trigger indicators' value from different timeframes.

The trading system based on the signals taken from the MaRsi-Trigger trend indicator

The trading system based on the signals taken from the CMO oscillator

The Expert Advisor on the T3MA-ALARM indicator

A Moving Average with double smoothing

Bill William's Gator Oscillator which is drawn on the high and displayed on the lower timeframe.

Bill William's accelerator (Accelerator Oscillator) which is drawn on the high and displayed on the low timeframe.

Bill William's magic oscillator (Awesome oscillator) which is drawn on the high and displayed on the low timeframe.

A standard version of the OSMA indicator which can be placed in a fixed timeframe on a value different from the chart timeframe where the averaging algorithms can be changed.

The Trigger indicator has three states: rising, falling and flat

The Price and Volume Trend indicator (Price and Volume Trend, PVT) with its signal line.

Digital filtration of the variation indicator.

Simple trend indictor performed in the NRTR form

The Parabolic SAR indicator with the ability to choose timeframe where it can be calculated.

The Expert Advisor based on the candlestick analysis where only four last bars are analyzed

The Expert Advisor with a basic trading system on the basis of the CCI indicator and several linear perceptrons regulating the work of the basic trading system.

The indicator that allows modifying color of the candles.

EMA

Classic exponential Moving Average with the ability to use real numbers as the averaging period.

The Alligator of Bill Williams drawn in the zigzag form. The indicator can be calculated and set in a fixed timeframe.

Larry Williams' the Percent Range indicator drawn in the zigzag form. The indicator can be calculated and set in a fixed timeframe.

It defines the boundaries of a flat channel based on bars closings.

Defines the boundaries of flat channel based on bars extremums

The trading system based on the signals taken from the BuySell semaphore, signal, trend indicator

The trading system based on the signals taken from the ColorBullsBearsEyes oscillator

The trading system based on the signals taken from the BullsBears semaphore signal trend indicator.

The indicator displays a series of internal, external and single directed closing and prompts exit points on short-term trend trading

The indicator "warning" about the appearance of the bars with an extended range and/or strong directed movements

USDX is an index which measures the dollar's value against a basket of six basic currencies

The trading system based on the signals taken from the BrakeParb semaphore, signal, trend indicator

1...153154155156157158159160161162163164165166167...183