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

MQL5 Source Codes of Technical Indicators for MetaTrader 5 - 7

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

This Indicator will show the Amplitude [Minimum; Maximum] of a given period and can act as a substitute of the ATR indicator. The indicator can be used to observe volatility and the force of past swings, useful to determine excesses that will possibly be reversed or repeated, given that the user has knowledge to complement with volume or standard-deviation strategies. It is suggested a period of 55200 at M1 or 2400 at H1 (meaning 40 sessions of 23hs each), or any period that complements your strategy.

Catching the extreme change on candle.

Non-anchored discontinued signal line RSI of average

Discontinued signal line version RSI of averages

Discontinued signal line CCI using average of price for filtering signals

Discontinued signal line MACD

This is a re-write of the old Solar Winds indicator for MQ5. There has recently been some 'excitement' about using this with other indicators for entry signals, and after a request to develop an indicator using it, I found that it was a classic re-painter - so I am contributing this code with an easy switch to allow seeing the indicator in re-paint versus non-repaint mode.

This simple indicator is just a statistical label showing Last and Current Candle Amplitude (MinMax), Last and Current Day Amplitude, Current Tick Amplitude and Time Remaining for next Candle. It also shows Server Time (Market Watch) and Local PC Time so you can focus more on the graph and adapt to market hours.

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

The Decycler: John Ehlers, "Cycle Analytics For Traders" by John Ehlers, pp. 43 - 44.

This indicator summarizes the volatility of multiple periods.

Ehler´s Quotient Transform

Updated T3 floating levels

Extended version of the original Heikin Ashi indicator.

This is a helper indicator which allows you to adjust vertical scale of a subwindow manually, which is useful for zooming in and zooming out graphs of your favourite indicator placed in the same subwindow.

The Decycler II: John Ehlers, "Stocks & Commodities V. 33:09", стр.12-15

Ichimoku is one of the excellent indicator which can work lonely or with other indicators. With Alerting indicator which send notification to your cell phone whenever Tenkan-sen Cross Kijun-sen you can have an opportunity to enter or exit market at right time .

JMA is an indicator which is the transformation of the accumulated background data is the essence of this technical indicator. JMA offers an opportunity to recognize several peculiarities and patterns that are invisible to the naked eye in price dynamics. Based on this information, traders may expect more market changes and change their strategy accordingly.

Draws Pivot Points formulas

The Decycler: John Ehlers, "Cycle Analytics For Traders" by John Ehlers, pp. 40 - 41.

Double breakage of MA8 and MA20 means with stochastic and trix filters, as described by Caco Maia.

Volume/Volatility Indicator

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

The Cyber Cycle: John Ehlers, "Cybernetic Analysis For Stocks And Futures", pg.34

The breakout strength meter is a trading tool that is used to identify which currencies are the strongest to breakout, and which currencies are the weakest to breakout

Published by John Ehlers in "Stocks & Commodities Dec. 2020" (16-18).

The indicator displays a colored moving average.

Stock trading indicators. BIAS.

ADR,AWR,AMR,Draws Average Range Lines

Reflex and Trendflex was created by John Ehlers ("Stocks & Commodities Feb. 2020 (6-8)").

Draws Pivot Points Level Lines for formula's Floor,Fibonacci,Camarilla,Woodie

The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.

Doulble MA Cross Draw Histogram MT5

Indicator Camarilla Points "Stocks & Commodities V. 31:3 (pg. 10-15)"

Indicator "The 2 Pole Butterworth Filter". was created by John Ehlers ("Cybernetic Analysis For Stocks And Futures", p. 192)

Keltner channel with standard averaging and averaged over the ATR indicator.

Trend indicator

McGinley dynamic (official version - as described by John R. McGinley)

Minimum / maximum support resistance zones

1234567891011121314...133