Here's a (forgotten but still useful) Sentiment Zone Oscillator. The Sentiment Zone Oscillator takes a sum of positive price candles over a user-specified window length. Normally, a triple exponential moving average
of the sum is used, but we opted to just go with a double EMA
for the sake of more responsiveness. When the histogram is green it is bullish
and red/pink means bears.