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

Submit your code

Extended version of MSROC indicator.

This non-trading Expert Advisor is designed for the simple trailing of take profit orders of open positions.

The TTM (Trade The Markets) Trend is basically an easier way to look at candlesticks. It is the The Heikin-Ashi method. Literally translated Heikin is "average" or "balance,", while Ashi means "foot" or "bar." The TTM trend is a visual technique that eliminates the irregularities from a normal candlestick chart and offers a better picture of trends and consolidations.

This version of Stochastic Oscillator allows you to use any of the 4 basic types of averages (default is SMA, but you can use EMA, SMMA or LWMA too) - some are "faster" then the default version (like EMA and LWMA versions) and SMMA is a bit "slower" but this way you can fine tune the "speed" to signals ratio.

Chaos zone indicator that is a combination of two Bill Williams' indicators: Accelerator Oscillator and Awesome Oscillator.

The McGinley Dynamic indicator was developed by John McGinley and outlined in the Market Technicians Association's "Journal Of Technical Analysis" in 1991. The purpose of this indicator is to address flaws found in conventional moving averages, such as price separation and whipsaws. The result is a remarkable indicator that follows the average price of an instrument while adapting to current market speeds.

Indicator based on Hull Moving Average.

A trading system based on the Donchian Channel indicator.

A variation of linear regression.

Cluster indicator based on article https://www.mql5.com/en/articles/1464

Indicator Choppiness Index

KDJ

KDJ oscillator defines when it is necessary to search for market entry conditions.

Super SAR is a signal indicator based on SuperTrend and iSAR.

ATR-based ZigZag implementation.

Phase change index - JMA

Step chart of stochastic

JMACandle indicator with two colored channels based on standard deviations from High and Low of the indicator candles

Indicator RJTX_Matches_Smoothed in the main chart window

The indicator plots support/resistance levels and areas

Volatility quality - zero line and ATR based

Slope Direction Line / Moving Average confirmation bars indicator

Smoothed Standard Deviation

Ehlers Fisher transform (as originally described in the book)

Displaying the latest closed values of indicator Float_Pivot_Digit with colored rectangles and background filling

Indicator Multi timeframe Dynamic Trend

Indicator Market Session

Indicator Thrust Bar

EMA to SMA MACD - on chart

Bandpass filter

Random number generation using the 32-bit PCG generator.

When the subject changes, it notifies and updates its observers, who know nothing about each other.

Discontinued signal line CCI using average of price for filtering signals

An Expert Advisor, based on the "Puria method" Forex Strategy.

The Stochastic of all oscillator-like indicators, included in MetaTrader 5 client terminal.

Moving Average indicator, can be applied to any timeframe (higher or lower than the current chart's timeframe). Includes: SMA, EMA, SMMA, LWMA, AMA, DEMA, TEMA, FRAMA, and VIDYA

Trade signals based on price crossover of two exponentially smoothed moving averages with intraday filter is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

The example of use of the resources. It creates a button, using the object of OBJ_BITMAP_LABEL type.

It speaks the specified text using the speech engine.

Trend direction indicator BrainTrend1.

A blue candle of BrainTrend1 indicator is a signal to open a long position, a red candle is a signal to open a short position.

1...535455565758596061626364656667...190