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

Submit your code

A semaphore signal indicator on the basis of Williams' Percent Range Oscillator. The indicator identifies fast trends.

WPR_Histogram_Vol indicator with additional averaging of the resulting histogram

CCI - double smoothed Wilder's EMA filtered

This library shows useful informations and do a lot of functions to a symbol.

Three Commodity Channel Index indicators from three different timeframes displayed on the same chart.

Indicator ADX_Cross_Hull_Style_NRTR with the timeframe selection option available in input parameters.

Defining the channel width for a previous day.

An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".

This Expert Advisor (EA) is designed for high-frequency trading on the 1-minute (M1) chart in both forex and crypto markets. It uses RSI and candlestick patterns to identify buy and sell signals, automatically executing trades with dynamic stop loss, take profit, and trailing stop levels based on market volatility.

XprofuterDD presents an attempt to predict the future price behavior.

The Exp_ColorZerolagStochs EA is based on the signals generated by the ColorZerolagStochs oscillator.

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

Chaikin_Volatility_Histogram indicator with the timeframe selection option available in the input parameters.

Double breakage of MA8 and MA20 means with stochastic and trix filters, as described by Caco Maia.

ATR adaptive smoothed Laguerre RSI 2 (extended)

ZigZag based on fractals. Due to the use of Fractals indicator, it works much faster than conventional ZigZag indicator.

Indicator Directional Trend Index from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram.

A colored cloud formed by two moving averages with different timeframes.

Volumes Spread mod

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

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones.

Market status indicator with signal lines.

This script opens order with maximal amount of volume available.

One code that works for both Mt4 and Mt5 combined. Salient features of the code: -Filter News by High, Low or Medium Volatility -Filter By currencies -Filter by News Keyword -Auto GMT offset check -Dashboard to show upcoming News (Can be enabled or disabled) -Lines on chart for all Upcoming events -Code can be easily modified to place trade at certain time before or after an event or to just stop trading during events.

Locking positions - opening Buy and Sell simultaneously.

This utility allows monitoring of multiple symbols and positions on one chart with one-click switching of the chart symbol.

The indicator draws three daily rectangles

Ron Black's Swing Line indicator made as histogram indicator.

This indicator calculates the index of a given currency, using the USD index. It is based on indicator SymbolX, but four prices are used for calculations: OHLC instead of just one Close price.

Internal Strength indicator

iSAR indicator (Parabolic SAR, SAR) with filled areas between the indicator and the price. On the right side, a rectangle is drawn equal in size to the fill area

Bears vs Bulls. Bees vs honey. Rock vs drugs.

Standard Stochastic shown as a color histogram.

The indicator displays "squatter" fractals with regard to volumes.

Mogalef bands

Print info about a closed position by its position ticket or identifier.

Building good trading habits by seeing things in terms of percentage not in terms of money.

Signals (Arrow objects) of iCHO indicator (Chaikin Oscillator, CHO) and smoothed iCHO intersections

This indicator provides handles for 2 properties, MA Speed (scaled) & Price-to-MA Distance (%)

ADXm (experiment)

1...181182183184185186187188189190191192193194195