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

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

The indicator shows 'Daily Change' on the daily timeframe. When the specified limit is reached, plays sounds

'MACD' indicator with the same color scheme as the 'Awesome Oscillator' indicator

'RSI' line, 'RSI' line smoothed with 'MA'. Fill areas between these two lines.

The indicator shows signals ('Arrow' objects) of the 'Moving Average' indicator crossings. The peculiarity of the indicator: if there was an intersection of 'MAs' (on bar #0), and then the intersection disappeared, the signal remains on the chart

This indicator displays the percentage of price movement per candle, as an average of the latest candles.

Currency Strength Meter for MetaTrader 5 with configurable timeframe parameter, It was converted from "Currency Strength Giraia 28 pairs TRO MODIFIED" MetaTrader 4 version

Trend Rider is a combination of several indicators eg super trend, rsi, and macd to assist in spotting and riding trends by showing direction inform of color candles and also showing trailing stop levels, It can be used independently or with additional filters.

Trend Direction And Force Index with Alert derived from Mladen Rakic's version https://www.mql5.com/en/code/21869

Ao changes direction Engulfing candle

Rsi oversold bought , Moving average

The Leading Indicator was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 235)

Recursive Moving Average calls itself a number of times in order to reach the appropriate smoothing. For instance DEMA and TEMA indicators are recursive exponential moving averages. The goal is to remove the loop limit while still running fast. In addition a trigger line provides the trading signal.

Use this simple Indicator to monitor your VPS.

I search Moving Average that can be hide and shown with button, just like in Trading View, but I cannot found it. Then I try to modify example of Moving Average code from MQL5 Metaeditor Help, and do some add for button and logic for toggleable the button to show or hide Moving Average. Just like in Trading View. For those who need this, please feel free to use or modify for your own requirement.

Calculates the average volume for EA

Shows Last Price, Daily % Change, Symbol name, Countdown or Time left on closing and Time on chat

Fast way to calculate Simple moving average.

Add High and Low lines based on number of previous bars defined in input field

Add Popup or Push Alert notification on manually placed horizontal lines, The lines are deleted and reset itself as soon as price touches these lines

The Laguerre Filter was created by John Ehlers ("Cybernetic Analysis For Stocks And Futures", pg 216)

The indicator sends a signal at the moment the price crosses a given level, using alerts and push notifications

cycle timeframes using hotkeys 'N','M' prev,next timeframe

Elegant oscillator

Slow Line of the original Didi Index

Volatility/volume indicator based on price deviations anomaly.

On chart stochastic (like)

Sma (Simple Moving Average) with NET (Noise Elimination Technology)

ZigZag NK Sound Alerts notifies you with Sound alert, Push Notification or Popup Notification on terminal when Zigzag changes its bar.

cycles though market watch symbols, using hotkeys Comma and Period for prev/next symbol in market watch list

hotkeys 1-9 numbers on keyboard but not on number-pad to change timeframes 1=m1 2=m5 3=m15 4=m30 5=h1 6=h4 7=d1 8=w1 9=mn

Rsi with Hann windowing

ZigZag Color Indicator for Line Charts which works on Close prices rather than High low This indicator has only one input parameter which is ExtDepth and its optimized for performance

Momentum deviation bands

Momentum deviation

Select Timeframe to draw Bobokus Fibonacci and add any custom fibonacci levels you want

Draws an equidistant channel to detect rectangular consolidation pattern on chart

The indicator calculates the average price for the specified period.

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

123456789101112...133