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

MQL5 Source Codes of Expert Advisors for MetaTrader 5 - 23

icon

Expert Advisors analyze price charts and trade automatically following underlying rules. Here you can find MQL5 source codes solving a variety of problems. You are able to select both simple Expert Advisors based on moving average crossing and complex ones involving complicated signal generation algorithms and protection against trading mistakes.

You can download and launch offered Expert Advisors in MetaTrader 5. It is recommended that you test and optimize trading robots in the Strategy Tester before using them. The library of Expert Advisors is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

Trading system based on the signals of the RSI_Slowdown indicator.

The Exp_Delta_WPR Expert Advisor is based on the Delta_WPR indicator color change.

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

The Exp_Delta_RSI Expert Advisor is based on the Delta_RSI indicator color change.

Trading system based on the signals of the ColorXvaMA_Digit_StDev indicator.

The Exp_i4_DRF_v3 Expert Advisor is based on the i4_DRF_v3 indicator color change.

The Exp_Bear_Bulls_Power Expert Advisor is based on the Bear_Bulls_Power indicator color change.

The Exp_JSatlCandle Expert Advisor based on signals of the JSatlCandle indicator.

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

The Exp_Waddah_Attar_Trend Expert Advisor is based on the Waddah_Attar_Trend indicator color change.

The Exp_ColorJSatl_Digit Expert Advisor is based on the ColorJSatl_Digit indicator color change.

Virtual Stop Loss or Trailing Stop.

Trading system based on the signals of the JSatl_Digit_System indicator.

The Exp_AFL_WinnerV2 Expert Advisor that uses the AFL_WinnerV2 indicator.

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

The Expert Advisor averages losing positions based on a particular algorithm.

The Exp_ColorXvaMA_Digit Expert Advisor is based on the ColorXvaMA_Digit indicator color change.

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

The Exp_StochasticDiff Expert Advisor is based on change of direction of the StochasticDiff indicator.

The Expert Advisor plots a Fibonacci based on the standard ZigZag indicator and traded rectracements from all levels. The levels are fixed and cannot be customized by the user.

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.

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.

ExpBuySellSide is a MetaTrader 5 Expert Advisor based on the ATRStops and StepUpDown indicators.

ExpHAWaves is a MetaTrader 5 Expert Advisor based on the Heiken Ashi and StepUpDown indicators.

ExpPricePosition is a MetaTrader 5 Expert Advisor based on the PricePosition and StepUpDown indicators.

The Exp_CandlesticksBW Expert Advisor based on signals of the CandlesticksBW indicator.

The Exp_PPO_Cloud EA is based on the signals generated by the PPO_Cloud oscillator.

The Exp_PFE_Extr breakout trading system based on the signals of the PFE oscillator.

The Exp_PFE trading system based on the signals of the PFE oscillator.

The breakthrough trading system based on the signals of the i-CAiChannel_System_Digit indicator.

Trading system based on the signals of the i-CAi_StDev indicator.

The Exp_SMI_Correct Expert Advisor is based on the SMI_Correct indicator color change.

The Exp_i-CAi Expert Advisor is based on change of direction of the i-CAi indicator.

Trading system based on AroonOscillatorSignAlert indicator signals.

The Exp_ADXDMI trading system based on the signals of the ADXDMI oscillator.

Trading system based on DarvasBoxes_System indicator signals.

Trading system based on PChannel_System indicator signals.

Trading system based on Donchian_Channels_System indicator signals.

Trading system based on Volume_Weighted_MACandle indicator signals.

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

1...161718192021222324252627282930...36