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

Submit your code

Standard MFI oscillator implemented as a histogram rounding its values to the standard range.

Quantile bands - generalized version.

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

QWMA - the "CA" ("Corrected Average") version

A quick way to draw an arc-shaped channel in 4 mouse clicks.

MetaTrader 5 version of Candle Closing Time Remaining (CCTR) is an indicator which displays the remaining time for an open candle to be closed.

This non-trading utility generates custom symbol information on 1M chart.

A candlestick-based chart based on histograms Ang_Zad_C_Hist calculated on the Open, High, Low, and Close timeseries of the price chart.

MPO

Indicator MPO (Midpoint Oscillator) displays price movement without its trend component around its centerpoint. It is displayed as two lines: Price movement line and signal line. Centerline (MidPoint) is zero level of the oscillator.

Step average - average true range based

Indicator Traders Dynamic Index

Indicator Murrey_Math_Lv_Arr limiting the computer resources used in calculating and displaying the indicator on the chart

Self advance decline line

Set StopLoss by just dragging and dropping script on the desired price level.

This utility is simple example to add sound alert on connect / disconnect

The indicator draws an arbitrary second timeframe on the chart.

A simple yet effective donchian channel breakout strategy. This strategy is timeless!

Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5

This indicator will shows the time remaining until the end of the candle. You can choose colour and the font size.

This is a service to show entry/exit points of existing positions/deals as trend lines and/or arrows on charts.

A high-precision trend reversal indicator combining RSI exhaustion zones with candlestick breakout patterns.

A daily bias Expert Advisor that trades market dominance, analyzing previous day bullish vs bearish control with MA confirmation, and executing a single, minimum-volume trade with ATR-based risk management.

KSQ Fair Value Gap EA automatically trades institutional FVG zones with built-in regime detection to filter out low-quality setups in ranging markets. STRATEGY Detects 3-bar bullish and bearish FVG patterns. Enters on confirmed pullbacks into the zone. Each FVG fires once only. REGIME FILTER EMA trend bias, ADX strength filter, or both combined. Configurable higher timeframe (M15–D1). SL & TP Both support ATR-based or fixed-points mode, set independently. LOT SIZING Fixed lot or % risk-based — switchable from inputs. TRADE MANAGEMENT Break-even stop, partial close, and ATR/points trailing stop. RISK PROTECTION Daily and total drawdown kill switches. Max trades per direction cap. Session time filter. It's not yet optimised for any pair

What this indicator does Clock (Spread).mq5 is a MetaTrader 5 chart indicator that displays a small text label in the corner of the chart showing: Countdown timer until the current candle closes (in HH:MM:SS or MM:SS format, depending on timeframe) Current spread (Ask − Bid, in points), shown in parentheses next to the timer. Changelog: Version 2.20: - Spread now colors dynamically based on direction (green = increasing, red = decreasing) - Added configurable inputs for the spread colors

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.

The Money Flow Index (MFI) is the technical indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.

Tools for monitoring spread of currency pairs

Functions for creating various objects and changing object properties.

AroonHorn_HTF_Signal shows a trend direction or a signal for performing a deal generated by AroonHorn_Oscillator_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment

The Fibo ZigaZag indicator allows to calculate the probable support and resistance levels using the Fibonacci ratios.

This is an combination of 3 separate indicators: TTM wave A, TTM wave B and TTM wave C.

AdxVma trend.

A volume indicator with different types of data representation.

Unlike the original Schaff Trend Cycle, this version is using DEMA MACD for calculation, which makes it "faster" in determining the trend changes and thus producing signals a few bars earlier (which can be significant in "scalping" systems).

A portfolio EA for the MOEX FORTS market.

A modification of standard indicator iStochastic (Stochastic Oscillator, STO) - now you can manage levels #1 and #2 from your EA.

On-chart RSI

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it. All Credits of this Amazing indicator to Olexiy Polyakov. I have just fixed the iBarShift and iTime issues, since this is such a great indicator for traders ! Now it is working fine with this files.

hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.

A dialog to display the maximum lot size permitted on the underlying asset for different types of orders (buy, sell, pending buy, and pending sell).

1...171819202122232425262728293031...210