Watch how to download trading robots for free
Find us on Telegram!
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 - 29

Submit your code
XMA

This Moving Average indicator has digital filter to detect trend and flat states of the market.

Modified version of Murrey_Math_Line v2

It shows the information about 4 Moving Averages in a separate window.

This indicator, recognizing trends in an early stage, can be used to get ready for a break-out scenario.

This indicator will calculate pips wins and losses for any pair with a parsar and doji star trading strategy. You can see pip targets and losses and see if you can find a winning pair with this. 5MIN charts are the best on current settings.

This indicator is a composite of several indicators: Fibonacci, Pivot Point, ZigZag, MACD and Moving Average which are combined in this indicator.

This simple indicator will change the timeframes of the current chart with keypress.

This indicator shows trend line or channels (using the BSI Indicator).

This indicator helps to determine swing point highs and swing point lows.

A ready made expert adviser template to use for further development

Power of USD indicator shows actual strength of currency USD calculated of 7 pairs that contain USD. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR USD, AUD USD, NZD USD, GBP USD, USD JPY, USD CAD, USD CHF.

SSH is popular indicator as it uses simply two moving averages. This version is a mylti-TF of SSH with TF change ability from screen.

A simple indicator of the floating reference center and its nearest resistance and support levels.

The indicator of channel Keltnera.

The modified version of the RBCI indicator.

The market volatility indicator.

A multi-timeframe indicator. It shows the trend direction of several time charts in a separate window.

Indicator of channels on different timeframes.

Placing two pending stop orders for breaking through some trade range, for example, before the important news are published.

Script interception of pressing keys or mouse buttons in the windows of MetaTrader 4. It can be helpful in writing controls.

This is not an automatic system. It is fully manual.

Indicator BeginnerAlert. The code contains a highly detailed description.

A "cover" for the normalization of the indicator values.

The indicator draws the charts of the euqity and balance basing on the minute history. In such a manner you get more authentic picture of maximum rises and drawdowns.

PivotCustomTime Indicator.

BrainTrend1Sig Indicator.

Script opening orders with specified Magic Number

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.

1...222324252627282930313233343536...102