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

Submit your code

It plots the bar-averaged price charts (median price).

The oscillator, based on Ichimoku indicator.

It has simple code and trading rules. It's doesn't use any martingale MM strategies.

Trade signals based on "Morning Star/Evening Star" candlestick patterns, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The DRAW_COLOR_HISTOGRAM drawing style is used to plot color histograms.

Stochastic Momentum Oscillator by William Blau.

Keltner Channel is volatility-based envelopes set above and below an exponential moving average.

T3

T3 Moving Average is based on multiple exponential smoothing of price.

The indicator for multi-currency technical analysis based on the related financial assets resonances.

More smoothed Momentum with colored indication of the current trend.

Conjunto de Bandas de Bollinger ® criado com base no algoritmo de média universal.

ATR Channels create price movement channels considering ATR (Average True Range).

Adaptive Stochastic oscillator.

StepMA is executed as a moving average.

The hybrid of the universal moving average and NRTR indicator. In this indicator the values of the moving average are corrected with the help of NRTR algorithm (Nick Rypock Trailing Reverse).

The indicator is based on comparing the signals of JJRSX oscillator and XMA moving average working on different timeframes - the current (chart timeframe) and the higher ones.

Two pole Butterworth filter is used for smoothing in this moving average calculation algorithm.

Vertical time grid with one year step.

Vertical time grid with eight hours step.

The indicator is based on the description given in Joe DiNapoli book "Trading with DiNapoli Levels". It is designed to evaluate the actual market overbought/oversold states.

XMACD_HTF_Signal displays trend directions from three last bars of the XMACD indicator as three graphical objects.

ZigZag based on the fractals of a larger timeframe considering VininI_FractalsTrend indicator data.

This version of the DinapoliTargets_Full indicator is convenient with its capability to be draw for any bar of a chart, what allows seeing the whole picture of the market behavior relative to the indicator levels on each bar. Apparently this indicator can be most useful when analyzing a strategy in the offline mode.

ZigZag indicator version displaying results of its calculations from the larger timeframe at the current one.

FisherTransform_HTF_Signal shows a trend direction as a graphical object with colored trend indication and gives alerts or audio signals in case of a trend change.

The simplest signal indicator for specifying trend power and direction.

The trend indicator that gives signals for performing deals. The indicator color depends on the market movement direction determined by the indicator position relative to the zero line.

The indicator calculates forecast prices of the daily price range. It shows resistance and support levels of current day using the prices of the previous day.

CMO

In this version of Chande Momentum Oscillator the smoothed price is used for the calculations.

XLineRegression creates levels based on the linear regression algorithm.

The Expert Advisor based on the AMkA indicator

The Expert Advisor operating based on the SAR and ADX indicators where the permitted trade direction is selected based on trade results.

The Trigger indicator has three states: rising, falling and flat

The trading system based on the signals taken from the MaRsi-Trigger trend indicator

It defines the boundaries of a flat channel based on bars closings.

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.

Rise or fall in prices is often preceded by increased activity of trading. The True MFI indicator tries to use this factor.

The Expert Advisor operates on the principle of the Moving Average. Simultaneously in both directions. Volume for BUY and SELL is calculated separately. Divide the volume received in accordance with the given "save percentage". It responds to the setting: "change the price"

The Moving Average of a linear regression with two levels of bands like John Bollinger bands

The iSAR indicator's main advantage is that it is based on current price time series thanks to which it can be applied to the other indicators

1...818283848586878889909192939495...183