jpwood, excellent script, thank you for your contribution. I like the two price and volume MACDs at the top of the chart.Quote from jpwood123:
SpyderTrader,
Thought I'd mention here in your Journal that I've placed Hershey Modular v1.0 on the Wealth-Lab website. It's available there to anyone wanting to take a look.
The driving force behind Hershey Modular was to put together a script that would (hopefully) make it easier to test various Hershey related ideas. As it is currently configured, it can be used to scan a watchlist of stocks. More importantly, however, it can be easily changed to test various ideas.
Hershey Modular is based on the work you and others contributed toward the current script(s).
One of the primary differences between Hershey Modular and previous Hershey scripts is that it tests all available price data instead of just the last 127 days. In addition, I included a number of system parameters in the "const" (constant) section at the top of the script that will allow users to "play" with various built-in features. Finally, all of the main activities are placed in either Procedures or Functions - hence the "modular" name. Hopefully this will give potential system testers good example code for creating and/or testing their own ideas.
I hope this script will prove to be of value to you and other Hershey followers, and that others will make Hershey Modular better by contributing code and/or ideas to the system.
Regards,
jpwood
When I use the script to scan my initial universe, I can't get any stock in the final ranking list although the script does trace the 5 price cycles when I run it on a single stock, like BOOM.
I checked the ScanProcedure, the only condition I see to print a stock rank and PVAD status (AddScanColumn) is 5 price rises, so I don't understand why the scan doesn't produce any output.