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

Submit your code

An MQL5 implementation of the adaptive UmnickTrade Expert Advisor.

Ehlers Nonlinear Filter provides extraordinary smoothing in sideways markets and aggressively follow major price movements with minimal lag.

Indicator based on LSMA (Least Squares Moving Average). It shows the trend of the used average and displays it as a sort of an oscillator.

A scalping Expert Advisor based on the "Market Capture" strategy.

The market volatility indicator

A typical Moving Average

A channel drawn by intraday extrema.

The Exp_CronexRSI is based on the signals generated by the CronexRSI oscillator.

The trend indicator drawn in the form of the colored cloud.

A signal indicator which points at the reverse bars based on Bill Williams' Profitunity system excluding the angulation relative to the Alligator indicator mouth.

The CCI indicator in the main chart window relative to the Moving Average indicator.

The ytg_Trend indicator with the timeframe selection option available in the input parameters.

A colored histogram drawn using the High/Low prices.

PVT

Price Volume Trend (PVT) is an indicator of price trend and volume, similar to the standard On Balance Volume (OBV) indicator.

William Blau Directional Trend Index.

A trading system using the XAng_Zad_C trend-following indicator with the possibility to set a fixed trading time interval and change the volume of a forthcoming trade depending on the results of the previous trades.

The ColorXPWMA_Digit indicator with the ability to change the indicator timeframe using the input parameters.

This indicator is based on MFI (Money Flow Index) and its multiple signal lines analysis.

Two identical trading systems (for long and short deals) based on the ColorSchaffJCCXTrendCycle indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Standard Error Bands indicator

This is a helper indicator which allows you to adjust vertical scale of a subwindow manually, which is useful for zooming in and zooming out graphs of your favourite indicator placed in the same subwindow.

Returns the price for the most recent fractal high

A moving average calculated as an average of all variants of calculation of the classical Moving Average with a signal line and the possibility to produce alerts and send push notifications.

The XPVT indicator with the timeframe selection option available in input parameters.

Triple fast ema Hull

Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.

The non-normalized oscillator ang_AZad_C helps to identify the dominant trend.

The indicator exemplifies smoothing of price time series of the CCI indicator by means of filtration of harmonics of a greater order.

The classical DeMarker indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.

Exp_Directed_Movement Expert Advisor is based on the change of color of the CCI_Woodies indicator.

Ron Black's swing line indicator with adjusted display option.

This version of Zone Trade indicator is made to show as histogram in separate window.

This unit test frameworks eases the development of unit tests for more complex expert advisor programs. The MQL5 developer can test single components. The test framework starts the strategy tester so that there is test data available if required. I am using the framework to do test driven development (TDD) on my MQL5 programs.

William Blau Trend Momentum.

Indicator Bear_Bulls_Power_Candle with the timeframe selection option available in the input parameters

Parabolic SAR of average

define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically

MultiXRSXSignal displays information on current trends using values of the four XRSX indicators obtained from different time frames.

The fast trends indicator drawn on the basis of two normalized XMUV Moving Averages.

The i-AMMA indicator with the timeframe selection option available in input parameters.

1...177178179180181182183184185186187188189190191...194