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

Submit your code

DSL Chande momentum oscillator - smoothed

Variable Index Dynamic Average (VIDYA)

Indicator Volatility Quality Index

A channel is a trading range between support and resistance levels that a stock price oscillates in for a period of time. This indicator draws the resistance and support lines based on the peaks and valleys that are found within a defined period of time.

Ehlers Fisher transform (as originally described in the book)

The MFI normalized indicator

Indicator Double-deviation Bollinger Band with cloud

Smoothed WPR with floating levels and on chart support / resistance levels

TRiX slope divergence

Range BreakOut EA. The range is defined by the min number of bars and max width in pips. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

Monster Trend indicator that uses data from several time periods.

This script allows a user to find out instance_id of the running MetaTrader instance/installation.

This is MQL5 project packer: assemble all source and resource files from dependencies into a single ZIP.

This indicator shows trend line and channels using the BSI Indicator. Original work of https://www.mql5.com/en/code/13615

Weighted deviation bands

The script illustrates control of chart properties using the classes from the Standard Library (CChart).

There is a Price Channel indicator, but I don't like it, because it fills all the space between the upper and lower boundaries. This version of Price Channel looks like in MetaTrader 4.

Trade signals based on "Bullish Engulfing/Bearish Engulfing" candlestick pattern, confirmed by Relative Strength Index (RSI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Symmetrical normalized CCI (Commodity Channel Index) with alternative (ultralinear and JMA) smoothing algorithms.

Stalin is one of the so-called «signal» indicators, as it provides a trader with accurate market entry points.

Simple indication of a newly born trend using colored arrows on a chart.

The trend indicator made as NRTR (Nick Rypock Trailing Reverse).

Modified CCIT3 indicator

USDX is an index which measures the dollar's value against a basket of six basic currencies

The MultiMaRsiSignal indicator displays the information about the active trends using the five MaRsi-Trigger indicators' value from different timeframes.

Trading system using the Exp_ColorJVariation oscillator.

The advanced presentation of the Bollinger Bands indicator

This EA is based on SMA, ADX and SAR indicators.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the direction of the BlauTSStochastic histogram.

A trading system that uses the XD-RangeSwitch semaphore, signal indicator.

CTimeControl class for include to your EA for easy setting and checking your own trading time.

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

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

This RVI oscillator analogue is calculated based on four Relative Vigor Index indicators.

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

The ColorMaRsi-Trigger indicator with the timeframe selection option available in the input parameters.

The Exp_ColorMaRsi-Trigger Expert Advisor is based on signals triggered by the colors of the ColorMaRsi-Trigger semaphore signal indicator.

Bollinger Bands indicator with sound/email/arrow_display alerts.

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

This indicator is an example of smoothing the Bulls Power indicator timeseries by filtering high-order harmonics.

1...596061626364656667686970717273...183