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

Submit your code

A trading system based on ColorJFatl_Digit indicator signals with the possibility to set a fixed position holding time.

Chandes Quick Stick (Qstick)

The Volume Rate of Change indicator (VROC) measures the rate of change in volume over the past "n" sessions. In other words, the VROC measures the current volume by comparing it to the volume "n" periods or sessions ago.

Smoothed Rate of Change (Smoothed-RoC) is a refinement of Rate of Change (RoC) indicator that was developed by Fred G Schutzman. It differs from the RoC in that it based on Exponential Moving Averages (EMAs) rather than on price closes. Like the RoC, Smoothed RoC is a leading Momentum indicator that can be used to determine the strength of a trend by determining if the trend is accelerating or decelerating. The Smoothed RoC does this by comparing the current EMA to value that the EMA was a specified periods ago. The use of EMAs rather than the price close eliminates the erratic tendencies of the RoC.

A simple oscillator, which is based on the values of the iStochastic, iRSI and iMomentum indicators and is implemented as a two-colored histogram.

Example of functions MathCeil, MathRound and MathFloor.

APR

Average Period Range - an indicator of the average daily range.

Elastic Volume Weighted MA

An indicator of StopLoss levels.

The KWAN_CCC indicator with the possibility to change the indicator timeframe in input parameters.

Sherman and Marian McClellan Oscillator.

Two channels by the High and Low of MA.

Four different CCIs combined into a "candles" display of CCI. For smoothing you can use one of the 4 basic types of averages: SMA, EMA, SMMA or LWMA.

Indicator Trend Confirmation Index

Trend-following trading system Exp_ColorX2MA_X2 based on the signals of two indicators ColorX2MA

A utility for closing (reducing the right side of the length) the rectangles.

IMI

Indicator Intraday Momentum Index.

NV

NV (Natenberg's Volatility) - Sheldon Natenberg's historical volatility indicator.

VFO

The VFO (Volume Flow Oscillator) values above zero are bullish and indicate accumulating, while those below zero indicate distributing. Divergences between the price and the indicator values may indicate a forthcoming change in the trend.

CI

Indicator CI (Congestion Identifier). It displays within how many bars before the current one the price was within the channel formed by the Close price of the current bar +/- Delta in points. It also displays the counter value threshold level and the marks, in which the counter is above or below that level.

Indicator Ang_Zad_C_Hist_Candle with the timeframe selection option available in the input parameters

An Expert Advisor for closing all positions, in case of the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

An indicator that colors candlesticks going beyond channel Ozymandias.

WVF Stochastic indicator

ALWMA moving average

Multi T3 Slopes indicator checks slopes of 5 (different period) T3 Moving Averages and adds them up to show overall trend.

Trend Trigger Factor indicator ported to MQL5 from wrongly coded version for MetaTrader 4.

One of the variations of the "Avalanche" strategy. Martingale is used.

The Mirror MA indicator features two mirrored moving averages in a separate chart window calculated based on a difference between two MAs with different calculation data, and one signal line calculated based on a direct moving average data.

Choppy market index - smoothed

Gann high/low activator JMA

Skyscraper_Fix_x10 shows the direction of Skyscraper_Fix indicator signals from ten different timeframes from the bar defined in the indicator input parameters

MACD Flat Trend indicator

Instantaneous trend line - using levels for signals filtering

ATR adaptive Laguerre RSI

Momentum of average with dynamic levels

Directional smoothed momentum (momentum of averages)

An indicator that shows buy and sell signals of three indicators (iSAR, iWPR, and iMA) on nine timeframes with full settings

A redrawing channel, which looks into the future by a certain amount of bars specified in the appropriate input parameter

Center of Gravity - extended version

1...363738394041424344454647484950...183