Watch how to download trading robots for free
Find us on Telegram!
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 - 68

icon

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.

Submit your code

The indicator of price levels fractals.

Trade at levels МА.

%BB is indicator comes from Bollinger Bands.

This indicator is used to show the trend of the 30 min charts. You can then apply your Long Strategy when the market is UP and Short Strategy when the market is DOWN.

This tool combines the original Bands with Bollinger Bandwidth and removes the extra window for Bollinger Bandwidth. Instead Bandwidth is now a value in the comment in the top left corner. This makes more efficient use of the chart space and still allow

An investigation of the Bollinger band has shown that when the bandwidth (distance between the top and bottom bands) is below 4, the market is compressed and about to break out. When the bandwidth reaches 11, there is a strong wave for scalp trading. Be

Basic indicator that displays the strength of a move, based either on either moving averages, MACD, or stochastics.

It's version 2 of Customized Buy and sell v1 .... http://codebase.mql4.com/4901

Trade machine for manual trading with automatic risk management and "SuperTrainer" mode

For all they need some "play" for visualing the USDx. Use for testing only, not finished and free of errors yet.

This indicator shows the moving average (simple or exponential) of the Standard Deviation.

This indicator gives you Buy or Sell signal.

100% ready for trading strategy integration

Trading Robot

Code sample

GLFX is a automated trading system. It is open for customatization and quite easy to implement own strategy into this system.

The EA uses for primary signal the Heiken Smoothed indicator. The Alligators Jaw MA follows as a trend stop indicator.

2 SCRIPS TO AUTOMATE OPENING MULTIPLE POSITIONS SIMULTAINIOUSLY

This indicator paints Point & Figure chart.

Cut Off All trade , But keep the queue Trade

some people worked as ib , they used to need to calclute total trade lotes. here it is.

This is a Simple Moving Average (contrary to Ehlers FRAMA that starts from an EMA), smoothed using findings from the fractal analysis of the on-going price changes.

Uses several indicators and candle patterns plus assesses trending or ranging market

The Expert waits the price to have a strong fluctuation of x pips in y minutes and then it opens a reverse position with a grid of limits position to reinforce it.

RSI with MA and Label value/phase indicator

Trading Robot

This indicator uses five different indicators from 6 different timeframes to give a signal.

This indicator shows some Support/Resistance lines. The number of lines is variable (max 6). The more support lines are, the stronger "bull" will be expected. It also displays entry signals.These signals may be often disappointing, but sometimes good.

Display risk/reward ratio in the chart (UPDATED)

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.

This code of Parabolic SAR doesn't make the errors when working together with the same second indicator located on the same chart.

The indicator of peak price values.

The divergences of the Stochastic, the continuation of the divergences topic.

BO

Oscillator.

The digital filter of the price.

The indicator of 2 МАs of different currency pairs in one window.

The trend indicator RAVI (Range Action Verification Index) invented by T. Chand.

It shows the levels: SPREAD and STOPLEVEL - the minimum allowed levels of the StopLoss/TakeProfit in points. It informs if these values are changed.

A signal indicator based on the signal from AO and AC - the changing of the hystogram color.

1...616263646566676869707172737475...101