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

Submit your code

The indicator plots price channel and Fibonacci levels based on the latest parabolic ZigZag peaks.

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

The Zigzag2_R_Color indicator with the timeframe selection option in the input parameters and display of values as fractal labels.

Fractal Relative Strength Index.

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

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.

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

Corrected JMA

PVA

SonicR PVA Volumes indicator

WPR_Histogram_Vol indicator with the timeframe selection option available in input parameters

DSL synthetic super smoother momentum

ADX Trend indicator

This is a utility for rounding the lot size correctly

The indicator based on two indicator buffers (DRAW_LINE style)

Brief description

Extent indicator

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

provides clear arrows which clearly show the direction of the currency pair.

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

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.

The "Support and Resistance" indicator shows the support and resistance levels using the Fractals indicator by Bill Williams.

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

SHI_Channel_true automatically shows Barishpolts dynamic moving channels on a chart.

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.

Automated Trading Championship 2011 version.

CAMAOnArray class is designed for calculation of AMA (Adaptive Moving Average) values on indicator buffers. The example of use of the class is provided.

1...272829303132333435363738394041...183