| sammyn 81 posts
 msg #141365
 - Ignore sammyn
 | 1/25/2018 1:42:30 PM 
 What is the best way to check to see if the distance between MAs is getting larger?
 
 Basically, I'm looking to scan for stronger trending stocks, so, I'm looking for the distance between the MA(20) and MA(50) to be increasing.
 
 Is it just looking at the MACD?
 
 What would be the most efficient  SF syntax?
 
 thanks a bunch!
 
 
 | 
| sammyn 81 posts
 msg #141369
 - Ignore sammyn
 | 1/25/2018 2:40:12 PM 
 Or, would I want to check to see if the slope of MA(20) is greater than the slope of MA(50)?
 
 
 | 
| four 5,087 posts
 msg #141387
 - Ignore four
 modified
 | 1/25/2018 4:57:10 PM 
 "slope of MA(20) is greater than the slope of MA(50)?"
 
 5 day slope of ma(20) > 5 day slope of ma(50)
 
 
 | 
| four 5,087 posts
 msg #141388
 - Ignore four
 modified
 | 1/25/2018 4:59:22 PM 
 "distance between the MA(20) and MA(50) to be increasing"
 
 draw ppo(20,50) 3 days ago < 0
 draw ppo(20,50)  > .01
 draw ma(20)
 draw ma(50)
 
 
 | 
| sammyn 81 posts
 msg #141390
 - Ignore sammyn
 | 1/25/2018 5:18:28 PM 
 Thanks a bunch!
 
 
 | 
| four 5,087 posts
 msg #141391
 - Ignore four
 | 1/25/2018 5:20:16 PM 
 "scan for stronger trending stocks"
 sp500
 count(ma(20) above ma(50), 40) > 39
 count(ma(50) above ma(100), 40) > 39
 
 
 |