Watch how to download trading robots for free
Find us on Telegram!
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 - 103

Submit your code

Trading system using the ADXCrossing indicator.

The ColorZerolagTriXOSMA indicator implemented as a sequence of candlesticks.

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

The indicator plots a fan of Moving Averages and calculates Acceleration/Deceleration for each of them. This gives the ability to see the attenuation of a trend and the moment of its change.

A variant of the StochasticTrend_x10 indicator with the option to individually customize the input parameters for each Stochastic oscillator which are used to display the current trends.

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

METRO_XRSX_HTF_Signal shows a trend direction or a signal for performing a deal generated by METRO_XRSX_Sign 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.

Semaphore signal indicator using asymmetric Stochastic oscillator in the form of a colored cloud.

The SAR Trading System illustrates the operation of the Stop and Reversal (SAR), developed by Welles Wilder. The Expert Advisor check for presence of an open position and starts moving the stop loss with parabolic acceleration.

A grid of round price levels.

iTrend indicator for MetaTrader 5

Increasing the lot after a losing trade. Entry signals are based on the DeMarker indicator.

The Expert Advisor is based on the following indicators: RSI, WPR, Stochastic, Moving Average, deMarker

The Expert Advisor opens a deal in the breakout direction. Lot calculation depending on risk percent of margin.

The smoothed StrangeIndicator oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.

The script removes from the current chart all objects of the user selected type

The Expert Advisor tracks positions of all symbols with all magic numbers. If a position has been open for "Waiting for seconds" and its profit has reached "Take Profit" points, the EA closes the position. If the profit has not reached "Take Profit" points, the EA moves the take profit level.

An Expert Advisor based on indicators "MA Cross 3MACross Alert WarnSig" (https://www.mql5.com/en/code/19519) and "Price Channel" (https://www.mql5.com/en/code/44)

Trading signals are generated based on a comparison of two trend indicators: iMA (Moving Average, MA) and iSAR (Parabolic SAR). The EA works on the zero bar, only one position can be open. Trailing stop is used.

The Stochastic Momentum Index (SMI) was developed by William Blau and was introduced in the January 1993 issue of Technical Analysis of Stocks & Commodities magazine. It incorporates an interesting twist on the popular Stochastic Oscillator. While the Stochastic Oscillator provides you with a value showing the distance the current close is relative to the recent x-period high/low range, the SMI shows you where the close is relative to the midpoint of the recent x-period high/low range.

In addition to the usual parameters that are controlling the way Kaufman AMA is calculated, this version has adjustable smoothing and filter that can eliminate insignificant AMA changes.

The trading system is based on a simple neural network.

QQE (Quantitative Qualitative Estimation) using CCI (Commodity Channel Index) instead of RSI (Relative Strength Index) as a "basic" indicator.

RSI adaptive EMA

Time Fractal Energy adaptive Laguerre RSI

A semaphore signal indicator that gives trade signals when candles Heiken Ashi Smoothed change their directions

Indicator Heiken_Ashi_Smoothed with the possibility of changing its timeframe in its input parameters

Three PEMAs from three different timeframes on a single chart

Export history of deals from MT5 retail hedging account selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.

Trade signals based on price crossover of two exponentially smoothed moving averages is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

ATRPivot generates support and resistance levels considering Average True Range (ATR) indicator.

Three pole Butterworth filter is used for smoothing in this moving average calculation algorithm.

Modified elliptic filter from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading"

The indicator consisting of two moving averages from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".

Trend indicator that sets color dots on a price chart according to a trend direction.

The grid consisting of DiNapoli levels and built using a larger timeframe chart. DiNapoliTargets indicator data is considered in the process of grid creation.

Envelope construído pelas médias móveis e calculado da mesma maneira que os de Ichimoku Kinko Hyo.

This typical signal indicator is based on Stochastic oscillator and Fractals technical indicators.

The script calculates Stop Out price (at this price position will be closed by broker) of the opened position and the price, at which Free Margin became negative (LockOut price).

Expert Advisor that trades based on the AML indicator, at the intersection of the bar with the indicator line.

1...96979899100101102103104105106107108109110...183