All indicators

KDJ Indicator - @iamaltcoin

Dec 1, 2014

Static chart image
Dynamic OverlaysSignalsOscillators

The KDJ Indicator - @iamaltcoin indicator provides a modified stochastic analysis tool designed to capture market momentum and trend reversals by calculating the relationship between price action and its high-low range over a specified period.

Usage

The Usage section focuses on identifying trend direction and momentum shifts through the interaction of the K, D, and J lines. This indicator is specifically modeled after the version found on BitcoinWisdom, offering a distinct calculation method compared to standard stochastic oscillators.

  • Trend Identification: The indicator features a dynamic background color to assist in rapid trend assessment. A green background appears when the J line is greater than the D line, suggesting bullish momentum. Conversely, a red background appears when the J line is less than the D line, indicating bearish momentum.
  • Crossover Signals: Traders typically look for crossovers between the J line and the D line. A bullish signal is generated when the J line crosses above the D line, while a bearish signal occurs when the J line crosses below the D line.
  • Sensitivity: The J line is the most volatile component of the indicator, acting as a lead indicator for potential price turns before they are reflected in the K and D lines.

Details

The KDJ indicator is an extension of the Stochastic Oscillator. It begins by calculating the Raw Stochastic Value (RSV), which measures where the current close sits relative to the price range (highest high and lowest low) over a defined period.

The script uses a specific smoothing function, bcwsma, to derive the K and D lines. The K line is a smoothed version of the RSV, and the D line is a smoothed version of the K line. The J line is then calculated using the formula:
J = 3 * K - 2 * D

This formula makes the J line more sensitive to price fluctuations, allowing it to diverge significantly from the K and D lines during overextended market conditions. The implementation ensures that the calculations remain consistent with high-frequency trading platforms that utilize the BitcoinWisdom formula.

Settings

  • Period: Determines the lookback length (number of bars) used to calculate the highest high and lowest low for the Raw Stochastic Value.
  • Signal: Sets the smoothing factor used in the moving average calculations for the K and D lines.

FAQ

How does the J line differ from the K and D lines?
The J line is a derived value that multiplies the difference between K and D. Because it emphasizes the distance between the two lines, it is more reactive and often reaches extreme values faster than K or D.

What do the background colors represent?
The background colors act as a visual filter for trend bias. Green indicates that the J line is positioned above the D line (bullish), while red indicates the J line is below the D line (bearish).

How can I access this indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.