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

Submit your code

Auto updating fib retracer showing zones for range trading/breakouts.

Indicator shows buy and sell regions based on combination of Bollinger bands and Keltner channels.

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

Detrended Synthetic Price (oscillator).

Hull moving average (non-repainting version)

This indicator shows ADX indicator in another easy way. Buy when Bars is Green, Sell When Bars is Red.

The library for automated optimization of an EA during its operation.

The currency indices indicator with the ability to calculate CCI, RSI, Momentum, MACD and Stochastic.

The indicator plots trend lines based on the two last extremums.

Work with any http servers...

Simple csv-to-fxt Converter

version 1 of bindings to zeromq library

This indicator shows the session of the four major forex markets:Sydeny,Tokyo,London and New York. It is helpful for day trader.

Different view of the figures and the patterns of the day ....

This indicator is a small modification of classical Fractals Indicator. You can choose the number or left/right bars to have a new top or bottom as well a shift parameter.

With this indicator you can follow the evolution of account profit.

Clear All StopLoss n TakeProfit on All Orders.

"How much is a 1 pip movement on EURUSD (or any pair) worth in my currency?" - here's the answer!

MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.

Here I propose a simple password verification scheme which uses MT4's built-in security engine providing DES/ECB encryption and does not require code re-compilation for each new customer.

Building a moving line by a polynomial of the 4th degree. Extrapolate a sine curve and its axis. One value on each bar is removed from the drawn lines and a sliding line of extrapolated values is drawn, which is not redrawn.

One of the latest version of this indicator at the moment. Huge base of different modifications of moving averages, with multitimesframe function, sending signals to e-mail and push notifications.

With the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any Expert Advisor.

YURAZ's library, determining the switch to dayllight saving time and revert to standard time

Ichimoku Kinko Hyo indicator is predefined to characterize the market trend, Support and Resistance Levels, and to generate signals of buying and selling.

Use this script to make own nonstandard timeframes.

The script outputs the information on symbols to a CSV file: swaps, spreads, stops, contracts.

A set of scripts that are intended for the automation of some routine operations in the terminal.

Indicator Vegas.

The indicator searches for the patterns, displays the end of the D and C points on the screen.

An example of automatic running of the script when the timeframe or symbol is changed.

The indicators that can display several larger timeframes, japanese candlesticks and Fibo levels on a single chart.

The indicator is similar to 4Hour Vegas Model.

Drag & Drop the script at chart on point where StopLoss should stay. Script will compare desired StopLoss with the current price and determine the type of the order - Buy or Sell. The next step is calculating the volume according Free Margin and the Risk

Display Candles from a higher timeframe on top of your current chart (ex: see H1 candles on top of a M5 line chart)

Script closes all opened and pending positions.

Ichimoku indicator based on RSI values that displays in your sub-window.

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

This indicator will display a symbol watermark on the chart background, showing the timeframe and symbol name in large font.

This is the standard MACD indicator drawing two flat lines instead of a signal line. It allows you to detect and trade flat markets.

1...5678910111213141516171819...104