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

Submit your code

The CWPROnArray class is intended for calculation of Williams' Percent Range (%R) on indicator buffers. The example of use of the class is provided.

CCCIOnArray class is designed for calculation of Commodity Channel Index (CCI) values on indicator buffer. The example of use of the class is provided.

Two rectilinear channels of standard deviations + curvelinear channel of the parabolic regression with interpolation of a price chart future values.

The semaphore signal indicator with the values based on five technical indicators: LWMA, SMA, RSI, Stochastic, MACD.

The class is designed for calculation of the technical indicator Moving Average of Oscillator (Moving Average of Oscillator, OsMA) using the algorithm of the ring buffer.

The script for searching the maximum, minimum and average values of candlestick size

A trailing stop module based on the WPR indicator with short and long Stop Loss

When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Buy Stop or Buy Limit pending order should be placed.

A trading system that uses the Candle Momentum indicator.

The indicator plots three equidistant channels with the calculation periods defined in input parameters.

The Fractal Dimension Index determines the amount of market volatility.

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

A set of Pivot levels.

Symbol for downloading the history data for the current symbol with indication of progress.

The AFL_Winner_HTF_Signal indicator shows the trend direction and the signal based on the AFL_WinnerSign indicator.

The X2MA indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

Semaphore signal indicator based on the i-Sadukey_v1 digital filter.

The BinaryWave_HTF_Signal indicator shows a trend direction or a signal based on the BinaryWaveSign indicator.

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

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

This indicator is an example of smoothing the Force Index indicator timeseries by filtering high-order harmonics.

The indicator paints candlesticks depending on the minimums and maximums of the previous bars.

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

Trading system based on the signals of the JMACandleSign indicator.

Trading system based on the signals of the LeManTrendHist indicator.

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

Trend Arrows draws support/resistance lines as colored dots on a price chart.

Exp_Directed_Movement Expert Advisor is based on the change of color of the Directed_Movement indicator.

The ZZ Color Retracement based on the Simple ZigZag indicator. In addition to the functionality of the base indicator, the Color Retracemnt analyzes the length of wave movements, highlighting the longer impulse movements in blue and the shorter retracements in red.

Smoothed difference between the main and signal lines of the Stochastic oscillator in the form of a colored histogram.

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

The indicator implements a breakout system using a channel based on the High and Low price series processed by the algorithm of JSatl_Digit.

Trading system based on the signals of the ColorXvaMA_Digit_StDev indicator.

The Exp_Delta_RSI Expert Advisor is based on the Delta_RSI indicator color change.

Middle-High-Low Average - a correlation of two averages.

Adaptive Laguerre filter with the usual set of 20 types of prices.

This is a semaphore signal indicator using the colors of the MACDCandle indicator candles as trading signals.

The Expert Advisor uses Fibo levels and iSAR indicator - Parabolic Stop and Reverse system. Trading is performed using BuyLimit and SellLimit orders.

The simplest Expert Advisor based on RSI.

The Expert Advisor is based on moving averages crossing.

1...535455565758596061626364656667...183