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

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

TrendFlex indicator based on February 2020 TASC article published by John Ehlers

Reflex indicator (based on February 2020 TASC article by John Ehlers)

This will display the Account Trading Report for real trade.

Converts trendlines into horizontal lines.

Trading the STRONG against the weak!

Have a look here: https://www.mql5.com/en/market/product/16251

MetaTrader 5 indicator that displays the spread meter on the chart.

The good old MT4 indicator! Now for MetaTrader 5.

The first really 3D indicator "Moving Average".

Demonstration of Canvas's capabilities using 3D spiral quotes as an example.

This is an indicator w/o buffers which demonstrates parallel multi-threaded calculations in chart objects hosting worker expert adviser.

Just for experiment and to demonstrate the possibilities of Canvas. The price is drawn in the polar coordinate system by winding circles.

Perfect Trend Line 2

By using this indicator you can see the normalized price of any chart! You can use this indicator to find the divergence in the market!

iWPR+ is an iWPR %Range function with a positive value.

This indicator predicts future price movements by searching for similar candle patterns in the rate history.

This is a demo indicator with BPNN neural network library ported from C++ to MQL.

Indicator calculate the average price

Scans multiple symbols looking for when the price crosses a pivot point or when xxPoints Near or bounce off pivot then it alerts the trader.

Rma MACD

Trading the trend

Prices truncated to pips.

Multi-asset cluster indicator taking all currencies as a sum of values forming a whole market, that is unity (1.0)

Adaptive (ema) deviation

This utility is not a trading information utility. It will only have value for those getting information on the Number of Bars that have terminal data. This utility uses the functions SeriesIntegerInfo and CopyRates to obtain and display information about the availability of bar information from the terminal.

This utility is not a trading or market information utility. This will likely only interest those writing (or debugging) indicators using multiple timeframes and collecting information using Bars (or iBars) and CopyRates. The utility creates a list showing the number of Bars reported by the "Bars" function and shows the success of CopyRates for any selected bar by displaying that bar's time from the collected data (or, it shows the error).

Arrow trends by iBearsPower and iBullsPower indicator for MT5

The utility will display the high, low, open, close and time statistics for any user selected bar of any timeframe for the symbol of the chart the utility resides on.

This utility allows monitoring of multiple symbols and positions on one chart with one-click switching of the chart symbol.

Indicator Bears and Bulls Power for MT5 together in one separate window.

The code consists of lines created according to the opening, closing, low and high values of prices.

Three Moving Averages Convergence/Divergence - Indicator for MT5

Multi-asset cluster indicator taking all currencies as a sum of squares forming market unity (1.0)

This indicator shows average and peak speeds of price changes per minute.

Improved version based on RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968

Smoothed CCI

Variance (Welford’s method for computing)

Sell Relative Strengt Index (SRSI)

ATR

Average true range

BB stops of MACD with multiple stops

12345678910111213141516...133