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

Submit your code

The oscilator rapidly discovers the end of the price trend and the beginning of the price movement in a horizontal interval and reverse.

Indicator DFC Next.

It draws the support line basing on two last lower fractals.

Indicator Decema.

It was developed on my order for working with the RPoint indicator. I reached this variant by changing the parameters of the indicator and the EA. Change the ReversePoint value to 250 when placing the indicator.

This indicator is intended for the trading with the huge enough amount of symbols but it is not necessarily. The indicator calculates the percentage of growth of every symbol from the beginning of the day by a group of symbols, it's not a secret that the

Expert Advisor Based on FXRaider's Trade Strategy by ForTrader.ru.

An indicator that allows to see the "larger" periods (for example, half-yearly or yearly).

An indicator of group moving. It shows the difference between two MAs in a separate window.

Judging by the code of indicator, it calculates the difference between the maximum maximums and minimum minimums of prices of the candlesticks for the last 20 bars (parameter). The result is displayed in points.

Indicator for show some information about current currency

Spectr

Clears the chart of all objects with the name beginning on the specified prefix

Program for logging of non-market quotations from brokerage companies with MetaTrader platform. ADDED: Added ability to run your own script automatically in case of non-market quotations have place.

This indicator shows changes in the direction of a moving average. It works like looking with a microscope at a moving average curve.

This indicator shows both powers of the Bull and Bear, the market volume excluded.

The adviser uses the indicator Moving Average.

EA works at the "slow" time (OpenHour_1 = 0) - North American Eastern Standard Time. EURUSD, H1

The On Balance True Range Indicator is essentially based on the On Balance Volume indicator but uses the Average True Range Period 1 instead of Volume.

Power Wave Oscillator.

Indicator ang_PR (Din)-v1 represents an indicator based on polynomial regression.

Alerts you whenever there is a moving average cross

It is the bbsqueeze indicator but with OsMA as momentum.

This EA automatically moves your stop loss to break even at a predefined level.

LineOrder gives you the ability to place an order by using the horizontal line object from the toolbar menu. You can also control stop loss and take profit buy moving its horizontal lines.

Simple EA based on Alligator indicator.

StDev Bands with gaussian smoothing

This EA doesn't open orders, it takes PICTURES every time you (or another EA) opens or closes an order.

A simple robot to trade AUDUSD D1 chart only when MACD crosses.

This indicator computes the median of odd span. It is often considered as one of the most robust smoothing operator in the presence of outlier values, and particularly more robust than the mean.

Strategy is founded on support and resistance AND the theory that the market moves in trends or consolidated horizontal movement containing smaller ranges. It uses default custom indicator moving average and partial order closing. -WhooDoo22.

Aeron Expert Advisor is well known. I am the author of Aeron Expert Advosor. It is based on martingale pattern and all of its parameters are fully customisable.

Best used on monthly candlestick charts with four decimal points to a pip (use the JPY version for other pairs). This EA calculates the likelihood of your desired range of pips being hit based on two years of past trading ranges and a statistical forecast

EURX=34.38805726 x [(EURUSD x 0.3155) + (EURGBP x 0.3056) + (EURJPY x 0.1891) + (EURCHF x 0.1113) + (EURSEK x 0.0785)]

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the Kijun Sen.

Draws either MACD, Stochastic, RSI or CCI of 3 timeframes in a separate window.

This library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.

When run on the price chart, the script modifies the stop loss or take profit of all open orders for the current instrument.

Continuously records tick data in format "DateTime, Bid, Ask, Volume" even after restart.

Immediately deletes the SL/TP of all positions.

1...636465666768697071727374757677...102