This is the Stochastic Oscillator but now instead of reading it raw we sum the stochastic over a window and then take the cumulative sum of the difference. This allows us to have a much smoother representation of the stochastic while seeing the true momentum relative to it. I hope you can find this useful!
Refresher on Stochastic: Stochastics are range bound momentum oscillators. They calculate values between 0 and 1 which are usually plotted as 2 lines. These indicators are primarily used for identifying overbought and oversold conditions, line crossovers, divergences and increases in buying or selling pressure.