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

Submit your code

This is an utility which allows you to list all open charts, indicators, expert advisers, and scripts in alphabetic order, and switch between them.

Trend Rider is a combination of several indicators eg super trend, rsi, and macd to assist in spotting and riding trends by showing direction inform of color candles and also showing trailing stop levels, It can be used independently or with additional filters.

Parmis les 5% des traders les plus performant du desk ''Options Dérivées'' de la Société Générale. PnL 22MEUR entre 01/01/2022 au 27/12/2022

Momentum deviation bands

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters. Sets the initial Stop Loss and Take Profit. Closes all positions when target profit is reached

RMA

RMA average

Histogram between price and indicator or between two indicators

MyRsi - by John Ehlers

Fractals based on the iOBV indicator (On Balance Volume, OBV)

Strategy based on custom indicator 'RSI Dual Cloud'. Four types of signals

iDeMarker (DeMarker, DeM) indicator smoothed with iMA (Moving Average, MA).

Советник-утилита. Показывает суммарную прибыль за несколько периодов (сумму и в %), количество сделок за несколько периодов. Расчёт по заданному символу и magic number

A simple indicator plotting a channel with a constant range

Average trend

MyRsi with Noise Elimination Technology - by John Ehlers

Trend Direction And Force Index with Alert derived from Mladen Rakic's version https://www.mql5.com/en/code/21869

Version 2: extended functionality (added a few extra options)

Colored SAR indicator. Alerts on color change

This Indicator will show the Amplitude [Minimum; Maximum] of a given period and can act as a substitute of the ATR indicator. The indicator can be used to observe volatility and the force of past swings, useful to determine excesses that will possibly be reversed or repeated, given that the user has knowledge to complement with volume or standard-deviation strategies. It is suggested a period of 55200 at M1 or 2400 at H1 (meaning 40 sessions of 23hs each), or any period that complements your strategy.

Advanced Line Chart based on Japanese candlesticks.

A native implementation of neural networks in pure MQL, bundled with an easy to use interface, with easy support of saving and loading of the network configurations after training.

The 8 effective steps to build a robust day trading plan using Fibonacci retracement

closing partially script and Stop loss to Break Even point

'RSI' line, 'RSI' line smoothed with 'MA'. Fill areas between these two lines.

An indicator to monitor the appearance (or change) of a rectangle whose name starts with ...

One of the strategies for the 'DeMarker' indicator is a permanent set of positions

Adaptive Moving Average - AMA - with filter, histogram version

This script opens all market watch symbols with the default template using the selected period. Save prefferred template as default.tpl to have all charts open with same template of your choice. Happy Trading.

Martingale based on custom indicator 'VIDYA N Bars Borders'

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters

This class loads a licensing file by reading 64bit encrypted account data from a license file into an account array for the purpose of licensing. The Class is initialised with a Filename, a Master Key (m_hkey -> can be a secret key of your choice) and whether the file needs to be saved in the common folders or not.

Catching the extreme change on candle.

Martingale strategy based on custom indicator 'MACD Four Colors 2'

Indicator based on iAO (signal 'saucer') and filter based on iMA

An exponential moving average of the true range and the offset of its average deviation

an in-place comparison sorting algorithm

CCI (mimic)

The indicator plots (using OBJ_TRIANGLE) the area between 'Open', 'High', 'Low' and 'Close' of the day

Two pending orders at the beginning of the day

awesome oscillator, stochastic filter. expert

1...183184185186187188189190191192193194