The KDJ indicator, also called the stochastic indicator, is a fairly novel and practical technical analysis indicator. It was first used in the analysis of the futures market and then widely used in the short-term trend analysis of the stock market. It is the most commonly used in the futures and stock markets. Technical analysis tools.
The stochastic indicator KDJ is generally a statistical system used for stock analysis. According to statistical principles, it passes through the highest price, lowest price and the closing price of the last calculation period that occurred in a specific period (usually 9 days, 9 weeks, etc.) And the proportional relationship between these three, to calculate the immature random value RSV of the last calculation cycle, and then calculate the K value, D value and J value according to the smooth moving average method, and draw a graph to study the stock Price trend.
What is the KDJ stochastic oscillator and the calculation method of the KDJ indicator
The calculation of KDJ is more complicated. First, calculate the RSV value of the period (n days, n weeks, etc.), that is, the immature stochastic index value, and then calculate the K value, D value, J value, etc. Taking the calculation of the KDJ value on n days as an example, the calculation formula is
RSV for n days=(Cn－Ln)/(Hn－Ln)×100
In the formula, Cn is the closing price on the nth day; Ln is the lowest price in n days; Hn is the highest price in n days.
Second, calculate the K value and D value:
K value of the day = 2/3 × K value of the previous day + 1/3 × RSV of the day
D value of the day = 2/3 × D value of the previous day + 1/3 × K value of the day
If there is no K value and D value of the previous day, 50 can be used instead.
J value=3K value of the day-2D value of the day
Take the 9-day KD line as an example, that is, immature random value, the calculation formula is
In the formula, C is the closing price on the 9th day; L9 is the lowest price within 9 days; H9 is the highest price within 9 days.
K value = 2/3 × K value on the 8th day + 1/3 × RSV on the 9th day
D value = 2/3 × D value on the 8th day + 1/3 × K value on the 9th day
J value=3K value on the 9th day-2D value on the 9th day
If there is no K value and D value of the previous day, you can use 50 instead.