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

Submit your code

- This Bot use stratery Breakout of Daily Bar, I tested for 3 Pair currency : GBPUSD, EURUSD, XAUUSD - Default setting is not sure the best, you can test for your parameter. - This is version for MT5 that convert from MT4 - this EA is best for broker low spread

The indicator predicts daily price ranges and draws them as filled rectangles.

The indicator is drawn as a colored cloud between the lines of Kaufman's AMA (Adaptive Moving Average) indicator and the price.

The SilverTrend_CrazyChart is a signal system similar to ASCTrend indicators.

Skyscraper_Fix indicator with the space between the average and NRTR lines filled with color

Bollinger bands - extended

Intra-day Keltner channel

It's a two (2) pairs correlation system to use 3 currencies to make 2 pairs to open hedge orders on those. The expert starts opening four orders for each couple (2 plus and 2 minus) and wait to move prices in one direction to make a grid of orders. For more information, please read the MT4 version of the expert: https://www.mql5.com/en/market/product/34112

The Cyber Cycle: John Ehlers, "Cybernetic Analysis For Stocks And Futures", pg.34

RSI with CCI for confitrmation

this is my first try at creating an EA from ground up - update 4

hybrid sorting algorithm that provides both fast average performance and (asymptotically) optimal worst-case performance

This oscillator can be used as a handle to judge a Moving Average's trend speed, based on this specific product's past trend history.

This expert advisor is based on the alligator indicator and bollinger bands indicator. Currency pair: GBPAUD Time frame: 15min

A colored cloud formed by two Stochastics with different timeframes.

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

Bollinger bands breakout

This is a helper indicator which allows you to adjust vertical scale of a subwindow manually, which is useful for zooming in and zooming out graphs of your favourite indicator placed in the same subwindow.

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.

Indicator Wide/Narrow Spread bar

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.

William Blau True Strength Index.

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.

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.

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.

Parabolic SAR of average

Copy trading has become such a critical feature of forex trading. Some people see this as a potential business opportunity, while for opensource die-hards like me, we believe in giving back to the community rather than putting a price tag on everything 'nice'. So here it comes. A free opensource trade copier, which you are freely allowed to modify and distribute according to MIT license terms. It still has limited features, but the essentials like lot normalization are there. Please note that this copier only works for trading terminals installed on the same machine. Please share back any upgrades, enhancements or bug fixes to the discussion. Enjoy!

This indicator is used to have a sense of and distinguish a product's statistical property: Moving Average Speed

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.

Volumes Spread mod

Chaikin's volatility indicator.

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

1...169170171172173174175176177178179180181182183184