A Forex Expert Advisor this si a great mechanical trading system written in the MQL-4 programming language and designed to automate trading activities on the MetaTrader 4 platform. Expert Advisors (EA) can be programmed to alert you of a trading opportunity and can also trade your account automatically managing all aspects of trading operations from sending orders directly to your broker’s server to automatically adjusting stop loss, trailing stops and take profit levels.
Expert Advisors for MetaTrader 4 are all unique and different in the rules they follow to enter and exit the market. EA eliminate emotional trading decisions that cripple novice trading accounts, which is good if you are the person who always think in your emotions first, think about it people, this can be for you. They can also eliminate the emotional trading decisions that usually cripple novice Forex trading accounts. Forex Expert Advisors exercise unmatched discipline when trading and can be designed to evaluate more parameters at the same time than any human could keep an eye on at once.
All of the technical indicators that are available in the MT-4 platform can be brought to bear in the logic used by an Expert Advisor in almost any way that one can think of thanks to the MQL-4 programming language. All types of moving averages (simple, exponential, etc.), RSI, CCI, etc. You can also create your own custom indicator and call upon it from an Expert Advisor.
How they work?
The program works by calculating the different indicators that it was designed to use and take actions when the market conditions meet the correct criteria as described in the source code of the Expert Advisor.
For Example. A simple expert advisor may say something like this:
"If the 9 and 20 day moving averages cross with the 9 day MA above the 20 MA and the RSI is higher than 50 then open a long position (buy)"
That is just an example. You can assign countless conditions for entering and exiting the market as well as managing trades for trailing stops and multiple take profit levels.
An MT-4 Expert Advisor is usually divided into three parts: A startup or ‘init’ function, a main function and a ‘deinit’ or cleanup function. The Expert Advisor will run through its startup function once upon startup and will run through its ‘deinit’ or clean-up function once at the end. In the mean time, the MT-4 Expert Advisor program runs through a cycle of its main function over and over with every incoming tick while it is attached to a chart and active. Once running, the Expert Advisor will not start another cycle for a new tick if it is still in the middle of processing the previous one.
Types of EA´s
There are different types of Expert Advisors for the MT4. Here I brought you the common types. This is by no means a comprehensive list. There can be other types of EA based on the creativity of the programmers who make them.
News Expert Advisor - This is a type of hedging EA. The News EA is designed to take advantage of news events and the large price shifts that can occur during financial news releases.
Breakout Expert Advisor - Designed to open a trade when the price breaks through predefined support and resistance levels.
Hedge Expert Advisor - This is any EA that plays two separate and opposing positions and minimizes the loss on one while facilitating maximum profit on the good trade.
Scalper Expert Advisor - This is the type of EA that will get your account canceled or at least heavily restricted by a broker. It aims to secure small profits as soon as they are available.
I know this can be a little confusing for anyone, or for beginners, but let me tell you, there are not beginners with Experts Advisers, you have to know about the market and MT4 so well to install one of them.
This is a picture of my EA in my MT4, so, you can see closer where you can find it.

