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.
Sometimes I get some scans that appear to me to not process correctly
I think I may begin sharing them here, maybe I'll find that I am doing something wrong.
I have a fairly short scan that ends with this line:
' and [ AbsVal (0 week ago weekly close / 1 week ago weekly close ) > 1 ]
I get no results. If I change it to < -1 still I get no results - compared to the 80 I get without that line.
I used one (meaning the two are equal) to assure that I got results after other numbers weren't producing results. I will change it to a longer statement without an ABSVAL, but including an OR instead ... but shouldn't this function work? I've had similar issues with it before.
I commented it out and added this line at the end
' rank by [ AbsVal (0 week ago weekly close / 1 week ago weekly close ) ]
which was is ignored.
Note that each time I checked syntax I was told that it was correct and the scan was performed finding no stocks. Any thoughts?
As I write, I am considering that maybe it only works with numbers so they can be included in other calculations, not calculated numbers.
If so, it should be very easy to extend its functionality.
0
Comments
I've never tested absval( ) with an arithmetic operation in the parentheses. It might work, but I think its purpose is to convert indicators yielding negative values to positive numbers.
http://stockcharts.com/docs/doku.php?id=scans:advanced_scan_syntax