Watch how to download trading robots for free
Find us on Telegram!
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 - 105

Submit your code

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

The indicator displays the balance and equity of the trade account.

Trades using the pending Sell Limit and Buy Limit orders. Removes all orders and closes positions at 23:59.

The Expert Advisor opens a reverse position, additionally placing a grid of orders for reinforcement.

The Expert Advisor based on the iAlligator (Alligator), iMA (Moving Average) indicators.

The Expert Advisor searches for movements without rollbacks (analysis of ticks).

To generate signals, it uses the combined patterns of three indicators: DCOS (by DC2008), BullsPower and BearsPower.

The Expert Advisor uses the iBullsPower (Bulls Power) indicator.

"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 based on the Fractals indicator. Lot calculation: percentage of free margin.

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.

The indicator implements a breakthrough system using the Color_PEMA_Envelopes_Digit channel.

The EA uses the following indicators: CCI, fast and slow MA, Larry Williams' WPR.

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

Oscillator using inverse Fisher Transform.

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.

1...9899100101102103104105106107108109110111112...189