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

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

This Expert Advisor will count all the pending orders for the chart it has been placed on.

Displays on the chart peaks of tick volume at exact time points

Now with added options and features. pSAR Alert plays a sound whenever a first parabolic SAR signal appears.

Now with more options. Opens and closes orders on first parabolic SAR signals.

If you have a strategy to trade with it, You can use this EA and set Your Parameters And trade with this expert

An antimartingale which tries to maximise the gain/risk ratio. I have a 5 digits account, let me know if you have any problem with this.

This system use many methods to trade , you can trade about 52 different strategies,

EA based on the maximum and minimum price values of the previous trading day.

An expert advisor designed to alert you when every first parabolic SAR dot in a sequence appears.

An expert advisor designed to open and close orders at every first parabolic SAR signal i.e. when sequence shifts from below the price to above and vice.

alerts the user if the macd is above 0.0006 on 5m or below -0.0006 on 5m

A trading system based on the Vortex Oscillator.

A trading system based on the Trading Idea presented in the article "The Vortex Indicator" published in the January 2010 issue of Technical Analysis of Stocks & Commodities.

The Renko chart has been created by the Japanese Traders. The main feature of the Renko Charts is that it doesn't use the time and volume.

Use on 1M charts. Manually choose Only Long, Only Short or Short and Long depending on market direction. Close open orders moving in the opposite direction.

Program for logging of non-market quotations from brokerage companies with MetaTrader platform. ADDED: Added ability to run your own script automatically in case of non-market quotations have place.

Many people asks to post a simple expert advisor. Here is it.

It works without losses. It uses the market inefficiency for the arbitrage.

The strategy is based on breakthrough of the maximum and minimum price values of the previous trading day.

It opens and closes positions using the crossing of the movable lines.

It shows a brief information about all of the positions opened. It can be useful, if yours expert advisor trades many positions simultaneously.

The trading strategy presented here is based on breakthrough strategy using FOREX time sessions characteristics.

expert can make 10000usd monthly or may be less but it always profitable

It looks for the strongest and for the weakest currency pairs using Cluster analysis

This expert advisor uses an only one МА(55) PRICE_MEDIAN !!!

EA based on MACD and STOCH. It will be helpful, if you test this EA with other currencies and report me, thx.

An Expert Advisor uses the Candlestick Models for trading: Blending Candlesticks (Engulfing) and Hammer(inverted Hammer)/Shooting Star models

Alfa Release English

A EURGBP/GBPUSD non-scalper robot

The multicurrency expert, which uses the "Stairs" strategy

This EA will use the deposit currency as Stop Loss and Take Profit for each trade, once profit or loss has been reached it will close the entire trade.

Pending orders ADDED. This program is created for training on historical data.

The adviser on the indicator ZigZag.

Using only ADX, this ea can make money, work better on M30

If you have placed order and suddenly have to leave: don't panic! This EA will set initial Stop Loss, and after your position will reach settable profit threshold, it will start to apply proportional Trailing Stop.

Program for logging of non-market quotations from brokerage companies with MetaTrader platform.

The program-simulator v.2 for perfecting strategy, testing of indicators and trainings of trading skills.

This EA can help users to manage opened orders. It takes line objects and indicator curves as tp and sl. When the price reaching them, it will close the orders.

1...131415161718192021222324252627...29