Developer: Gerald Appel. Source: Appel, G. (2005). Technical Analysis. NJ: Pearson Education, Inc. Concept: Trend following trading strategy based on the MACD (Moving Average Convergence Divergence) signal line. Research Goal: Performance verification of momentum signals. Specification: Table 1. Results: Figure 1-2. Trade Setup: Long Setup: MACD[i] > 0 and MACD[i] > Signal_Line[i]. Short Setup: MACD[i] < 0 and MACD[i] < Signal_Line[i]. 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] > 0 and MACD[i] > Signal_Line[i]. Short Trades: MACD[i] < 0 and MACD[i] < Signal_Line[i]. 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.
MACD Exit: Long Trades: An exit at the open is placed after MACD[i − 1] < Signal_Line[i − 1]; Short Trades: An exit at the open is placed after MACD[i − 1] > Signal_Line[i − 1]; Index: i ~ Current Bar. 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.
A trading strategy based on the MACD line crossing its signal line performs worse than the previous MACD 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.