Vitali Apirine published an article of “The Stochastic Distance Oscillator” on June 2023. I rewrite it for pine script.
Function
Vitali Apirine offers a new twist on the classic stochastic oscillator, which he calls "Stochastic Distance Oscillator" (SDO). The SDO is an impulse study that shows the size of the current range versus the maximum/minimum range range over a period of time. The study can be used for stocks or indices that are trending, but is also useful for trading ranges. Overbought and oversold levels can help spot upside and downside trend changes.
Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq