Scan for stocks with consecutive close above SMA

M

Miket

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

tomsk

Well-known member
VIP
How would you go about scanning for stocks in TOS that have had 7 consecutive closes above their 5 sma?

@Miket Here's your scan for 7 consecutive closes above SMA (5)
Just place this in the scanner directly

sum(close > Average(close,5), 7) >= 7
 
Last edited:
M

Miket

Member
She is hosting a free webinar Dec 4th "Linda Raschke- Accelerating your Evolution as a Trader"
 
H

hashy

Member
She is hosting a free webinar Dec 4th "Linda Raschke- Accelerating your Evolution as a Trader"
Damn, just seeing this and looks like I missed it. Hopefully she releases a recording. Thanks for the heads up.
 
Last edited:
H

haha54

Member
My question is how do I run a scan in TOS where I can find stocks that closed above the 20 SMA for 3 days in a row?
Thanks for any help.
 
T

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
 
T

tomsk

Well-known member
VIP
@BenTen Good of you to move this here, sure seems like lots of work (from a moderator's point of view)
 
H

haha54

Member
@tomsk Thank you so much it worked great. I ran another scan by changing to 20 to 5 and got a lot of interesting possibilities for the next trading day.
 

Similar threads

Top