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

Submit your code

The Moving Average of Oscillator (OsMA) is the difference between the oscillator and its smoothed value.

i-Regression Channel generates regression channel.

SuperTrend indicator.

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 EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs.

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.

A trading system based on the signals of indicator XPeriodCandle.

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.

Script For Trap News High Impact

Total Power Indicator (MetaTrader indicator) — is based on the two standard indicators — Bear Power and Bull Power. The indicator calculates how many bullish and bearish bars were there during a given look-back period and then calculates the proportional index for bears, bulls, and total (calculated as the absolute difference between bulls and bears) for the current bar. This way, we get continuous lines of the relative average bear and bull power over a period, removing the main disadvantage of the original Bear/Bull Power indicators — the lack of a long-term perspective. The original MetaTrader 4 version of Total Power Indicator was created by Daniel Fernandez of Asirikuy.com in 2011. The version for MT5 is now also available.

Download all the ticks from your broker for all the symbols in the market watch. Download all history or until a specific date in the past if available.

TelegramToMT5 is a MetaTrader 5 Expert Advisor that bridges Telegram and MT5 by displaying messages from your Telegram channels, groups, and private chats directly on your trading charts. Simply create a Telegram bot, add it to your desired channels/groups, and let the EA show all messages as comments on your chart in real-time.

MQL5 script for MetaTrader 5 that adds two buttons to close all buy or sell positions for the current symbol.

Aroon indicator created by Tushar Chande indicates if a long-term trend is going to an end or just pausing a little before a new movement.

i-Regr is a MetaTrader 5 indicator. Regression Channel: Linear Regression Channel, Quadratic (Parabolic) Regression Channel, Cubic Regression Channel.

Standard MFI oscillator implemented as a histogram rounding its values to the standard range.

Quantile bands - generalized version.

QWMA - the "CA" ("Corrected Average") version

Plotting up to 256 averages on chart.

A quick way to draw an arc-shaped channel in 4 mouse clicks.

MetaTrader 5 version of Candle Closing Time Remaining (CCTR) is an indicator which displays the remaining time for an open candle to be closed.

This non-trading utility generates custom symbol information on 1M chart.

A candlestick-based chart based on histograms Ang_Zad_C_Hist calculated on the Open, High, Low, and Close timeseries of the price chart.

MPO

Indicator MPO (Midpoint Oscillator) displays price movement without its trend component around its centerpoint. It is displayed as two lines: Price movement line and signal line. Centerline (MidPoint) is zero level of the oscillator.

Step average - average true range based

Indicator Traders Dynamic Index

Indicator Murrey_Math_Lv_Arr limiting the computer resources used in calculating and displaying the indicator on the chart

Self advance decline line

Set StopLoss by just dragging and dropping script on the desired price level.

1...5678910111213141516171819...194