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

Submit your code

The Exp_Karpenko EA is based on the signals generated by Karpenko oscillator.

A trend oscillator that uses the Hodrick-Prescott filter.

The Exp_NRatioSign Expert Advisor is based on signals generated by the NRatioSign semaphore arrow signal indicator.

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.

The ColorMETRO_WPR 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.

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.

Variation of a long known and useful MACD indicator using TEMA (Triple Exponential Moving Average) instead of using EMA (Exponential Moving Average) for MACD calculation, and DSL (Discontinued Signal Lines) and instead of using one signal line uses two.

A different way of looking at the fractals: instead of showing fractals the usual way, this indicator shows fractals as an oscillator and can show the "rhythm" of the changes in the market.

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.

MACD High/Low made multi timeframe.

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

RSI adaptive EMA

Step chart of CCI

Time Fractal Energy adaptive Laguerre RSI

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

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

Candle Range Envelop indicator

Indicator Price volume divergence

Three PEMAs from three different timeframes on a single chart

The market maker robot for trading futures and swap cryptocurrency contracts

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.

Reflex indicator (based on February 2020 TASC article by John Ehlers)

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.

1...105106107108109110111112113114115116117118119...188