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

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

Submit your code

The Market Facilitation Index (BW MFI) is the indicator which shows the change of price for one tick.

The Standard Deviation (StdDev) measures the market volatility. This indicator charactrizes the scale of price changes relating to the Moving Average.

The cIntBMP library provides the creation of graphic BMP images. We will consider the example of its use in creation of self-similar fractal sets using the Iterated Function System (IFS).

Perry Kaufman's adaptive moving average with indicative signal points.

Extrapolator is a result of a long-term research in the field of Timeseries Forecasting. This indicator forecasts future price behavior.

ZigZag indicator built using the values of the Parabolic SAR technical indicator with the added possibility to build Fibo levels on the last two indicator peaks and the channel generated with the use of three successive zigzag peaks with selection of these peaks.

This indicator calculates last average price for a symbol and determines the trend direction, so it can be a signal to commit a trade operation.

Corrected Average indicator by A.Uhl (also known as the "Optimal moving average").

The panel for the display of statistical parameters calculated based on the trade history.

Calculate Average Speed of price.

EasyXML is a native MQL5 XML Parsing Library. It can parse XML from three different sources: URL, File and String Input. It is completely object oriented and strives to integrate neatly with MQL5, as it utilizes CObject and CArrayObj from the MQL5 standard library to store the DOM.

The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL5 language and functions.

The MultiChandelierStops_v1Trend_x10 indicator shows information on current trends using the ChandelierStops_v1 indicator position from ten different timeframes.

The i-CAi_Digit indicator with the timeframe selection option available in input parameters.

The Exp_ColorXvaMA_Digit Expert Advisor is based on the ColorXvaMA_Digit indicator color change.

The Exp_ColorJSatl_Digit Expert Advisor is based on the ColorJSatl_Digit indicator color change.

This indicator draws the daily, weekly and monthly Pivot with backtesting.

Indicator includes Spearman rank correlation and Pearson correlation.

You can choose if you wish to use a real volume or the ticks volume.

This Expert Advisor closes all positions if the total loss exceeds a predefined limit.

Indicator to display existent and emerging harmonic chart patterns.

Tick volumes indicator. It shows the price change with an increase and decrease.

Short description.

The Fractal_MFI indicator with the timeframe selection option available in the input parameters.

ExpBuySellSide is a MetaTrader 5 Expert Advisor based on the ATRStops and StepUpDown indicators.

The script deletes all pending orders on all symbols at a time.

Two Boa_ZigZag indicators with different periods, which appear as arrows on one chart.

The indicator draws daily candlesticks with extended parameters. It only works on the D1 chart timeframe.

This version of Synthetic RSI is using Ehlers smoothed RSI in calculation instead of using "regular" RSI and that makes the resulting synthetic RSI even smoother.

A trading system based on the KWAN_RDP indicator signals.

Exponential moving average with a variable smoothing factor.

Trend Envelopes indicator made as histogram.

BB Stops using RSI for stops calculation.

Volume Profile + Range v6.0 (former TPO).

Dynamic Trader Oscillator

This is a utility for beginning indicator programmers, or others, that want to have a look at values provided by OnCalculate and a few other functions. The indicator shows: 1) The most recent value provided with the most recent OnCalculate call. 2) The previous value from the previous OnCalculate call. 3) The first value from the first time onCalculate executed.

Smoothed Williams percent range

Trend indicator similar to Ichimoku Kinko Hyo, with a number of drawing options and calculation parameters.

To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Buy is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

1...5678910111213141516171819...184