Watch how to download trading robots for free
Find us on Facebook!
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 - 14

Submit your code

The module for tracking open positions based on Delta ZigZag for MQL5 Wizard.

Plots up/down buffer arrows in chart window.

QWMA - "quadratic weighet moving average" new generation

Forex indicator for MetaTrader 5 with show double line of linear regression with position degrees and trend alerts.

Detrended Synthetic Price in oscillator form.

The indicator finds fractals of any dimension.

MqlParams container class that uses method chaining to quickly add params and reduce lines of code.

A library for creating analog clocks using MetaTrader 4/5 graphical resources.

A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible!

Libraries based on the article "Random decision forest in reinforcement learning"

Volume Profile + Range v6.0 (former TPO).

This utility is not a trading information utility. It will only have value for those getting information on the Number of Bars that have terminal data. This utility uses the functions SeriesIntegerInfo and CopyRates to obtain and display information about the availability of bar information from the terminal.

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.

One of the latest version of this indicator at the moment. Huge base of different modifications of moving averages, with multitimesframe function, sending signals to e-mail and push notifications.

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.

Sometimes this is useful - to observe the behavior of the oscillator in the channel. Greatly simplifies the evaluation of the situation.

The CDemaOnArray class is intended for calculation of DEMA (Double Exponential Moving Average) on an indicator buffer.

CCHOOnArray class is designed for calculation of Chaikin Oscillator (CHO) values on indicator buffers. Test_CHOOnArray indicator is provided as the example of the class use.

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

Class implements neural network of radial basis functions (Radial Basis Function Network - RBFN)

The class realizes the probabilistic neural network (Probabilistic Neural Network - PNN)

The "Fast ZigZag" indicator including the drawing of DiNapoli's target levels

The indicator displays in a separate window not only volumes, but their average value on history. The average value of volumes is used for drawing the forecast of volumes value for the current and the following days

FxTrend 25EMA is based on the difference of the EMA 25 value during two different moments.

The MACD Sample Expert Advisor trades at the crossover of the main and the signal line of the MACD. This Expert Advisor is an example of object-oriented approach in EA development.

The indicator draws bull and bear lines of a trend on the basis of iFractals indicator's data from the nearest extremum to the last fractal broken down.

The WPR oscillator with the boundaries of the overbought/oversold areas in the form of Bollinger Bands.

A library of classes for creating a user-friendly interface of your programs.

Regular expressions provide a formal language for quick and flexible processing of texts. Each regular expression is a pattern (mask), for which the regular expression engine tries to find matches in the source text. A pattern consists of one or more character literals, operators, or constructs.

The i-CAi indicator displays the most recent value as a price label with the the possibility to round the channel levels up to a required number of digits.

The MFIdivCandle indicator. Colors the candles based on the MFI oscillator.

Another variant of the ZigZag by Rosh.

Semaphore signal indicator based on the RSI indicator, which features alerts, sending emails and push-notifications to mobile devices.

ZigZag indicator with price labels of the ZigZag peak values.

T3 floating levels made as an oscillator

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

The version of Aroon indicator that displays colored line, bars or candles on the mains chart.

Double smoothed stochastic with some extra options

This version of RSI is "experimenting" with different ways how internally the RSI is calculated.

Rsi (7 types of RSI) with a lot of additions.

1...789101112131415161718192021...188