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

Submit your code

This is a utility for rounding the lot size correctly

The XFisher_org_v1 indicator with the timeframe selection option available in the input parameters

The indicator based on two indicator buffers (DRAW_LINE style)

Brief description

Extent indicator

The Expert Advisor is based on the RSI Custom Smoothing indicator.

Two identical trading systems (for long and short deals) based on the ColorMETRO indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

The Three timeframes Stochastic Average indicator

The EA compares the difference between the Close price of bar #1 and the Close price of bar #Candle shift.

Adaptive Moving Average - generalized version with floating levels

The indicator determines the index of the direction of the bar prices and the Gap/breaks in them. It is a logical continuation of the ms-Candle indicator.

Wave period oscillator

Trend indicator

Indicator Camarilla Points "Stocks & Commodities V. 31:3 (pg. 10-15)"

The Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator. It indicates the correlation between two Moving Averages of a price.

The ZeroLag MACD indicator shows the histogram with color of the previous bar.

A Colorful Fan of Moving Averages.

The class can be used for creation of trade signal classes with reversal candlestick patterns.

Trade signals based on "Bullish Harami/Bearish Harami" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

PCCI (Perfect Commodity Channel Index) is a high frequency part of the price fluctuations normalized using the standard deviation.

The Mass Index was popularized by Tushar Chande and Donald Dorsey.

Fisher Cyber Cycle is an oscillator that modifies the Cyber Cycle custom indicator values using Inverse Fisher Transform.

Automated Trading Championship 2011 version.

CAMAOnArray class is designed for calculation of AMA (Adaptive Moving Average) values on indicator buffers. The example of use of the class is provided.

CMFIOnArray class is designed for calculation of MFI (Money Flow Index) values on indicator buffer. The example of use of the class is presented.

WKBIBS is a next generation oscillator with combined WKB and IBS indicators functions.

The Double Smoothed Stochastics indicator was proposed by William Blau and Walter Bressert. The calculation of DSS values is similar to Stochastic indicator, the difference is the use of double exponentially smoothing.

Ask Bid Ticks is a high-precision, real-time tick data solution for microstructure analysis (a tick data collector). It works with local computer time.

Exponential Moving Average - RSI Volatility-Adjusted by Jose Silva.

One of the variants of a simple moving average of close prices, which automatically adapts to the chart period and shows the average value of the price for each of the 21 ranges provided in MT5. Comparing the current price with the average price value for a particular trader selected period.

The Change To Range Ratio indicator is used for closing short-term positions and/or for filtering entry points.

The indicator displays expected time of position opening and closing.

William Blau's Stochastic Oscillator implemented as a color histogram with a signal line in the form of a colored cloud.

Indicator UltraWPR with the timeframe selection option available in input parameters.

The MultiCandleSignal indicator displays information on current trends using candlestick direction from seven different timeframes.

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.

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

The Exp_derivative Expert Advisor is based on the breakthrough of the zero level by the Derivative indicator.

Semaphore signal indicator detecting changes in the direction of smoothed Detrended_Price_Oscillator and displaying them as signals.

1...353637383940414243444546474849...189