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

Submit your code

Zigzag with a simple, clear and natural principle of work. By the Close prices. Without redrawing.

Scripts of pending, market orders, placing and removing stops.

EA placing orders progressively and scalping on global profit.

This indicator will show the name of the pattern by placing point XABCD manually and also will search the next Potential Reversal Zone (PRZ) automatically.

Draw your preferred pivot formulas: Standard, Fibonacci, Camarilla, Woody’s and DeMark with 4 Support and Resistance lines.

Test ChartEvent is an example demonstrating the various types of ChartEvent: keyboard keys events, mouse click & move events, custom events. The source code works both in MetaTrader 4 and MetaTrader 5.

StochasticAlerts is base of the Indicator Stochastic Oscillator by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal.

Fractals - adjustable period and prices

ADR,AWR,AMR,Draws Average Range Lines

Move the stoploss as the trade moves in your direction at a specific distance.

The Range indicator displays the index of the range expansion and is an oscillator for the market calculation.

The FanSimple displays the correctness of reversal of the moving averages fan on different timeframes. The indicator includes four moving averages with the values 5, 21, 55, 233, that are displayed on the chart.

Indicator Intra Day.

Easy example working with object: object creation, modification properties, redraw chart.

One more version of the digital indicator.

Indicator Easy iCustom and Alerts.

Indicador Amir.

The indicator shows the price points of reference.

This indicator show you the trend type

Indicator Full Bar w Spread Shadow.

Modified LSMA_In_Color indicator. Added: usage of the applied price.

Two options of the calculation, which creates the Lagrange polynomial based on the reference points.

The indicator of trading sessions.

Indicator Color OsMA.

Adviser Universal MA Cross EA.

Adviser StrategyTester Ea.

Adviser OverHedgeV2.

Lot sizing library. 29 money management options.

Another version.

NRMA is the famous indicator by Konstantin Kopyrkin.

The indicator is based on CandlesticksBW. It colors the japanese candlesticks by B. Williams displaying the "black" and "white" candlesticks.

It uses three timeframes to determine a trend.

Indicator TZ-Pivot. Gives the recommendation on a time interval. See in a code.

MTF_Bbands indicator. Uses indicator BBands.

Fibonoacci trading Expert Advisor for MetaTrader 4.

Indicators Parabolic SAR and Exponential Moving Average are used in the system.

Indicator has a rekomendatsionny nature. Shows signals on the basis stohastika.

Indicator T3.Lnx. It uses signals Heiken Ashi.

The main line, the Silver-channels is drawn on the base of it.

Indicator Parabolic with a signal.

1...252627282930313233343536373839...104