Watch how to download trading robots for free
Find us on Telegram!
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 - 52

Submit your code

Typical zigzag indicator

The header file contains functions for searching last and previous order in the trade pool.

Implementation of a trading system based on divergence detection.

Displaying ATR (Average True Range) value in pips or points with option for setting multiplier.

This indicator is used for identifying extrema of different degrees.

Simple EA, but such efficiency for the year 2007!

The Expert Adviser Moving Average uses for trade signal generation one moving average.

The ZeroLag MACD Colored indicator is a modification of the ZeroLag MACD. Added coloring of the histogram bars relative to the previous bar, if the previous bar is below/above the current.

Two scripts to automate opening multiple positions simultainiously with SL and TP.

Powered by level equal to a whole cents (1.38 1.39 1.40 etc.)

A set of scripts to install and work with Gann fan. Custom fan has correct angles and is scale insensitive.

The gSpeak dll for MetaTrader Build 6xx

The script allows you to get a certain section of the chart image specified by the user.

The Moving Average indicator data is used for trading. If the price goes away from the Moving Average by a certain number of points, then an order is placed in the direction of the Moving Average line.

This an H1 strategy. This EA will execute at the new bar if the last bar has broken through the point that we set.

The Expert Advisor places a grid of pending orders in both directions several minutes before the specified time and trails the Stop Loss order after the orders trigger.

The indicator is for seasonal trade.

A library of classes for creating a user-friendly interface of your programs.

This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.

There are many algorithms of smoothing. This given indicator is for smoothing of standard indicator ADX. The code was translated from Easy Language.

Indicator Waddah Attar Trend is very simple , very easy to use and very sensetive to buy and sell signals.

MACD2 generates bearish signals from three main sources. These signals are a reflection of the bullish signals - negative divergence, bearish intersection of the moving averages, bearish intersection of the center line.

The trade sessions indicator.

MACD indicator.

Relative Strength Index technical indicator.

Average True Range Indicator (ATR) is an indicator that shows volatility of the market.

Famous AROON Indicator, though someone will need it

neuronirvamanEA works with neural networks . stoplloss

This is classic implementation of the Turtle Trading system, with clear entry/exits signals within the same trend and enter/exit alerts. It should be used together with my other indicator, The Turtle Trading Channel to get further entry signals if you h

This script makes horizontal lines, that shows max and min price values for a period of time.

Reveals distance from the actual price up to the breakthrough of recently set support or resistance levels.

The RSI with dynamic levels.

The Fibonacci channel display, the axis of which is the moving average line.

The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time.

Downloads the history of Alpari PAMM accounts and displays it on the chart.

Quantile bands.

Not really profitable but the code fits on one page.

Displays the number of each bar - both, relative to the most current bar and in absolute terms from the beginning of the chart.

Creates Fibonacci Retracement on the chart based on the ZigZag indicator. Tap the "X" or "Z" key to scroll through each swing in the ZigZag, to the right or to the left. For those who do not like clutter on their charts. The indicator can scroll to the right until it disappears from the chart, but it is still there. Scroll left to bring it back. This is one of the most useful tools in my trading toolbox!

This EA can do Grid trading and has useful functions for Gridtrading included

1...454647484950515253545556575859...102