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

Submit your code

Script For Trap News High Impact

script to open a buy position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips)

The Fair Value Gap (FVG) Indicator identifies price gaps that occur when there is an imbalance between buying and selling pressure. It highlights areas where price is likely to return to fill the gap, providing potential trade entry points based on market inefficiencies.

The On Balance Volume Indicator (OBV) is a momentum technical indicator that relates volume to price change.

Linear regression slope normalized to SMA.

The easiest and fastest zigzag.

Filter based on the Intraday time filter offered by the standard library.

This library allows to automate the process of connecting to a trade server after the "Account disabled" error occurs.

The indicator displays the Ask and Bid, which are taken from the real tick history. Also, it is possible to evaluate the spread changes by visually comparing the Ask and Bid.

The indicator displays in chart window the important data on current symbol.

A version that adds some averages not supported by built in standard types to the collection of averages in one single file.

Tick volumes indicator. It shows the price change with an increase and decrease.

The newest version of Adaptive Laguerre filter.

The library makes indicators' Init/Deinit synchronized

A Moving indicator that does not use averaging in its code.

A standard zigzag complemented with support and resistance levels.

Long known volume analysis method.

Indicator based on the Daryl Guppy's original strategy.

TWR

TWR is an indicator of a trend reversal.

Volatility quality with ATR filter

Trend direction and force - double smoothed EMA smoothed

Higher Highs & Lower Lows Stochastic

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.

This will display the Account Trading Report for real trade.

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

The Heiken-Ashi indicator is looks like the candlestick chart, but it has some difference.The advantage of the Heiken-Ashi charts is a simple trend determination, the upward trend candles are blue,the downward trend candles are red.

This is a simple example of user interface of information system with possibility to trade by pressing a button.

Standard colored MACD histogram allowing to select smoothing algorithms from ten possible variants and containing alerts.

This indicator allows to display the chart of another currency pair in the additional window.

The library that contains various statistical functions including the calculation of an average value, variance, asymmetry, excess, covariation, correlation etc.

The panel for the display of statistical parameters calculated based on the trade history.

The class is designed for calculation of a technical indicator Average Directional Movement Index (Average Directional Movement Index, ADX) using the algorithm of the ring buffer.

The Renko Line Break indicator determines itself a synthesis of renko charts and three linear breakthrough

The indicator implements a breakthrough system using Donchian_Channels.

The indicator shows the spread for each bar, the current spread and the minimum spread for a period.

Simple script for apply template and/or timeframe to all charts opened.

The indicator draws candlesticks of a larger timeframe as color filled rectangles based on the FiboCandles indicator.

A class for a transparent button.

The script controls the display of time and price scales for all open charts or only for one chart.

The Exp_DigVariation Expert Advisor is based on the reversal of the DigVariation non-normalized oscillator direction.

1...5678910111213141516171819...189