This script is designed for crypto markets, and more specifically for all sorts of all coins that are typically traded in a form of pump-and-dump scheme.
It tries to detect pumping formations, based on statistical significant difference between short term volume spikes and long term volume.
The script also includes an alert condition, so you can receive an alert whenever a pump is detected. This can be considered as a good entry point.
Standard configuration (time window of 42, threshold of 70 and 3) gives decent results.