I would deduce all the lines of code are feasible to create in SF except for "PB".
If you or anyone else can figure out how "PB" is coded, then we may have successfully introduced one of the most powerful cycle indicators from the mind of John F Ehlers .
In fact, it would probably deserve it's own thread.
The problem with writing this in SF is the lack of looping capability. I took a stab at it and the results are not correct. Still, I'm posting it here in case someone wants to debug, improve, or point out where my logic is wrong.
*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.