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

MQL4 Source Code Library for MetaTrader 4 - 54

The largest library features codes of free trading Expert Advisors, technical indicators and scripts. With the available applications you can trade in automated mode and analyze price dynamics. Use the library of codes to learn more about financial market sentiments.

Download free applications, test them and run in your MetaTrader 4. You can access them from the MetaTrader 4 platform and the MetaEditor development environment.

To post a new code, please log in or register
latest|best

It is calculated as the moving average of the values of the internal bars strength.

The UploadExport script is a universal program tool. It is developed to ease the working of the analyst and the trader with regard to the daily routine actions of wave analysis using the ELWAVE program.

The WKBIBS indicator is a new generation oscillator with combined functions of two indicators WKB and IBS.

The authors say that this system can trade 24 hours a day producing a stable profit even for a novice trader.

This EA works in hangseng futures.

The «Madlen» lines are similar to the lines of support and resistance of horizontal or trend lines by their application.

You can take the guaranteed 50-60-100 pips if you enter from the flat.

Indicator Indexes_v4. It shows the motion pattern of two or more indexes on a single chart.

An EA by the first dimension of the market.

The indicator draws the dollar index on the chart. The indicator is intended to simplify the charts analysis.

Indicator MultiStrend. It works only with the Supertrend indicator.

This indicator is an adaptation of NONLagDOT. It indicates the direction of the AMA slope without any lag. It works best when use on the 30 minutes charts.

The indicator displays what dominates in a time series: the trend or the flat component or the series acts randomly.

Simple EA to Close Orders

Scripts to Close Orders under various conditions

My first EA.

The indicator that shows the direction of the trend on all timeframes in one window of the chart.

The EA for H4, it's shooted in for GBPUSD. It works with pending orders. It makes decisions by the simple combinations of candlesticks. The feature is the decision is made once in four hours and the SL and TP levels are placed in accordance with the the s

EA with a neuro net (a net with error back propagation). These are the firsts steps. I upload it for the intelligent criticism.

It displays the current time position in relation to the beginning and the end of the bar. In addition the ratio between the time passed since the beginning of the bar and the whole bar duration expressed in percents is given. The informer is useful for c

It is based on the RSI indicator.

Automatic Trading System

Stochastic net for the the classification problems with the instruction provided.

Have audio output of latest price in stereo! Revised to cater for fractional pips as now offered by some brokers to MT4.

Indicator Supertrend. It displays the buying and selling with the colors.

The trading technique that is based on the support/resistance that are determined at the daily opening.

You pick the script and drag it on a chart's point. Then it uses this point to modify all stop/take profit levels of the chart's currency.

Automatic Trading System

This indicator plots in the chart base on the tick price , ie. when the price moves down 10 pips it plots the down candle and wait till the next 10 pips if move up 10 pips it plots the up candle with the other color candle to indicate the up down price

The MUV indicator created by Sator is used.

This version of ZigZag can simultaneously display three zigzags both drawn on the data from the current timeframe and on the data from the larger timeframes.

The script is the calculator of the simple, complex, nominal and continuously charged percents.

Standard OsMA indicator with the indication of the possible trade signals.

An example of automatic running of the script when the timeframe or symbol is changed.

1...474849505152535455565758596061...85