It adds 1 when current close is higher than previous close and reduces -1 when current close is lower than previous close.
In the CCH settings you set how many bars to look back and use to smooth the results or disable smoothing.
Disable the smoothing and you'll see the real deal (pure counter).
The higher the GREEN columns the more higher closes and the lower the RED columns the more lower closes.
In case columns are declining above 0 a more darker green will appear.
In case columns are declining below 0 a more darker red will appear.
Supports bar coloring (disabled by default).
Feel free to comment and Like if you like.