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

Submit your code

The ColorZerolagJJRSXTrend_x10 indicator shows the ColorZerolagJJRSX oscillator direction from ten different timeframes.

The indicator draws MA_Rounding_Candle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

WPR

A usual WPR (Williams’ Percent Range) with the option of selecting Close, High, Low price type for calculation.

An indicator that helps to calculate a safe stop level for open positions.

The ColorXMACD indicator implemented as a sequence of candlesticks.

The Price Channel indicator with the background filling inside the channel.

trend_arrow_HTF_Signal shows a trend direction or a signal for performing a deal generated by trend_arrows indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

Semaphore arrow signal indicator based on the classic Money Flow Index oscillator leaving the overbought and oversold areas, which features alerts, sending emails and push-notifications to mobile devices.

Pipsing EA. Indicators are not used.

Expert Advisor inspired by Ilan 1.6. It uses the iCCI(CCI, Commodity Channel Index), iRSI(RSI, Relative Strength Index) indicators.

Four trading strategies in one Expert Advisor.

Price Direction movement Step Up and Down Forex Indicator for MetaTrader 5 with arrow and alert.

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

The indicator marks candlesticks with colored arrows if candlesticks of a higher timeframe selected in input parameters are higher or lower than previous candlesticks.

This is a MACD that can use average for input price instead of using "pure" price. That can help in filtering some false signals, but the main purpose of this code is to show how simple some things can be done using MetaTrader 5. In addition to all usual options when it comes to this type of indicators, option to have color changes based on MACD slope change or MACD crossing signal line.

The Highest Lowest indicator searches for bars having High above the High of bars on the left and on the right, as well as bars having Low below the Low of bars on the left and on the right. Uses the DRAW_ARROW style.

Chande Momentum Oscillator with added Discontinued Signal Lines instead of using static levels for trends displayed on the main chart as bars (if the current chart style is bars or line) or candles (it is done automatically).

ChannelEA2 - an Expert Advisor working in a channel, using pending stop orders.

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into consideration, i.e., whether it is a netting or a hedging one.

Oscillator TATR (Tick Average True Range).

An indicator of the volume / bar price range ratio with a signal line and with the option of identifying the maximum/minimum price change resistance.

A simple indicator based on standard stochastic. Along with the Main and Signal lines of standard stochastic, it also draws a color histogram between these two lines.

A channel formed by two Double Exponential Moving Averages based on averaged High and Low timeseries

Gann_Multi_Trend indicator defines a short, middle and long-term trends.

Ozymandias_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

This version of Price Zone Oscillator is an attempt to solve the "too fast" slope issue of the original indicator.

The indicator paints candlesticks, which are beyond the i-AnyRangeCldTail channel. Candlesticks outside the channel limits are marked with color according to the trend.

The trading system based on XRSI_Histogram_Vol_Direct indicator signals

Dual Ulcer index

SSL_NRTR indicator with the timeframe selection option available in input parameters

Aroon Filter indicator

FanCCI Avg indicator

MAMy v.3 indicator-based EA

The indicator paints candles going beyond the Hans_Indicator_x22_Cloud channel expansion.

Indicator EMA HLC Envelope

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

The indicator paints a candle in color corresponding to its direction once per day at a specified time

The XFisher_org_v1_Vol indicator with the possibility to change the indicator timeframe using input parameters

The Heiken_Ashi_Smoothed_VolatilityStep_Alerts indicator with the ability to change the indicator timeframe using input parameters

Indicator ColorPEMA_Digit_Trend_x10 displays the directions of the ColorPEMA_Digit indicator signals from ten different timeframes from the bar specified in the indicator inputs

1...119120121122123124125126127128129130131132133...182