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

Submit your code

Corrected double smoothed Wilder's EMA

Linear Weighted Moving Average

Intraday Fibonacci levels

The indicator uses colored rectangles to paint the price range of the weekday selected in the indicator settings.

Trading based on a random number generator or in one of the following sequences: BUY - SELL - BUY or SELL - BUY - SELL.

Instead of using "pure price" this indicator uses Heiken Ashi values to determine the trend as well as the "strength" of the trend.

X2MA indicator in the form of candlesticks

Since last fractal indicator

Bollinger bands breakout

M1-based Moving Average. It gives more adequate estimation of average price per bar compared to any standard price type (close, open, median, typical, weighted, etc).

This indicator is used to have a sense of and distinguish a product's statistical property: Moving Average Speed

Example of daily loss calculation tool You can update it as you want.

MACD shifted for the trading range is used to determine a trend and overbought/oversold areas.

The market volume indicator whose main purpose is to filter false signals which occur in the side movement of the market.

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

Larry Williams' Accumulation/Distribution indicator is an accumulated sum of "accumulative" and "distributive" price movements.

The indicator draws candlesticks in a separate window in the form of a histogram from the zero line.

An Expert Advisor based on two iMAs (Moving Average, MA) and one iSAR (Parabolic SAR). Position trailing.

Indicator based on the NonLag Moving Average.

Oscillator ERVI (Ehlers' Relative Vigor Index) based on the relative vigor index by John F. Ehlers.

This indicator is a Schaff Trend Cycle that is using Jurik Volty Adaptive RSX for calculation. Default adapting period is kept rather long simply to make the effects of the adapting more noticeable.

Three moving average cross with MACD signal verification before opening order. Updated 8/30/2018:

DEMA trend

Skyscraper_Fix indicator in candle form

A trading system based on indicator iMA (Moving Average, MA).

Trade with no need to calculate lot size! This script calculates the proper lot size and opens the position(s) for you.

Reflex and Trendflex was created by John Ehlers ("Stocks & Commodities Feb. 2020 (6-8)").

I find the lot calculation tedious so I just use this script and tell it the dollar amount to use. It then does the rest. This works for any currency.

An easy-to-use multi-currency library, usable in indicators and EA.

"The Enhanced Signal To Noise Ratio" was created by John Ehlers and published in the book "Rocket Science for Traders", pg.87-88.

A trading system based on the ZigZag indicator.

The story behind this indicator is really interesting. I've published last week a script called "Identify potential Trends/Range (Pivot Points)" and a huge number of MQL5(ers) contacted me to ask if it is possible to have it as an indicator. So I was glad that lot of people actually like my scripts and indicators so that is why I've decided to convert the script to this indicator.

The Cyber Cycle: John Ehlers, "Cybernetic Analysis For Stocks And Futures", pg.34

The indicator draws the channel for flat market based on the MA Rounding.

The indicator to define the trend and the flat.

The "Trader assistants" series indicator drawn on the basis of two Moving Averages and the RSI

The sound signal which triggers that a new bar appeared

This indicator is created to determine the trend and its direction.

The indicator draws horizontal lines on the level of last fractals up and down.

A simple interpretation of the Bollinger Bands indicator in a separate window.

1...170171172173174175176177178179180181182183184...189