Watch how to download trading robots for free
Find us on Telegram!
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 - 26

Submit your code

The indicator displays the crossing points of RSI (Relative Strength Index) indicators belonging to various periods.

The indicator creates fractals from another larger timeframe on a current chart based on Fine_Fractals indicator data.

Script to create wide screenshots.

Multicurrency multitimeframe indicator.

Initial library of combinatorics functions.

The class is designed for calculation the technical indicator Efficiency Ratio (Efficiency Ratio, ER)using the algorithm of the ring buffer.

The class is the simplified version of the CArrayRing class: it has a predetermined fixed size of 256 elements, it is faster, and allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

The class is designed for calculation of a technical indicator Money Flow Index (Money Flow Index, MFI) using the algorithm of the ring buffer.

This indicator will plot divergence lines on the MACD indicator and will give buy and sell signal by displaying green and red arrows.

A trading system using the AltrTrend_Signal_v2_2 semaphore signal indicator.

The ZZLevels indicator uses the Simple ZigZag to find the boundaries of the flat, as well as the support and resistance levels.

How many buffers does your indicator use? What's it calculating? Is it efficient? If you want to know what's going on behind the scenes, you'll now be able to.

Night scalper, trades until 0 am terminal time within a narrow range.

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

The Exp_Delta_MFI Expert Advisor is based on the Delta_MFI indicator color change.

GMA

Geometric Moving Average.

MetaCOT 2 CFTC ToolBox Indicators is a set of MetaCOT 2 indicators that provide access to CFTC reports. MetaCOT 2 supports COT, Disaggregated COT, TFF and CIT reports. It allows to draw COT charts straight in the MetaTrader terminal. All indicators are available as source code, and anyone can use them to create their own trading system.

Parabolic SAR that avoids some of the problems of existing PSAR-indicators and calculates the values correctly.

ADXVMA uses a sort of ADX values for determining the weights of average calculation.

The Exp_2pbIdealMA EA is based on the crossing of Moving Averages with position scaling according to the trend.

Ehlers inverse Fisher transform of RSI extended.

The Expert Advisor uses the iStochastic (Stochastic) Oscillator, iWPR (Larry Williams' Percent Range) indicators.

The simplest EA based on the WeightOscillator weighted oscillator.

Two fractal Keltner channels in the form of a cloud.

An implementation of Bollinger Bands width indicator for MetaTrader 5.

The indicator shows the statistical characteristics of bars: the mean value, variance, skewness and kurtosis

The STD indicator with the timeframe selection option available in input parameters

An example of determining the moment when a pending order has triggered.

The XRSXCandleKeltner indicator with the breakout indication option

The Exp_ChandelExitSign_ReOpen trading system based on the signals of the ChandelExitSign indicator with trend following scaling.

The Expert Advisor closes all the current symbol positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

An Expert Advisor based on the "Arrows&Curves" indicator.

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

This version of Heiken Ashi Zone Trade indicator is made to display values in a separate window - that way it will not interfere with the other on-chart indicators and can be easier to read the states in some cases.

The indicator of the lowest tops and the highest bottoms.

Handy functions for comparison, rounding, formatting and debugging of doubles (prices, lots and money).

Fibonacci Pivot points indicator that can draw any number of levels for any of the known timeframes usable by MetaTrader 5.

The EA uses the following indicators: iADX (Average Directional Movement Index, ADX), two iMAs (Moving Average,MA) - one indicator at CLOSE prices and another one at OPEN prices, iOsMA (Moving Average of Oscillator, OsMA).

Trend Envelopes indicator that uses ATR for the price change calculation.

Trend direction and force

1...192021222324252627282930313233...183