All indicators

On-neck / In-neck / Thrusting

By LuxAlgoJul 20, 2026

On-neck / In-neck / Thrusting is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

On-neck / In-neck / Thrusting classifies the failed rallies of a downtrend by exactly how far they reach. After a long dark candle below the trend average, a white candle opening lower and stalling beneath the body midpoint is graded into one of the three on-neck, in-neck and thrusting lines and labeled with its recovery depth: 0% at the prior close, 50% at the midpoint. Each detection can be tracked live: a trigger level at the pattern low and an invalidation level at the second candle's high extend until one side resolves.

How to Trade the On-neck / In-neck / Thrusting?

  • Label printed: dip buying reached a specific, measured depth and failed: classical bearish continuation evidence, most telling when labels repeat down a trend.
  • Confirmed: a break below the pattern low resolves the formation in the trend's favor, marker and alert on the bar that does it.
  • Invalidated: a push above the second candle's high shows the rally was soaking up supply rather than failing; the trigger level fades to neutral and an alert fires.

On-neck / In-neck / Thrusting Settings

  • Downtrend SMA Length (default 50): the first candle must close below this average: no decline, no pattern.
  • Body Average Length (default 20) and Long Body Multiplier (default 1.2): the long-dark-candle filter; 0 disables the length test.
  • Open Requirement (default Below prior close (relaxed)): the strict Japanese form demands a gap under the prior candle's low, rare where trading is continuous.
  • Tolerance % (default 5): band width around the neck boundaries, in percent of the first body.
  • Merge Variants (default off) and the On-Neck / In-Neck / Thrusting toggles (all on): classify separately or as one Weak Line signal colored by depth.
  • Track Confirmation & Invalidation (on) with Tracking Limit (bars) (default 100), plus display options.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 Custom Alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.