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

Submit your code

Zero Lag RSI indicator

TRIX candles

The Expert Advisor based on the BullsBearsEyesindicator custom indicator

Working with pending Buy stop and Sell stop orders. Martingale.

Indicator RSI Rendiment

The EA uses two indicators iMA (Moving Average, MA), Fast and Slow, and one indicator iBands (Bollinger Bands, BB).

Normalized MACD of averages

This code snippet implements a dynamic risk management strategy for existing trades. It focuses on closing trades based on profit or loss thresholds and employs a trailing stop loss to lock in profits as the trade moves favorably. The strategy helps manage risk and enhance profitability in a streamlined manner.

Current Candle To Close in x Time

Mesa Adaptive Moving Average (MAMA) indicator.

Autotrendlinien generates a channel in the direction of an existing trend.

Simple script to randomize all colors of your chart. Just click on it and see results yourself!

The indicator calculates perfect market entry signals, which can be used for neural network training.

Point and Figure indicator shown in bars and displayed in the separate window.

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox.

The function that identifies extremums over a given period of history.

Expert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up an entry with the trend.

The simplest script to send instant PUSH-notifications to smartphone

Trading system using the AsimmetricStochNR indicator.

This script attempts to demonstrate the power of using support vector machines in solving classification style problems.

This indicator uses support vector machines to analyse indicator data and signal future trades. Buy trades are signalled by a green ‘up’ arrow with sell trades signalled by a red ‘down’ arrow.

The Expert Advisor to perform global Stop Loss on all open positions

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 script demonstrates the example of using the FileWriteArray() function

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.

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 MultiDeMarkerTrend_x10 indicator shows information on the current trends using the DeMarker oscillator position from then different timeframes

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".

1...9899100101102103104105106107108109110111112...195