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

Submit your code

Slow-Stoch_HTF_Signal shows information about trend direction based on the data of the Slow-Stoch indicator and generates alerts or audio signals and sends push notifications if trading signals appear.

The Triple Exponential Moving Average indicator implemented as a sequence of candlesticks.

The Exp_CronexCCI EA is based on signals generated by the CronexCCI oscillator.

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

This file replaces the WndContainer.mqh original file. It prevents the chart from being affected when you click and hold the mouse inside a container area.

The Exp_CHOWithFlat Expert Advisor is based on the change of color of the CHOWithFlat indicator.

This script closes all windows of selected symbol or all windows of any symbol.

The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

Trading system based on Bezier_StDev indicator signals.

The Exp_Fisher_org_v1 EA is based on the signals generated by the Fisher_org_v1 oscillator.

Semaphore signal indicator based on the relative smoothed rate of price change.

A simple trend indicator with calculation of rise and fall in High and Low prices.

The JSatl indicator implemented as a sequence of candlesticks.

Cauchy difference. The indicator shows the difference of arithmetic mean and geometric mean of the price.

Exp_X2MA_JJRSX trend-following trading system is based on ColorX2MA and ColorJJRSX indicator signals.

The trading system based on the three Stochastics signals from three different timeframes.

The trading system based on the three RVI oscillator signals from three different timeframes.

CCI experiment using adaptive calculation period.

The simplest Expert Advisor based on WPR.

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

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

CCI - very extended version of the "experiment".

An example of an Expert Advisor with a Trailing Stop implementation.

The MARE5.1 Expert Advisor is very easy to use. It uses the values of two Moving Averages (SMA) at the close of 0th, 2nd and 5th bar. The EA is configured to work on the M1 timeframe.

The ZigZag indicator plotted using the NRTR_extr algorithm.

OnTradeTransaction

NonLag smoothed inverse fisher transform of RSX (MetaTrader 5 version).

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

A trend indicator implemented as NRTR, with the possibility to generate alerts and send emails or push-notifications.

Detrended Synthetic Price (bars).

The script closes all positions of the current symbol.

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

The Exp_PercentageCrossover Expert Advisor is based on the change of the PercentageCrossover color, and provides the possibility to set a strict trading time interval.

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

The indicator draws a channel using the High and Low values of a candlestick of a higher timeframe specified in the indicator input parameters.

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

If a trade is closed by Stop loss, the volume is doubled; if by Take profit the minimum volume is used. OnTradeTransaction is used to determine whether a trade was performed after the activation of Stop loss or Take profit.

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

An example of creating synthetic instruments for calculating the strength of RTS, USD, RUB based on futures contracts of the FORTS market.

Trading in a channel based on a Moving Average with the period of 220 and three Envelopes with the periods of 220 and different heights. Position trailing.

1...383940414243444546474849505152...183