Watch how to download trading robots for free
Find us on Telegram!
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 - 7

Submit your code

Candle Signature with Example | For Research and Development

The Candle Filter indicator is a customisable tool designed to filter and highlight candles on the chart based on specific criteria. It allows the trader to visualise only the candles of interest, such as bullish candles, bearish candles, Doji candles or all candles simultaneously. In addition, the indicator offers full control over the colours of the candles and the chart background, providing a clear and adaptable visual experience.

Trading XAUUSD (Gold) is often influenced by major economic news events like USD, GBP, or EUR releases. To mitigate risks during these volatile periods, using a News Filter in your Expert Advisor (EA) is essential. In this article, I’ll share how to create a simple News Filter on MT5 and apply it to XAUUSD trading.

All indicators required by BBMA Strategy in a single indicator.

Unpack GZIP archives from *.gz files or responses from sites compressed with this format.

The Standard fractals are 2 candles to the right and 2 candles to the left. With this Custom Fractals you can choose as many candles as you like, both to the left and to the right.

The indicator implements some of the most interesting approaches to measuring correlations

This is an example of ascending sort a struct list by a field. You can find out and customize the above algorithm depending on the purpose of use, this is the most basic example is also a direction to resolve the arrangement in an array of structure. The algorithm used in this example is Quick Sort and Merge Sort.

EA Spread lister shows the current, min and max values for all symbols / instruments.

This powerful tool filters the classic RSI through a moving average, providing a smoother, more reliable signal line for pinpointing entries, exits, and trend direction with unparalleled clarity.

This is an indicator that helps identify Engulfing candle patterns.

this is a copier template

Symbol Swap Panel: Effortlessly switch the active symbol on your chart while simultaneously adding the new symbol to Market Watch. This tool ensures seamless integration and access to real-time market data, optimizing your trading workflow.

Lightweight CVD (Cumulative Volume Delta) for MT5 — M1-based, shows buy/sell pressure as candles with optional resets.

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.

Anlayse swing highs and lows

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

Chaykin Money Flow (CMF)" indicator

Here are some examples of codes for set counters based on "Count"

Basic library to create Volume Profiles on chart.

A simple information indicator that shows the remaining time until the bar closes, as well as the time elapsed since the bar opened and the current time.

is a text for the neutral network would like to know your opinion.

This CalculateHistoryProfit script version 1.0 is designed to calculate profit for a specified period using a chart panel.

BollingerBandsEA trades according to Bollinger Bands.

Point-and-Figure MetaTrader 5 indicator is an indicator that can plot a point-and-figure chart directly in the main window of your normal MT5 chart. You can set up all the point-and-figure method parameters, such as the box size and the reversal distance, according to your preference. In addition, you can control all the display parameters of the PnF chart. This point-and-figure indicator supports all sorts of alerts. It is based on real ticks data, and thus is available only for MT5.

This Script & EA enables coders to backtest their news based strategies which use the MQL5 Calendar.

This Bot detects the open of a new candle on any set timeframe, thereby making it easier to run a one-time code, place trades and call other functions. The code is written in the OnTick() function.

This is a simple analytical (non-signal, one-time calculated) indicator that allows you to test the hypothesis that price timeseries represent a "random walk", specifically Gaussian "random walk". This can help to construct a parametric transformation of price increments into evenly distributed, more stable and predictable time series, at least in terms of volatility.

A logger with the ability to log specific modules or code sections

MQL5-Like Trade Classes in Python for MetaTrader 5 Python

Trading Gap Weekend, is it profitable?

Monthly VWAP (Volume Weighted Average Price) is an essential MQL5 indicator that calculates and displays the Volume Weighted Average Price for each trading month. It's a powerful tool for understanding long-term market sentiment, identifying key monthly fair value, and informing strategic decisions.

This simple indicator is to find out easily when the price reaches a particular time on any candle or time frame.

This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

This indicator detects a specific bearish spike formation over 3 candles

Automatic Fibonacci retracement indicator that intelligently detects market waves and draws Fibonacci levels without manual intervention.

CloseAllOrders is a powerful and user-friendly Expert Advisor designed to simplify trade management in MetaTrader 5. With an intuitive button interface directly on your chart, you can close all market positions and pending orders instantly with just one click.

The RSI Engine EA is a highly versatile automated trading robot for MetaTrader 5, designed to execute trades based on signals from the popular Relative Strength Index (RSI) indicator. Version 2.1 features optimized signal processing and enhanced stability. The EA provides a flexible framework with multiple RSI-based strategies, confirmation filters, and comprehensive trade management settings, making it suitable for both novice and experienced traders.

EA Tools tính toán Margin theo lotsize, có thể tùy chỉnh đòn bẩy

Syncs all chart symbols to symbol of the chart the EA is attached to

1234567891011121314...194