graftonian 1,089 posts msg #155415 - Ignore graftonian |
1/23/2021 12:11:36 PM
In my current filters an event such as a MA crossup adds 2 points to the final trigger, 1 for the crossup event and 1 for the short MA being above the long. On day 2 (assuming the short MA stays above the long) that symbol would lose the crossup point. I would like to phase out that crossup score over time, perhaps 5 days.
The score for the event, over time would be something like: 2.0, 1.8, 1.6, 1.4, 1.2, 1.0. This would aid in bringing recent crosses to the top in long lists of candidates.
Do I make any sense at all?
Graf
|
xarlor 581 posts msg #155417 - Ignore xarlor |
1/23/2021 2:14:56 PM
Here is the filter for returning the number of points since a crossover event happened.
Today (T - 0) = 1 point
Yesterday (T -1) = 0.8 points
T - 2 = 0.6 points
T - 3 = 0.4 points
T - 4 = 0.2 points
|
graftonian 1,089 posts msg #155420 - Ignore graftonian modified |
1/23/2021 3:23:02 PM
That was easy, Thanx
I tacked this on:
/* that's 1/2 the problem, we need a point for maintaining the short above long */
set{ShortAbvLong, count(ma(13) > ma(25), 1)}
set{CrossUpScore, Shortabvlong + points}
add column CrossUpScore
sort on column 7 descending
Now crossupscore possibilities are: 0, 1.0, 1.2...1.8, 2.00
|
fotchstecker 304 posts msg #155427 - Ignore fotchstecker |
1/24/2021 6:27:22 PM
I don't think I could have written it like xarlor, but it's interesting especially because I have been thinking of point-based systems all weekend.
|