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

Submit your code

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.

Display of the Heiken Ashi candlestick indicator in a subwindow.

The indicator draws a price channel using the Hodrick-Prescott Filter.

An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".

Template EA that downloads news without the use of DLL.

This custom indicator will show you 28 pair's daily candle range, High-Low range, candle bullishness or bearishness from real tick market. So you can understand the overall market situation very short time. You can change the default timeframe from Daily to any period and default candle (bar) number from 0 to any previous number. Also you can open the required symbol by clicking the symbol button.

Calculate Pivot Points based on H1 bar, according to normal formula and Fibonacci, with color filling.

Based on the original “Time Segmented Volume (TSV)” developed by Worden Brothers, Inc.

This indicator Draw True Pivot Line and seven levels Up ( R1,R2,R3 ... ) and seven levels Down ( S1,S2,S3 ...) with back test.

The indicator generates a sound signal and a Sell or Bye window appears.

The modification of an order (position) using the mouse - the second script from the "GMO" ("Graphical Management of Orders") series.

An update for the BW MFI with the displaying of volumes.

The library contains the functions that are intended to split the access to the trade flow.

A function for calculation of the area of three objects: a rectangle, ellipse or a triangle.

Oscillator based on turnovers

This indicator shows you the trend on every timeframe simultaneously

Trigger Line Indicator.

The script allows to use MetaTrader4 as netting platform. It has some advantages compared with MetaTrader5.

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

This library implements two simple HTTP GET / POST function and does not require external dll(s).

Simple chart to display the highest and lowest values for a data series over "n" bars period.

Very fast zigzag. No suspended peaks. No wrong peaks. Designed for use in EA. Optimized peaks retrieval

This indicator gives BUY and SELL signals and entry level.

Shows the distance to assumed stop with two lines located at a predetermined distance from the current price.

Expert Advisor that closes orders after defined profit or loss.

The indicator points at the reverse bars based on the Profitunity system by Bill Williams excluding the angulation relative to the Alligator indicator mouth.

The Coppock indicator shows long-term opportunities for buying or selling.

1...131415161718192021222324252627...105