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

Top MQL4 and MQL5 source codes based on user ratings - 50

Submit your code

A trading system based on the signals of indicator ColorPEMA_Digit with the possibility to set a fixed position holding time

Fractal Adaptive Moving Average with value filter

Volatility ratio - standard deviations based with floating levels

This script will export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. Current version 1.0 does not add the takeprofit and stoploss. Any advice to improve this is welcomed.

Based on the original “Time Segmented Volume (TSV)” developed by Worden Brothers, Inc.

Forex Trade Manager Grid MT5 helps you to managing orders and achieve the goal.

The indicator Measures the distance between the Bollinger Bands ® and providing it as a singular indicator, using the MetaTrader 5 techniques to simplify Bollinger calculations.

This is MQL5 version of DinapoliTargets indicator. The ZigZag indicator is added to the chart.

RSI indicator, can be applied to any timeframe (higher or lower than the current chart's timeframe).

The indicator allows to perform any arithmetic action with prices of two symbols and plot result on any other chart. It allows to calculate crosses (using multiplication and division), spread (subtract) or just to plot the other symbol's data on the chart.

The indicator shows the position of the current price in a channel.

The MCM Control Panel provides the solution for multicurrency trading in MetaTrader 5.

The improved version of the ZigZag indicator.

Nonparametric zigzag. The monotonicity condition for the ascending segment of the zigzag: the High of the any subsequent bar should not be lower than any Low of the ascending segment.

The CDownLoadHistory class provides the methods of historical data downloading.

BrainTrend1Stop is a trend reversal indicator.

A Lime candle of BrainTrend2 indicator is a signal to open a long position, a Magenta candle is a signal to open a short position.

Moving average with the double adaptive JMA smoothing of a price range.

Spearman's Rank Correlation is a non-parametrical method used for statistical analysis of the correlation.

This indicator based on the digital filter shows trend direction.

Relative strength index with dynamically changing oversold/overbought levels and the possibility to select smoothing algorithm.

New comments added to a chart without deleting existing ones.

МА combination is based on the digital filter and regressive Moving Average.

Symmetrical normalized oscillator.

The CBandsOnArray is intended for calculation of the Bollinger Bands ® (BB) on an indicator buffer.

The CCHOOnArray class is intended for calculation of the Chaikin Volatility indicator (CHV) on indicator buffers.

ASCtrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by ASCtrend indicator as a graphic object with colored trend indication or deal direction.

ElderImpulseSystem_HTF_Signal displays trend directions from the last bars of the ElderImpulseSystem as a sequence of graphical objects. The number of bars to be used is set in the input parameters.

Polarized Fractal Efficiency is a technical indicator that displays the current market prices efficiency.

Channel trend indicator.

The Kagi chart is drawn on the main window of the currency pair and a considering timeframe

The script calculates Pivot Point on all the symbols from the market watch and displays the results in html-file.

Shows the time left before a candlestick closes

An indicator for short term trading, it can be used as a signal for closing a position or as the filter to enter one.

Trend indicator, based on crossover of pivot level and its median.

Three normalized oscillators on one chart.

This code allows you to set a maximum percentage of equity risk.

The indicator draws candlesticks of a larger timeframe as color filled rectangles. Rectangles are color filled in accordance with the direction of the T3_TRIX histogram.

Uses the idea of ​​the classical Donchian channel.

The Exp_HLRSign Expert Advisor is based on signals generated by the HLRSign semaphore arrow signal indicator.

1...434445464748495051525354555657...189