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

Submit your code

Find the highest and lowest price in the specified period,then draw four 25~85-degree angle line for forecast price .

Uses up to 4 visual "sliders" in the chart window to quickly and easily adjust values of any technical indicator in a separate window. Based on MetaTrader 4 chart objects, not DLLs.

Expert Advisor based on the ACD and MA Attention: this is not a Holy Grail

It uses 3 fast MAs to determine entries and exits as well in an event of a crossover.

Draws two labels: Open-Close and High-Low range of the last closed candle left of the current candle.

Classic Donchian-channel with Fibonacci retracement levels.

This indicator shows MACD in the main chart.

This EA will show the button that can used to close all orders by the current chart symbol.

The script is designed to place orders at the time when it is not possible, for example, when the market is closed.

The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time.

Displaying ATR (Average True Range) value in pips or points with option for setting multiplier.

Small Expert which sends email notification of last opened and closed order.

This is a multi timeframe indicator for Bollinger Bands. With it you can plot the Bollinger Bands of the higher timeframes without changing the current chart. This allows you to more clearly understand the price context by seeing the levels of the other timeframes on the same chart.

Change the timeframe for all opened charts simultaneously.

Creates Fibonacci Retracement on the chart based on the ZigZag indicator. Tap the "X" or "Z" key to scroll through each swing in the ZigZag, to the right or to the left. For those who do not like clutter on their charts. The indicator can scroll to the right until it disappears from the chart, but it is still there. Scroll left to bring it back. This is one of the most useful tools in my trading toolbox!

"Engulfing" EA Trades when there is an ENGULFING pattern has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

"Simple 2MA I" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with the trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Power of EUR indicator shows actual strength of currency EUR calculated of 7 pairs that contain EUR. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR USD, EUR GBP, EUR JPY, EUR AUD, EUR CHF, EUR CAD, EUR NZD.

The GMT Time on chart indicator is written for users who like to see GMT Time on-screen. For convenience, This indicator code is written clearly and simple. Update 1: 16-5-2020 *Input font color *Input font size

Power of AUD indicator with average shows actual strength of currency AUD calculated of 7 pairs that contain AUD. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR AUD, GBP AUD, AUD USD, AUD CAD, AUD NZD, AUD JPY, AUD CHF.

This indicator shows Step Channel based on volatility.

Indicator Waddah Attar Trend is very simple , very easy to use and very sensetive to buy and sell signals.

Another indicator based on the «Bollinger bands». Good for displaying «Where the trend is, and where the flat is».

Simple tactics using RSI and MACD

The indicator calculates the product of GBPUSD x USDCHF. Painted red, GBPCHF - black (repeats the price on the upper chart)

A form of trading system using Price Channel principles has been implemented.

The trading technique that is based on the support/resistance that are determined at the daily opening.

ATR ratio Indicator.

A simple visualizer of trends.

An indicator template that draws arrows on the chart.

StochPosition is an indicator for MetaTrader 4 based on Stochastic Indicator, which shows the position and direction of Stochastic in M5 timeframe up to W1 timeframe.

Basket offline chart creator script using geometric mean method.

This indicator helps to move charts one by one to the the front, just like slide show,and make your hands free.

Hassane Zibara

There are many algorithms of smoothing. This given indicator is for smoothing of standard indicator ADX. The code was translated from Easy Language.

Indicator Average Size Bar

Set of standard functions for the YR1 timeframe.

The trade sessions indicator.

Chaikin Indicator.

Indicator OnChart Stochastic.

1...505152535455565758596061626364...101