Job finished
Specification
Hello! I need 2 expert advisors coded for the mt4 platform.
The specifications of the 2 EAs are as follows
Entry strategies:
§ EA 1: Same as the MACD Sample which is included in the standard pack of the MetaTrader 4 terminal.
§ Long (BUY) entry – MACD indicator is below zero, goes upwards and is crossed by the Signal Line going downwards.
§ Short (SELL) entry – MACD indicator is above zero, goes downwards and is crossed by the Signal Line going upwards.
User will be able to set the lots, MACDOpenLevel, MACDCloseLevel, MATrendPeriod.
For specifications, see https://www.mql5.com/en/articles/1510
EA2: Based on the MACD histogram. Enter after the histogram crosses the zero line. Buy when the histogram crosses from below the zero line to above the zero line (negative bar followed by a positive bar); sell when the histogram crosses from above the zero line to below the zero line (positive bar followed by a negative bar).
In both EAs, the user will be able to set the following:
In the “common” area, user can decide whether to enter long and/or short positions.
User will be able to determine the lot size and maximum slippage of a trade.
User can set the value of fast, slow, signal period of MACD and whether to use simple or exponential moving average for each of the three moving averages.
User will be able to set the time of day during which the EAs open trades. The time can be intraday (e.g. 06:25 to 18:45) or overnight (e.g.17:36 to 06:37).
The user can determine whether to open more trades by the EAs when the previous trade is still open.
Exit strategy:
Both EAs use the same exit strategy.
There will be three take-profit levels and a stop loss which is movable. User can set the percentage of the trade closed on each take-profit level (0 to 100). Upon the first partial take-profit the stop loss could be moved(optional) to a fixed number set by the user and at the second partial take-profit the stop loss could be moved(optional) again to a fixed number set by the user. The numbers set by the user can be both negative and positive.
The exit strategy of the original “MACD Sample” included in the standard pack of mt4 terminal will be deactivated.
I need mq4 and ex4 files for both EAs. The EAs will be able to work in the market as well as in the strategy tester. They will be able to work in any time frame.