this is just a study to investigate the pumps and dumps that have been happened in a crypto market and it should not be used as an indicator. this is also my very first Pine Script that I've written and I am sure it is not perfect. actually I am curious to know when (I mean the exact time of the day) most pumps and dumps happen as a self investigation. the method that is used to define pumps and dumps is not good (and I know that) but I will modify it for better result in next version.
to use this study, you should define whether you want to display pumps or dumps or both and also you should define percent of change (threshold).