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

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.

latest|best

Displays open position: Profit or Loss + Lots Long or Short + Pips or Points

Expert advisor based on Bollinger bands and Rsi. Modified trailing stop system.

The new idea of the classical Bears Bulls Indicator.

EA based on MAC-Fibo trading strategy

This is classic implementation of the Turtle Trading system, with clear entry/exits signals within the same trend and enter/exit alerts. It should be used together with my other indicator, The Turtle Trading Channel to get further entry signals if you h

A set of scripts to install and work with Gann fan. Custom fan has correct angles and is scale insensitive.

A trend following indicator that implements Dennis Gartman and Bill Eckhart trading system. Commonly known as "The Turtle Trader".

Draws a Vertical Line at Session Open - Eurozone/London - USA - Asia.

Another suggested way to track Heiken Ashi candles and trading short-term price swings

A Line order EA capable of changing stop losses, take profits, trailing stops and lots.

A simple robot to trade AUDUSD D1 chart only when MACD crosses.

Indicator based on MACFibo trading strategy

EA based on macd signal and ema cross

3 TF Zigag Level with same settings.

Choosing between Heiken Ashi bars and candlesticks is a problem and measuring when the short term trend is losing strengh is another one. This indicator solves both.

Multi Time Frame Standard Deviation

Automatically sets a pre set take profit and stop loss for you.

Modification of the first version of the grid EA.

Draws an ATR envelope surrounding price action and assists you in setting proper stoploss and takeprofit levels.

An improved version of the standard Moving Average indicator, now on the hourly timeframe, you can see moving averages of higher timeframes.

Scripts of pending, market orders, placing and removing stops.

The indicator shows spread-related values (spread, Bid + spread, Ask + spread, Ask + Bid + spread).

This indicator points possible price reversals using 5bar and 7bar fractals.

The script (in the absence of communication) rescans the server, will make paging history, emulates the ticks for the indicators and experts.

Hamyar indicator, the complete package (pivots,zones,panel,tp's...)

Review the results of the work of your strategy (in history) by the hour.

The EA without indicators with increasing lot size.

Very fast zigzag. No suspended peaks. No wrong peaks. Designed for use in EA. Optimized peaks retrieval

Three main pivot points : Daily - Weekly - Monthly.

This is a script to view a myfxbook's CSV statements file in MT4.

Do you want to know how the Spread on your Broker fluctuates? I developed 2 small indicators which will allow you to see hot the spread is performing real time and for the last few minutes or whichever you can thing your platform can hold.

The Martingale with Envelope indicator.

Uses candlestick signals to trade.

Account Balance, Equity, Margin, Free Margin + Account Profit: position anywhere on chart - hide any item - enhanced user preference options.

TheGreedyPig Average Daily Range Indicator calculates 5, 10, 20 days and shows them on the chart. I found this on a Forum, updated, modified the Indicator I found.

Martingale syste, trades are random.

This indicator shows signals triggered using Fractals and the original ZigZag indicator. Signals are never -ever- repainted and is an useful tool to study the real behavior of the ZigZag indicator.

This indicator shows signals from two different Zigzags without repainting, and allows you to study the real behaviour of the zigzag indicator as a trading tool over time.

The support and resistance levels are determined. It provides the values for TP and SL.

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

1...272829303132333435363738394041...85