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

Submit your code

Bollinger Bands with controllable outer band smoothing (post smoothing)

A demonstration on how to modify objects in an indicator without having the source code

A real-time monitoring tool for MetaTrader 5 that displays key financial data, allows quick symbol switching, and customizable symbol lists. Save and reload symbols, reset lists, and customize text and panel colors for a personalized trading experience.

A dynamic trendline-based evolution of the Donchian Channel

TardioBot V1.05, named after of a historical figure Giuseppe Tardio, is an Expert Advisor designed for MetaTrader 5 that employs a triangular arbitrage strategy.

It is a zigzag which creates new zigzag turning points based on passing a volatility threshold

MQL5 implementation of the fixed-width fractional differencing (FFD) method from López de Prado's Advances in Financial Machine Learning (Chapter 5). Transforms a non-stationary price series into a stationary one while preserving maximum historical memory; output cross-validates against the Python afml library to within 1e-12.

This is a RSI of High, Low, Open and Close displayed as color candles in it's own sub-window.

It will delete all objects on the chart when the compiled executable is dragged onto the chart

RSI adaptive indicator based on tick calculations

BreakRevertPro EA merges breakout and mean reversion strategies with adaptive SL/TP and multi-timeframe ATR trailing stops for flexible trading in volatile markets.

A quick little script to make traders' lives easier. The one thing that always annoys me is resetting the properties like colors for a new chart, to make it look the way i like it. So Here is a script to make things smoother.

Trade server disconnect alerts utility for MT5.

Simple_Grid is the simplest "grid" EA.

adoption of Larry William's method using AI Time-Series XGBoost

A very simple, efficient and non-obtrusive clock for your Chart. KISS compliant! :)

Multiple runs/optimisations in Tester.

A simpler way to display Heikin Ashi

Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms.

A customized bid and ask line which is labelled and clear to help visualize the bid and ask prices

An MQL5 Expert Advisor that reacts to high-impact forex news events using the MQL5 Calendar. It identifies news related to inflation (CPI/PPI) and interest rate decisions, placing breakout trades with pending orders. Ideal for traders looking to automate news-based strategies. (This is just a starting point)

Martingale trend detector use onnx AI

Professional trade management panel: one-click Buy/Sell with auto lot sizing, smart trailing stop (ATR/Fixed/Candle), automatic breakeven, multi-TP partial close system (TP1/TP2/TP3), and one-click pending orders. All-in-one order management for serious traders.

This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

MACD variation that uses Nonlag MA.

Provide simplest class to read and parse CSV file

Static class to fix the TimeGMT() function during testing in the strategy tester.

Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.

The Efficiency Ratio (ER) was first presented by Perry Kaufman in his 1995 book "Smarter Trading". It is calculated by dividing the price change over a period by the absolute sum of the price movements that occurred to achieve that change. The resulting ratio ranges between 0 and 1 with higher values representing a more efficient or trending market.

The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

The JSatl indicator with the timeframe selection option available in the input parameters.

It is made more up-to-date and multi time frame option added.

Stochastic that is using RSX as an input for calculations.

Export history of closed positions from MT5 retail hedging account selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.

Highest high & lowest low support resistance

Recursive Median Oscillator - with floating levels

This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7 with history mode.

Here is my implementation of a colored Hull Moving Average.

Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

Wickless breakout

1...91011121314151617181920212223...221