Simple Moving Average Filter | Trading Strategy (Entry & Exit)
I. Trading Strategy
Source: Kaufman, P. J. (2013). Trading Systems and Methods. New Jersey: John Wiley & Sons, Inc. Concept: Trend following trading strategy based on Simple Moving Average (SMA) filters. Research Goal: To benchmark the Simple Moving Average (SMA) against the Hull Moving Average (HMA). Specification: Table 1. Results: Figure 1-2. Trade Filter: Long Trades: Fast_SMA[i − 1] > Slow_SMA[i − 1]. Short Trades: Fast_SMA[i − 1] < Slow_SMA[i − 1]. Index: i ~ Current Bar. Portfolio: 42 futures markets from four major market sectors (commodities, currencies, interest rates, and equity indexes). Data: 36 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.
Slow_SMA(Close, Slow_SMA_Length) is a “slow” simple moving average of the close price over a period of Slow_SMA_Length. Fast_SMA(Close, Fast_SMA_Length) is a “fast” simple moving average of the close price over a period of Fast_SMA_Length. Fast_SMA_Length = Fast_SMA_Index × Slow_SMA_Length.
Long Signal: Fast_SMA[i − 1] > Slow_SMA[i − 1]. Index: i ~ Current Bar. Short Signal: Fast_SMA[i − 1] < Slow_SMA[i − 1]. Index: i ~ Current Bar. Mode: The 2-phase reversal system (long/short).
Long Trades: A buy at the open is placed after a Long Signal. Short Trades: A sell at the open is placed after a Short Signal.
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].
V. Rating: Simple Moving Average (SMA) Filter | Trading Strategy
(i) The Simple Moving Average (SMA) is less robust than the Hull Moving Average (HMA); (ii) Based on the above sensitivity tests, preferred SMA parameters are: 100 ≤ Slow_SMA_Length ≤ 600; 0.2 ≤ Fast_SMA_Index ≤ 0.5 (Figure 1-2).
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.