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

Submit your code

The panel simplifies manual trading and trailing of the opened position.

This Expert Advisor is example of use of the Memory Mapping DLL for working with File Mapping functions. In this example the Expert Advisor create a virtual (memory-mapped) file and start to update the quotes on symbol. Using this way, Expert Advisors can exchange data (for example, quotes) using common memory-mapped file.

The Expert Advisor drawn on the basis of the TrendEnvelopes semaphore, signal indicator

Works based on the iMACD (MACD) indicators

The Expert Advisor plays sound alerts when candlestick size exceeds a certain value.

The Expert Advisor synchronizes the local computer time in the interval from 9:50 to 9:59 (before the beginning of the morning session) with the MetaTrader 5 FORTS server time.

Crossing of the two iMAs. Lot calculation based on the risk value as a percentage of margin.

Averaging of values (RSI) using MovingAverages.mqh. Two MA indicators.

The trading system is based on iMACD (Moving Average Convergence/Divergence, MACD) and iStochastic (Stochastic Oscillator)

Trend-following trading system Exp_AbsolutelyNoLagLwma_X2 based on the signals of two indicators AbsolutelyNoLagLwma

Virtual Trailing Stop.

Stop loss and take profit initial setting. Trailing.

An Expert Advisor based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). Averaging positions, in case of a loss. Improvement of the version 1.0

The strategy is based on two indicators calculated on two timeframes: iAO (Awesome Oscillator, AO) on the D1 TF and iStochastic (Stochastic Oscillator, Stoh) on H1.

to display trade history files(.csv) on charts.

Trade signals based on "Bullish Harami/Bearish Harami" 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.

A trading system using the AltrTrend_Signal_v2_2 semaphore signal indicator.

Well Martin EA is based on two indicators: Bollinger Bands and ADX.

Night scalper, trades until 0 am terminal time within a narrow range.

The Exp_Delta_MFI Expert Advisor is based on the Delta_MFI indicator color change.

The Exp_2pbIdealMA EA is based on the crossing of Moving Averages with position scaling according to the trend.

The Expert Advisor uses the iStochastic (Stochastic) Oscillator, iWPR (Larry Williams' Percent Range) indicators.

The Exp_ChandelExitSign_ReOpen trading system based on the signals of the ChandelExitSign indicator with trend following scaling.

The Expert Advisor closes all the current symbol positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

The EA uses the following indicators: iADX (Average Directional Movement Index, ADX), two iMAs (Moving Average,MA) - one indicator at CLOSE prices and another one at OPEN prices, iOsMA (Moving Average of Oscillator, OsMA).

Introducing the example of visualization of optimization results in real time (balance curve dynamics and an Expert Advisor statistical parameters).

Trading system based on the signals of the PA_Oscillator indicator.

A trading system based on the signals of the WPR_Histogram indicator.

Trading system based on Elliott_Wave_Oscillator indicator signals.

Simple code that illustrates trading based on the OnTimer event. When the timer triggers, the robot alternately performs buy and sell deals with fixed stop loss and take profit values.

An example of creating a trade panel using the MasterWindows library.

The Exp_i-SpectrAnalysis_RVI EA is based on the signals generated by the i-SpectrAnalysis_RVI oscillator.

The Exp_RVIDiff Expert Advisor is based on change of direction of the RVIDiff indicator.

The Exp_CenterOfGravityCandles Expert Advisor is based on signals of the CenterOfGravityCandles indicator.

The Expert Advisor moves a position to a breakeven when a predefined profit is reached.

The Exp_AdaptiveCGOscillator_X2 trend trading system based on the signals from two AdaptiveCGOscillator indicators.

Modification of StopLoss of any positions. Trailing. Trailing.

Information about profit, points, percent, spread and time remaining until the close the bar on the current currency pair and timeframe in a compact and convenient form.

Two identical trading systems (for long and short positions) based on the signals of indicator SilverTrend, which can be configured in different ways within one Expert Advisor.

The OnTick event handler is designed to proceed the ticks for a certain symbol. This is the version of Multicurrency tick event handler.

12345678910111213...37