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

Submit your code

"Corrected" momentum.

The EA works based on the analysis of Open, High and Low.

Two iMA indicators with hard coded periods of 3 and 7, and on iRSI indicator with the period of 2.

The strategy is based on Moving Averages with the periods of 5/20/40/60.

The Expert Advisor trades by two iMA (Moving Average, MA) indicators. Trailing Stop. TrailingStop

Libraries for the interaction of МТ4/5 with R

Returns position profit in points based on the trading history.

The indicator calculates OHLC crossovers

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

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

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

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

A list of all positions. An example of working with CPositionInfo.

The script closes all pending orders on the current symbol.

The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.

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

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

The EA trades in the specified time interval. It takes into account High and Low within a certain number of bars. The EA includes protection against the "not enough money" error.

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

The Exp_ColorXMUV_Tm Expert Advisor is based on the ColorXMUV MA signals and provides the possibility to set a fixed trading time interval.

This is a trend indicator

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

The indicator shows the statistics of the "Evening Star" pattern.

The Boa_ZigZag indicator with price labels of the ZigZag peak values.

Trading strategy: the breakout of a High/Low in the selected time interval.

The indicator implements a breakthrough system using the Color_PEMA_Envelopes_Digit channel.

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

The iMA (Moving Average) indicator based on iCCI (Commodity Channel Index). It is an analogue of Previous Indicator's Data in the terminal.

A trading system based on the ForceTrend indicator signals.

The indicator shows a text block with the values ​​of the user defined Volatility period for each timeframe.

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

The indicator shows the number of bullish and bearish bars in the given interval.

The Expert Advisor is based on the iOsMA (Moving Average of Oscillator, OsMA) indicator signals.

The Expert Advisor is based on the iRSI (Relative Strength Index, RSI) indicator signals.

The indicator shows a text block with the values ​​of the user defined Stochastic Oscillator period for each timeframe.

A trading strategy "three bars down, Stochastic up".

The Dtm indicator with the possibility to change the indicator timeframe from input parameters.

The Expert Advisor uses the signals of "crossover of two iMAs (Moving Average, MA)". The EA uses Trailing Stop and Take Profit.

The Internal Bar Strength indicator implemented in the form of a colored histogram.

The ColorDerivative indicator with the possibility to change the indicator timeframe in its input parameters.

1...8990919293949596979899100101102103...184