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

Submit your code

TMS Arrows indicator

XFisher_org_v2_Candle_Alert indicator with background filling for overbought/oversold areas, as well as for the channel between them

Slope Direction Line / Moving Average confirmation candles indicator

Deviation scaled MA - extended

Indicator of Murrey levels in indicator buffers with the added visual text information on those levels

Indicator Multi Timeframe Linear Regression MA with signal line

This is Larray Williams's Variable Accumulation Distribution, used in volume analysis.

Schaff trend cycle - Hull

Double smoothed Wilders EMA

Volatility ratio - standard deviations based

TRiX slope divergence

A set of macros to benchmark small code snippets for their execution speeds.

The EA trades using the Rectangle, EMA and SMA indicators.

MACD beginner tutorial to learn how to code in MQL5

KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15

This is a basic library to create and manage grids.

A script which when run displays the maximum lot size permitted on the asset.

A price increase indicator calculates margin and price changes in per cent.

Butterfly Strategy Expert Advisor This Expert Advisor (EA) implements the Butterfly harmonic trading pattern across multiple timeframes (M2 to D1) for automated forex trading. It detects bullish and bearish Butterfly patterns using pivot points and executes trades with customizable risk management and multiple take-profit levels.

ASI was created by Wales Wilder as an ordinary fluctuations indicator that gets signals from previous maximums and minimums of price.

The Williams’ Percent Range Indicator (%R) is dynamic technical indicator, which determines whether the market is overbought/oversold.

The function allows checking whether a new bar has appeared on the specified timeframe.

The Dual Trix indicator with dual magnified Values in the Chart and in the Indicator window.

The panel simplifies manual trading and trailing of the opened position.

The Trend Magic indicator.

The DRAW_SECTION drawing style is used for plotting the values of the indicator's buffer as a sections.

The DRAW_COLOR_ZIGZAG style draws lines of different colors by values ​​of two indicator buffers. This is the color version of the DRAW_ZIGZAG style and allows you to specify individual color for each line from predefined color set.

Kaufman Efficiency Ratio (also called "generalized fractal efficiency") according to Perry Kaufman books "Smarter Trading" and "New Trading Systems & Methods".

Reference Fast Trend Line (RFTL).

JFatlAcceleration measures the current trend acceleration.

The indicator generates continuous lines of the relative average bullish and bearish power.

Vertical Horizontal Filter (VHF) shows, if there is a trend or a flat

The indicator displays colored candlesticks depending on the current trend and considering Fibonacci levels correction and also gives alerts or audio warnings in case of a trend change.

Enhanced version of Larry Williams' Percent Range.

This Expert Advisor is example of use of the Memory Mapping DLL for working with File Mapping functions. In this example the Expert Advisor create a virtual (memory-mapped) file and start to update the quotes on symbol. Using this way, Expert Advisors can exchange data (for example, quotes) using common memory-mapped file.

Trading signals module for MQL5 Wizard. The moment, when ColorJFatl indicator changes its color, indicates the time for market entry.

Enables the "Chart Objects Description" for non-programmers. For any open chart window.

This is the improved version of Price Channel indicator. Two additional price levels, trade signals and Stop Loss/Take Profit levels were added.

8 Stochastic oscillators (%K 6, 9, 12, 14, 16, 19, 21, 24).

This indicator calculates the classic historical volatility of a financial asset.

1...373839404142434445464748495051...205