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

Top MQL4 and MQL5 source codes based on user ratings - 139

Submit your code

The Highest Lowest indicator searches for bars having High above the High of bars on the left and on the right, as well as bars having Low below the Low of bars on the left and on the right. Uses the DRAW_ARROW style.

Chande Momentum Oscillator with added Discontinued Signal Lines instead of using static levels for trends displayed on the main chart as bars (if the current chart style is bars or line) or candles (it is done automatically).

An indicator of StopLoss levels.

Oscillator TATR (Tick Average True Range).

An indicator of the volume / bar price range ratio with a signal line and with the option of identifying the maximum/minimum price change resistance.

A simple indicator based on standard stochastic. Along with the Main and Signal lines of standard stochastic, it also draws a color histogram between these two lines.

A channel formed by two Double Exponential Moving Averages based on averaged High and Low timeseries

Gann_Multi_Trend indicator defines a short, middle and long-term trends.

Ozymandias_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

DEMA_Range_Channel indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

This version of Price Zone Oscillator is an attempt to solve the "too fast" slope issue of the original indicator.

The indicator paints candlesticks, which are beyond the i-AnyRangeCldTail channel. Candlesticks outside the channel limits are marked with color according to the trend.

The trading system based on XRSI_Histogram_Vol_Direct indicator signals

Volume Price Momentum Oscillator

Aroon Filter indicator

The indicator looks for bars without wicks. Uses the drawing style DRAW_COLOR_HISTOGRAM

XRSI_Histogram_Vol_Direct indicator provides alerts, sends email and push notifications at the incoming trading signals

FanCCI Avg indicator

MAMy v.3 indicator-based EA

The indicator paints candles going beyond the Hans_Indicator_x22_Cloud channel expansion.

Indicator Heiken_Ashi_Smoothed_Trend with the possibility of changing its timeframe in its input parameters

Indicator EMA HLC Envelope

A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).

The Heiken_Ashi_Smoothed_VolatilityStep_Alerts indicator with the ability to change the indicator timeframe using input parameters

An EA based on indicators iMA (Moving Average, MA) and iStdDev (Standard Deviation, StdDev)

McClellan Oscillator - using "smoother" for calculations

RSI of super trend

Simple moving average

Class to provide simple reading mechanism from MetaTrader set files.

A collection of classic creational GoF design patterns

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.

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. ## Check out new Liquidity Hunter EA that uses SMC : https://www.mql5.com/en/market/product/121106

Display Binance quotes in real-time mode

Daily Percentage Change (MetaTrader indicator) — calculates the change of currency rate related to the previous daily close and displays it in percentage points in the main chart window of the platform. Additionally, it can display the weekly and monthly percentage changes. Different colors can be set for positive or negative price increases. Also, a small customizable arrow helps to visualize the price change direction. If your broker uses an unconventional time zone, the indicator can use Time Shift parameter to adjust the hour it will use for the day's end. The indicator works equally well in MT4 and MT5.

Rainbow Multiple Moving Average (RMMA) MetaTrader indicator — is a very simple but visually informative indicator based on the standard moving average. It draws 66 rainbow-colored moving average lines of your preferred type and price directly in the main window of the chart. This indicator is available for both MT4 and MT5 versions of the trading platform.

The "Candle_size.mq5" indicator was developed to display the size of candles on the chart, providing a clear and detailed visual analysis of price movements. It calculates the difference between the high and low prices of each candle and displays the formatted value as text next to the corresponding candle. This feature is especially useful for traders who want to assess volatility or identify specific patterns of price behaviour.

Candlestick Index (CSI) Indicator by William Blau.

The downward crossover of T3 moving average is a signal to open a long position, the upward crossover of T3 moving average is a signal to open short position.

The indicator calculates the difference between the period maximum and minimum. The period is specified in the indicator parameters.

Trading system using the MACD_Xtr indicator

1...132133134135136137138139140141142143144145146...191