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

Submit your code

Semaphore arrow signal indicator based on the classic Williams’ Percent Range oscillator leaving the overbought and oversold areas, which features alerts, sending emails and push-notifications to mobile devices.

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

Instance of the class returns such values as Bid, Ask, High, Low, Close and Open prices of the current candle or any other specified in the parameters, as well as the candle opening time.

A simple trend indicator based on the smoothed Average Directional Movement Index.

The indicator shows the "Evening Star" pattern.

An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList.

The indicator shows a text block with the values ​​of the user defined WRP oscillator period for each timeframe.

This version is doing the calculation in the same way as the original Stochastic Momentum Index, except in one very important part: instead of using EMA (Exponential Moving Average) for calculation, it is using T3. That produces a smoother result without adding any lag.

An indicator of dynamic support/resistance levels.

An indicator of daily levels.

Trend_Percentage - the ratio of bulls and bears.

The Composite Index was developed to solve the divergence failure problem in the RSI, but its ability to provide specific horizontal levels of support within the indicator adds to its value. The Composite Index takes the normalized formula of RSI and removes the normalization range restrictions. The formula for the Composite Index uses an embedded momentum calculation with a short-term RSI smoothed.

Ultra Trend indicator made as multi timeframe.

The EA opens positions at crossing fast iMA and slow iMA (Moving Average, MA). It has the function of outstaying the losses. It catches the type of the position in OnTradeTransaction.

Indicator SilverTrend_x10 shows the color of the SilverTrend indicator candlesticks from ten different timeframes from the bar defined in the indicator input parameters.

Rex

The indicator of probable market reversal based on the true bar value (True Value of Bar).

Two independent trading systems using indicators SilverTrend_V2 and ColorJFatl_Digit within one EA, with an option of changing the size of the future trade depending on the results of the previous ones for this trading system.

Anchored Momentum indicator by Rudy Stefenel was first proposed in the "Technical analysis of Stocks and Commodities" magazine in 1998.

MultiWajdyss_Ichimoku_x10 shows information on the current trends, using the colors of the Wajdyss_Ichimoku_Candle indicator from ten different timeframes.

Damiani Volatmeter - trend/flat determining algorithm.

Trix oscillator indicator

The trading system based on SSL_NRTR indicator signals with the possibility to set a fixed position holding time

Rahul Mohindar oscillator

Alb average

Decycler Oscillator indicator

MA with filter

The indicator shows information on the current trends, using the colors of the JMACandleTrend indicator from ten different timeframes

Deviation from MA oscillator indicator

Indicator HLCrossSigForRSI with the possibility of changing its timeframe in its input parameters

The OHLC Volume indicator

Range weighted average - average that uuse the current volatility for weighted average calculation

The Tymen STARC Bands indicator

The Stalin indicator in the form of NRTR.

Chande's DMI - std adaptive with floating levels

This indicator uses the open price for the day, and computes the percent change for that day. Use on any chart TF up to and including D1.

Modeling multiple inheritance with the Twin pattern.

The function takes two arrays of integers as parameters: "allowedPeriods" and "periodsToCheck". "allowedPeriods" is an array containing all the time periods allowed by the system, while "periodsToCheck" is an array containing the time periods used by the user in the indicator. The function iterates through the elements of the "periodsToCheck" array and checks if each of them is present in the "allowedPeriods" array. If it finds any time period that is not allowed, the function returns "false". If all time periods are allowed, the function returns "true". In short, this function is used to make sure that the time periods used in an indicator are valid and allowed by the system.

Stochastic CG Oscillator is a stochastic oscillator, the values of which are calculated based not on a price series, but on CG Oscillator indicator values.

The typical normalized oscillator varying within the range -100 to +100 and provided with a signal line.

Vertical time grid with three hours step.

1...123124125126127128129130131132133134135136137...183