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

Submit your code

Impulse System for the price bars

DeMarker_Histogram_Vol indicator with additional averaging of the resulting histogram

Stochastic of adaptive lookback average - with normalized zones

Fast ema Hull average

XBullsBearsEyes_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

Trend Score indicator

TRIX using Wilder's double smoothed EMA - with an addition of floating levels

Calculates a Exponential Moving Average based on RSI Data, instead of the regular Pricing data. Simple and and to the point.

This script downloads bars and ticks from EURUSD as required for the correct execution of Kiss on Billions on EURUSD from Saeid Irani.

define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically

a much more efficient version of selection sort

Engulfing Pattern Plus One

You learn how to subtract time, insert it manually in a string format, tick counter and see output on comment function.

This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary

Converted Ronz AutoSLTP MT4 version into MT5 version. Original Link: https://www.mql5.com/en/code/11649 Original Descriptions: EA for Automatic Stop Loss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden.

Trading system using the F2a_AO semaphore, signal indicator.

The indicator draws four vertical colored lines during a day. Line parameters can be set in the input parameters.

The indicator of relations between the two true ranges by Larry Williams.

Murrey Lines with calculation at all bars and the possibility to choose a timeframe for lines calculation.

The script is developed for selling with fixed Stop Loss and Take Profit values in points from the current price.

Trading system using the RMACD histogram.

The offered indicator informs you about the current trend. It is useful for entering the trading.

The indicator to trail the stop levels

The trading system based on the Beginner signal indicator.

The typical trend indicator drawn on the basis of three Moving Averages.

Quite an interesting alternative to Bollinger Bands

DeMark's oscillator with an option of setting a fixed timeframe for the calculation of the indicator in the input parameters.

The indicator shows the maximum price for the period specified in the input parameters of the indicator, taking into account the timeframe, in which the price was searched for.

The MACD Indicator, in which the price series is replaced by the series of values of the Accelerator Oscillator technical indicator. It is drawn in the form of a colored cloud.

O indicador de CHO com a opção de seleção de um período de tempo diferente nos parâmetros de entrada.

A TSI oscillator based on the values of the CCI technical indicator, implemented with its own signal line in the from of a colored cloud.

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

The Standard Deviation indicator implemented in the form of a color histogram.

A semaphore signal indicator that uses divergence between two RSI oscillators based on extreme points of the last five bars.

A semaphore signal indicator based on crossovers of the main and the signal lines of the AdaptiveRVI oscillator.

A trend indicator in the form of a moving average that changes color depending on trend direction.

Envelopes indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits, and a price grid with these rounded values.

The EA trades during two trading sessions, starting at the specified session beginning time. Stop Loss. Take Profit.

The Expert Advisor trades based on the i-Regr indicator signals.

MACD that is using DEMA fo calculation.

1...171172173174175176177178179180181182183184185...195