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

Submit your code

The indicator marks candlesticks with colored arrows if candlesticks of a higher timeframe selected in input parameters are higher or lower than previous candlesticks.

This is a MACD that can use average for input price instead of using "pure" price. That can help in filtering some false signals, but the main purpose of this code is to show how simple some things can be done using MetaTrader 5. In addition to all usual options when it comes to this type of indicators, option to have color changes based on MACD slope change or MACD crossing signal line.

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

Class to provide simple reading mechanism from MetaTrader set files.

A collection of classic creational GoF design patterns

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

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.

Display Binance quotes in real-time mode

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

Financial asset oscillation spectrum normalized by values of a simple Moving Average

The Exp_ColorNonLagDotMACD Expert Advisor drawn on the basis of the signals taken from the ColorNonLagDotMACD histogram

1...128129130131132133134135136137138139140141142...188