Download MetaTrader 5

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

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

Underlyings for this EA are the daily opening (o1), the daily high (h1) and the daily low (l1). The distances from each other in a maximum of 3 steps form the filter base, which is confirmed by the CCI.

Whether you use Fibonacci for visual trading or for automated trading, this Fibonacci will handle it. Works across multiple timeframes and pairs.

Opens orders using moving average crosses.

Opens and closes orders using parabolic SAR signals now with improved features.

an EA , run with a profit this is Error EA in error, so you can correct the EA, But no use EA

The Next Generation of MA Mirror, completed with SignalSMA.

Upgraded version of Slope Direction Line.

Another simple, powerfull and profitable Mirror Indicator.

Based on the idea of pramono72 I wrote an Expert Advisor for it. It may also server as a simple way to write expert advisors using an include file and very few code lines.

Entry BUY after Red Line crossing up the Blue Line and exit before the Red Line crossing down the Blue Line. Opposite position : entry SELL after Red Line crossing down the Blue Line.

Полосы Боллинджера на основе цифровых фильтров

This EA is based on the indicator RSI_MA. EA designed for EURUSD, D1.

This indicator is a combination of a classic RSI and even more classic MA indicators. I hope it will be more stable and with more Profit/Loss Ratio.

EA designed on the idea of the indicator Nik_PSAR_2B (http://codebase.mql4.com/6934). EA works on the Symbol = "EURUSD" and Period = M1.

Optimize trading with a single moving average. This indcator tests each moving average and automatically finds the moving average which fits best to the current market

Indicator MaEnv_02B will be helpful to BUY, SELL or stay out of the market.

Draws a fibonacci study on the visible portion of your chart, and basic downtrend and uptrend lines. Shows the basic price action geometry.

EA works at the "slow" time (OpenHour_1 = 0) - North American Eastern Standard Time. EURUSD, H1

This script gives You information about time left to end of the bar.

Ichimoku indicator based on RSI values that displays in your sub-window.

The script quickly open warrants Market Execution/Instant Execution with a choice lot at risk%

The script can apply the trailing function based on the portfolio profits, i.e. Stop Levels can be set upon reaching the total breakeven level of all the orders in the selected direction.

Retrieve a list of all Symbols/Instruments known to the Server with MarketInfo output to a CSV file

Numeric representation of how many times each price occurred during a given period, Use on a 1 min chart, enter number of hours and minutes you want to look back. Useful in determining actual support and resistance levels.

This EA is based on the strategy "Stop Hunting with the Big Players". It sends BuyStop and SellStop orders at near distance from the round price targets.

This indicator is a spin off of the Doji Reader 2 found in the code base. I have made several changes such as it is now capable of being used in code for coding use, not just as a visual indicator. I also took out several un-needed code that was redunda

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

All-in-one trading tool. Multi-TF Indicator & Expert advisor.

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.

1...333435363738394041424344454647...84