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

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

AMA - Adaptive Moving Average - beginner tutorial to learn how to code in MQL5

Alligator beginner tutorial to learn how to code in MQL5

Rsi without Irsi() beginner tutorial to learn how to code in MQL5

Fractals - adjustable period and prices for MT5

Here is my implementation of a colored Hull Moving Average.

Wick Ratio Candlesticks are recognized by its upper and lower wick ratio instead of open and close properties.

A tool which refreshes the chart automatically and will make active indicators update if something stopped plotting on the chart.

Stochastic beginner tutorial to learn how to code in MQL5

It will automatically plot a colored horizontal line on the previous open/highs/lows/close of the selected period, and it will make the lines consistent on this price when switching timeframes.

This is a helper function which enables you to find the price of the symbol (the prices on the Y-axis) wherever you click the mouse on the chart. Using OnChartEvent, we don't have an MQL5 function in the API to do this, we can only obtain X and Y pixel values with mouse click.

Momentum beginner tutorial to learn how to code in MQL5

Ichimoku beginner tutorial to learn how to code in MQL5

MACD beginner tutorial to learn how to code in MQL5

Bands Bollinger beginner tutorial to learn how to code in MQL5

Rsi beginner tutorial to learn how to code in MQL5

Moving average beginner tutorial to learn how to code in MQL5

One of the latest version of this indicator at the moment. Huge base of different modifications of moving averages, with multitimesframe function, sending signals to e-mail and push notifications.

Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

I wanted to build a moving average which would create an alert when the price moves over the line by a user defined amount of points. It creates both bullish and bearish signals depending on the direction of market price moving through the MA. It is designed for slow length moving averages (default is 200-day MA). EDIT: I now added a second version of the indicator which uses Arrow buffers instead of ObjectCreate.

This is a custom support and resistance indicator, signaling bouncebacks and key market levels.

The "Dynamic Support and Resistance" Indicator is a versatile tool that combines support and resistance levels with real-time market dynamics. By incorporating previous daily highs and lows, it provides valuable insights into market psychology and identifies potential areas of price reversals or breakouts. With its ability to adapt to changing market conditions and customizable options, traders can stay ahead of trends and make informed decisions. This indicator is suitable for various trading styles and timeframes, empowering both experienced and novice traders with a competitive edge.

provides clear arrows which clearly show the direction of the currency pair.

Tortured small print in the terminal? This indicator makes price numbers visible!

RMA Relative Moving Average is a variant of EMA

This is a very easy-to-use indicator that displays the changes in Equity and balance of the trading account as it dynamically moves. Particularly useful on the back tester and good for beginners to read this very easy MQL5 code.

Commodity Channel Index using exponential moving averages.

Highlights the Asian trading session

Weighted deviation bands

Weighted deviation

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).

12345678910...133