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

Submit your code

The Exp_DigVariation Expert Advisor is based on the reversal of the DigVariation non-normalized oscillator direction.

The Expert Advisor enables and disables the "AutoTrading" button at a certain time and closes all opened positions on the account once the specified period of time expires.

The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.

The semi-automated Expert Advisor using a trend line (TrendLIne).

The simplest EA based on the fractal WPR.

A multi-currency Expert Advisor that opens a market position at the user defined time.

The Expert Advisor moves trailing stops of all positions on the current symbol.

A trading system based on the Omni_Trend indicator signals.

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.

A trading robot for performing arbitrage between EURGBP and its synthetic quotes (triangular arbitrage).

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 iFractals (Fractals) and on custom indicator ExVol.

A dialog to display the maximum lot size permitted on the underlying asset for different types of orders (buy, sell, pending buy, and pending sell).

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.

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.

1234567891011...37