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

Submit your code

Arrows & Curves indicator.

The script sends SELL STOP pending order with expiration data and printing number of ticket.

ATRStops_v1[1].1 indicator.

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.

Work with any http servers...

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.

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

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

Time indicator displays broker time and local computer time on the chart.

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

Money Management / Pivot / Daily Open / Support-Resistance / Grid / Information of all kind / Tendency indicator.

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.

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.

Indicator BoDi for finding signals to close position.

Detects and displays the fixed value of Constant Range Bars/Candles.

1...91011121314151617181920212223...102