New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Scanning the 50SMA and 50SMA RS line
I need help with how to Scan for symbols in my chartlist where price is above the 50SMA and RS Line vs $SPX is above a 50SMA line. Any help is appreciated. Thx!
Answers
close/close($SPX) > sma( 50, close/close($SPX) )
It can only interpret indicators (and overlays) that are specifically coded for scan engine to read, like MACD, Bollinger Bands, etc.
Basically, if you can't find it in the drop downs under the scan window, the scan engine doesn't know what to do with it.
Performance will show your list with a number of predefined columns for different periods of performance.
You can add a symbol into the Compare To box at the top of the view and click Go.
This will add that symbol the chartlist symbols with a colon between the symbols. It updates the Performance based on the relationship as well. You can then see the result and sort if desired. You can also then highlight the list to copy and then paste it into excel. Then copy and paste the symbols into a chartlist and you will have a RS list of your chartlist if desired. So you could copy the RS symbols into your existing list and then you will have both the symbol and the RS symbol in the list for example. You CAN review that RS list in Summary and CandleGlance and it should be able to sort there also.
You CAN NOT scan against the RS symbols in the list as the RS symbols are NOT in the StockCharts.com database. It is just a quick way to see RS vs whatever you would like to see.
To remove the Compare To symbol from the Performance view, delete the symbol and hit Enter on your keyboard. Blanking it and clicking "Go" will not remove it.
In the Scan engine there is a PctRelative function in the Technical Indicators dropdown.
Defaults in like this
and [PctRelative(20,$spx) > 0]
This is asking for symbols that have a 20 day return vs the $spx that is greater than 0. Play around with this. Unfortunately you can't use a moving average on this function but you can do a comparison against a prior period.
So you can try
and [PctRelative(20,$spx) > 0] and [20 days ago PctRelative(20,$spx) < 0]