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


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

This version of eFibo trader includes additional trend detection signals based on simple indicators (RSI and MA).

Индикатор по стратегии "Вилка Чувашова".

Модифицированный индикатор Fibonacci Pivots. Теперь уровни отображаются на истории и подписаны значения.

The original cluster CC and CCFP indicators by Simeon Semenych and can be found on from and this artical also descripted how to use the cluster indicator. This updated version has features below: 1) the indicator refeshed

Indicator works with "ModeMA=0" - SMA and "ModeMA=1" - EMA.

Script for calculation average daily range for last agoYear-"calendar" years, last agoMonth - calendar months, ......

Pinball machine

Signal indicator based on MACD

this EA Depends on Moving Average Indicator

Working with RSI on Daily chart. Has StopLoss, TakeProffit and trailing stop.

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

This indicator To show the numerical values of RSI (Open , Close , High , Low)


Colorfull T3 MA

MACD (настройки по умолчанию - АО Вильямса) с сигналами импульса от пересечений разнопериодных RSI / направления Стохастика.

Based on RSX multiple timeframes for EURUSD

Heiken Ashi Real

Отображение точек пересечения RSI различных периодов.

The indicator of the visual and sound control of speed and size coming tick.

The astrological indicator. Marks of the zodiac. The current mark.

this is ordersend management expert advisor script.

It shows the speed of the trend on the current, closest larger and the next TF.

Two scripts to automate opening multiple positions simultainiously with SL and TP.

Lighty edited RVI Indicator.If drawing bug please recompile(Make normal drawing). Currently version SRVI@1 and SRVI@2.

easily shows trend or range

Для анализа японских свечей

MACD lines and histogram for the Impulse trading system.

Drag & Drop the script at chart on point where StopLoss should stay. Script will compare desired StopLoss with the current price and determine the type of the order - Buy or Sell. The next step is calculating the volume according Free Margin and the Risk




shows entry price lines. this is based on "inside bar".

The indicator shows candles of the grown-ups TF.

A simple multi currency trader EA based on SMA and LWMA.

using Stochastic m5, m15 and m30

Script for vertical grid lines plotting

Script for horizontal grid lines plotting

Многоранговые фракталы

An indicator that uses a Feed Forward Neural Network to predict the next few open prices. The network is trained using a Backpropagation method. The training is set up automatically, resulting in a self-trained network and a self-learning indicator.

Linear Weighted Fractal Dimension Index (ternd vs notrend filter) plus Step EMA