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

Submit your code

Semaphore signal indicator based on the Dots trend indicator algorithm.

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)

Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.

Momentum beginner tutorial to learn how to code in MQL5

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.

1...107108109110111112113114115116117118119120121...189