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 - 68


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

PowerTrend V.2

a practice ea, create a horizontal line above the close to buy , below to sell. after position opened. create a new horizontal line to modify the stop loss and take profit. create a vertical line to close the position.

Fractally adaptive Simple MA, as the first FRAMA but modified to get the fractal dimension from FGDI, and possibility to shift the MA

This indicator for draw an Arrows for buy & sell, it's Depends on ADX Indicator

This indicator for draw an Arrows for buy & sell , it's Depends on SSL channel chart Indicator

This indicator for draw an Arrows for buy & sell , it's Depends on 2 Moving Averages

To show the difference between (the High and Low) or between (the opening and closing) by choosing

A useful well behaved stand alone chart tool for traders, and a practical demonstration and application of principles used in the iMAX3 indicator previously submitted.

to show the proportion of filled candle

A hybrid indicator where three selectable phase shifted filtered signals can be used, either indivually, or collectively to detect price trends.

This indicator for draw an Arrows for buy & sell, it's Depends on RSI Indicator

This indicator for draw an Arrows for buy & sell, it's Depends on Cross 3 Moving Averages

A rework of a script by iliko, with the addition of the standard deviation of the estimator of the box-counting dimension

This indicator for draw an Arrows for buy & sell , it's Depends on T3 Indicator

This is stochasticzation of Chaikin's Volatility

Scripts deletes all objects from the diagram.

This indicator uses a combination of Bollinger Bands and Keltner Channels to capture moves from low to high volatility.

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 ....

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

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.


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.