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

Submit your code

Channel of 'N' bars at 'Low' and 'High' prices

A series of indicators 'Square' - shows the state of the indicators in the form of lines of squares. Displays two indicators: MACD and Stochactic

Rsi with Hann windowing

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

Two RSI (Relative Strength Index, RSI) lines - 'Fast' and 'Slow'. Filling areas from the window borders to these lines

iVIDYA (Variable Index Dynamic Average) indicator with levels for N bars

Ichimoku is one of the excellent indicator which can work lonely or with other indicators. With Alerting indicator which send notification to your cell phone whenever Tenkan-sen Cross Kijun-sen you can have an opportunity to enter or exit market at right time .

Dynamic pivots - any time frame

Development of the first version. Added parameters 'Maximum number of positions' and 'Minimum step of positions'

The Expert Advisor is a joke: the position is opened randomly. Now there is a Stop Loss, Take Profit and much more

This a library for a quick and easy encryption and decryption using base64. The usage is very simple and can be done in a few lines of code. <<< The return value of a method is the required output. <<< Feel free to use this library at your convenience.If it is helpful, please reward me by rating this item on mql5 site. >>From a developer, for developers.<<

On chart stochastic (like)

Strategy based on the signals of the custom indicator 'RSI_MAonRSI_Dual'

The indicator shows the percentage of the 'Close' price above and below the 'iMA' indicator

Buy Sell on your price, Choose Market order, Pending Limit order or Pending Stop Order

Cumulative candle, taking into account High and Low

MyRsi - by John Ehlers

Slightly improved version of the previous one.

& moving average , two rsi filters.

MyRsi with Noise Elimination Technology - by John Ehlers

The indicator in the subwindow shows a comparison of High and Low prices

iDeMarker (DeMarker, DeM) indicator smoothed with iMA (Moving Average, MA).

A simple indicator plotting a channel with a constant range

Martingale based on custom indicator 'VIDYA N Bars Borders'

An (optional) include file to enhance error code handling experience.

Rates Version of a script https://www.mql5.com/en/code/30791

Standard MA + Hull MA + DEMA + TEMA

The 8 effective steps to build a robust day trading plan using Fibonacci retracement

Limit channels - with states

Just a very simple expert that execute orders from a text file.

Simple EA on 'iVIDyA' indicator

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

SmoothStep (generalized)

Two indicator series ('Two MA Color N Bars' and 'Square') in one code

The Predictive Moving Average was created by John Ehlers (“Rocket Science For Traders”, pg.212″).

An automated trading system with a data panel in form of the OBJ_LABEL objects.

The indicator shows signals ('Arrow' objects) of the 'Moving Average' indicator crossings. The peculiarity of the indicator: if there was an intersection of 'MAs' (on bar #0), and then the intersection disappeared, the signal remains on the chart

iCCI (Commodity Channel Index, CCI) indicator as a colored line

The ZigZagExtremaOnArray is an mqh include file which contains the calculation function of MetaQuotes' Examples ZigZag, BUT you can use it on any buffer that contains curves or histograms, similarly to the MovingAverages.mqh from include. The idea was to get highs and lows of an indicator curve quickly with the help of an "onBuffer" function.

Allows you to determine the occurrence of a new bar event in a multicurrency Expert Advisor

1...172173174175176177178179180181182183