Expert Advisor based on MACD Signal

Job finished

Execution time 3 days
Feedback from customer
Excellent job, the developer has made every single update required and really fast. 100% recommanded

Specification

I need an Expert Advisor for MetaTrader 4.
 
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
Rating
(1)
Projects
3
33%
Arbitration
0
Overdue
3
100%
Free
2
Developer 2
Rating
(346)
Projects
543
32%
Arbitration
24
67% / 8%
Overdue
15
3%
Free
3
Developer 3
Rating
(21)
Projects
35
54%
Arbitration
8
63% / 38%
Overdue
1
3%
Free
4
Developer 4
Rating
(264)
Projects
538
50%
Arbitration
55
40% / 36%
Overdue
224
42%
Working
5
Developer 5
Rating
(2422)
Projects
3042
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
6
Developer 6
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
7
Developer 7
Rating
(39)
Projects
55
13%
Arbitration
5
20% / 20%
Overdue
6
11%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
2
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(466)
Projects
697
56%
Arbitration
43
30% / 33%
Overdue
113
16%
Working
10
Developer 10
Rating
(36)
Projects
50
28%
Arbitration
2
0% / 100%
Overdue
6
12%
Free
11
Developer 11
Rating
(2077)
Projects
2636
61%
Arbitration
113
45% / 26%
Overdue
418
16%
Working
12
Developer 12
Rating
(20)
Projects
29
55%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(135)
Projects
192
42%
Arbitration
17
29% / 59%
Overdue
28
15%
Free
14
Developer 14
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
Similar orders
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Project information

Budget
50+ USD
VAT (20%): 10 USD
Total: 60 USD
For the developer
45 USD
Deadline
from 1 to 10 day(s)