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

Submit your code

The i-CAi indicator with the timeframe selection option available in input parameters.

Trading system based on the signals of the JSatl_Digit_System indicator.

This is a Ehlers inverse fisher transform with an addition of choices of different rsi calculations that can be used.

This indicator shows vertical and horizontal lines that you can set in different ways.

Absolute strength of averages. It is upgraded to use the possible 18 types of averages in calculation.

The Exp_SilverTrend_Signal_ReOpen trading system based on the signals of the SilverTrend_Signal indicator with scaling by the trend.

ExpHAWaves is a MetaTrader 5 Expert Advisor based on the Heiken Ashi and StepUpDown indicators.

An example for calculating the lot value in accordance with the risk per trade.

The Ichimoku indicator with an alert.

A Keltner Channel drawn relative to the average value of the Larry Williams' Percent Range oscillator as a sequence of candlesticks

The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks

Dsl (discontinued signal line) - stochastic for MetaTrader 5.

A script for placing two Buy and Sell Stop orders at an equal distance.

A fractal based indicator.

This utility tracks positions opened manually or by another EA for the current symbol and opens an opposite position. Opening the positions is tracked in OnTradeTransaction.

The Exp_XROC2_VG_X2 trend-following trading system is based on the signals of two XROC2_VG indicators.

The indicator displays trend power and direction based on four moving averages.

HTML file converter for the economic calendar. The script parses a page downloaded from http://www.investing.com/economic-calendar, and forms a CSV file with the list of news.

The Keltner channel with customizable calculation parameters.

A moving average drawn as candlesticks on a chart.

Signals are generated by the iBands, Bollinger Bands indicator. When a signal is received, opposite positions are closed.

Instead of using Simple Moving Average it uses EMA (Exponential Moving Average), and instead of using mean deviation it uses EMA deviation (originally published here EMA Deviation).

Quadratic Regression MA is a sort of a linear regression value variation, but faster in response to market changes.

The Expert Advisor places four positions with different Take Profit levels per time. As soon as one Take Profit triggers, the other positions will be moved to breakeven.

This version of the Accumulative Swing Index indicator is attempting to add some more functionality to it by producing much smoother results.

Trading by RSI and Moving Average. Moving Average is used as a trend filter on H1.

An indicator for constructing Renko bars in the chart sub-window.

The indicator implements a breakout system using the XHullTrend_Digit indicator cloud

CCI JMA based

The JMACandleTrend_HTF_Signal indicator shows the trend direction or a signal for performing a trade generated by the Skyscraper_Fix indicator at the chosen bar as a graphic object with colored indication of the trend or the trade direction, generates alerts or sound notifications if there are signals for performing trades or sends push notifications to a smartphone

BB stops JMA - multiple stops

DSL Chande momentum oscillator - smoothed

Variable Index Dynamic Average (VIDYA)

Indicator Volatility Quality Index

A channel is a trading range between support and resistance levels that a stock price oscillates in for a period of time. This indicator draws the resistance and support lines based on the peaks and valleys that are found within a defined period of time.

Ehlers Fisher transform (as originally described in the book)

The MFI normalized indicator

Indicator Double-deviation Bollinger Band with cloud

Smoothed WPR with floating levels and on chart support / resistance levels

Range BreakOut EA. The range is defined by the min number of bars and max width in pips. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

1...606162636465666768697071727374...185