Watch how to download trading robots for free
Find us on Telegram!
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 - 9

Submit your code

ATR adaptive SMA (simple moving average)

Raymond Cloudy Day For EA, a revolutionary trading tool created by Raymond and expertly developed for the MT5 platform. This innovative indicator integrates a cutting-edge calculation method with advanced algorithms, surpassing traditional Pivot Points to enhance trading strategies with unparalleled precision.

The Trend Equilibrium Indicator TrendEQ dynamically analyzes market movements by combining momentum and volatility. By scaling momentum with the market’s volatility, the TrendEQ provides a reliable measure of trend strength and direction.

EXSR.mq5: A counter‑trend MT5 EA that catches reversals by combining RSI(14) extremes with Bollinger Band breakouts and a reversal candlestick, placing one trade per symbol with fixed SL/TP.

The Volume Rate of Change (VROC) is an indicator of the direction where the volume trend moves.

This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.

The indicator colors the candlesticks according to B. Williams.

MACD with possibility to choose between tick volume and real volume.

The MetaTrader 5 version of RSI of MACD double

Double stochastic of RSI.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two channels on one bar of any timeframe of the GRFLeadingEdge indicator.

The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs.

Slow Stochastic.

"This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."

This is the exact conversion of linreg function from pine script v4 as an mql5 indicator.

Candle counter is a powerful and versatile tool designed to help traders visualise and analyse the sequence of bars on their charts. This indicator automatically numbers each candle on the chart based on user-defined preferences, making it easy to follow specific candles, identify patterns and implement precise trading strategies.

This library will allow you to tranfser realtime quotes from MetaTrader 5 to external server application.

Donchian Channels is a volatility indicator based on the calculation of the current price range with using the recent highest and lowest prices.

Fisher RVI is an oscillator that modifies RVI (Relative Vigor Index) custom indicator values using Inverse Fisher Transform.

It is a DT oscillator as described by Robert Miner with some additional features.

Super trend indicator that uses hull average for calculation.

Laguerre RSI with Laguerre filter

Adaptive efficiency ratio EMA

Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.

i-Regression Channel generates regression channel.

ALGLIB math function library (v. 3.19) ported to MQL5.

Trading system based on XDPO_Histogram indicator signals.

The indicator is an example of smoothing a time series of the OsMA indicator by filtering harmonics of higher order.

Pivot Point indicator with an addition of 4 ways of calculating pivot points.

This version is using double smoothed ema, not some regular moving average.

RSI experiment with a simple addition of filled areas when floating levels are crossed.

The Efficiency Ratio (ER) was first presented by Perry Kaufman in his 1995 book "Smarter Trading". It is calculated by dividing the price change over a period by the absolute sum of the price movements that occurred to achieve that change. The resulting ratio ranges between 0 and 1 with higher values representing a more efficient or trending market.

An indicator of custom patterns.

Unlike the original Schaff Trend Cycle, this version is using TEMA MACD for calculation, which makes it "faster" in determining (even compared to DEMA version) the trend changes and thus producing signals a few bars earlier.

Indicator to display existent and emerging harmonic chart patterns.

Calculating the best trading interval.

MACD of RSI adaptive EMA - with floating levels

Simple harmonic index

The script obtains information about the number, types and sizes of input and output tensors in an ONNX model

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

12345678910111213141516...191