Making adjustments will make the indicator more valid, here you are;
If you are looking for a peak/bottom counter, this may help you, buddy. Your work is admirable