I have an analysis of AFL which run explorer will give out 52Week Hi, Low, and 3 months Hi and Low and some basic quotations and moving averages. If today it have 52week Hi, then it shows 1, so does the 52 week Low, 3 months hi low. I am using VBA to run the explore and then export the results.
However, I want to select some stocks based on the results and create a watchlists, i.e. "add selected stocks to watchlists"
1. How to write the selected part of the stocks based on some criteria and add to watchlists? Say, the criteria, is 52WeekHi = 1 or 3monthsHi= 1
2. How can I put the stocks that matches the criteria into a watchlists, which I want newly created with the watchlist name specified, say by the date and time of creation)
I am using VBA, but either jscript or VBA are very welcome, even jscript, I would try my best to convert to VBA and this already provides good guidance.
Many thanks
However, I want to select some stocks based on the results and create a watchlists, i.e. "add selected stocks to watchlists"
1. How to write the selected part of the stocks based on some criteria and add to watchlists? Say, the criteria, is 52WeekHi = 1 or 3monthsHi= 1
2. How can I put the stocks that matches the criteria into a watchlists, which I want newly created with the watchlist name specified, say by the date and time of creation)
I am using VBA, but either jscript or VBA are very welcome, even jscript, I would try my best to convert to VBA and this already provides good guidance.
Many thanks