ron22 255 posts msg #154625 - Ignore ron22 |
11/15/2020 12:19:31 PM
market is S&P500
set{Hlow,days(low is above low 1 day ago,100)}
set{Llow,days(low is below low 1 day ago,100)}
set{HXL, Hlow- Llow}
add column separator
and add column HXL {low Up/Down}
add column separator
add column count(low is above low 1 day ago, 100) { low UP-100days}
-----------------------------------------------------------------------------------------------
This filter was inspired by TRO's excellent stat scan filters. I would like to change the above filter so that it scans for stocks that:
1) had 3 or more consecutive higher lows on daily charts
2) 3 or more consecutive higher lows a minimum of 20 times in the last 100 days
3) column should count number of times stock had 3 or more consecutive days of higher lows
4) stocks should be sorted on column mentioned in 3) above
I would appreciate it if someone could fix this filter. Thank you. Ron
|
graftonian 1,089 posts msg #154626 - Ignore graftonian |
11/15/2020 6:28:02 PM
market is S&P500
chart-time is 100 days
set{var1, count(low > low 1 day ago, 3)}
set{var2, count(var1 equals 3, 100)}
add column var1{3 higher lows}
var1 > 2
draw var1
draw var2
draw var2 line at 20
This any help?
|
ron22 255 posts msg #154630 - Ignore ron22 |
11/16/2020 10:36:26 AM
Graf, your coding is great as usual. Thanks a lot for your help.
|