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

Submit your code

Moving Average: 3-Pole Butterworth Filter. The indicator is based on the code of Witold Wozniak.

The Squize_MA indicator displays the intersection of two Moving Averages with different averaging periods. The chart also features conventional flat limits.

The Expert Advisor Exp_AdaptiveCyberCycle is built on the basis of the Adaptive Cyber Cycle indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

The Expert Advisor based on signal entry taken from the AroonSignal signal indicator

The Exp_2MoHLC based on the signals taken from the 2MoHLC_ indicator

Average True Range indicator replacing the averaging algorithm.

The indicator displaying the level of opening day at any timeframe (less than two hours) with the ability to perform the shift of day start time and consider the presence of Sundays in the chart

Trading system based on the signals taken from the ColorStochNR oscillator

The local extremums breakthrough indicator

The i-MorningRange indicator

A non-normalized oscillator.

One of the indicators of tick volume with multiple EMAs by William Blau.

Four semaphore signal indicators based on MFI oscillators with different periods on one price chart.

Three MFI (Money Flow Index) oscillators with three different timeframes on one chart.

The indicator is drawn as a colored cloud between the lines of a fast digital filter and the price.

A trading system that uses the DynamicRS_C indicator.

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

The Exp_BvsB Expert Advisor is based on the signals of the trend indicator BvsB.

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.

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

The ColorXMACD indicator implemented as a sequence of candlesticks.

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

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.

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).

An indicator of StopLoss levels.

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.

1...129130131132133134135136137138139140141142143...189