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

Submit your code

The indicator is designed for testing manual strategies and for practicing working according to the strategy. It provides operation reports presented as a table, chart, and additionally saves templates with and without the markup.

This is a simple indicator that plots Signal History on the chart.

Separate window! Uses daily open price and current price (close price for closed candles) to compute % change for the day.

Used to compare 2 currencies on one chart, the Original indicator will recenter its calculation on every bar, and hence the price will keep shifting up and down and so the historical relative values do not remain constant. This indicator was modified so that the 'center' or initial relative reference point stays fixed and does not update each bar. It will only reinitialize when the indicator is reloaded or settings are changed.

Guide 'how to' make different expert adviser license protections

DXYvsEXY_e1 is an optimized version of DXYvsEXY. Original code here: https://www.mql5.com/en/code/30714

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.

Fractals indicator with the custom period feature

Example of optimization using the "running total" method.

The Moving Average Indicator shows the mean instrument price value for a certain period of time.

The script shows the conditions of the correct and closest placing of the StopLoss and TakeProfit of the orders.

AMA

Adaptive Moving Average

On Bollinger Bands grounds

Standard OsMA indicator with the indication of the possible trade signals.

Errors function. In Russian.

Murrey_Math_MT_VG Indicator.

Color version of the XMA indicator.

Indicator shows a different Forex sessions and the market hours of the exchanges.

This is a "conceptual" script that uses the WinINet functions to load a HTTP page directly from mql4, without a C++ dll

3 TF Zigag Level with same settings.

Automatically does volume calculation based on percentage of desired account balance and enters instant or pending trades. Optional take profit is automatically at 1:1 with respect to SL.

This indicator combines Moving Average (MA) and Average True Range (ATR).

The Expert Advisor moves the Stop Loss in the direction of the price movement using various methods.

Precision trend (histo) - MetaTrader 4

A channel based on standard deviation of close price.

This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index indicator crosses above oversold.

A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).

Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria.

This indicator paints the candlestick chart color according to the Elder Impulse System

The MA-4H indicator displays the moving average of the selected timeframe on the chart of the current timeframe. The intersection of the two moving averages is implemented as optional. The external parameters allow to activate the second moving average in order to see their intersection.

Additional functions for working with the datetime variables.

Indicator Metro

The indicator displays the ranges. Useful for the visualization of various "zones".

The indicator which draws a structure of the market.

PDF

Indicator PDF

Indicator Trend_CF.

Indicator iDCG Camarilla.

Индикатор Gimmebar.

The indicator shows a trend.

Pivot RS Session indicator. Shows trading sessions.

1...789101112131415161718192021...102