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

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

iExposure will show the opening of trading positions in tabular form in the sub-window below the main window. This allows the trader to see at a glance the positions in the market including the profit value and the amount of risk for each position. The iExposure indicator is a technical tool that is easy to use and very helpful, especially if a trader opens several trades at once with several different instruments. Traders can add the iExposure indicator to any price chart if they wish to use it. By adding the iExposure indicator, traders can also still see tabs of other trading positions for other currencies. Also note that iExposure can also monitor all trading positions, besides being able to make details by displaying one position for one window.

Displays the current timeframe and symbol name in large font on the chart background. Useful when hopping between several charts with different symbols at the same time.

Dynamic pivots - any time frame

Limit channels - with states

The Hurst Coefficient Indicator was created John Ehlers in “Cycle Analytics For Traders”, pg.67-68.

ATR based limit channels

Short description.

Hann filter

Fir filters

DMH

Directional Movement using Hann windowing

CCI (mimic)

MT5 Indicator for Position Size Calculation

Rex indicator extended version

MyRsi with Noise Elimination Technology - by John Ehlers

MyRsi - by John Ehlers

The Hilbert Oscillator Indicator was created John Ehlers in "Rocket Science For Traders", pg.90-91

Moving Average Bands Width

Moving average bands - extended version

Moving Average Bands

Nadaraya-Watson estimator

This indicator provides handles for 2 properties, MA Speed (scaled) & Price-to-MA Distance (%)

This is MQL5 version of Shved Supply and Demand indicator written by Shved and upgraded by eevviill7 from this link. Subsequently Mr. Behzad Movaghar added other functionalities to this link. This version of the Indicator contains the Code with an option to select the time frame of the Indicator other than that of the chart. For example if the chart is in 5M and the user want to see the support and Resistance levels of a particular chart pair at 15 M, is possible with this.

You can identify buy trend and sell trend with this indicator

MACD zero line cross color candles with alerts for Metatrader 5

The HighPass - LowPass Roofing Filter was created by John Ehlers (Cycle Analytics For Traders pg.78)

Use the intersection of two moving average lines to draw a vertical line.Then You can simply read the current market pattern

After the three average lines are arranged completely according to high and low, it can be regarded as a trend formation. After the pattern is destroyed, the hatching is no longer drawn Under the condition of no hatching, it is regarded as an indeterminate period

Building good trading habits by seeing things in terms of percentage not in terms of money.

Fibonacci Channel with Quartile Trendline Levels

The Fisher Transform Indicator was created John Ehlers "Cybernetic Analysis For Stocks And Futures".

Shows Last Price, Daily percentage change and Time based on Input selection to the Price Line

"The Fisher Stochastic Center Of Gravity" was created by John Ehlers (УCybernetic Analysis For Stocks And FuturesФ , pg.95)

Volume Colored Candlestick with Bollinger Bands as the Standard Deviation

Volatility indicator

A version of ATR adaptive smoothed Laguerre RSI that does not use any built in function

ATR adaptive smoothed Laguerre RSI 2 (extended)

Optimized ATR adaptive Laguerre RSI

"The Enhanced Signal To Noise Ratio" was created by John Ehlers and published in the book "Rocket Science for Traders", pg.87-88.

The Momentum-based Adaptive Channel is a version of the adaptive channel based on the Euclidean distance. It is designed to adapt according to the dynamic market as needed.

Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.

12345678910111213...133