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

Submit your code

An Expert Advisor, which trades in a channel based on the Percentage_Crossover_Channel indicator.

Implementation of multiple trailing types. Pending Buy Stop and Sell Stop orders. Limitation of the maximum total lot and the total number of positions. Several types of position volume calculation.

A trading system based on two indicators: iSAR (Parabolic SAR) and iRSI (Relative Strength Index, RSI). Lot calculation based on the risk value as a percentage of free margin.

This version of DeMarker indicator uses the "help" of smoothed Stochastic to emphasize the states of DeMarker and to help in easier trend assessment.

The Expert Advisor places pending Buy Stop and Sell Stop orders. Includes checks for the minimum distance of orders in points (SYMBOL_TRADE_STOPS_LEVEL).

A signal indicator for opening/closing positions.

This version uses double smoothed EMA instead of using Hull average, and since double smoothed EMA is never overshooting, that issue is solved. Being a very smooth average too, double smoothed EMA is really a good filter/average to be used in the "triple" series.

An indicator of trend strength.

Indicator that calculates dynamic balance point for the desired period.

An Expert Advisor based on indicator SAR.

Well known NonLag MA with additions and adjustments.

Super Trend indicator extended with additional display types.

Pivot oscillator - averages

Expert Advisor based on ZigZag indicator. Working with pending Buy Stop and Sell Stop orders.

In order to avoid the too many signals that the regular Random Walk Index tends to produce, this version is using JMA for smoothing which significantly lessens the number of false signals.

Super SAR is a signal indicator based on SuperTrend and iSAR.

The Forecast oscillator indicator

Very well known iTrend indicator but that uses JMA (Jurik Moving Average) for calculation.

Very well known iTrend indicator but that uses ADXVMA for calculation.

The Wyckoff PV Histogram indicator

QQE of Velocity - multi time frame

The Expert Advisor based on iAlligator (Alligator) indicator.

The trading system based on the signals of the TimeZonePivotsOpenSystem indicator

Laguerre RSi with Laguerre filter - extended

Corrected super smoother

This utility Expert Advisor works with a virtual stop loss and take profit. Trailing positions on the current symbol.

Double Top indicator

Efficiency ratio directional with self adjusting levels

The Expert Advisor uses indicators iMA (Moving Avrage, MA) and iRSI (Relative Strength Index, RSI)

A trading system based on several indicators from several timeframes.

Indicator XXDPO_Candle_Alerts with the timeframe selection option in its input parameters

A fast library for combinations and permutations in MQL.

Price momentum oscillator

The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.

The iS7N_SacuL.mq5 indicator is based on the original indicator 'Lucas1.mq4', written in MQL4.

Since Terminal build 344 added display of economic calendar news using special graphical objects (OBJ_EVENT). A script that outputs as a demonstration of the Economic Calendar with current economic data, the date of the last major (Pink) event.

Go

The simplest trend indicator.

The indicator that paints the bars in blue for a bullish trend and in red for a bearish one.

Vertical time grid with six hours step.

Parabolic_HTF_Signal shows a trend direction or a signal for performing a deal generated by Color_Parabolic indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

1...99100101102103104105106107108109110111112113...183