Download MetaTrader 5

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 Code Library for MetaTrader 5 - 49

This is the largest free source code library for MetaTrader 5 platform programs. Here you can find ready-made Expert Advisors, technical indicators, scripts and libraries. Use the code library when learning MQL5 language and develop your own automated trading applications based on the provided codes.

You can freely download and test published codes, as well as launch them in MetaTrader 5. The library is also available directly from MetaTrader 5 platform and MetaEditor development environment.

latest|best

The Flat-Trend indicator with the timeframe selection option available in the input parameters.

Bug fixed versions of CRect and CCanvas which are part of the standard library.

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL5, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

This file replaces the WndContainer.mqh original file. It prevents the chart from being affected when you click and hold the mouse inside a container area.

The DonchianChannels indicator with the timeframe selection option available in the input parameters.

The FractalChannel indicator with the timeframe selection option available in the input parameters.

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

The FractalAMA_MBK indicator with the timeframe selection option available in the input parameters.

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

The Exp_Force_DiverSign Expert Advisor is based on signals generated by the Force_DiverSign semaphore signal indicator.

The FineTuningMA indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

The FisherTransform indicator with the timeframe selection option available in the input parameters.

The FisherRVI indicator with the timeframe selection option available in the input parameters.

The Exp_FineTuningMA Expert Advisor is based on the reversal of the FineTuningMA moving average direction.

The FineTuningMA indicator with the timeframe selection option available in the input parameters.

The Exp_FatlMacd Expert Advisor is based on the reversal of the FatlMacd indicator direction.

The FatlSatlOsma indicator with the timeframe selection option available in the input parameters.

The Exp_Fast2 Expert Advisor is based on signals generated by the Fast2 indicator.

The ExtremLine indicator with the timeframe selection option available in the input parameters.

The Exp_Ergodic_Ticks_Volume_OSMA Expert Advisor is based on the reversal of the Ergodic_Ticks_Volume_OSMA histogram direction.

The Ergodic_Ticks_Volume_OSMA indicator with the timeframe selection option available in the input parameters.

The Entropy indicator with the timeframe selection option available in the input parameters.

The EMV indicator with the timeframe selection option available in the input parameters.

The Exp_Ergodic_Ticks_Volume_Indicator Expert Advisor is based on signals generated by the Ergodic_Ticks_Volume_Indicator oscillator.

The Ergodic_Ticks_Volume_Indicator indicator with the timeframe selection option available in the input parameters.

The EMAPredictive3 indicator with the timeframe selection option available in the input parameters.

The EMAPredictive2 indicator with the timeframe selection option available in the input parameters.

The EMABands_v1 indicator with the timeframe selection option available in the input parameters.

The EMAAngle indicator with the timeframe selection option available in the input parameters.

The Exp_EMA_Prediction Expert Advisor is based on signals generated by the EMA_Prediction semaphore signal indicator.

The Exp_EMA-Crossover_Signal Expert Advisor is based on signals generated by the EMA-Crossover_Signal semaphore signal indicator.

The EF_distance indicator with the timeframe selection option available in the input parameters.

The DSSBressert indicator with the timeframe selection option available in the input parameters.

The Exp_DigVariation Expert Advisor is based on the reversal of the DigVariation non-normalized oscillator direction.

The DigVariation indicator with the timeframe selection option available in the input parameters.

The DEMA_RLH indicator with the timeframe selection option available in the input parameters.

The Din_fibo_Nex indicator with the timeframe selection option available in the input parameters.

The Exp_DiNapoliStochastic Expert Advisor is based on signals generated by the DiNapoliStochastic oscillator.

The DiNapoliStochastic indicator with the timeframe selection option available in the input parameters.

The Demand_Index indicator with the timeframe selection option available in the input parameters.

1...424344454647484950515253545556...109