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

Submit your code

The implementation of the MACD pattern "Trend continuation".

A trade strategy based on the RSI indicator. Checks if there is enough money before opening a position.

The indicator displays the Renko bars on the MetaTrader 5 chart.

The EA waits for a TP or SL to trigger, and then opens a position in the opposite direction. It checks if there is enough money before sending a trade request. OnTradeTransaction.

A breakout trading system based on the signals of the Color_PEMA_Envelopes_Digit_System indicator.

An Expert Advisor without a single indicator. Uses lot and step increase.

The МТ45 Expert Advisor is based on the Martingale strategy. It is designed for trading in the МetaТrader 4 and МetaТrader 5 terminals.

Simple Expert Advisor based on the Larry Conners RSI 2 strategy.

The indicator calculates and displays a linear relationship between two or more financial symbols.

Simple trailing of stop loss and take profit orders of open positions.

The indicator shows days of the week on the price chart.

This version of BB Stops changes uses EMA deviation for calculation.

A trading system based on iMA (Moving Average, MA) with the averaging period of 55 (the averaging period is hardcoded and is not available in input parameters).

PVA

SonicR PVA Volumes indicator

WPR_Histogram_Vol indicator with the timeframe selection option available in input parameters

ADX Trend indicator

Indicator Price Momentum Oscillator

This is a utility for rounding the lot size correctly

The XFisher_org_v1 indicator with the timeframe selection option available in the input parameters

The indicator based on two indicator buffers (DRAW_LINE style)

Brief description

Extent indicator

The Expert Advisor is based on the RSI Custom Smoothing indicator.

Two identical trading systems (for long and short deals) based on the ColorMETRO indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

The Three timeframes Stochastic Average indicator

The EA compares the difference between the Close price of bar #1 and the Close price of bar #Candle shift.

Adaptive Moving Average - generalized version with floating levels

The indicator determines the index of the direction of the bar prices and the Gap/breaks in them. It is a logical continuation of the ms-Candle indicator.

Wave period oscillator

Indicator Camarilla Points "Stocks & Commodities V. 31:3 (pg. 10-15)"

The ZeroLag MACD indicator shows the histogram with color of the previous bar.

A Colorful Fan of Moving Averages.

The Improved version of MаrtGreg Expert Advisor.

The class can be used for creation of trade signal classes with reversal candlestick patterns.

Trade signals based on "Bullish Harami/Bearish Harami" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

BrainTrend1Stop is a trend reversal indicator.

PCCI (Perfect Commodity Channel Index) is a high frequency part of the price fluctuations normalized using the standard deviation.

The indicator generates buy and sell signals and issues alerts in case of the Stochastic Oscillator indicator overbought or oversold levels crossing.

The Mass Index was popularized by Tushar Chande and Donald Dorsey.

Fisher Cyber Cycle is an oscillator that modifies the Cyber Cycle custom indicator values using Inverse Fisher Transform.

1...454647484950515253545556575859...200