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

Submit your code

The indicator which displays the beginning and the end of the trend

The indicator of the minimum sum of price changes which forms signals after flat movements and before potential breakthrough in this or that side

The indicator of patterns. It is based on the smoothed Commodity Channel Index and Bollinger Bands.

The NRTR trend indicator that sends alerts and Push messages

A simple script that allows you to open a long position using the current price location with a specified Risk Percentage and Reward Ratio.

This indicator is useful for correlation analysis and also for cross pair analysis.

An indicator that uses tick volume for calculations.

Stochastic Oscillator (based on Stochastic Momentum) from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram with a signal line implemented as a colored cloud.

The indicator draws Heiken Ashi candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator draws rectangle candlesticks of a higher timeframe based on the values of the ColorLaguerre indicator.

Another variation of Bollinger Bands. In this indicator prices High and Low are used instead Close for calculating Standard Deviation.

The MinusDi indicator processed through the Laguerre filter.

Trading signals module based on Ozymandias.

All-In-One candlestick chart.

The RVI Oscillator in the main chart window relative to the Moving Average indicator.

This version is showing the channel that needs to be broken if the trend is going to be changed.

A histogram of minimum and maximum values of the following parameters: SYMBOL_SESSION_BUY_ORDERS_VOLUME - "Total current volume of buy orders" and SYMBOL_SESSION_SELL_ORDERS_VOLUME - "Total current volume of sell orders".

Trade direction is chosen based on a random number generator. Stop Loss and Take Profit are set based on the random number generator. Lot calculation based on the risk value as a percentage of free margin. The code contains protection against the "not enough money" error.

A module of trading signals based on the Moving Average indicator signal module.

A trend indicator SSL, marking trend change moments using colored icons, with the possibility to generate alerts, send emails and push-notifications.

The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.

Advisor on the signals of the indicators Bollinger Bands and Moving Average.

An indicator of ticks (Bid and Ask). Displays the last 300 ticks.

Laguerre stripped of RSI "experiment".

The Triple Exponential Average (TRIX) indicator + the signal line + arrows at the intersection of the signal and the main lines.

The Expert Advisor is based on Bill Williams' strategy.

EMA Levels multi timeframe version.

ADXVMA uses modified ADX calculation for adapting Moving Average calculation.

The indicator measures money on a chart.

The Expert Advisor waits for a gap at the bar opening.

Trend trigger factor (averages pre-filtered)

Indicator XXDPO_Candle can provide alerts and send email and push notifications when trading signals occur. Possible signal options

Displaying the latest closed values of indicator Bollinger Bands® with colored rectangles and background filling

Detect bullish and bearish engulfing candles when entering the overbought or oversold territory. We have all seen a currency pair enter the overbought or oversold territory and stay there for long periods of time. What this indicator does is gives you the emphasis. So if you are looking for reversals then you may want to take notice when oversold territory is entered into with a bullish engulfing candle or if the trend is your thing then check for bearish engulfing candles while entering oversold.

Adaptive moving average - double smoothed

Variance (Welford’s method for computing)

Classical Sudoku puzzle right in MetaTrader chart.

The script provides a synchronous scrolling for all charts opened in the client terminal.

bts

Comparing the speed of a binary or a ternary search

NRTR is Nick Rypock Trailing Reverse indicator.

1...8990919293949596979899100101102103...188