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

Submit your code
TST

The Expert Advisor does not use any indicators. It only uses the current price and the OHLC of zero bar.

The Expert Advisor sets pending Buy limit and Stop limit orders.

Simultaneous opening of two oppositely directed positions

The trading system based on XBullsBearsEyes_Vol_Direct indicator signals

Source code of simple order panel

The Expert Advisor using the TrendContinuation trend indicator.

Crossover of two iMAs (Moving Averages), one more iMA (Moving Average) is used as the filter. Lot: manual or risk percent of balance. Stop, Market or Limit orders. The EA also sets Stop Loss, Take Profit, Trailing Stop.

A trading system based on the Alligator indicator. If possible, the EA moves positions to breakeven and then enables trailing stop.

A panel to close positions based on class CDialog. Buttons based on class СButton.

Multi-currency Expert Advisor that analyze resonance events at related financial assets.

Trading system drawn on the basis of the signals taken from the OsHMA histogram.

Trading system using the Exp_QQECloud trend indicator.

The Exp_FisherCyberCycle expert advisor is based on the signals generated by the FisherCyberCycle oscillator.

The Exp_ColorJLaguerre Expert Advisor is based on the ColorJLaguerre oscillator change of position relative to the overbought and oversold levels.

Scalpel EA for MetaTrader 5

The EA buys if the open price of the last position is higher than the current price.

Two identical trading systems based on the change in the ColorJFatl_Digit moving direction for long and short trades, which can be configured in different ways in one Expert Advisor.

An Expert Advisor based on the Diff_TF_MA indicator.

The trading system based on XPeriodCandleSystem indicator signals with the possibility to set a fixed position holding time.

Expert advisor uses the difference between bar closes and a close moving average to detect unusual activity, it will then buy arbitrary volatility spikes. This is a prototype that I will be expanding on in the future, at the moment the user can input an arbitrary level to buy at. In future developments I plan on building a neural network in the EA that detects and compares volatility levels.

A trading system based on the Puria method.

If you only want to execute your code blocks "only once per bar" it's important to check if there is new bar arrived or not.

The Exp_TSI_DeMarker EA is based on the signals of the TSI_DeMarker trend indicator.

The popular Ilan 1.6 Dynamic belongs to the category of "averagers". Ilan uses advanced money management formulas and allows taking even losing positions to profit. Now Ilan 1.6 Dynamic is available as a source code for MetaTrader 5.

The Exp_ForecastOscilator Expert Advisor is based on signals generated by the ForecastOscilator semaphore signal indicator.

The Exp_FractalAMA_MBK Expert Advisor is based on signals generated by two moving averages of the FractalAMA_MBK indicator.

Trading by Moving Average. Checking for sufficiency of funds.

The Expert Advisor waits when the lines of MA(10), MA(20), MA(50), MA(100) and MA(200) get arranged one above the other (or one below the other).

The EA closes all positions if the equity reaches a certain ratio as related to the balance.

The trading strategy based on two oscillators: iCCI (Commodity Channel Index, CCI) and iRSI (Relative Strength Index, RSI).

The Expert Advisor is drawn on the basis of changing the direction of the MovingAverage_FN (digital hybrid and analog filtering indicator).

A trading system based on the Vortex indicator signals.

The EA uses a virtual Take Profit for closing gaining positions. Opening positions with a step. Catch the type of the last position and its price in OnTradeTransaction.

Trading system using the Kolier_SuperTrend trend indicator

The trading system drawn on the basis of the signals of the SuperWoodiesCCI indicator

The Exp_CronexRSI Expert Advisor is based on the signals generated by the TSI_MACD oscillator.

Working with pending Buy Limit and Sell Limit orders. Trailing the positions is possible.

The trading system based on TimeZonePivotsOpenSystem indicator signals with the possibility to set a fixed position holding time

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

This script attempts to demonstrate the power of using support vector machines in solving classification style problems. This version of the code has been written specifically to be used in conjunction with the demo version of the Support Vector Machine Learning Tool available for free from the MQL5 Market.

1...25262728293031323334353637