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

Top MQL4 and MQL5 source codes based on user ratings - 35

Submit your code

The Exp_LeManTrend EA is based on the signals generated by the LeManTrend oscillator.

The indicator demonstrates the operation of obtaining the ticks using the "CopyTicks", and allows to compare the three modes of obtaining ticks.

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram.

Script for drawing a price markup.

ZigZag based on MACD histogram.

This is the Leader of the MACD as described by Giorgos E. Siligardos.

Gaussian Filter for apply to other indicators too.

The auto envelope automatically sizes channels by calculating a standard deviation for the last n bars.

Average using dr. Andreas Uhl's "correction method.

Pending Buy Limit (BuyLimit) and Sell Limit (SellLimit) orders. Using OnTradeTransaction().

The indicator is derived from the NRTR indicator.

The Expert Advisor closes all positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

The Exp_PercentageCrossover Expert Advisor is based on the change of the PercentageCrossover color, and provides the possibility to set a strict trading time interval.

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

An example of creating synthetic instruments for calculating the strength of RTS, USD, RUB based on futures contracts of the FORTS market.

The Expert Advisor allows checking the potential profitability of the ZigZagLW Addition indicator.

Rsi(var) with averages.

The Percentage Price Oscillator (PPO) is a technical Momentum indicator showing the relationship between two Moving Averages. To calculate the PPO, subtract the 26-day Exponential Moving Average (EMA) from the nine-day EMA, and then divide this difference by the 26-day EMA. The end result is a percentage that tells the trader where the short-term average is relative to the longer-term average.

One more from the creations of John Ehlers - nonlinear Kalman filter.

The Congestion Index attempts to identify the market's character by dividing the actual percentage that the market has changed in the past x days by the extreme range.

An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing.

This version of Bollinger Bands does not use standard deviation for Upper and Lower Bands, but uses the EMA deviation.

Unlike the Heiken Ashi Smoothed, this indicator is displaying 2 values only: +1 for trend up and -1 for trend down, thus making it suitable for usage from experts.

Multi T3 Slopes indicator checks slopes of 5 (different period) T3 Moving Averages and adds them up to show overall trend.

Choppy market index

RSI Divergence indicator

ATR adaptive smooth Laguerre RSI with dynamic levels

Corrected volume weighted moving average

Rocket RSI

Indicator Advanced Fractal Overlay

Stochastic with support / resistance levels

Squeeze indicator

Smoothed CCI

Perfect Trend Line 2

Calculates the phase and amplitude of the expected wave

Tortured small print in the terminal? This indicator makes price numbers visible!

The main point of the Relative Vigor Index Indicator (RVI) is that on the bull market the closing price is, as a rule, higher, than the opening price.

The indicator determines the bulls or bears prevail on the market and plots their strength.

Moving Average, calculated using the digital filter.

MACD indicator with histogram, can be applied any timeframe (higher or lower than the current chart's timeframe).

1...282930313233343536373839404142...188