OPEN-SOURCE SCRIPT
Stochastic Distance Indicator [CC]

The Stochastic Distance Indicator was created by Vitali Apirine (Stocks and Commodities Jun 2023 pgs 16-21), and this is a new method that measures the absolute distance between a price and its highest and lowest values over a long period. It uses the stochastic formula to create an oscillator using this distance value and smooths the value. Obviously, there is a lag in signals due to the lookback periods, but it does a good job of staying above the midline when the stock is in a strong uptrend and vice versa. Of course, I'm open to suggestions, but I'm deciding to create buy and sell signals based on comparing the unsmoothed and smoothed values. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you would like to see me publish!
Let me know if there are any other indicators you would like to see me publish!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
I created the largest stock indicator library:
github.com/ooples/
Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7
Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
github.com/ooples/
Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7
Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
I created the largest stock indicator library:
github.com/ooples/
Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7
Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
github.com/ooples/
Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7
Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.