JoeyVinyl 125 posts msg #152801 - Ignore JoeyVinyl |
6/26/2020 3:33:10 PM
For some reason I started wondering if the Days Ago phrase was counting calendar days or trading days so I did a little test. I wrote a simple two line filter. I'll even make it clickable.
I found that gives me the close from 7 trading days ago, not 7 calendar days. When I changed it to 5 days ago it showed me the closing price from one calendar week ago which is what I wanted. I'm annoyed because I never thought to ask this before. Now I'm wondering if I have to change other parts of some filters, like the comparative relative strength lines.
Would this set {rs1, relative strength(SPY,20} be looking at 20 calendar days or 20 trading days?
|
glgene 616 posts msg #152803 - Ignore glgene |
6/26/2020 4:35:39 PM
Days = trading days, not calendar days.
|
JoeyVinyl 125 posts msg #152806 - Ignore JoeyVinyl |
6/26/2020 5:56:18 PM
So it's trading days for the line in question as well as the Days Ago phrase. Thanks. That's good to know.
|
glgene 616 posts msg #152807 - Ignore glgene |
6/26/2020 7:07:06 PM
Same with a 10-day moving average, such as...
Add column MA(10)
It covers 10 “market” days.
Or...
Add column ROC(5)
which covers 5 “market” days
of performance % results.
— Gene in FL
|