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

Submit your code

Quantile bands - new version.

ADXm (vertical/horizontal filter adaptive).

DSL - DMI oscillator

The trading system is based on the PercentageCrossoverChannel_System indicator signals.

The Expert Advisor trades in a channel. When a flat channel is found or when the market slows down, the EA places a pending order expecting the channel breakout.

The unsmoothed RSI indicator.

ChannelEA1 - an Expert Advisor working in a channel, using pending limit orders

The EA based on two iMA (Moving Average, MA) indicators. Selecting the lot calculation mode: Manually or in the risk percentage per trade. Position trailing.

John Ehlers Modeling The Market Indicator.

Sherman and Marian McClellan Ratio Adjusted Net Advances Indicator.

Indicator ASCtrend with the NRTR line of possible stop order locations.

A set of 4 types of digital filters that naturally are placed on main chart.

Indicator BrainTrend2_V2x10 shows the color of the BrainTrend2_V2 indicator candlesticks from ten different timeframes.

This is a Stochastic of CCI. When Stochastic is applied to CCI and the bounds are in the fixed 0 to 100 range, the trend assessment can be done using that fact too.

RP

Indicator RP (Range Position) displays the price position within the range (from Low to High) reached over the previous N periods.

Volume Zone Oscillator indicator is based on the "In The Volume Zone" article by Walid Khalil and David Steckler, and can be classified as both trending and oscillating (non-trending) in its design.

Klinger Oscillator developed by Stephen Klinger to determine the long-term trend while remaining sensitive to detect short-term fluctuations enabling the trader to predict short-term reversals.

The MA signal indicator

The trading system based on Iin_MA_Signal indicator signals

Ehlers fisher transform of rsi(OMA)

Indicator EMA HLC Envelope Oscillator

The EA uses indicator iAlligator

Standard deviation ratio adaptive EMA

Adaptive ATR channel

The strategy is based on two indicators calculated on two timeframes: iAO (Awesome Oscillator, AO) on the D1 TF and iStochastic (Stochastic Oscillator, Stoh) on H1.

An Expert Advisor based on two iMA (Moving Average, MA) and iRSI (Relative Strength Index, RSI)

A trading system based on three indicators iMA (Moving Average, MA) and two indicators iRSI (Relative Strength Index, RSI)

Indicator USDX vs Slope Direction Line

This utility is not a trading or market information utility. This will likely only interest those writing (or debugging) indicators using multiple timeframes and collecting information using Bars (or iBars) and CopyRates. The utility creates a list showing the number of Bars reported by the "Bars" function and shows the success of CopyRates for any selected bar by displaying that bar's time from the collected data (or, it shows the error).

Click on candlestick to see its body range, high low range, upper wick range and lower wick range value.

A simple observatory of individual currencies.

The ColorBars Indicator paints bars with different colors depending on the volume changes. If the volume has increased, the color is green, overwise the color is red.

The example of button, created using the object of OBJ_BITMAP_LABEL type.

Trade signals based on "Bullish Engulfing/Bearish Engulfing" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Bullish/Bearish Meeting Lines" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The strategy is following: when outer (outside) bar appears, it checks the fact of the inner bar breakthrough in trend direction and generates a signal to open position. A module of trade signals is compatible with the new version of MQL5 Wizard.

Slow Adaptive Trend Line is used for suppressing market noises and market cycles with longer oscillation periods.

This indicator solves an issue of the use of digital filters in the client terminal.

Market Profile is a tool used by many futures traders for the analysis of the statistical time distribution of the price, finding a price area and control values for the day trading session. The indicator is based on the simple price movement and does not use standard MetaTrader 5 platform indicators.

The Demand Index combines price and volume in such a way that it is often a leading indicator of price change.

1...525354555657585960616263646566...183