The indicator counts the Up bars (Close-Open) and Down bars (Open-Close).
Calculation:
n = Up bars (Close>Open, first bar=1, last bar=n)
m = Down bars (Close<Open)
Oscillator indicator, my opinion - use it for filtering of entry, when UpDownBars is above 0 go only short and when UpDownBars is below 0 go only long.
Inputs:

Expert Advisor 3 Level ZZ Semafor
This Expert Advisor is based on 3_Level_ZZ_Semafor indicators.
InsideBars
The InsideBars indicators can be used for trading with breakout Strategies.