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

MQL5 Source Codes of Technical Indicators for MetaTrader 5 - 4

icon

MQL5 technical indicators analyze MetaTrader 5 price charts on Forex, as well as stock and commodity markets. Indicators define trend direction and power, overbought and oversold states, support and resistance levels. Underlying mathematical models provide objective assessment of the current market state allowing traders to accept or reject trading system's signals.

You can download and launch offered indicators in MetaTrader 5. The library of indicators is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

Hurst Exponent - optimized version

CLS (ClearScreen) delets all object drawn on the chart with key press "C"

Advanced Line Chart based on Japanese candlesticks.

An implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

An implementation of the original Average True Range indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

Shows moving Last Price on Bid Line, LAst 24 hours percentage change, switch chart from arrow keys and more..

Based on the original “Time Segmented Volume (TSV)” developed by Worden Brothers, Inc.

The equation of the straight line from the school, it is y = bx + с. (Conversion from https://www.mql5.com/en/code/7883)

Volumes Spread mod

Volume Average percent spread mod

The Roofing Filter Indicator was created by John Ehlers ("Cycle Analytics for Traders" pg. 80 - 82).

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

Example of daily loss calculation tool You can update it as you want.

Confirmation (trend) indicator used for lower timeframes

Money-managing stop loss baseline indicator for MT5.

This tool outlines extremes made by the prices within the selected window size. This is achieved by estimating the underlying trend in the price using kernel smoothing, calculating the mean absolute deviations from it, and adding/subtracting it from the estimated underlying trend. Originally Made By LuxAlgo. Coded in MT5 format.

The indicator is an equivalent \"Chart Window\" version of MACD.

The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400))

Get notifications when hit price level

Show trade history

An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".

The Predictive Moving Average was created by John Ehlers (“Rocket Science For Traders”, pg.212″).

A series of indicators 'Four Colors'. Signals are now 'Arrow' in the main window

An exponential moving average of the true range and the offset of its average deviation

Added alerts to custom indicator

Candlestick chart without shadows

Added alerts to custom indicator

Colored SAR indicator. Alerts on color change

The indicator draws three daily rectangles

Indicator based on iAO (signal 'saucer') and filter based on iMA

Three candles from another timeframe are drawn using graphical objects

Smoothing the custom indicator 'Relative Momentum Index' using iMA

Two indicator series ('Two MA Color N Bars' and 'Square') in one code

Displays direction of volatility and volume

The indicator plots (using OBJ_TRIANGLE) the area between 'Open', 'High', 'Low' and 'Close' of the day

A simple indicator that tries to assess autocorrelation in price series.

A series of indicators 'Square' - shows the state of the indicators in the form of lines of squares. Displays two indicators: MACD and Stochactic

iVIDYA (Variable Index Dynamic Average) indicator with levels for N bars

The indicator displays the 'Ask' line -> a spread is added to the 'Close' price

Two 'Main' lines from two iStochastic (Stochastic Oscillator, STO) indicators with filled areas between the lines. Line crossing notifications (Sound, Alert, mail, push)

1234567891011...134