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

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

The Expert waits the price to have a strong fluctuation of x pips in y minutes and then it opens a reverse position with a grid of limits position to reinforce it.

Trading Robot

A scalper by parabolic and Fibonacci.

The indicatorless system based on the analysis of 4 previous bars.

EA is setup to use higher time frames for trend identification and lower time frames for entries/exits.

It closes an order by the intersection of two MAs (5 and 7 on default). Read the full description...

A practical EA for the intraday trading from 10:00 till 19:00. It works well on 5M EURUSD. The expected payoff is 40..60 pips per week on the forward testing.

A simple EA. It plays in the opposite direction on the specified difference between Bid and MA. It is considerably risky but it has own advantage.

The EA uses the method of Burg's linear prediction that was taken from my indicator Extrapolator.mq4.

The algorithm of tuning (optimization) by two ranges with the two-level three-stage optimization is used in the EA.

The EA is based on the permanent variation of the direction of the trades depending on the TakeProfit, StopLoss and TrailingStop levels. It demonstrates how to create a profitable trading system without any indicators, mathematical models and other wisdom

You often have to move the pending order every hour in reference to the trend line and it embarasses you concerning your time. That's why this EA (semi-automated) was developed, it totally relieves from tracking the trend line and from moving the pending

We place two pending orders at the specified time and delete one of them when another one triggers.

The authors say that this system can trade 24 hours a day producing a stable profit even for a novice trader.

This EA works in hangseng futures.

You can take the guaranteed 50-60-100 pips if you enter from the flat.

An EA by the first dimension of the market.

Simple EA to Close Orders

My first EA.

The EA for H4, it's shooted in for GBPUSD. It works with pending orders. It makes decisions by the simple combinations of candlesticks. The feature is the decision is made once in four hours and the SL and TP levels are placed in accordance with the the s

EA with a neuro net (a net with error back propagation). These are the firsts steps. I upload it for the intelligent criticism.

It is based on the RSI indicator.

Automatic Trading System

Automatic Trading System

Two orders are placed at the specific time.

We place the pending orders at the support and resistance levels.

A variation on the Neuro nets topic: The trading system based on the interaction of the MACD indicator and a double-layer neuro net.

The EA is based on the "Trend Follower" strategy.

This expert this one based on the indicator MACD. It works very well in the period of 1 hour. In a test(proof) of 36 months it(he,she) has a profit of 935 % (25 monthly %).

Expert Advisor Kijun Sen Robot. It uses the following indicators: Ichimoku, MA, SAR. It is optimized for the following currency pairs: GBPUSD and EURUSD with M30 period. You can view the full description in the code.

Expert Advisor ASC++.

The minimums and maximums of the previous day are used. I'm sorry that I wrote it without comments.

Expert Advisor Based on FXRaider's Trade Strategy by ForTrader.ru.

EA that opens a trade when a candlestick closes out of the specified level on a break through. An update to the graphical treminal. But the help in code further development is necessary.

1...151617181920212223242526272829