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

Submit your code

Smooth ATR trend envelopes of averages

QQE of Velocity - multi time frame

The Expert Advisor based on iAlligator (Alligator) indicator.

The trading system based on the signals of the TimeZonePivotsOpenSystem indicator

Laguerre RSi with Laguerre filter - extended

Corrected super smoother

Double Top indicator

Efficiency ratio directional with self adjusting levels

Indicator Gann Swing

The Expert Advisor uses indicators iMA (Moving Avrage, MA) and iRSI (Relative Strength Index, RSI)

A trading system based on several indicators from several timeframes.

Indicator XXDPO_Candle_Alerts with the timeframe selection option in its input parameters

A fast library for combinations and permutations in MQL.

Price momentum oscillator

The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.

The iS7N_SacuL.mq5 indicator is based on the original indicator 'Lucas1.mq4', written in MQL4.

Since Terminal build 344 added display of economic calendar news using special graphical objects (OBJ_EVENT). A script that outputs as a demonstration of the Economic Calendar with current economic data, the date of the last major (Pink) event.

Go

The simplest trend indicator.

The indicator that paints the bars in blue for a bullish trend and in red for a bearish one.

Vertical time grid with six hours step.

Parabolic_HTF_Signal shows a trend direction or a signal for performing a deal generated by Color_Parabolic indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

Trend indicator of the popular BrainTrend1 trading system with preliminary price timeseries smoothing.

Intitial position is opened according to signals of the indicator.(there are six variants). If position becomes unprofitable, its volume is increased

When market activity decreases, then the Expert Advisor places two pending stop orders

Library of functions for working with strings: StringToArray, StringToPeriod and PeriodToString

The Kagi chart drawn in a separate subwindow

The trading system based on change of the trend direction and force of the trend displayed by the ColorXADX indicator.

The script imitates the One Cancel Other function for orders. When one order is triggered, the others are deleted.

A semaphore signal indicator using the Commodity Chanel Index oscillator.

The wlxFractals indicator is designed for drawing Bill Williams' fractals, defining the number of significant bars to the left and to the right.

The ForexProfitBoost_2nb with the timeframe selection option available in the input parameters.

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

The MFITrend_x10 indicator shows the MFI oscillator position from ten different timeframes.

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

The XMA_Ishimoku indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

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

The Exp_ColorZerolagMomentumOSMA Expert Advisor is based on the ColorZerolagMomentumOSMA histogram's change of direction.

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

The Schaff Trend Cycle indicator based on the difference between two RVI oscillators with different periods.

The Exp_ColorSchaffWPRTrendCycle Expert Advisor is based on the ColorSchaffWPRTrendCycle oscillator change of position relative to the overbought and oversold levels.

1...100101102103104105106107108109110111112113114...183