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 Expert Advisors for MetaTrader 5 based on user ratings - 7

Submit your code

A trading system based on the KWAN_CCC indicator signals.

This is a working singleton code example. The sole purpose of this post is to provide a working code sample of a singleton object. A singleton object is created when there 'can be only one' of the object. This is accomplished by making an object's constructor private, and ensuring assignment and copy operations are also private. I was working on an EA and identified that an object should never have more than one copy. I don't expect the EA to ever get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the object's type. The code follows closely the tutorial at http://www.yolinux.com/TUTORIALS/C++Singleton.html.

Trade signals based on "3 Black Crows/3 White Soldiers" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Hammer/Hanging Man" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The Expert Advisor is based on EMA_RSI_VA indicator.

The Exp_JBrainSig1_UltraRSI Expert Advisor uses the values of JBrainTrend1Sig and UltraRSI indicators to analyze the market state.

A panel for opening and closing positions on several financial symbols in one click.

Trading system based on NRTR_extr indicator signals.

Trading system based on Volume_Weighted_MA_StDev indicator signals.

Synchronization of the bars displayed on all open charts of the terminal.

Trading system based on the signals of the MFI_Slowdown indicator.

Exp_X2MA_Digit_DM_361 trend-following trading system is based on ColorX2MA_Digit and ColorDM_361 indicator signals.

The simplest Expert Advisor based on MFI.

The Expert Advisor which uses the AO and AC indicators in its operation, which were proposed by the Bill Williams.

The Expert Advisor places two pending orders (BuyStop and SellStop) with the specified expiration.

The Expert Advisor uses the MACD, OsMA and WPR indicators. The Expert Advisor is configured to trade on the D1 timeframe with USDCHF, GBPUSD, USDJPY and EURUSD

The Expert Advisor solves the problem of position trailing along a given curve by moving its Stop Loss and Take Profit.

Buy a security (open BUY positions) at a lower price, sell (open SELL positions) at a higher price.

An example of a template for developing automated trading systems.

Two identical trading systems based on the crossover of the CMO indicator and the zero line, for long and short trades, which can be configured in different ways in one Expert Advisor.

An Expert Advisor based on the "Arrows&Curves" indicator.

An Expert Advisor based on iFractals (Fractals) and on custom indicator ExVol.

The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.

Analyzed copy of ATC2012 current champion JPAlonso's EA.

An example of how to create a multicurrency Expert Advisor that trades using the Bollinger Bands indicator.

Robot that trades the open sentiment of the market.

It uses martingale, the number of doublings is limited.

Graphic Panel Contest submission.

Trade signals based on "3 Black Crows/3 White Soldiers" candlestick pattern, 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.

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trading system based on WPRSIsignal indicator signals.

Trading system based on AroonOscillatorSignAlert indicator signals.

The Exp_i4_DRF_v2 Expert Advisor is based on the i4_DRF_v2 indicator color change.

The Expert Advisor opens an initial position in the current candle's direction and increases its volume if profit in points increases a threshold fixed in the EA inputs.

Expert NEWS - MetaTrader 5 Expert Advisor. BuyStop and SellStop pending orders.

The Expert Advisor trades inside a channel, reversing positions at the channel borders.

A semi-automated Expert Advisor which signals of breakouts of specified horizontal levels.

The Expert Advisor calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.

Three independent trading systems using BrainTrend_V2, AbsolutelyNoLagLWMA and X2MACandle indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

The EA trades using the Rectangle, EMA and SMA indicators.

1234567891011121314...40