Developer: Gerald Appel. Source: Appel, G. (2005). Technical Analysis. NJ: Pearson Education, Inc; Star, B., PhD (2016). Zero In On The MACD. Stocks & Commodities, May 2016. Concept: Trend following trading strategy based on the MACD (Moving Average Convergence Divergence) line. Research Goal: Performance verification of momentum signals. Specification: Table 1. Results: Figure 1-2. Trade Setup: Long Setup: MACD[i − 1] > 0. Short Setup: MACD[i − 1] < 0. Index: i ~ Current Bar. Trade Entry: Long Trade Entry: A buy at the open is placed after a long setup. Short Trade Entry: A sell at the open is placed after a short setup. Trade Exit: Table 1. Portfolio: 42 futures markets from four major market sectors (commodities, currencies, interest rates, and equity indexes). Data: 38 years since 1980. Testing Platform: MATLAB®.
II. Sensitivity Test
All 3-D charts are followed by 2-D contour charts for Profit Factor, Sharpe Ratio, Ulcer Performance Index, CAGR, Maximum Drawdown, Percent Profitable Trades, and Avg. Win / Avg. Loss Ratio. The final picture shows sensitivity of Equity Curve.
Long Trades: MACD[i-1] > 0 Short Trades: MACD[i-1] < 0 Index: i ~ Current Bar.
Long Trades: A buy at the open is placed after a bullish Setup. Short Trades: A sell at the open is placed after a bearish Setup.
Stop Loss Exit: ATR(ATR_Length) is the Average True Range over a period of ATR_Length. ATR_Stop is a multiple of ATR(ATR_Length). Long Trades: A sell stop is placed at [Entry − ATR(ATR_Length) * ATR_Stop]. Short Trades: A buy stop is placed at [Entry + ATR(ATR_Length) * ATR_Stop]. Stop Loss Exit is used to normalize risk via position sizing.
(1) MACD represents the difference of the short-term exponential moving average minus the long-term exponential average. (2) When market trends are improving, short-term averages will rise more quickly than long-term averages. MACD lines will turn up. (3) When market trends are losing strength, shorter-term averages will tend to flatten, ultimately falling below longer-term averages if declines continue. MACD lines will fall below 0.
What length moving averages should be employed for MACD? There are no hard and fast rules […]. As a general rule, the longer-term moving average will be two to three times the length of the shorter-term average.
VI. Rating: MACD (Part 1) | Trading Strategy
(a) A trading strategy based on the MACD line crossing its zero line is an average momentum model; (b) The default parameters for the MACD should be avoided (i.e. EMA#1_Look_Back = 12 and EMA#2_Look_Back = 26).
CFTC RULE 4.41: HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER-OR-OVER COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.