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

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

8 Stochastic oscillators (%K 6, 9, 12, 14, 16, 19, 21, 24).

This indicator is a modified version of RSI that can be placed on a chart having another timeframe. It also allows users to change RSI and the signal line's smoothing algorithms.

XLineRegression creates levels based on the linear regression algorithm.

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox and a smartphone.

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox and a smartphone.

The Expert Advisor is based on CCIT3_Simple and CCIT3_noReCalc. Crossing of the indicator's zero line is used for trading activity.

Moving Average: 3-Pole Butterworth Filter. The indicator is based on the code of Witold Wozniak.

The script is designed for closing open positions.

The script is developed for reversing open positions with fixed Stop Loss and Take Profit values in points from the current price and the volume depending on the reversed position.

The average candle size for a certain period.

Simple trend indicator displayed in the form of NRTR.

Same RSI and Dem but more sensitive one.

Bollinger Bands Width. One of its application methods was described in FOREX Magazine №123 (July 2006) on page 47.

The indicator displays the charts of two symbols in one window.

Standard RSI that can be applied for a chart having a different timeframe.

Smoothed Simple Trend Detector.

CCI smoothed by Tilson algorithm.

The indicator displays the price location within a specified range.

Simple trend indicator displayed in the form of NRTR.

Pair trading. Hedging. Market-neutral strategies.

Simple trend indicator displayed in the form of NRTR.

The indicator of the ranges of unrestricted time intervals.

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox.

Empirical mode decomposition of the current symbol.

The script is developed for placing a SellStopLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price and order trigger prices.

The script is developed for placing a BuyStopLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price and order trigger prices.

The script is developed for placing a BuyLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for placing a BuyStop order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for placing a SellStop order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for placing a SellLimit order with fixed actuation levels, Stop Loss and Take Profit levels in points from the current price.

Multicurrency multitimeframe indicator.

Point and Figure indicator shown in bars and displayed in the separate window.

The trend indicator in the form of a colored cloud using volumes in its calculations. Enhanced version of Bears and Bulls indicator. The idea is to reveal the first market impulse and estimate its duration.

MACD histogram with bars coloring according to Elder Impulse System.

ATRNorm is the normalized version of АTR. Tick volume, standard divergence and other parameters can also be used instead of АТR. The indicator represents logical development of the script. ATRNorm has been created to detect flat areas.

Trend indicator based on two RSI oscillators.

Simple trend indicator in the form of NRTR

The indicator calculates the difference between the period maximum and minimum. The period is specified in the indicator parameters.

The script is developed for selling with fixed Stop Loss and Take Profit values in points from the current price.

The script is developed for buying with fixed Stop Loss and Take Profit values in points from the current price.

1...150151152153154155156157158159160161162163164...176