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

Submit your code

Two independent trading systems using indicators SilverTrend_V2 and ColorJFatl_Digit within one EA.

Indicator Swing Shift

An Expert Advisor for closing all positions, in case of the total profits on those positions exceeded the Take Profit level fixed in inputs or the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

OHLC VolumeH volume difference indicator

Three independent trading systems using ColorX2MA_Digit indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

МА as an oscillator

Trend Trail indicator

WPR HL indicator

KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.

The trading system based on DEMA_Range_Channel indicator signals with the possibility to set a fixed position holding time.

Trend Trigger Factor indicator with T3 smoothing (to lessen false signals) and some extras in order to make the trend triggering state easier.

CCI_Histogram_Vol indicator with additional averaging of the resulting histogram

Expert Advisor based on iRSI (RSI) and iMA (Moving Average, MA).

Position volume calculation based on trading history. The Expert Advisor applies iCCI (Commodity Channel Index) and iMA (Moving Average) indicators. Trailing is present as well.

Stochastic volatility - on chart

Indicator Colored Middle Point of Candles

Indicator Fractal Channel

Two identical trading systems (for long and short deals) based on the ColorMaRsi-Trigger indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

Indicator of Murrey levels in indicator buffers with the added visual text information on those levels, calculating the levels on a timeframe specified in the inputs

A price channel based on a bar of user-defined duration (timeframe).

PdfMA based awesome oscillator

BB stops - Hull average based with multiple stops included

Adaptive ATR channel

TRIX (using fast EMA for calculation)

To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading

This is a tutorial on how to confirm double bottom & RSI patterns

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts.

Basic library to create Volume Profiles on chart.

The Accumulation/Distribution Indicator is determined by the changes in price and volume.

Calculates fractals and lets you specify the number of bars separately before and after the current High / Low (fractal).

The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.

The function allows checking whether a new bar has appeared on the specified timeframe.

MACD indicator with MACD line, Signal line and multi-color histogram.

The panel simplifies manual trading and trailing of the opened position.

The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.

This trend indicator shows the current trend direction and moments for closing of the opened position.

CADXOnArray class is designed for calculation of ADX (Average Directional Movement Index) values on indicator buffers. The example of use of the class is provided.

Slightly modified history load function from MetaQuotes.

The indicator which fixes Pin Bars in the chart

The MA will automatically recalculate the period if there are any changes in time frame.

1...252627282930313233343536373839...183