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

Submit your code

The Momentum oscillator with a triple averaging and a signal line.

MA

A very simple EA based on the crossover of two Moving Average.

The indicator displays the support and resistance levels calculated on daily prices.

A set of target support/resistance levels for the predicted price movement.

The MultiSlow-Stochx7Signal indicator shows information on active trends using the values of seven Slow-Stoch indicators from different timeframes.<

This trading system uses the ColorJJRSX oscillator.

An oscillator from an averaged difference between the FATL digital filter and the Close price.

The MACD Indicator, in which the price series is replaced by the series of values of the Chaikin Oscillator technical indicator. It is drawn in the form of a colored cloud.

The indicator utilizes the idea of ​​finding possible resistance and support levels for a period defined in the indicator input parameters, similar to the use of GSV.

RegressionPolynomial is a trend indicator calculating values of polynomial regression on each bar.

24-hour analog GMT(UTC) market clock displaying in background. The clock displays the Greenwich Mean Time and shows the status of all main stock exchanges according to their schedule.

PriceChannel_Stop indicator displays the most recent value as a price label with the the possibility to round the channel levels up to a required number of digits.

Searching Nearest Bar - searching for the nearest bar.

The New Martin Expert Advisor opens two opposite positions upon start. OnTradeTransaction handling. When Take Profit triggers, it opens a position (one position) in the same direction. The intersection of two MA indicators is a signal to open a position of a larger lot.

The library allows to automatically assign 'magic' to an Expert Advisor on any symbol and any timeframe. It allows having up to 65535 magic numbers in one Expert Advisor.

An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).

A trading system using the SSL indicator.

Intraday volatility breakthrough system. The Parabolic SAR indicator is used.

Trading based on preset candlestick combinations (patterns) Candlesticks are marked as "1" (bullish) and "0" (bearish). TakeProfit, StopLoss

This assistant tool sets Stop Loss and Take Profit for all open orders. Symbol settings, position type, Stop Loss and Take Profit are specified in an external file.

A library for working with chart subwindows.

The expert advisor moves stop loss of position at user-defined breakeven.

Martingale based Expert Advisor specially designed for small deposits.

Laguerre RSI - without using the gamma parameter

A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).

The Expert Advisor counts the number of bullish and bearish bars in a row.

Brief description

MACD with on-chart SR levels

Rocket RSI pivots

Opens random positions on marketwatch symbols.

The indicator shows the rate of change of the simple moving average.

Trade signals based on price crossover of two exponentially smoothed moving averages is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Momentum Indicator by William Blau.

Enhanced version of the Stochastic oscillator.

This trend indicator is based on SpearmanRankCorrelation indicator values and analysis of its signal lines.

The CCI indicator smoothed using Tillson's algorithm.

The trend indicator in the form of a colored cloud using volumes in its calculations. Enhanced version of Bears and Bulls indicator. The idea is to reveal the first market impulse and estimate its duration.

The indicator shows the chart of the difference (sum) of trading symbols' prices. It is suitable for visual estimation of trading symbols' correlation. It will be very useful for traders interested in pairs trading (spread trading). Indicator bars are synchronized by time with the bars of the chart the indicator is launched at.

The New Highs-New Lows index is calculated as the difference between the number of currency pairs that reached new highs over a given period and the number of currency pairs that reached new lows over a given period.

The Expert Advisor operating based on divergence of two moving averages.

1...115116117118119120121122123124125126127128129...198