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

Submit your code

The Average Directional Movement Index by Wilder (ADX Wilder) helps to determine the presence of the price trend.

The script illustrates control of graphic objects using the classes from the Standard Library.

It is used for smoothing price series and is applied directly on a price chart of a financial security.

The indicator plots the Bollinger Bands ®, filled with different colors depending on the trend direction.

The Improved version of MаrtGreg Expert Advisor.

Nonparametric ZigZag, based on the "a-la Clyde Lee Patterns".

RSI oscillator with ultralinear and JMA smoothing algorithms.

The indicator shows the current trend, support and resistance levels.

There are a lot of smoothing algorithms. This indicator is a smoothing of standard ADX.

This indicator compares the signals of three versions of Parabolic SAR indicator. The versions are set at different timeframes: junior (chart timeframe), middle and senior.

The CForceOnArray class is intended for calculation of Force Index on indicator buffers.

The COBVOnArray class is intended for calculation of OBV (On Balance Volume) on indicator buffers.

FractalLevels displays the channel based on fractals.

This indicator is based on the first version of Sidus trading method. It shows market entry points.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by Candles_Smoothed changes its color, indicates the time for market entry.

Exponential Moving Average - Bollinger Bands ® Volatility Adjusted by Jose Silva.

Trend indicator based on two RSI oscillators.

The class is designed for calculation of the Average True Range indicator (Average True Range, ATR) using the algorithm of the ring buffer.

This script displays several subcharts in a single chart window according to the number of currency pairs in Market Watch menu.

The Moving Average Expert Advisor trades when the price crosses the MA.

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

The FatlMacd indicator with the timeframe selection option available in the input parameters.

The Fractional_Bands indicator with the timeframe selection option available in the input parameters.

A rounded MACD histogram presented in the price chart points.

The Exp_CGOscillator_X2 trend trading system based on the signals from two CGOscillator indicators.

The script deletes all orders of the type specified in settings, on the current symbol.

A histogram of maximum and minimum values of parameters SYMBOL_SESSION_BUY_ORDERS — "the total number of current buy orders" and SYMBOL_SESSION_SELL_ORDERS — "the total number of current sell orders". The drawing style is DRAW_HISTOGRAM.

Buy a security (open BUY positions) at a lower price, sell (open SELL positions) at a higher price.

A channel based on peaks and troughs of ZigZagOnParabolic.

The indicator calculates the ATR value based on the minimum price differences of the current and previous day, taking into account the volume of the current day.

RMO

The tend indicator: Rahul Mohindar Oscillator

Indicator ADL (Advances/Declines Line) shows the ratio of positive and negative price increments over a specified time interval.

The oscillator shows standard deviation calculated on the difference between the High and the Low.

An information-forecast MACD on the price chart

Indicator Aroon.

An unorthodox approach to indicator MACD: The EA calculates the indicator's area displayed above and below zero line.

Two independent trading systems using indicators BykovTrend_V2 and ColorX2MA within one EA.

A configurable RSI

The EA uses Martingale. Initial entry by indicator iStochastic (Stochastic Oscillator).

The indicator paints candles going beyond the CandleStop channel.

1...323334353637383940414243444546...184