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

Submit your code

The Silence indicator displays aggressiveness (price change rate, the blue line) and volatility (the red line) in a separate window.

The TriggerLines trend indicator draws two moving average lines colored in accordance with the trend direction: green for upward and red for downward.

This version of Trend Envelopes RSI indicator differs in one significant point: instead of using fixed value (5) for envelopes calculation, standard deviation (adjusted by multiplier) of the calculated RSI is used for envelopes calculation.

The channel formed on an open price of an hour set in the settings

XBullsBearsEyes_Vol_Direct indicator with the timeframe selection option available in input parameters

Indicator Sylvain Vervoort rainbow moving average

Indicators iCCI (Commodity Channel Index, CCI) and two iMAs (Moving Average, MA) are used.

SR-RateIndicator indicator provides alerts, sends email and push notifications when overbought/oversold levels are broken through by the histogram.

Key Reversal indicator

The indicator shows Buy and Sell signals of three indicators (iSAR, iMFI и iTEMA) located in nine timeframes, with full settings

Two identical trading systems (for long and short deals) based on the ColorPEMA indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

This indicator enhance the functionality of the standard crosshair of MetaTrader adding the difference in Percentage and the time span in a human readable form (not in bars, but in Hours, minutes, days, etc)

Prices truncated to pips.

The Adaptive Moving Average Indicator is used for constructing a moving average with low sensitivity to price series noises and is characterized by the minimal lag for trend detection.

The purpose of this grid is to replace the standard grid with more convenient, it allows to determine many important points on the chart, the properties of the price movement and checkinh the quotes quality (for the presence of holes).

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

A Colorful Fan of Moving Averages.

The DRAW_NONE drawing style is used in cases, when you need to calculate and show the values of the indicator in "Data Window", but the plotting isn't needed.

This indicator shows the direction of the acceleration of JFatlAcceleration price from a larger timeframe at a smaller one.

CSAROnArray class is designed for calculation of SAR (Parabolic SAR) values on indicator buffers. The example of use of the CSAROnArray class is presented.

Trinity-Impulse indicator shows market entries and periods of flat.

This indicator shows trend direction (Moving Average) and trading signals (Stochastic + Accelerator).

The indicator displays the fast adaptive line that allows to evaluate a trend line.

The indicator shows entry signals based on Accelerator Oscillator.

The script exports historical data to HST format for its use in MetaTrader 4 client terminal. This file can be imported in MetaTrader 4 as historical data or you can open it as offline chart.

Ask Bid Ticks is a high-precision, real-time tick data solution for microstructure analysis (a tick data collector). It works with local computer time.

The indicator calculates the resistance and support lines and shows alerts when price is reached them.

The Expert Advisor with a very simple price analysis in two bars and with the increasing lot after a loss

The class is designed for calculation of Moving Averages (Moving Average) using the algorithm of the ring buffer.

The class is designed for calculation of the technical indicator Double Exponential Moving Average (Double Exponential Moving Average, DEMA) using the algorithm of the ring buffer.

The indicator draws support/resistance lines and the trend lines in the chart

An Expert Advisor based on the difference of two moving averages.

The script demonstrates the example of using the FileSize() function

Version 1.2 - MQL5\Include\mql4compat.mqh

A widely used indicator with two CCI from different periods.

Trading system using the Ozymandias indicator.

Simplified version of Ozymandias with price band lines removed.

Simple trend indicator based on a group of several technical indicators.

Colored histogram based on a famous indicator by Edward Coppock.

The Exp_ColorZerolagTriX Expert Advisor enters the market when the ColorZerolagTriX indicator cloud changes its color.

1...394041424344454647484950515253...183