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

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 STLMCandle indicator signals.

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

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

The Exp_BalanceOfPower_Histogram Expert Advisor is based on change of direction of the BalanceOfPower_Histogram indicator.

Trading system based on wlxBW5Zone indicator signals.

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

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

The Exp_RAVI_Histogram breakout trading system based on the signals of the RAVI_Histogram oscillator.

The SAR Trading System illustrates the operation of the Stop and Reversal (SAR), developed by Welles Wilder. The Expert Advisor check for presence of an open position and starts moving the stop loss with parabolic acceleration.

Trading system based on Volume_Weighted_MA_StDev indicator signals.

The Expert Advisor works both in normal mode with one positions, and in the HEDGE mode with multiple positions.

The Exp_Volume_Weighted_MA Expert Advisor is based on change of direction of the Volume_Weighted_MA indicator.

The Exp_FRASMAv2 Expert Advisor is based on change in color of the FRASMAv2 moving average.

Trading system based on iDeMarkerSign indicator signals.

The Exp_ColorX2MA_Digit Expert Advisor is based on the ColorX2MA_Digit indicator color change.

The Exp_ColorJFatl_Digit Expert Advisor is based on the ColorJFatl_Digit indicator color change.

Trading system based on iStochKomposter indicator signals.

The Exp_Chaikin_Volatility_Stochastic Expert Advisor is based on the Chaikin_Volatility_Stochastic indicator color change.

Trading system based on iWPRSign indicator signals.

Trading system based on iRSISign indicator signals.

Trading system based on Directed_Movement_Candle indicator signals.

The Exp_ColorRsiMACD Expert Advisor based on the signals taken from the ColorRsiMACD histogram.

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.

Exp_TSICloud Expert Advisor is based on the change of color of TSICloud indicator.

Exp_Directed_Movement is based on the change of color of ROC2_VG indicator.

Trading system based on MaChannel indicator signals.

Exp_Q2MA is based on the change of color of the Q2MA indicator.

Exp_Directed_Movement Expert Advisor is based on the change of color of the CCI_Woodies indicator.

Exp_Directed_Movement Expert Advisor is based on the change of color of the Directed_Movement indicator.

Exp_VWAP_Close is based on VWAP_Close moving average change of direction.

Trading system based on trend_arrows indicator signals.

Trading system based on XDPOCandle indicator signals.

Trading system based on ColorXTRIX_Histogram indicator signals.

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

Trading system based on the signals of AroonHornSign indicator

Trading system based on ColorJFatl_StDev indicator signals.

Trading system based on ColorJ2JMAStDev indicator signals.

Trading system based on ColorHMA_StDev indicator signals.

Trading system based on BinaryWave_StDev indicator signals.

Trading system based on Bezier_StDev indicator signals.

1...171819202122232425262728293031...36