I have been following Weinstein's method for months now and have realized this algo is slightly differentiated in a few ways from the methods he states in his book.
First and foremost I noticed that the RSI being used in this algo (RSI Wilder) is completely different than that mentioned in the book (RSI Mansfield). This indicator takes the RS Dorsey formula and breaks it down to compare it to the strength of the S&P 500. I built the indicator in my Thinkorswim platform, but I do not have experience with python yet so all I can do is provide you all will some material which can be used to code this into the algo.
Second, what he does is screen the stocks to find which industry is outperforming the SPX and then finds stocks within those sectors that meet the criteria that has been set (Volume increase, RSMansfield Uptrend, Close above 30 and 10 week MA's). This usually can help indicate which stocks have entered Stage 2 or are already in Stage 2 of his technique. This can hopefully help you guys while I learn Python and begin to build this on my own eventually.
I have also written code for the TOS platform using colored bars on my charts utilizing the MA's that shows me exactly when the Weinstein method is in play, when I should be cautious, and when I should be out.
I definitely think this can be automated if the metrics are entered correctly. My only concern is sometimes its hard to confirm the different stages until you see them with your own eye.