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 Codes of Expert Advisors for MetaTrader 4 - 19

icon

Various applications to automate analysis and trading are available in the 'Expert Advisors' section. It features various applications based on different trading algorithms and provides different degrees of automation. You can find simple EAs and complex trading robots that can fully automate analysis and trading processes.

These applications can be downloaded and run in MetaTrader 4. It is recommended to test and optimize Expert Advisors in the Strategy tester. The Expert Advisors from the library can be accessed from the MetaTrader 4 platform and the MetaEditor development environment.

Submit your code

A tool to auto insert preset Take-Profit and Stop-Loss limits when an order is executed. Specially when doing scalping manually where you need quick setting of stop limits.

Nothing to say, the people of the game more money

Trades news events.

Expert Advisor trading with Local High/Local Low (msl/msh)

You can adjust SL/TP by dragging the lines drawn by the EA.

Stop-Orders are used to enter a position. Pending orders and postions are handled based on a daily system. Risk and money management are included as well as time and dayfilters. The entry logik (STP-value calculation) can be easily changed.

Betting Strategies Simulator

Powered by level equal to a whole cents (1.38 1.39 1.40 etc.)

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.

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

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.

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

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.

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

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.

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

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

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.

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

Random ZigZaG

This Ea operate the best setting on a daily time frame

Opens position when RSI returns from extreme level.

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

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

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

The Expert Adviser uses the indicator OsMA.

A slightly different EA based off daily opening breaks.

Opens and closes orders using parabolic SAR

The adviser uses the indicator Moving Average.

A simple EA that sends e-mail alert whenever there is moving average crossover

1...121314151617181920212223242526...29