Download MetaTrader 5

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

latest|best

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

Precision trend (histo) - MetaTrader 4

Simple library that allows sending requests via HTTP protocol from new MQL4

This script is used to modify StopLoss and TakeProfit.

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

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

An implementation of a HashMap in MQL4

Connecting to MySQL server from new MQL4.

A simple script to quickly place letter/numbers on the chart for wave labeling (A, B, C or 1, 2, 3, etc)

This indicator will display a symbol watermark on the chart background, showing the timeframe and symbol name in large font.

Drop the script on your chart to send a screenshot to twitpic with or without a message

The indicator allows the trader to understand market relations.

Simple coding/decoding of entries in Base64.

Improved period converter support real-time refreshing, low CPU cost and other features.

The script closes all charts for the specified symbol.

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.

These scripts will record and file a picture of the chart at the time of each trade executed with them.

The digital filter of the price.

On of my books says about moving average, that there is no "magic settings", this indicator tries out a lot of possible combinations between a long and a short moving average.

Murrey_Math_Modified Indicator.

With the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any Expert Advisor.

Modified version of FF Calendar Indicator with new features.

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

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

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

Scripts to modify stop loss in buy or sell opened orders on current chart.

The script shows the conditions of the correct and closest placing of the StopLoss and TakeProfit of the orders.

This indicator shows the % Daily Change of yesterday close with respect to actual price (Bid).

A finer resolution channel made of three bar fractals.

A function for calculation of the area of three objects: a rectangle, ellipse or a triangle.

This script opens a pending buy order by just point and drop the script in the place you want. The script will automatically place a "limit buy order" if you point and drop below actual bid. The script will automatically place a "stop buy order" if you

The indicator is constructed based on 3 gistorgammu stochastics higher order

The standard linear regression channel and support/resistance levels.

Indicator StochCandles. Paints candles on the basis of stochastic.

Indicator MultipleMA.

Indicator ZigZag with levels Fibo.

Optimized variant of the indicator DT_ZZ by klot.

This indicator places semaphore points on the maximum and minimum of a higher, medium and lower period. Similar to Advanced Get, but without waves numeration.

The library contain several functions to get an additional information about the symbols, loaded into the client terminal. ATTENTION: Undocummented solution, it may not work in the other versions of MetaTrader

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384