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

Top indicators for MetaTrader 5 based on user ratings

Submit your code

The Heiken Ashi indicator with no repaint or repaint mode input option.

Another ZigZag. ZigZag

combination of many familiar indicators for beginner traders

This indicator displays current events on the chart and allows you to export the calendar to archives for backtesting, automatically fixing time discrepancies between the history of bars and the history of events. This is an improved version of CalendarMonitorCached indicator from the algotrading book.

Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).

The SuperTrend Indicator is a dynamic trend-following tool based on ATR. It plots a colored line above or below price to indicate bullish or bearish conditions. When the price crosses the line, a signal arrow appears. Fully customizable with ATR period, multiplier, arrows, labels, and colors. Suitable for all instruments and timeframes. Ideal for scalping, swing, and intraday trading. Combine it with other indicators for stronger setups.

The indicator searches the chart for Price Action patterns "Pin Bar" and puts icons on the bar with the found pattern.

This is an OHLC candlestick chart which records the highest ask and lowest bid on each new bar

The indicator implements one of the non-linear smoothing algorithms

AO - Awesome Oscillator - without iAO() beginner tutorial to learn how to code in MQL5

Candle Replay Magnifier visually replays historical candles over the current chart area for comparative analysis. This indicator overlays past price bars from a selected date onto the live chart, allowing traders to study candle patterns, volatility, and structure in real time. Includes dynamic range highlighting and detailed tooltips showing open, high, low, close, range, direction, time, and volume for each replay candle.

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

Idea by Andrey F. Zelinsky, based on an indicator by William Blau

Correlation Coefficient" indicator

Overlaying multiple stochastics with different periods will help beginner traders.

The indicator allows you to estimate the probability that the price has reached its maximum or minimum.

A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.

This indicator helps user estimate the potential price movement for the current day, based on 20 days historical data and market trends.

WeekDays indicator displays Day Of Week, Week Of Year, Day Of Year or Bar Index in the Data Window, and optionally in labels on the chart.

iRSI Very Simple A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.

The "Net Volume" indicator shows the volume taking into account the pressure of sellers and buyers

The goal is to show a code that shows the calculation of the ATR with Wilder smoothing

Draw the wicks (thin lines): Draw a vertical line from the lowest price to the highest price of each candle (this is called a "wick")

A combination of many known indicators

Stochastic beginner tutorial to learn how to code in MQL5

A Marubozo is a long-bodied candlestick with no shadow, from the Japanese word meaning "close-cropped". Candlestick charts look at the opening and closing price on a single day and are used by technical traders.

Hidden Engulfing Candlestick Pattern

Volatility Stop - indicator of stop levels by volatility

Linear regression line with an option to be applied to another indicators

Alerts on trendline break

Pinbar Detector is a MetaTrader indicator that tries to detect Pinbars (also known as "Pin-bar" or "Pin bar") and marks them by placing a "smiling face" symbol below the bullish Pinbars and above the bearish Pinbars. It is a pure price action indicator, which is not using any standard technical indicators in its code. The configuration of Pinbar detection can be done via the indicator's input parameters. Pinbar Detector can issue platform alerts and email alerts on detection. The indicator is available both for MT4 and MT5 versions of the trading platform.

Zig Zag indicator that relies only on a minimum % of retracement to each previous wave , and optionally , being bigger than a specific size measured in atr units.

The "False Breakouts.mq5" indicator is a tool for MetaTrader 5 that visually identifies and marks buy and sell points based on false breakouts of support and resistance. It uses buffers to display buy (blue) and sell (red) arrows, as well as lines for support (blue) and resistance (red), and additional arrows for market tops and bottoms. The indicator's main logic consists of detecting tops and bottoms based on the high and low prices of the candles, dynamically updating support and resistance levels. When the price breaks through support or resistance and then returns, the indicator generates buy or sell signals respectively. It is a useful tool for traders who operate strategies based on false breakouts.

This MQL5 indicator identifies Upward (Bullish) and Downward (Bearish) Pinbars, displayed with customizable arrows (lime for upward, red for downward). It allows fine-tuning of detection parameters like tail body ratio and protrusion. Pop-up and push notification alerts signal new pinbars. Ideal for traders seeking precise reversal pattern detection.

Synchronized custom crosshair indicator showing price and (server/local) time.

ATR - Average True Range - beginner tutorial to learn how to code in MQL5

This indicator uses two moving averages to calculate the market trend and changes color depending on the trend direction.

This indicator calculates the range difference between the 'MACD and Signal lines' and also the range distance between 'the last two MACD bar'.

Copy and paste selected graphical objects between charts via Windows clipboard as text. Use Ctrl+Q on a source chart, then Ctrl+J on a target chart.

An advancement of the MetaQuotes zigzag with an oscillator mode, current bar leg tracking, fib levels, and dynamic scaling

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139