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

Submit your code

Displays what was reached first - Low or High for the current bar.

For those who prefer "slope trading" or other variants that imply using 3 screens. To avoid numerous screens, set up SlopeDirection MTF on a higher timeframe as you desire.

Impulse MACD. The method of its construction is not traditional. This indicator is the result of laziness and absence of a working area on a chart.

Commodity Channel Index (CCI) indicator measures the deviation of the commodity price from its average statistical price.

Arrows & Curves indicator.

ATRStops_v1[1].1 indicator.

The receiving of the EA testing results by the days of week.

The CCI CustomCandles indicator.

The library contains the functions that ease the writing of EAs.

The library contains the function that monitors the appearance of the trading events in the MT4 client terrminal.

Basic indicator that displays the strength of a move, based either on either moving averages, MACD, or stochastics.

Combines 9 indicators and 7 timeframes in an easy to read meter in bottom right corner, which can be used on any FX chart or timeframe.

NRTR_ATR_STOP Indicator.

Displaying of any instrument, synchronisation on bars or on days.

Price Alert MetaTrader indicator plays sound alerts when the price reaches certain levels that are specified by the trader.

With the MTF RSI Indicator you can easily identify the oversold/overbought levels on several different timeframes by using only one chart.

The Expert Advisor shows the current values of World Stock Indices from Google Finance using WebRequest function.

RSI modified to show the excess of the market (more than 70 and less than 30), and show you the divergency with the price.

Many Expert Advisors (EAs) tend to close orders at the take profit level, considering the pip distance from the purchase price.

Ultimate oscillator offered by Larry Williams is a weighted average of values of three stochastic indicators defined on a short, medium and long periods.

Example of file read and write operations

Indicator iDCG ModStDev.

MC

Indicator MC.

Advisor MostasHaR15 Pivot.

Heiken Ashi - Custom Indicator as Candlesticks Example.

Overlay two or more charts on the same window.

Velocity_v2 indicator.

Indicator StochCandles. Paints candles on the basis of stochastic.

A fast oscillatorб also suited for scalping.

The Detrendeded Price Oscillator (DPO) indicator looks like a moving average because it filters the directivity (trend) in the price values in the same manner.

Indicator Camarilladt.

The indicator of Fibo levels and arcs drawing.

The script is intended for gathering some statistics by the symbols and its comparison.

The indicator calculates the correlation of the currency pairs.

This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.

Parabolic plotted based on Lows and Highs of a moving average. Efficiently displays the trends on smaller timeframes, and allows to mostly eliminate frequent switches, inherent to the "Parabolic SAR" indicator.

Indicator shows entry and exit points for all deals and account statistics on the chart. It is very useful for trade analysis.

Two indicators MA_Support and Para_B

This uses the standard Bollinger Band calculations to further calculate the width of the Upper and Lower Bands, comparing that number to the Max and Min width of the bands for the last N periods. The results are plotted onto a histogram.

Improvements to the previous version.

1...111213141516171819202122232425...104