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

Submit your code

The US dollar index against a basket of basic currencies.

CC

John Ehlers Cyclic Component Indicator.

A trading system based on the KWAN_RDP indicator signals.

Exponential moving average with a variable smoothing factor.

Moving averages on charts M5, M15, H1 are analyzed. The presence of the iMA (Moving Average, MA) "fan" is checked simultaneously on all three charts (M5, M15, and H1).

Trend Envelopes indicator made as histogram.

BB Stops using RSI for stops calculation.

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

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

The trading system based on the Wajdyss_Ichimoku_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

WMA

The Wilder's Smoothing Average (WMA) indicator.

The Delta Oscillator indicator displays the difference in the Delta indicator lines as a histogram.

Step VHF adaptive VMA

This is a utility for beginning indicator programmers, or others, that want to have a look at values provided by OnCalculate and a few other functions. The indicator shows: 1) The most recent value provided with the most recent OnCalculate call. 2) The previous value from the previous OnCalculate call. 3) The first value from the first time onCalculate executed.

Smoothed Williams percent range

Trend indicator similar to Ichimoku Kinko Hyo, with a number of drawing options and calculation parameters.

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

Fractals - adjustable period and prices for MT5

Six bulls or six bear continuous candles

A wick engulf candlestick pattern

Counter attack candlestick pattern

Price increase Indicator

Rsi Ea using RSI signals with ATR volatility-based stops, automatic position sizing, scale-out feature, and trading session filter

The Momentum Technical Indicator measures the amount that a security’s price has changed over a given time period.

Here is a simple example that shows how to download page(file) from Internet using the library wininet.dll.

Stochastic indicator, can be applied to any timeframe (higher or lower than the current chart's timeframe).

This class provides methods for working with Windows *.ini files.

The library contains the following hash functions: adler32, CRC-32, MaHash8v64. Also it has functions for radix conversion of a number.

The script contains a class, that can be used to solve mathematical and logical expressions, defined as string.

Trade signals based on "Hammer/Hanging Man" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Fast Trend Line Momentum (FTLM) and Slow Trend Line Momentum SLTM) indicators show the rate of price change.

More informative Average Directional Index (ADX) indicator with the possibility to select the smoothing algorithm out of ten possible variants.

The indicator shows the average percentage value of the last candlesticks overlap. It is useful for those, who enters the market manually using limit orders during price consolidation, as it allows to select order direction. Blue line - recommended BUY-LIMIT, red one - SELL-LIMIT.

The indicator building Stop Loss levels lines according to BrainTrend1 trading system data with preliminary price timeseries smoothing.

Typical unnormalized oscillator displayed as a color histogram.

Curvelinear redrawing channel.

Trading signals module for MQL5 Wizard. WPRSIsignal indicator's color arrow serves as a market entry signal.

The indicator displays the charts of two symbols in one window.

Fast Trading Panel - the panel for fast trading

Delta ZigZag defines the reversal on a minimal height of the swing and also identifies trend on breakthrough of local minimum/maximum levels and colors zigzag sections in current trend color

1...151617181920212223242526272829...194