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

Submit your code

Indicator Normalized Acceleration/Deceleration

Indicator of daily ranges

RSI (var) using Jurik MA

Indicator Butterworth MA.

WMAO (Wilder's Moving Average Oscillator) - an oscillator based on Welles Wilder's Moving Average.

The Forecast oscillator indicator

The Modified Moving Average indicator

Exp_XHullTrend_Digit is based on signals generated by XHullTrend_Digit indicator

This script helps to save the objects into a file and show the objects on a new chart.

A trend indicator of NRTR type with an additional middle line

X MA Sum Average indicator

Laguerre RSi with Laguerre filter - extended

FoM

Freedom of Movement indicator

True Strength Index trade

Indicator LWMA/SMA ratio

Indicator Normalized Intraday Intensity Oscillator

Two identical trading systems (for long and short positions) based on the signals of indicator RJTX_Matches_Smoothed, which can be configured in different ways within one Expert Advisor

RSICloud indicator with background filling for overbought/oversold areas, as well as for the channel between them

Highly Adaptable Moving Average Alert indicator

The Volatility2Step_Alerts indicator with the timeframe selection option available in the input parameters

Consensus of Five indicator

Twenty RSI indicators in a single window.

SpearmanRankCorrelation indicator implemented in the form of a color histogram

TRiX

Brief Description

Range weighted average - average that uuse the current volatility for weighted average calculation

The trading system based on SpearmanRankCorrelation_Histogram indicator signals

The script creates the Fibonacci levels graphic object with a large number of settings.

Multi timeframe Slow Volume Strength Index

Very handy Multiple Moving Averages for those who like to look at Price Action using several time periods...

McClellan Oscillator - smoother with discontinued signal lines

Chande's DMI - volatility ratio adaptive

This indicator predicts future price movements by searching for similar candle patterns in the rate history.

This is an indicator w/o buffers which demonstrates parallel multi-threaded calculations in chart objects hosting worker expert adviser.

Provide a unified interface to a set of interfaces in a subsystem.

For a complex object separate its construction from representation. Same construction process can create different representations

Attach additional responsibilities to an object dynamically; and provide a flexible alternative to subclassing for extending functionality

This strategy is the well known set & forget accompanied by the martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.

The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.

This example was created to see how long it takes to reach 100 ticks. So this indicator is a seconds / "centick" (centick = 100 ticks). It helps you trade orders flow.

1...787980818283848586878889909192...189