Dudeman, pivot should be easy I think, I was doing something similar before will check and if I find I will post pivot part, wouldn't know how to do the first part. But before I try, I need few clarifications
1 - down day - ok
2 - followed by the day that opens lower
{ lower than previous day close or lower than previous day low?}
3 - and closes higher
{again, higher than previous open, or higher than previous high?}
.... if you are talking highs and lows then it is an outside day reversal, correct?
4 - final bar open below previous close (not low, correct?) or equal previous close