TradingView
cheatcountry
Jun 3, 2023 1:47 AM

Stochastic Distance Indicator [CC] 

Apple Inc.NASDAQ

Description

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!
Comments
dic5001
Can we consider the Williams indicator in conjunction with the Stochastic and MACD?
KatzeRothiDieErste
thank you for this script !
cheatcountry
@KatzeRothiDieErste, You are welcome. Glad you like it!
More