Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MIBest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd
Search
Shrewd'm.com Merry shrewd investors
Search
Best Of MIBest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd


The week's question
In December 2024, in the thread "Re: BRK: Why Not XOM?", BreckHutHigh asked the members: "What about the long road trips with kids?" This week it is put to everyone again. The button below opens the small thread re-asking it - read what others have said so far, then give your own answer as an ordinary reply.
Answer this questionContinue to Shrewd'mThis note won't appear again
Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (149) |
Author: rayvt 🐝  😊 😞
Number: of 6131 
Subject: Re: Chart: timing with Nas100 RS screen
Date: 05/17/26 11:17 AM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 3
Is the sell next day close or something else?

Something else.

Using the daily closing values that come out of GTR1 ...
Then stripping that down to the value on the first day of the month ...
Compute the return for that month. ((next_month_value / this_month_value) -1)
(It is an interesting contortion in Excel to isolate the SOM values from the daily values and put them in a table with no holes.)


For each month, look down the table of signals and find the signal (IN/OUT) that was computed just before this month.
If that signal was OUT, then the return for that month is forced to 1.0000.
The IN/OUT signal at the end of month N determines the return to be used for month N+1, actual or 1.0000.

The signals are computed in a separate operation.
There is some granularity involved, because the signals are computed on a daily basis but reported on a weekly basis. The signal computed for a week is to be applied to the next week. In this case, the last week reported in a month is applied to the next month.

(It is a PITA to ensure that you are applying the signals to the correct month instead of effectively applying the NEXT month's signal, which would be lookahead error.)

Post New | Post Reply | Report Post | Recommend It!
Print the post
Members reply directly to rayvt here — and replies get answered. Reading is free; so is joining the conversation. Join Shrewd'm »
This community has written 6,115 posts about Mechanical Investing. The article-length ones it recommended most:
Dividend investing · 52 recs · 2025
Non-Mag7 screen · 34 recs · 2025
OT - Div yields and returns · 32 recs · 2024
Using AI to generate backtesting programs · 30 recs · 2025
Rankings for 19Dec2022 · 29 recs · 2022
Unthreaded | Threaded | Whole Thread (149) |


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 | Open Questions | Moving a community