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

Submit your code

The Momentum-based Adaptive Channel is a version of the adaptive channel based on the Euclidean distance. It is designed to adapt according to the dynamic market as needed.

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

Expert Advisor Exp_SpearmanRankCorrelation_Histogram with the added option of trading within the weekly range only, the borders of which are specified in the EA's input settings

A colored cloud formed by two RSI oscillators with different timeframes.

WSO (Widner Support Oscillator) and WRO (Widner Resistance Oscillator).

The EA is based on Moving Average.mq5 from standard delivery. Working with OnTradeTransaction to get the price of the last closed position.

Headley's acceleration bands

A trading system based on indicator iMA (Moving Average, MA).

Murrey Lines with calculation at all bars and the possibility to choose a timeframe for lines calculation.

MultiRVISignal displays information on current trends using values of the four RVI indicators obtained from different time frames.

A standard linear regression channel with support and resistance levels

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

Ehlers Distance Coefficient Filter coded exactly a Ehlers described it in his book "Rocket science for traders".

In this indicator T3 is sigmoidal (Softmax) normalized - made as oscillator that ranges in 0 to 1 range, and if you use hyperbolic normalization it will range from -1 to +1 range.

Average True Range Bands indicator

Breakout RSI indicator

Reflex and Trendflex was created by John Ehlers ("Stocks & Commodities Feb. 2020 (6-8)").

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

RSI Bot, send alert buy when RSI<=20, send alert sell when RSI>=80

The MA indicator with the ability of fine configuration

An Expert Advisor based on the "Fractals at Close prices" indicator.

Indicator Wiseman with the timeframe selection option in its input parameters.

Trend detection index

It's a triangular arbitrage system (three pairs correlation system) to use 3 currencies to make 3 pairs to open hedge orders on those. The expert starts opening six orders for each ring (3 plus and 3 minus) and wait to move prices in one direction to make a grid of orders. For more information, please read the MT4 version of the expert: https://www.mql5.com/en/market/product/33814

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

The OzFx system. It uses Accelerator Oscillator and Stochastic Oscillator.

Geometric Mean Moving Average is a simple moving average calculated by the geometric mean method.

Indicator AbsolutelyNoLagLwma with the timeframe selection option available in input parameters, alerting when the indicator changes its color.

DMX

Indicator DMX (Bipolar DMI) is calculated using the standard indicator ADX. However, as compared to that, it displays data as an oscillator with a signal line, and has shorter delay.

Rj_SlidingRangeRj_Digit_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

Buying/Selling Pressure indicator

RSX of RSX

Volume/Volatility Indicator

"The Enhanced Signal To Noise Ratio" was created by John Ehlers and published in the book "Rocket Science for Traders", pg.87-88.

Commodity Channel Index using exponential moving averages.

This advisor demonstrates an example of global variables usage. The task of the advisor: store the calculation result in a global variable and get the global variable value on new initialization.

A Sample of Averaging Up/Down Martingale EA.

MACD zero line cross color candles with alerts for Metatrader 5

XTRIX indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by XTRIX indicator algorithm.

Indicator Average Average True Range

1...166167168169170171172173174175176177178179180...183