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.
Yesterday's options volume or open interest
Hi!
To learn scanning, I wrote the following:
[type = stock]
AND
[country is US]
AND
[[exchange is NYSE] OR [exchange is NASDAQ]]
AND
[optionable is true]
AND
[[close * 1.05] X EMA(20)]
I'll run daily scans before the markets open. For further analysis, is there a way to narrow the number of stocks based on yesterday's options volume or yesterday's options open interest?
Thank you!
Doctor T
0
Comments
https://stockcharts.com/docs/doku.php?st=data&id=data
Thank you for your reply.
To limit the number of stocks, I'll use volume.
Doctor T
The first is to look for the narrowest range in the last 7 bars. You can google "NR7" for an explanation.
and [ range = min(7, range)]
The second is to look for price trading above the rising 200 MA. If you want to go long, the up legs tend to be longer when the market is in an up trend and shorter in a down trend. Not that you can't find opportunities in a down trend, and sometimes very good ones, but the odds are lower.
and [sma(200, close) > 20 days ago sma(200, close)]
and [close > sma(200, close)]
Add these three lines to the code you have above and run it for Monday, Feb 12.