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

Submit your code

Overbought and oversold indicators aim to determine where the price may experience a reversal.

Candle countdown HUD with trading sessions (UTC), live spread and anomaly detection, daily range vs ADR, and market-closed state with reason (holiday / weekend / session). Holidays calendar included for seven major markets.

Account-level daily loss guardian: when your daily loss reaches a configurable trigger, it closes all positions and pending orders and keeps the account flat until the next daily reset. Limits in percent or money, configurable reset time (server time), draggable visual panel with live gauge, and manual CLOSE ALL / LOCK buttons with click-to-confirm. Works on any broker, symbol, account size and currency — hedging and netting, no DLLs.

An institutional-grade order flow and footprint chart indicator ported from Pine Script to MQL5. It dynamically deconstructs major timeframe bars using lower timeframe (LTF) historical tick/real volume to compute buy/sell volume delta at each price level. The indicator features automatic timeframe selection, Point of Control (POC) highlighting, Stacked Imbalances, extreme Absorption detection, Unfinished Business (UB) tracking with live mitigation, and real-time alert triggers.

Professional open-source Spread Monitor for MetaTrader 5. Displays live spread, minimum, maximum, average spread, history graph and configurable high-spread alerts with a modern Quantora dashboard.

Market Structure & Smart Trade Tracker (MT5) An advanced all-in-one Smart Money Concepts (SMC) indicator that combines automated market structure mapping, momentum heatmap candles, and institutional trade execution tracking.

The Stochastic Oscillator compares where a security’s price closed relative to its price range over a given time period.

ZigZag indicator version with optimized calculation speed.

Signal indicator of the popular BrainTrend1 trading system with preliminary price timeseries smoothing.

This indicator is based on the idea of that an unusual impact in price changes will be adjusted by an inverse reaction.

UltraWPR_HTF_Signal_BG shows information about trend direction based on the data of the UltraWPR indicator on a selected bar as a graphic object with a colored indication of trend or deal direction and gives alerts or audio signals and sends push notifications to a smartphone.

Class for expanding the capabilities of MqlRates.

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

The indicator plots price channel and Fibonacci levels based on the latest Zigzag2_R_Color peaks.

The T3 version of Velocity

Balance of market power (using improved Jurik filter for calculation).

Aroon oscillator, next version.

Smoother - standard deviations adaptive.

Bollinger bands at extended Fibonacci levels.

Modified Awesome Oscillator.

Volume weighted moving average

Indicator Stochastic RSI

Scans multiple symbols looking for when the price crosses a pivot point or when xxPoints Near or bounce off pivot then it alerts the trader.

Donchian Channel for traders or young developers by William210

High and Low Line Indicator

The indicator automatically identifies points and draws support and resistance trend lines on them. There are two types of lines calculation

Didi Index mql5 source code.

Set of statistical functions which allows you to calculate some values describing timeseries.

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

VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is trading relative to its volume weighted average for the day.

Class for working with AES-256 encryption.

The indicator shows the price chart of any scaling level.

This version of RSX allows you to use instead any momentum length.

Detrended Synthetic Price in oscillator form.

Median MA is a moving average, which is calculated using the median price for a given period.

Probability levels based on ATR. "Probability" is calculated based on the projected Average True Range and previous period Close.

Generic Index Indicator.

TTF

Oscillator TTF (Trend Trigger Factor) was developed as a method to identify market trends and reversals.

Stochastic on chart

RSI slope divergence - multi time frame version

1...151617181920212223242526272829...205