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

Submit your code
RMO

The tend indicator: Rahul Mohindar Oscillator

Indicator AnchoredMomentum with the timeframe selection option available in input parameters.

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.

GB

Indicator GB (Gaussian Bands) works in the same manner as standard indicator Bollinger Bands. However, unlike the former, it performs filtering centerline and deviation lines by Gaussian method. It also has two deviation lines on each side of the centerline.

PAC

PAC (Periods After Crossing MA) is an oscillator displaying the number of bars elapsed after the last crossing of the price and the moving average.

A configurable RSI

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

The indicator paints candles going beyond the CandleStop channel.

iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators are configured for crossing of the two iMAs (Moving Average, MA) plus for Buy and Sell separately.

Multi Averages Slopes indicator that checks slopes of 5 (different period) averages and adds them up to show overall trend. Averages that can be used in this indicator are the: SMA, EMA, SMMA, LWMA.

Multi timeframe version of the Trend Trigger Factor JMA indicator.

Ultra Trend indicator that uses a "fast" (fast in response to market changes) Zero Lag TEMA for trend calculations.

Force index - JMA

Variable Index Dynamic Average (VIDYA)

A trading system based on the signals of indicator FineTuningMACandle

Wick length indicator

Filtered price using self adjusting deviation for price filtering

Provides an interface for creating families of related or dependent objects without specifying their concrete class.

I used to suffer from unnecessary losses and/or cutting my profit short since I wasn't fast enough to modify my SL and/or TP. That is why I've wrote these scripts that will allow me to react fast when I must modify my Sl and/or TP especially when I have many open and/or pending trades. I know there are plenty of Metatraders who also suffer from this and that is why I would like to share these scripts with you, hopefully it will be beneficial. Do not forget to send you comments as well as rate these scripts. Happy trading!

AMA - Adaptive Moving Average - beginner tutorial to learn how to code in MQL5

changing character prices on an interval

An indicator which attempts to highlight a ranging market area

Overview Grid Master EA is an automated trading system that implements a bidirectional grid strategy. It places multiple pending orders above and below the current market price, capturing profits from market oscillations in both directions.

The Parabolic SAR Indicator was developed for analyzing the trending markets.

The Price Rate of Change (ROC) reflects this ondulatory movement like an oscillator, measuring the difference in prices in a certain period. ROC grows if prices grow and drops along with them. The more the price change is, the more ROC changes.

The MovingAverages library contains functions for calculation of different types of moving averages.

A simple XML-parser, based on the msxml library.

This simple Expert Advisor uses Simple Moving Average and ADX indicators.

The script allows you to place the deals history on the chart using the graphic objects.

New version of the sChartsSynchroScroll script.

The Expert Advisor uses the Moving Average and Stochastic indicators.

The DRAW_HISTOGRAM drawing style is used for plotting the values of the indicator's buffer as a histogram.

The indicator plots the Fibonacci retracement levels for a user-defined number of bars.

COsMAOnArray class is designed for calculation of OsMA (Moving Average of Oscillator) values on indicator buffers. The example of use of the class is provided.

CRVIOnArray class is designed for calculation of RVI (Relative Vigor Index) values on indicator buffers. Test_RVIOnArray indicator is provided as the example of the class use.

The indicator shows possible targets of price movement. It calculates the distance from the market entry price to the highs and lows displaying the quartiles deviation.

Selflearning Expert Advisor

1...495051525354555657585960616263...198