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

The indicator shows t he parameter "Total volume of open positions - SYMBOL_SESSION_INTEREST".

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

An Expert Advisor based on the "RPoint" indicator. The chart layout in X-points reversal. A high-quality ZigZag based on HiLo.

The Expert Advisor trades based on signals generated by Stochastic Oscillator. Averaging. A limited number of positions. Trailing.

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

A semaphore signal indicator.

The scripts places multiple pending orders higher than the current price.

An indicator from "Technical Analysis of Stocks & Commodities" (January, 2010).

A strategy based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD).

A further development of code "Dealers Trade v 7.74 MACD" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).

Modified iCCI (Commodity Channel Index, CCI) - color highlighting of zones above the UP level and below the DOWN level.

Correlation of two symbols.

Relative Momentum Index (RMI) is a variation of the RSI indicator. The RMI counts up and down days from the Close relative to the Close X days ago (where X is not limited to 1 as is required by the RSI) instead of counting up and down days from Close to Close as the RSI does.

The Stochastic Momentum Index (SMI) was developed by William Blau and was introduced in the January 1993 issue of Technical Analysis of Stocks & Commodities magazine. It incorporates an interesting twist on the popular Stochastic Oscillator. While the Stochastic Oscillator provides you with a value showing the distance the current close is relative to the recent x-period high/low range, the SMI shows you where the close is relative to the midpoint of the recent x-period high/low range.

The oscillator indicator based on Lyapunov stability theory, with the Hodrick-Prescott filter

CA

Indicator CA (Corrected Average), also known as Optimal Moving Average. The benefit of the indicator is the fact that the current value of the timeseries must exceed the current threshold that depends on volatility for the indicator line to follow the price, avoiding false signals in the trend.

CMH

Indicator CMH (Clear Method Histogram) displays a color histogram of the current market trend.

DirectCandlesCounter indicator in the form of candles.

The EA waits for a gap on a specified timeframe.

MAE

The MAE (Moving Average Envelopes Percentage) indicator shows the price as a percentage of the Envelopes channel.

Average of median price

Trading the trend

XCCI_Candle_Vol indicator with the timeframe selection option available in input parameters

MA_Rounding_Candle_HTF indicator with the timeframe selection option available in input parameters

TSI of adaptive lookback average - with normalized zones

Step chart of averages

BullsBearsEyes_Vol indicator with additional averaging of the resulting histogram

Indicator i-KlPrice_Vol that shows the direction of moving the histogram bars as colored labels on such bars

Indicator RJTX_Matches_Smoothed_main with the timeframe selection option available in its input parameters

Indicator Parabolic Moving Average

Volatility2Step indicator provides alerts, sends email and push notifications when the indicator breaks through the trigger level specified in the inputs.

Have a look at the daily bar #1. Position trailing.

Three timeframes. One iMA (Moving Average, MA) and one iStochastic (Stochastic Oscillator) on each timeframe

This indicator shows average and peak speeds of price changes per minute.

For day traders, this is one of the important thing to consider in order to improve our strategy by calculating on average how much an asset moves, in which it will allow us to identify the best TIME during the day to trade when the market moves the most as well

The 64-bit xoshiro256** Random Number Generator.

Time Left To New Bar Watch

The indicator plots a price channel using the Hodrick-Prescott Filter.

DailyPivot_Shift indicator differs from the common DailyPivot indicator, as the main levels can be calculated with day start shift.

DailyPivot_Shift indicator differs from the common DailyPivot indicator, as the main levels can be calculated with day start shift. This variant of the DailyPivot_Shift_Full indicator can be built for any chart bar and allows to clearly see the market behaviour relative to the indicator levels at each bar.

1...787980818283848586878889909192...188