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

Submit your code

Trend composed by a series of averages

Indicator ZigZag Oscillator

Hull moving average

Demonstration of Canvas's capabilities using 3D spiral quotes as an example.

The Relative Strength Index Indicator (RSI) is a price-following oscillator that varies between 0 and 100.

The Universal Moving Average, it allows to select any type of moving average, included in the MetaTrader 5 client terminal.

The DRAW_LINE style is used for plotting the values of the indicator's buffer as a line.

The DRAW_FILLING drawing style plots the filled area between the values of two indicator buffers. In fact, it plots two lines and fills the area between them with the specified color.

The DRAW_BARS drawing style is used to plot the bars using the values of 4 indicator buffers with Open, High, Low and Close prices.

Slow Adaptive Trend Line is used for suppressing market noises and market cycles with longer oscillation periods.

This indicator paints the candlesticks in different colors depending on a trend power and direction.

Instantaneous Trendline shows buy and sell signals, while crossing the moving averages.

CG Oscillator basic and signal lines crossing generates buy and sell signals.

MPC

The MPC indicator plots a simple channel using extermums of the specified period. It can be used for additional visual control of trading system (channel breakout), based on HighestLowestRange (HLR) indicator.

Trading signals module for MQL5 Wizard. BykovTrend indicator's color arrow serves as a market entry signal.

Advaptive Exponential Moving Average - ATR Volatility Adjusted by Jose Silva.

CCI smoothed by Tilson algorithm.

The indicator demonstrates the example of using the FileReadDatetime() function

The indicator shows the method of drawing gradient semitransparent areas with independent update rate.

EasyXML is a native MQL5 XML Parsing Library. It can parse XML from three different sources: URL, File and String Input. It is completely object oriented and strives to integrate neatly with MQL5, as it utilizes CObject and CArrayObj from the MQL5 standard library to store the DOM.

Creates a synthetic from two selected pairs.

The AFL_Winner_HTF_Signal indicator shows the trend direction and the signal based on the AFL_WinnerSign indicator.

The X2MA indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

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.

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.

1...444546474849505152535455565758...200