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

MQL5 Source Codes of Expert Advisors for MetaTrader 5 - 29

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

The Exp_ColorMaRsi-Trigger Expert Advisor is based on signals triggered by the colors of the ColorMaRsi-Trigger semaphore signal indicator.

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

The Exp_ColorJMomentum Expert Advisor is based on the ColorJMomentum oscillator change of direction.

The Exp_ColorZerolagX10MA Expert Advisor is based on the ColorZerolagX10MA moving average change of direction.

The Exp_ColorZerolagMomentumOSMA Expert Advisor is based on the ColorZerolagMomentumOSMA histogram's change of direction.

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

The Exp_ColorZerolagRSIOSMA Expert Advisor is based on the ColorZerolagRSIOSMA histogram change of direction.

Expert Advisor which trades inside the spread in the order book.

The Exp_ColorZerolagTriXOSMA Expert Advisor is based on the ColorZerolagTriXOSMA histogram change of direction.

The Exp_CenterOfGravityOSMA Expert Advisor is based on the CenterOfGravityOSMA histogram change of direction.

The Exp_ColorZerolagTriX Expert Advisor enters the market when the ColorZerolagTriX indicator cloud changes its color.

The Exp_ColorZerolagRVI Expert Advisor enters the market when the ColorZerolagRVI indicator cloud changes its color.

Expert Advisor based on the ColorZeroLAG_MA indicator change of direction.

The Exp_BlauTVI Expert Advisor is based on signals generated by the BlauTVI trend indicator.

Trading system using the ADXCrossing indicator.

The Expert Advisor allows you to determine which chart is active at the moment.

This example shows the use of the mechanism of custom data frame transmission from agents during a brute force search aimed at finding MD5 hashes. The speed characteristics of the computing network and the progress are shown in real time. The program also demonstrates the principle of virtualization of nonlinear and non-numeric input parameters into a numeric counter.

The Exp_NRatioSign Expert Advisor is based on signals generated by the NRatioSign semaphore arrow signal indicator.

The Exp_TrendlessAG_Hist Expert Advisor is based on signals generated by TrendlessAG_Hist trend indicator.

This trading system uses the FatlSatlOsma non-normalized oscillator.

The Exp_HLRSign Expert Advisor is based on signals generated by the HLRSign semaphore arrow signal indicator.

The Exp_RangeExpansionIndex EA is based in the signals generated by the RangeExpansionIndex oscillator.

The Expert Advisor controls and limits the overall loss for the account, and the loss for every deal. It includes Trailing Stop for the account.

This Expert Advisor is based on signals generated by the Simple Trading System semaphore arrow signal indicator.

The Exp_AFL_WinnerSign Expert Advisor is based on signals generated by the AFL_WinnerSign semaphore arrow signal indicator.

A trading system using the Modified_Optimum_Elliptic_Filter indicator.

A trading system using the ForexProfitBoost_2nb indicator.

Trade system using the Leading indicator.

Trade system using the Elder Impulse System indicator.

Trading system using the Ozymandias indicator.

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

Fundamental analysis using regulators.

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_JBrainTrend1Stop EA is based on the signals of the NRTR indicator JBrainTrend1Stop.

This trading system uses BlauHLM oscillator.

The Exp_XPVT is based on the signals generated by the XPVT oscillator.

The Exp_CronexRSI is based on the signals generated by the CronexRSI oscillator.

The Exp_CronexMFI is based on the signals generated by the CronexMFI oscillator.

The robot opens two positions, profits of which overlap each other, and waits for a profit.

System of receiving information concerning opened positions' current state, account, etc., as well as automatic notification about operations via ICQ.

1...22232425262728293031323334353637