This is a trivial to program, if you have the (accurate) data. If your programming skills are poor, time to start learning. Your competition already has done so.
Also, stocks can't fall by more than 100%. I think you need to rethink your question.

LOL. Are you 100% on that last part?![]()