I need an EA based on MACD histograms across multiple timeframes

2020.01.10 Experts

Job finished

Execution time 1 day
Feedback from customer
The developer turned this work around quickly once he started working on it. The delivery was exactly to specification. Very much appreciated.

Specification

I need an Expert Advisor for MetaTrader 5.
 
It needs to be based on MACD histogram signals across multiple timeframes on multiple currency pairs.


General Notes
· MACD histogram = MACD – Signal
· Only one trade is opened at a time for each currency pair.
· Trade signals are only produced at the end of a bar, not “intra-bar”.
· User needs to be able to optimise the Input Parameters (detailed below) using the Strategy Tester.


Opening positions
· Open a long trade when one or a combination of the following signal conditions (to be selected by the user) are met:
o MACD histogram (5min) > 0
o MACD histogram (15min) > 0
o MACD histogram (30min) > 0
o MACD histogram (1hr) > 0
o MACD histogram (4hr) > 0
o MACD histogram (1day) > 0
o MACD histogram (1week) > 0
o MACD histogram (5min) is increasing (ie. current bar is greater than previous bar)
o MACD histogram (15min) is increasing
o MACD histogram (30min) is increasing
o MACD histogram (1hr) is increasing
o MACD histogram (4hr) is increasing
o MACD histogram (1day) is increasing
o MACD histogram (1week) is increasing
· Open a short trade when one or a combination of the following signal conditions (to be selected by the user) are met:
o MACD histogram (5min) < 0
o MACD histogram (15min) < 0
o MACD histogram (30min) < 0
o MACD histogram (1hr) < 0
o MACD histogram (4hr) < 0
o MACD histogram (1day) < 0
o MACD histogram (1week) < 0
o MACD histogram (5min) is decreasing (ie. current bar is less than previous bar)
o MACD histogram (15min) is decreasing
o MACD histogram (30min) is decreasing
o MACD histogram (1hr) is decreasing
o MACD histogram (4hr) is decreasing
o MACD histogram (1day) is decreasing
o MACD histogram (1week) is decreasing


Closing positions
There are three ways a trade can be closed:
· The Signal conditions to close a trade are met (detailed below)
· A “Take Profit” level is hit (user to input level in points)
· A “Stop Loss” level is hit (user to input level in points)
 
· Close a long trade when one or a combination of the following signal conditions (to be selected by the user) are met:
o MACD histogram (5min) < 0
o MACD histogram (15min) < 0
o MACD histogram (30min) < 0
o MACD histogram (1hr) < 0
o MACD histogram (4hr) < 0
o MACD histogram (1day) < 0
o MACD histogram (1week) < 0
o MACD histogram (5min) is decreasing
o MACD histogram (15min) is decreasing
o MACD histogram (30min) is decreasing
o MACD histogram (1hr) is decreasing
o MACD histogram (4hr) is decreasing
o MACD histogram (1day) is decreasing
o MACD histogram (1week) is decreasing
· Close a short trade when one or a combination of the following signal conditions (to be selected by the user) are met:
o MACD histogram (5min) > 0
o MACD histogram (15min) > 0
o MACD histogram (30min) > 0
o MACD histogram (1hr) > 0
o MACD histogram (4hr) > 0
o MACD histogram (1day) > 0
o MACD histogram (1week) > 0
o MACD histogram (5min) is increasing
o MACD histogram (15min) is increasing
o MACD histogram (30min) is increasing
o MACD histogram (1hr) is increasing
o MACD histogram (4hr) is increasing
o MACD histogram (1day) is increasing
o MACD histogram (1week) is increasing


Input Parameters
· Money Management:  If false then trade size is in lots. If true then trade size is based on Risk Percentage.
· Take profit: In points
· Stop loss: In points
· Fast EMA period: 12 (by default)
· Slow EMA period: 26 (by default)
· MACD SMA: 9 (by default)
· Open long trade when MACD histogram (5min) > 0: True or False
· Open long trade when MACD histogram (15min) > 0: True or False
· Open long trade when MACD histogram (30min) > 0: True or False
· Open long trade when MACD histogram (1hr) > 0: True or False
· Open long trade when MACD histogram (4hr) > 0: True or False
· Open long trade when MACD histogram (1day) > 0: True or False
· Open long trade when MACD histogram (1week) > 0: True or False
· Open long trade when MACD histogram (5min) is increasing: True or False
· Open long trade when MACD histogram (15min) is increasing: True or False
· Open long trade when MACD histogram (30min) is increasing: True or False
· Open long trade when MACD histogram (1hr) is increasing: True or False
· Open long trade when MACD histogram (4hr) is increasing: True or False
· Open long trade when MACD histogram (1day) is increasing: True or False
· Open long trade when MACD histogram (1week) is increasing: True or False
· Open short trade when MACD histogram (5min) < 0: True or False
· Open short trade when MACD histogram (15min) < 0: True or False
· Open short trade when MACD histogram (30min) < 0: True or False
· Open short trade when MACD histogram (1hr) < 0: True or False
· Open short trade when MACD histogram (4hr) < 0: True or False
· Open short trade when MACD histogram (1day) < 0: True or False
· Open short trade when MACD histogram (1week) < 0: True or False
· Open short trade when MACD histogram (5min) is decreasing: True or False
· Open short trade when MACD histogram (15min) is decreasing: True or False
· Open short trade when MACD histogram (30min) is decreasing: True or False
· Open short trade when MACD histogram (1hr) is decreasing: True or False
· Open short trade when MACD histogram (4hr) is decreasing: True or False
· Open short trade when MACD histogram (1day) is decreasing: True or False
· Open short trade when MACD histogram (1week) is decreasing: True or False
· Close long trade when MACD histogram (5min) < 0: True or False
· Close long trade when MACD histogram (15min) < 0: True or False
· Close long trade when MACD histogram (30min) < 0: True or False
· Close long trade when MACD histogram (1hr) < 0: True or False
· Close long trade when MACD histogram (4hr) < 0: True or False
· Close long trade when MACD histogram (1day) < 0: True or False
· Close long trade when MACD histogram (1week) < 0: True or False
· Close long trade when MACD histogram (5min) is decreasing: True or False
· Close long trade when MACD histogram (15min) is decreasing: True or False
· Close long trade when MACD histogram (30min) is decreasing: True or False
· Close long trade when MACD histogram (1hr) is decreasing: True or False
· Close long trade when MACD histogram (4hr) is decreasing: True or False
· Close long trade when MACD histogram (1day) is decreasing: True or False
· Close long trade when MACD histogram (1week) is decreasing: True or False
· Close short trade when MACD histogram (5min) > 0: True or False
· Close short trade when MACD histogram (15min) > 0: True or False
· Close short trade when MACD histogram (30min) > 0: True or False
· Close short trade when MACD histogram (1hr) > 0: True or False
· Close short trade when MACD histogram (4hr) > 0: True or False
· Close short trade when MACD histogram (1day) > 0: True or False
· Close short trade when MACD histogram (1week) > 0: True or False
· Close short trade when MACD histogram (5min) is increasing: True or False
· Close short trade when MACD histogram (15min) is increasing: True or False
· Close short trade when MACD histogram (30min) is increasing: True or False
· Close short trade when MACD histogram (1hr) is increasing: True or False
· Close short trade when MACD histogram (4hr) is increasing: True or False
· Close short trade when MACD histogram (1day) is increasing: True or False
· Close short trade when MACD histogram (1week) is increasing: True or False

Responded

1
Developer 1
2020.01.10
Rating
4.9
(708)
Projects
1105
66%
Arbitration
104
30% / 41%
Overdue
248
22%
Busy
2
Developer 2
2020.01.10
Rating
4.92
(157)
Projects
273
27%
Arbitration
37
51% / 16%
Overdue
14
5%
Busy
3
Developer 3
2020.01.10
Rating
4.43
(7)
Projects
11
18%
Arbitration
6
17% / 67%
Overdue
1
9%
Loaded
4
Developer 4
2020.01.10
Rating
4.87
(148)
Projects
274
30%
Arbitration
18
39% / 17%
Overdue
69
25%
Working
5
Developer 5
2020.01.11
Rating
0
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
2020.01.11
Rating
4.95
(191)
Projects
242
42%
Arbitration
8
25% / 13%
Overdue
74
31%
Loaded
7
Developer 7
2020.01.11
Rating
4.95
(59)
Projects
61
31%
Arbitration
2
0% / 100%
Overdue
2
3%
Free
8
Developer 8
2020.01.11
Rating
4.91
(116)
Projects
156
43%
Arbitration
10
40% / 20%
Overdue
5
3%
Busy
9
Developer 9
2020.01.12
Rating
5
(19)
Projects
24
54%
Arbitration
1
100% / 0%
Overdue
10
42%
Working
10
Developer 10
2020.01.14
Rating
4.85
(55)
Projects
121
32%
Arbitration
7
14% / 71%
Overdue
29
24%
Free

Project information

Budget
30+ USD
For the developer
27 USD
Deadlines
to 10 day(s)