Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week! | How To Invest
Search MI
Shrewd'm.com Merry shrewd investors
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week! | How To Invest
Search MI


Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (5) |
Post New
Author: Aussi   😊 😞
Number: of 5822 
Subject: Timing Using Moving Averages
Date: 06/20/26 12:59 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 6
RayVt has mentioned using a different ratio of current price to moving average for the buy and sell rules to reduce whipsaws. Using GTR1, you can code a different buy and sell signal. It is discussed in GTR for Dummies. Search for "sglvne"

GTR1 has psuedo symbols for SPY (S5T) and NAS100 (N1T). I used parametrization to check varying buy and sell signals. There are two parameters, the left column is the buy value, the right column is the sell value. N!T goes back to 1972. S5T goes back to 1925 but I used 1972 as a comparison against N1T.

Using parameters in GTR1, to get the CAGR, GSD and AT (annual turnover). To see the full results, click on the variant number which will take you to a blend page and then click run backtest.

For S5T, Selling at 0.9 and buying at 1 gives CAGR = 11.2%, SAWR=7.4 and MDD -32% Base case is CAGR=11, SAWR=-54% and MDD=-54%

For N1T, selling at 0.89 and buying at 0.95 gives CAGR=14.3%, SAWR=8.4% and MDD=-50. MDD can be reduced to -38% with a reduction in CAGR to 13.4% and SAWR= 7.5% The base for N1T is CAGR=13.6,SAWR=6.2 and MDD -81%

S5T link

https://gtr1.net/2013/?s19721214h1f0.10000::Cash:n...

N1T link

https://gtr1.net/2013/?s19721214h1f0.10000::Cash:n...

Aussi
Print the post


Author: musselmant   😊 😞
Number: of 5822 
Subject: Re: Timing Using Moving Averages
Date: 06/21/26 3:56 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 2
I tested the 3 components of the oft-discussed timing screen some use here and a simpler SPY>325 day SMA worked better than any and all of them (300 to 350 days all was a good range, and SPY beet NDX/QQQ)
Print the post


Author: Aussi   😊 😞
Number: of 5822 
Subject: Re: Timing Using Moving Averages
Date: 06/21/26 5:58 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 1
What were you using as the base asset/screen that you applied the timing (325 sma) factor?

Aussi
Print the post


Author: musselmant   😊 😞
Number: of 5822 
Subject: Re: Timing Using Moving Averages
Date: 06/21/26 8:22 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 3
I used it on many. First on Nasdaq100's top 9-12 months by momentum top 5 and 10 stocks. Shorter time periods whipsawed you too much and S&P was broader than QQQ so better represented the market/economy.
Print the post


Author: rayvt 🐝  😊 😞
Number: of 5822 
Subject: Re: Timing Using Moving Averages
Date: 06/25/26 5:17 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 11
It can be confusing to try to compare various combinations of timing parameters to decide which you would want to run a real-world portfolio with.

The timing signal is the SMA (simple moving average) of the S&P500 index.
I looked at two ways to compute the SMA over the same calendar period. One was to take the moving average of the daily prices, the other was to take the moving average of just the end-of-week prices.

The time period was the same, just the price granularity was different. The length of the SMA calculation was 325 market days (15 month, 65 weeks) and 252 market days (12 months, 52 weeks).

There was not a consistant significant difference in the results of computing the SMA daily or weekly.

The trading method was using the weekly SMA and trading on the first of the month according to the IN/OUT of the most recent signal. No trades are done until the next month; there is no "early sell" or "early buy" in a month.

The next thing of interest was seeing the differences in the monthly signals between 325 day and 252 day SMA, at three different percentages below the SMA for the sell signal. The buy signal is always the price at or above the SMA.

Summary:
* The lower the SMA sell lthreshold is, the fewer the OUT months are.
* The lower the SMA sell lthreshold is, the fewer the differences in IN/OUT months between the 325 day and 252 day SMA.
* The lower the SMA sell lthreshold is, the more time is spent in the market.
* There is little difference in the CAGR return, for any of the 6 combinations of SMA period and sell threshold.
The return data is for one particular cycle of the 21 overlapped cycles. There is no reason to believe that the relative CAGR rankings would be the same for other cycles.

Conclusion:
* Since every combination of parameters has approximately the same CAGR, might as well use the combination that is simplest to compute and has the fewest trades.

---- TABLES ----

Timing signals are SMA of end-of-week values. Trade on the first of the month.

Sell at 0% below SMA
          325 day   252 day      325 day   252 day       Date      325 day   252 day
SMA % 0% 0% Not same signal 8/1/1988 out IN
# in 8158 8025 Days Months 10/3/1988 out IN
% in 79% 78% 425 19 12/1/1988 out IN
# sells 41 55 2/1/1990 IN out
CAGR 26.6% 25.3% 5/1/1990 IN out
6/1/1994 IN out
8/1/1994 IN out
9/1/1998 IN out
3/1/2000 IN out
6/1/2000 IN out
8/3/2009 out IN Since 2006
7/1/2010 IN out Since 2006
1/3/2012 IN out Since 2006
4/1/2016 out IN Since 2006
7/1/2016 out IN Since 2006
3/2/2020 IN out Since 2006
2/1/2023 out IN Since 2006
11/1/2023 IN out Since 2006
4/1/2025 IN out Since 2006

Sell -1% below SMA
          325 day   252 day      325 day   252 day       Date      325 day   252 day
SMA % -1% -1% Not same signal 8/1/1988 out IN
# in 8259 8128 Days Months 10/3/1988 out IN
% in 80% 79% 341 16 12/1/1988 out IN
# sells 45 45 3/1/1990 IN out
CAGR 27.4% 26.6% 5/1/1990 IN out
6/1/1994 IN out
8/1/1994 IN out
3/1/2000 IN out
8/3/2009 out IN Since 2006
9/1/2010 IN out Since 2006
1/3/2012 IN out Since 2006
1/4/2016 IN out Since 2006
3/2/2020 IN out Since 2006
2/1/2023 out IN Since 2006
11/1/2023 IN out Since 2006
4/1/2025 IN out Since 2006

Sell -4% below SMA
          325 day   252 day      325 day   252 day       Date      325 day   252 day
SMA % -4% -4% Not same signal 8/1/1988 out IN
# in 8445 8533 Days Months 11/1/2000 IN out
% in 82% 83% 212 7 4/1/2002 out IN
# sells 25 27 8/3/2009 out IN Since 2006
CAGR 26.6% 26.9% 1/3/2012 IN out Since 2006
9/1/2015 IN out Since 2006
2/1/2023 out IN Since 2006
Print the post


Post New
Unthreaded | Threaded | Whole Thread (5) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds