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

Submit your code
latest | best

Run your Profit Long or Short

Indicator BobokusFibo. The modified version of indicator SpudFibo.

Buffer-free indicator implemented on iCanvas

Simple coding/decoding of entries in Base64.

This oscillator is based on Ehlers' Two Pole Super Smoother, converted as an oscillator, and smoothed using Ehlers' Instantaneous trendline.

This script is based on the 4th dimension of the Bill Williams chaos trading system. The advancement is that this script takes advantage of the Heiken Ashi candles.

Visualization of 3 previous daily bars with alarm.

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

This indicator is based on the Money Management approach used by VP from It uses ATR to calculate Stop Loss, Take Profit and Volume you should enter into a trade based on the percentage of your Equity you want to risk.

Indicator Waddah_Attar_Explosion is very powerful. It alerts you to buy , sell , exit buy and exit sell.

Hull moving average (non-repainting version)

The indicator shows in the chart the current time in different time zones.

Trading and analysis dashboard which usually provides great trading opportunities during daytime.

Scripts to Close Orders under various conditions

MM Lines are drawn where support and resistance is.

Description of the FXT file header, functions of reading and writing of the header.

It is designed to create a non-standard symbol period based on the use of the standard period.

My version of plotting the DeMark lines, also draws channels in addition to the trend lines and targets. Added one more target (the third one defined as 1.62 of the inner extremum), added the signal cancellation when closing within the channel.

This is a "conceptual" script that uses the WinINet functions to load a HTTP page directly from mql4, without a C++ dll

Automatic marking of the chart by the time and the timer.

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.

Hull moving average (ema based)

This set of scripts has been designed to scale-in your trades as price action runs in your favor. This will maximize profits due to proper pyramiding, decrease the impact of unprofitable trading decisions and in general, make your life easier.

Guide 'how to' make different expert adviser license protections

Rapid Application Development library.

Function library and Experts for trailing (11 types). Simple usage of complex algorithms.

Use this script to make own nonstandard timeframes.

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

The indicator of divergences on 30 oscillators of choice.

Indicator displays the value of defined stop loss and or take profit in the deposit currency.

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

The indicator displays the equity and balance charts.

The history_data_analysis_v3 script checks the history for missing bars, determines the size of the holes, gaps and makes a list of them.

The indicator allows to control the Strategy Tester speed.

This Script creats HTML Report To Your Current Chart. It contains a usefull information. Try it.

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

Taking a Closer Look at the Workings of the ZigZag Indicator.

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

Intra-[Month,Week,Day,H4,H1 ...] Fibonacci. (Maybe) the most useful Fibonacci tool.

Probably the best Awesome Oscillator (AO) available with zero line crossover and signal line alerts.