A commonly suggested moving-average trading rule is to buy a stock when its price moves above the

Question:

A commonly suggested moving-average trading rule is to buy a stock when its price moves above the average of the last B months and to sell it when its price moves below the average of the last S months. In Chapter 12, I showed that for B = S = 15, this trading rule outperformed the Standard & Poor’s 500 by a substantial amount. By combining a two-way data table with the OFFSET function, determine the values of B and S that maximize trading profit (excluding transactions costs). You’ll find data for this problem in the file named Matradingrule.xlsx.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: