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

Submit your code

A channel built using the values of the ATR deviation from the middle of the range calculated on extremes.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the values of the SimpleBars indicator.

WRB

The indicator determines and marks WRB (Wide Range Bars or Wide Range Bodies).

The Exp_ColorJMomentum Expert Advisor is based on the ColorJMomentum oscillator change of direction.

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

A semaphore signal indicator based on crossovers of the lines of the Digital_CCI_Woodies indicator.

The indicator plots the Step Channel based on volatility.

A trading system based on the signals of the Stalin indicator.

A simple trend indicator based on two Moving Averages in the form of a colored cloud.

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

The iStochKomposter_HTF_Signal indicator shows a trend direction or a signal generated by the iStochKomposter indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.

The iDeMarkerSign_HTF_Signal indicator shows a trend direction or a signal generated by the iDeMarkerSign indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.

Indicator sends the alert when new bar is formed.

Comparing open prices of the zero and third bar.

This script is used to modify Stop Loss and Take Profit of position.

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

Trading against the trend direction as of N hours ago.

The Vertical Horizontal Filter ("VHF") determines whether prices are in a trending phase or a congestion phase. The VHF was first presented by Adam White in an article published in the August, 1991 issue of Futures Magazine.

Colored Bollinger Bands

Unlike the similar attempts of smoothing existing indicators, the Double smoothed EMA indicator is not lagging when compared to "regular" EMA.

A colored tick-volume indicator.

EMA Jurik Volty Adaptive is using Jurik Volty for making the EMA adaptive.

The Relative Strength Index oscillator displayed as a color histogram, using volumes.

"Previous Candle Breakdown" Expert Advisor.

The indicator implements a breakthrough system using the Float_Pivot_Smoothed_Digit channel.

Ilan based on indicator iMA (Moving Average, MA)

An Expert Advisor based on indicators iADX (Average Directional Movement Index, ADX) and iMACD (Moving Average Convergence/Divergence, MACD)

Donchian channel - extended, multi time frame version

A script to close all market positions and/or pending orders.

an efficient, general-purpose sorting algorithm

The script purpose is to export historical rates data to format, convenient for analysis in external programs.

Positive Volume Index (PVI) draws a connection between the volume rise and financial instrument price change.

QEMA - Quadruple Exponential Moving Average.

The script is developed for reversing open positions with fixed Stop Loss and Take Profit values in points from the current price and the volume depending on the reversed position.

The Expert Advisor based on the price channel

The trading system based on the signals taken from the ColorBullsBearsEyes oscillator

Trading system using the Extremum indicator

The indicator of (three) linear reversal on the main chart

The averaging amount of the RSI different period oscillators

1...121122123124125126127128129130131132133134135...183