This script shows via the oscillator window, how much red and green candles where shown - looking back a given number of candles. The number of candles to look back is 10 by default, but can be changed in the indicator settings. The red line indicates the number of red candles, while the green line shows the number of green candles.