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

To post a new code, please log in or register

The indicator finds and draws linear channels using all timeframes from M1 minute to MN.

This indicator is a modification of classical Awesome indicator. It computes the smoothed rate of change of two exponential means.

Automated volume calculation for the preset risk factor, and order(s) opening.

Percentage Price Oscillator displays more precise signals of divergences between prices and the value of the oscillator. It also emphasizes price extremums more precisely, it moves faster.

An effective trade system, it determines the levels of support/resistance, rollback, trend reverse by a complex mathematical algorithm.

The indicator which draws a structure of the market.

Indicator Rsx

The indicator shows the beginnings and the ends of three trading sessions: Asian, European, and American.

This indicator will Draw Fibonacci Tools such as Retracement, Arc, Fan, Expansion, Time Zones. Based on ZigZag indicator.

The indicator displays the equity and balance charts.

A library of classes for creating a user-friendly interface of your programs.

The library contains the function that monitors the appearance of the trading events in the MT4 client terrminal.

This is a Class for the new MQL4 that parses JSON. It requires the Hash.mqh class.

Two modified COG indicators. Center of Gravity on Stochastic in sub window and enhanced On Chart COG.

Library for virtual trading.

It calculates and shows Stop Loss levels (for Buy and Sell positions) using the method described by Bill Williams in his book "Trading Chaos". A new feature has added: now all it can be analysed in history.

Modify - script choosing first in list buy or sell order, printing selected order data, modifying order and printing order data after modification.

For those who prefer "slope trading" or other variants that imply using 3 screens. To avoid numerous screens, set up SlopeDirection MTF on a higher timeframe as you desire.

Simple coding/decoding of entries in Base64.

This indicator will detect divergence between the price and OsMA indicator. It will give buy or sell signal according to the type of divergence that was detected.

The indicator displays the series of waves, breakthrough points and targets for Take Profit.

Modified version of FF Calendar Indicator with new features.

The script draws on the chart the curve of the Polynomial regression with the channel of the mean square deviation.

This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.

The indicator showing the supply and demand zones.

Ichimoku Kinko Hyo indicator is predefined to characterize the market trend, Support and Resistance Levels, and to generate signals of buying and selling.

Extrapolator is a result of my long-term research in the area of the Timeseries Forecasting.

With this indicator you can follow the evolution of account profit.

It draws a channel with recommendations.

Easy example working with object: object creation, modification properties, redraw chart.

The program-simulator for sharpening strategy, run of indicators and trainings of trading skills in general.

The library contains the functions that ease the writing of EAs.

This library was created for testing the portfolio of expert advisors.

The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL4 language and functions.

ALGLIB math function library (v. 3.5.0) ported to MQL4.

Simple one click trade panel, typically useful for scalpers and day traders.

Rapid Application Development library.

Tipu Renko Live is a modified version of Renko Charts that can be plotted on a normal time frame.

The indicator draws the charts of equity and balance by the data of account's history, it uses the current opened positions for updating the charts in the real time mode as well.

The indicator of divergences on 30 oscillators of choice.