Scan for stocks with consecutive close above SMA

Miket

Member
How would you go about scanning for stocks in TOS that have had 7 consecutive closes above their 5 sma?
 

tomsk

Well-known member
VIP
Place this code directly into the scanner, it does precisely what you are looking for - at least 3 consecutive closes above SMA(20). Make sure you use the daily aggregation

Code:
sum(close > Average(close,20), 3) >= 3
 

Similar threads

Top