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

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

Get the High Median and Low values of each timeframe, use them all or one at a time, pick a specific one it is up to you and your needs. The family of indicators will be here for your use

Auto updating fib retracer showing zones for range trading/breakouts.

This EA is based on daily highs and lows and the relationship to each other.

Double zero cross level is the signal to open position and/or close.Settings for H4 TF.

This indicator shows the change in percentage between the Close of the current period and the previous one.

Ea optimised on H4 based on low trailing stop

Start balance 10000$, trade on eur/usd ,Daily timeframe, only short

Enjoy this simple Expert Advisor

The High, Median, Low of every timeframe in MT4, 24 lines of varying colors, showing the highs lows and median based on price behaviors.

The Cyclops follows the Cycleidentifier indicator, plus SMA and RSI for filter. It is taking a trade when the indi shows a bold two spike. The filter is suppose to confirm with that but the repaint of the spike seems to make this a Martingale effort.

Check a MetaQuotes Language 4 program for basic syntax errors like unbalanced braces, parentheses, brackets,.sin....

Parabolic SAR for current TF and 3 next TFs with Alert. This indicator made by request of maks741 and with help of Nikolay.

early Range, Break with RSI-Filter, Hedging, TrailingSL/TP with Vola-Filter, DayTrading Start- and Endtime, autoClosing, all Comments and Alerts.

early Range, Break with RSI-Filter, Hedging, TrailingSL/TP with Vola-Filter, DayTrading Start- and Endtime, autoClosing, all Comments and Alerts.

KMSI is short for Kolier Market Sessions Indicator. It can be use to check time periods of market sessions.

Check a MetaQuotes Language 4 program for basic syntax errors like unbalanced braces, parentheses, brackets,.single and double quote, and multi line comment symbol pairs.

The purpose of this indicator is to highlight the price zones that had the most activity : the hottest zones.

simple and successful, multiple functions

Use this Ea with an extreme attention, i got this amazing result searching to optimise setting several days. Work the best on Eur/Usd timeframe M5 long&short

EA for EURUSD, H4

Script closes all opened and pending positions.

TakeAllProfit

Random ZigZaG

This Ea operate the best setting on a daily time frame

Opens position when RSI returns from extreme level.

Draws arrows when RSI returns back from extreme zone

Works with open, high, and low prices of the current day.

Displays the stength of a currency based on 7 of its crosses. Origianally done by Brooky a few pages back in the code base.

Easiest daytrade robot ever - does the same what happened yesterday.

Simple Trend Detector. Use the same as RSI and DeM.

Auto Magic Nr. Calc The Magic Nr. per ASC II Code from Symbols

The purpose of this indicator is to highlight the price zones that had the most activity : the hotest zones.

The Expert Adviser uses the indicator OsMA.

Shows low high from the last bar from other timeframe. Timeframe can be changed

Simple Momentum x 2

This indicator reflects the positive difference between the High and Low of the period.

This is the basic version of the Average Change indicator

Indicator that shows two resistance levels, 2 levels of support and pivot, they calculated the traditional way.

It showed the peak/bottom at rsi14

A slightly different EA based off daily opening breaks.

1...525354555657585960616263646566...102