Skip to content
All library documents

KDJ Trend Crossovers with J-Line Confirmation and Stop Loss

Article Strategy library · Author: ChaoZhang

Summary

This long-only system uses a custom weighted smoothing calculation to build K, D, and J stochastic lines from the close’s position within the recent high-low range. It enters when J crosses above D and closes when D crosses above J. A five percent stop loss is specified; trailing-stop inputs are present, but the source does not activate trailing exits. The script also calculates a J-versus-D persistence condition and other crossover states, though these are not part of the active entry rule.

The document describes a backtest setup for BTC-USDT futures on four-hour bars over roughly one year, but reports no performance results. It proposes that multiple confirmations could reduce false signals, while warning that smoothing can delay entries and sideways markets may generate repeated signals. The period and smoothing settings are adjustable. The source’s actual entry and exit logic is simpler than some of the prose suggests, and the document does not establish profitability or robustness across markets.

Key ideas

  • The strategy calculates KDJ values using a custom weighted smoothing recurrence.
  • A long position opens when the J line crosses above the D line and closes on the reverse crossover.
  • The source sets a percentage stop loss, while its trailing-stop parameters are not used for execution.
  • A persistence check is calculated but does not filter the active entry condition.
  • The published setup specifies BTC-USDT futures on four-hour bars and gives no performance results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.