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

Submit your code

The Gold Dust

Double smoothed stochastic of ratio

The ColorMFI_X20 indicator with the possibility to change the calculation timeframe using the indicator input parameters

The ColorRSI_X20_Cloud indicator with the possibility to change the indicator timeframe using input parameters

Correlation angle

Class for comparing two floating point variables.

McGinley dynamic (official version - as described by John R. McGinley)

This Script will Refresh All Open Charts in MT5, Usually custom symbols in MT5 needs to be Refresh sometime so this script will help to refresh all open chart at once. We can also use this Script anywhere where we need to refresh all open charts.

This code block loops through all opened position and do trailing based on Ask and Bid prices.

Callback interface for timer

This script exports indicator's values to CSV file.

Arrows&Curves shows signals to open and close positions.

The fan based on the five T3 moving averages for trend indication.

Simple indication of a newly born trend using colored arrows on a chart.

ZigZag allowing to build Fibo fans on the last two ZigZags.

The indicator allows to work with changing in real time and mirror reversed (1/X) trading instrument.

The indicator creates areas of preferable stop-losses location for long and short positions at any time.

Empirical mode decomposition of the current symbol.

The Expert Advisor with a basic trading system on the basis of the CCI indicator and several linear perceptrons regulating the work of the basic trading system.

The class is designed for calculation the technical indicator Momentum (Momentum) using the algorithm of the ring buffer.

The SchaffTrendCycle oscillator performed as a color histogram.

When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Sell Stop or Sell Limit pending order should be placed.

The indicator allows to use a special background color for marking the price chart in the period of day selected in the input parameters.

The MultiT3_TRIXx7Signal indicator shows information on active trends using the values of seven T3_TRIX indicators from different timeframes.

A set of support and resistance levels built on the last tops of ZigZagOnParabolic_HTF with an option of fixing the timeframe, on which the zigzag is calculated.

The Exp_ColorZerolagMomentumOSMA Expert Advisor is based on the ColorZerolagMomentumOSMA histogram's change of direction.

The i-KlPrice indicator with the timeframe selection option available in the input parameters.

The i-BB-Width indicator with the timeframe selection option available in the input parameters.

The Exp_Instantaneous_TrendFilter Expert Advisor enters the market when the Instantaneous_TrendFilter indicator cloud changes its color.

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

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

The idea of this moving average indicator is in giving the bar with a greater volume a greater weight in averaging.

The indicator displays the total number of deals by symbol in real time.

Real time indicator designed for scalping on FORTS.

A script for placing a BuyStop Limit order.

A script for placing a SellStop Limit order.

A moving average with the five-fold EMA averaging, with a real period and the possibility to shift the indicator horizontally or vertically.

Crossover of three iMAs (Moving Average, MA). Alert, sound notification and email notification of the first crossover. Arrows mark the crossover.

A complete Renko chart indicator with wicks. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!

Balance of Market Power combined with DSL (Discontinued Signal Line) it can be used both for trending and scalping mode.

1...777879808182838485868788899091...191