Watch how to download trading robots for free
Find us on Twitter!
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 MQL4 and MQL5 source codes based on user ratings - 96

Submit your code

A very simple sample of clock

The Expert Advisor allows to trade using the keyboard.

Keltner Channel is volatility-based envelopes set above and below an exponential moving average.

The indicator displays MACD histogram and price divergence on a chart.

The system of Camarilla Equation levels for the current bar.

Cyber Cycle high-frequency filter.

Fisher CG Oscillator is an oscillator that modifies the CG Oscillator custom indicator values using Inverse Fisher Transform.

Unnormalized oscillator based on the linear regression algorithm.

The fan of hundred XMA moving averages with the possibility to change the number of lines on a chart and select a smoothing method out of ten possible versions.

Guppy Multiple Moving Average (GMMA) is an indicator based on the relationships between groups of moving averages providing insight into the behavior of two dominant market groups - traders and investors.

3D_Oscillator_Signal shows a trend direction or a signal for performing a deal generated by 3D_Oscillator as text messages with a trend color indication or deal direction and gives alerts or audio signals.

Moving average with calculation algorithm equivalent to the one of Ichimoku Kinko Hyo.

The iClose_HTF indicator plots a zigzag based on closing prices of a time frame specified in the input parameters.

The Exp_CenterOfGravity Expert Advisor is based on the CenterOfGravity indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

The indicator that allows modifying color of the candles.

This system, based on Momentum indicator, assumes that very strong price movements are determinant. It consists in riding the appearing tsunamis, for instance, an important US Nonfarm Payrolls release. HawaiianTsunamiSurfer works well on AUDUSD, USDJPY and EURUSD.

The script demonstrates the example of using the FileCopy() function

The script demonstrates the example of using the FileReadArray() function

Conversion from MetaTrader 4 version.

Trading system using the BlauTStochI indicator.

The MACD indicator is in the form of a colored cloud and the difference between the MACD and the signal line in the form of a color histogram.

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

A semaphore arrow indicator based on the crossover of the DI+ and DI- lines of the ADX indicator.

A trading system that uses the smoothed Slow-Stoch stochastic.

A trading system using the HighsLowsSignal semaphore arrow indicator.

The indicator is designed to show how the seven major currencies have moved against the US dollar.

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

The ADXCrossing_HTF_Signal indicator shows a trend direction or a signal based on the ADXCrossing indicator.

Cloud indicator, the envelopes of which represent the TriX oscillator values calculated for High and Low prices.

The ColorZerolagRSIOSMA indicator implemented as a sequence of candlesticks.

The Schaff Trend Cycle indicator based on the difference between two MFI oscillators with different periods.

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

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

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

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

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

The Exp_XKRI_Histogram Expert Advisor is based on the XKRI_Histogram oscillator change of direction.

A semaphore signal indicator that uses two FatlMacd indicators, based on Open and Close values of the price series.

The LeManTrend with the timeframe selection option available in the input parameters.

The VKW_Bands_Modify indicator implemented as a sequence of candlesticks.

1...8990919293949596979899100101102103...194