# What is KDJ Indicator?

[Skip to content](https://www.antrade.io/guide/docs/en/kdj-indicator/#content)[AntBot | Crypto Trading Bot](https://www.antrade.io/guide/docs/en/)[Free AntBot](https://antrade.io/)

* [Home](https://www.antrade.io/guide/docs/en)
* [Indicators](https://www.antrade.io/guide/docs/en/indicators/)
* [What is KDJ Indicator?](https://www.antrade.io/guide/docs/en/kdj-indicator/)

Search for:

INDICATORS

* * [What is a Golden Cross and a Death Cross? ](https://www.antrade.io/guide/docs/en/what-is-a-golden-cross-and-a-death-cross/)
  * [What is the Golden Cross?](https://www.antrade.io/guide/docs/en/what-is-the-golden-cross/)
  * [Instantly Improve Your Trading Strategy with Support and Resistance](https://www.antrade.io/guide/docs/en/instantly-improve-your-trading-strategy-with-support-and-resistance/)
  * [The Ultimate Moving Average Trading Guide](https://www.antrade.io/guide/docs/en/the-ultimate-moving-average-trading-guide/)
  * [Detailed Explanation of Support and Resistance](https://www.antrade.io/guide/docs/en/support-resistance/)
  * [What is SMA(Simple Moving Average) Indicator?](https://www.antrade.io/guide/docs/en/ma-indicator/)
  * [What is BBW(Bollinger Bands Width) Indicator?](https://www.antrade.io/guide/docs/en/bbw-indicator/)
  * [What is RSI(Relative Strength Index) Indicator?](https://www.antrade.io/guide/docs/en/rsi-indicator/)
  * [What is KDJ Indicator?](https://www.antrade.io/guide/docs/en/kdj-indicator/)
  * [What is MACD(Moving Average Convergence/Divergence) Indicator?](https://www.antrade.io/guide/docs/en/macd-indicator/)

## What is KDJ Indicator?

4 months ago[AntBot](https://www.antrade.io/guide/docs/en/author/antbot/)4 minutes

**Contents:**

* [**What is KDJ Indicator?**](https://www.antrade.io/guide/docs/en/kdj-indicator/#WhatisKDJIndicator?)\\
* [**Calculation**](https://www.antrade.io/guide/docs/en/kdj-indicator/#Calculation)\\
* [**Applied rules**](https://www.antrade.io/guide/docs/en/kdj-indicator/#Appliedrules)\\
* [**Limitations of KDJ**](https://www.antrade.io/guide/docs/en/kdj-indicator/#LimitationsofKDJ)

**What is KDJ Indicator?**

The KDJ indicator is a technical indicator used to \*\*\*\* analyze and predict changes in **trends** and **price patterns** in trading assets. It is an efficient and convenient technical indicator, most commonly used in **short-term and medium-term** market trend analysis.

The calculation basis of KDJ is the **highest**, **lowest**, and **closing prices**. When prices are **rising**, the **closing price** tends to be near the **upper** end of the day’s range. Conversely, the **closing price** tends to be near the **lower** end of the day’s range in a **downtrend**. It can reflect the **strength** of **price fluctuations**, **overbought and oversold** phenomena, and give **trading signals** before prices rise or fall.

KDJ is a **derivative form** of the **Stochastic Oscillato**r, the only difference is that there is an extra line called the **J line**.

KDJ contains a total of three lines, namely **K line**, **D line**, and **J line**.

<figure><img src="https://antrade.io/guide/docs/en/wp-content/uploads/2022/11/KDJ%E4%B8%89%E7%BA%BF.png" alt=""><figcaption></figcaption></figure>

**Calculation**\
KDJ is to obtain the Immature Random Value (RSV) by calculating the proportional relationship between the highest price, the lowest price and the closing price in a specific period, and then calculating the K value, D value and J value according to the method of smoothing the moving average, and graphed to study price movements. Taking the calculation of daily KDJ value as an example, the specific calculation method is as follows:

1\. Calculate the RSV value for a certain period:

* n-day RSV = (Cn-Ln) ÷ (Hn-Ln) × 100
* In this formula, Cn is the closing price of the nth day; Ln is the lowest price within n days; Hn is the highest price within n days. RSV values always fluctuate between 1 and 100.

2\. K value of the current day = 2/3 × K value of the previous day + 1/3 × RSV of the current day

3\. D value of the current day = 2/3 × D value of the previous day + 1/3 × K value of the current day

4\. J value of the day=3×K value of the day-2×D value of the day

Note: If there is no K value and D value the day before, 50 can be used instead.

**Applied rules**

**1. Overbought and Oversold**

* The value of KDJ varies from **0 to 100** (J value sometimes exceeds).
* K line is a fast confirmation line—a value above **90** is overbought, and a value below **10** is oversold.
* D line is a slow mainline—a value above **80** is overbought, and a value below **20** is oversold.

**2. Golden Cross and Dead Cross**

* When **the K line breaks through the D line on** the graph, commonly known as **the golden cross**, it is a **buying signal**. In addition, when the K line and the D line cross upwards below 20, the short-term buying signal at this time is more accurate; if the K value is below 50, cross the D value twice to form a higher golden fork “W”. If there is no form, the price may have a considerable rise, and the market prospect is promising.
* When **the K value** gets smaller and smaller and then falls below the D line from above, it is often called a **dead cross** and is regarded as a **sell signal**. In addition, when K-line and D-line cross downward at gate 80, the short-term sell signal is more accurate. If the K value is above 50, crossing below the D line twice in the trend, and from the low dead cross “M” shape, the market outlook may have a considerable decline in stock prices.

**3. Bottom and Top**

* The J line is a directional sensitive line. When the **J** value is greater than **90**, especially for more than **5** consecutive days, the price will form at least a **short-term peak**.
* On the contrary, when the J value is less than **10**, especially for several consecutive days, the price will form at least a **short-term bottom**.

**Limitations of KDJ**

The main limitation of KDJ is that KDJ is very **sensitive** to price changes. In a very volatile market, it may generate wrong trading signals, causing the price not to follow the signal to rise or fall, thus causing traders to misjudge.

Technical indicators have their own limitations, and the use of technical indicators to judge market trends has great flexibility. Therefore, when investors use KDJ indicators, they should combine their own risk preferences with comprehensive consideration of investment varieties.

<figure><img src="https://antrade.io/guide/docs/cn/wp-content/uploads/2022/11/KDJ-1.jpg" alt=""><figcaption></figcaption></figure>

Reference:

<https://www.tradingview.com/script/BNpuF7dG-KDJ-stochastic-indicator/>

[#AntBot](https://www.antrade.io/guide/docs/en/tag/antbot/)[#Indicator](https://www.antrade.io/guide/docs/en/tag/indicator/)[#KDJ](https://www.antrade.io/guide/docs/en/tag/kdj/)[#trading](https://www.antrade.io/guide/docs/en/tag/trading/)@AntBot free trading bot\\


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.bfm-unity.org/antbot-doc/en/indicators/what-is-kdj-indicator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
