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

Submit your code

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

The indicator for automatic drawing of consolidation areas and channels on the basis of the linear regression

The improved Momentum indicator. The indicator is described by Rudy Stefenel in February'1998 issue in Stock&Commodities

The MACD histogram drawn using two signal lines in the price chart of the financial asset.

The system using the internal channel from High to Low

Digital adaptive XXMA Moving Average represents subtype of Moving Averages with a digital flat-trend filter and is made to separate the angular direction of price movement (trend) from the horizontal (flat) for effective trend trading.

The indicator displays trend force and direction

The CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.

The Woodies CCI Paterns indicator

Sistema de negociação baseado no indicador ColorSchaffTrendCycle.

The indicator of reversal points drawn on the week candlesticks

The indicator for pair trading. The simplified variant of the "ind_2_linep1.mq5" indicator

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

The indicator of ranges of the last three candlesticks of timeframe selected by the trader

The original indicator that shows buy and sell signals of three indicators on nine timeframes

An interpretation of Stieve Nisson's 'Three Line Break' strategy

An example of how to use the IndicatorSetString() function. A simple indicator that shows how to create a label, e.g. "Overbought level" for each level.

Fast FrAMA, in contrast to the version from MQL5 suite, has more wide applied price constant choose and, what's the main difference, calculation speed is increased by a factor of 30 to 100.

An indicator of trend power with eight states.

Three main stochastic lines from three different timeframes on one chart.

An analogue of the Alligator indicator with a smaller lag of signals.

Fisher transformation based histogram with two averages in the form of signal lines.

Three DeMarker oscillators with three different timeframes on one chart.

1...828384858687888990919293949596...183