High - High Bar Count Indicator

 

Does anyone know of an indicator that will count the last x # of bars between the high high and low low and show the number on the chart? I would like it to show like 29 bars since the last low or high. Thanks.

 

int hh = iHighest(Symbol(), 0, MODE_HIGH, 0);

int ll = iLowest(Symbol(), 0, MODE_LOW, 0);

Basically...

But I haven't heard of such indicator.

Reason: