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

Submit your code

Expert Advisor based on the ColorZeroLAG_MA indicator change of direction.

The indicator shows Moving Averages (MA) values, difference between values and difference between MA.

The Expert Advisor looks for a negative spread and trades using it.

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram.

The Expert Advisor works both in normal mode with one positions, and in the HEDGE mode with multiple positions.

The Exp_i-CAi Expert Advisor is based on change of direction of the i-CAi indicator.

PFE

Oscillator with calculations using an algorithm similar to Kaufmann's AMA.

Trading system based on the signals of the RSI_Slowdown indicator.

Standard RSI oscillator implemented as a histogram rounding its values to the standard range.

Double stochastic of RSI uses floating levels instead of fixed levels for OB/OS conditions.

Fractal Relative Strength Index.

An Expert Advisor based on two indicators iMA (Moving Average, MA). At crossing, we move back from the price at a certain distance and then expect the level obtained to be broken through.

The WeightOscillator trend indicator, which features alerts, sending emails and push-notifications to mobile devices.

Trades using indicators: iStochastic (Stochastic Oscillator) and iRSI (Relative Strength Index, RSI).

MACD ca - sort of a "step MACD" or "corrected MACD".

The class allows to easily determine from your MQL5 programs any changes in the Market Watch window (change of symbol sorting, adding, deleting a symbol or a set of symbols), as well as opening and closure of charts, and the availability of the one click trading option on the current chart, on which the program is running.

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

The Expert Advisor trades based on the ADX Wilder and Ichimoku Kinko Hyo indicators. Lot is calculated based on risk percentage of margin.

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

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.

1...394041424344454647484950515253...194