MQL4 Source Codes of Expert Advisors for MetaTrader 4
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.
Small Expert which sends email notification of last opened and closed order.
Expert Advisor which trades breakouts in several pairs during the London Session.
Example of a simple breakout trading robot.
There are a lot of breakout methods, but this is the simplest one as I think.
Please see the attached images to visualize what is the breakout trading...
Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.
Code example of MACD automated with advanced money management function.
The same EA's as previously released. The additional code allows the user to set parameters on RSI and Momentum.
An EA fully based on the Ichimoku Kinko Hyo system.
Template EA that downloads news without the use of DLL.
The Expert Advisor that moves the stop loss to breakeven after reaching certain profit.
The Expert Advisor that performs order trailing after reaching certain profit.
The Expert Advisor is designed for placing managing grids.
Sells at downward crossing of 70, buys at the upward crossing of 30.
The Expert Advisor places pending limit orders at the specified distance from the price and trails them after the price with the specified step, applies martingale.
The Expert Advisor opens positions after the price passes the specified distance. 1 step up - sells, 1 step down - buys.
The SAW_system_1 Expert Advisor places pending orders on the basis of the volatility for the last N days.
An example of creating a trade panel using the MasterWindows library.
After a loss, the EA opens orders with stop levels increased by the coefficient.
Martingale grid EA. The main idea of the EA is not in accurate entries, but in flexible plotting of grids.
This is a great beginners' example of the function OnChartEvent() & creating objects on the chart to access them for some tasks.
Two EA's. One places Stop orders the other places Limit orders.
Renko chart generator using the tick values.
This EA uses different indicators: ADX, Stochatisc, Accelerator... This EA is optimized for USDJPY TF H4, but it can work on others if you optimize it.
Simple way to encode and decode using Base64.
The EA is based on 5 MAs: 10-, 20-, 50-, 100-, 200- period and + ADX (the main line)
Expert Advisor based on the Sidus indicator.
Expert Advisor for trend trading with lot increase
Rebound pipsing within a daily channel
works on the movement continuation with position inversion after closure
It can be used as a standalone EA or as a method of recovery from losses
Excellent trailing expert. I have been using it for a long time - I recommend it!
Simple Expert Advisor that simultaneously opens two positions in different directions, provided that the stop loss of the losing position triggers 5 points earlier than the take profit of the profitable one.
It can be combined with any indicator to get an expert
The Expert Advisor uses a certain candlestick pattern and Stochastic.
This EA considers an example of classifier usage. It can be applied to any other strategy.
I had thought about selling it, but my conscience did not allow that. I had worked on it for more than 2 months.
Good EA, good optimization results. The unfailing EUR/USD pair and H1 timeframe.
The idea has existed for a long time - based on the "Conservative intraday scalping" strategy, but I could not find a suitable indicator in MT4... Integration of the custom indicator to the EA.
New versions of the exp_iCustom Expert Advisor, which works with any Custom indicator, and draws buy/sell arrows.