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 for PPO(2,3,2) being upward crossed by it’s SMA(1)
Request for help in setting up a scan for function in discussion title.
Have used following formula:
[ PPO Hist (2,3,2) x sma (1, PPO Hist(2,3,2))]
Have tried substituting Line and Signal on both sides of the equation. When running the scan all three ways I only get what spears as an error message stating- “No Date Available in Table”. Any help would be appreciated. I used above format in response to an earlier inquiry about RSI being crossed by it’s own SMA. Thanks for your assistance
0
Comments
You need to tell the scan engine what universe you want it to look at for these conditions
Something like
[Type is stock]
and
[country is US]
and
[exchange is NYSE]
If you have an example chart of the signal you want and can post it, that might help.
My follow up question is why StockCharts search engine can solve for sma (2) but not for sma (1)? Am I doing something wrong or just a limitation of the scan engine. Results using sma (2) are helpful but why can’t you scan for sma (1) when my saved chart definitions can draw it out. Thanks for any help or explanation.
Now if you want Hist to cross Signal, you could write either Hist x Signal, or sma(1,Hist) x Signal, and either one would work. But why use sma(1, Hist) when you can just write Hist? No harm in it, just extra work and not as clear.