I once found this indicator on the web but I don't remember the name.
Something like ride or follow.
All you had to do was enter the number of bars in the same direction example: 5
Then on the fifth consecutive UP or Down bar he drew an arrow.
The problem is that all the indicators I found on the web draw consecutive arrows after the fifth bar.
However, the indicator I search for displays a bar counter specie in the same direction and when it reaches the number of bars specified it displays an arrow in the direction of the current bar and the count restarts from the beginning.