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

Submit your code

Indicator Speed of Trade

An indicator that draws the CaudateXPeriodCandle candlestick sizes in points.

AV

AV (Average Volatility) - a simple average volatility oscillator.

The EA performs initial opening in both directions. Then it tries to pull the remaining side into profit.

Parabolic Stop And Reverse as an oscillator

An Expert Advisor based on the iWPR (Williams' Percent Range, %R) indicator with the operation time control.

Keltner Channel calculated as Non Lag MA +- ATR distance for the bands.

The indicator DHLPBO (Dynamic High/Low Percentage Band Overlay). Unlike DHLBO, which displays two bands calculated based on the Highs/Lows of the range, this indicator constantly narrows the channel width by a certain percentage throughout the whole range.

Double smoothed MACD Stochastic indicator

Step chart of stochastic of averages

Bollinger Bandwidth Delta oscillator

Two identical trading systems (for long and short positions) based on the signals of the VortexIndicator indicator, which can be configured in different ways within one Expert Advisor

The indicator based on three moving averages

The Expert Advisor uses iMA (Moving Average, MA), iAO (Awesome Oscillator, AO) and custom Laguerre indicators.

MinMax indicator

Vortex Trend indicator

RSI_X20 indicator is able to color each line depending on its position relative to overbought and oversold areas

The Ultimate Oscillator indicator

The MA Slope indicator

The Gold Dust

Double smoothed stochastic of ratio

The ColorMFI_X20 indicator with the possibility to change the calculation timeframe using the indicator input parameters

The ColorRSI_X20_Cloud indicator with the possibility to change the indicator timeframe using input parameters

Correlation angle

Class for comparing two floating point variables.

McGinley dynamic (official version - as described by John R. McGinley)

This Script will Refresh All Open Charts in MT5, Usually custom symbols in MT5 needs to be Refresh sometime so this script will help to refresh all open chart at once. We can also use this Script anywhere where we need to refresh all open charts.

This code block loops through all opened position and do trailing based on Ask and Bid prices.

Callback interface for timer

Arrows&Curves shows signals to open and close positions.

The fan based on the five T3 moving averages for trend indication.

ZigZag allowing to build Fibo fans on the last two ZigZags.

The indicator allows to work with changing in real time and mirror reversed (1/X) trading instrument.

The indicator creates areas of preferable stop-losses location for long and short positions at any time.

Empirical mode decomposition of the current symbol.

The Expert Advisor with a basic trading system on the basis of the CCI indicator and several linear perceptrons regulating the work of the basic trading system.

The class is designed for calculation the technical indicator Momentum (Momentum) using the algorithm of the ring buffer.

The SchaffTrendCycle oscillator performed as a color histogram.

When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Sell Stop or Sell Limit pending order should be placed.

The indicator allows to use a special background color for marking the price chart in the period of day selected in the input parameters.

1...757677787980818283848586878889...190