All indicators

Overextension Reversal Detector

By LuxAlgoMay 27, 2026

Overextension Reversal Detector is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

Overextension Reversal Detector finds the harmonic structure known as the Shark®, whose middle section is a failed breakout, and manages it through its lifecycle. From a swing zigzag it qualifies the 0, X, A, B sequence when the AB leg overruns the X pivot into the 1.13-1.618 band of XA, then projects the completion band across the whole 0X leg, restricting the reversal zone to the confluence when the 1.618-2.24 extension of AB overlaps it. Point and ratio labels report every measured value, so the geometry can be checked, not trusted.

How to Trade with the Overextension Reversal Detector?

  • Setup: the zone is projected the moment B qualifies, planning room before price arrives; a run beyond B without reaching the zone retires it.
  • Completion and reaction: trading into the zone completes the pattern, but C stays live while price probes deeper. The reaction close back through the near edge freezes C and prints the targets.
  • Staged targets: dotted lines where the final BC leg retraces 0.382 and then 0.618, the fast profit-taking the wide band pushes management toward.
  • Invalidation: a decisive close past the far 1.13 measurement of 0X grays the reversal zone and any printed target lines. Treat the move as a continuation instead.

Overextension Reversal Detector Settings

  • Swing Length (default 8): pivot length forming the 0, X, A and B points; larger values find rarer structures.
  • AB / XA Range (defaults 1.13 and 1.618): the required overextension beyond X.
  • C / 0X Range (defaults 0.886 and 1.13): near and far edges of the completion band.
  • BC / AB Range (defaults 1.618 and 2.24): the confluence projection from B.
  • Require AB Confluence (default off): accept only structures whose two projections overlap.
  • Target 1 (BC Retracement) (default 0.382) and Target 2 (BC Retracement) (default 0.618).
  • Style: Point Labels, Ratio Labels, Target Lines, Invalidation Line, Show Swings (all on).

Frequently Asked Questions

Bat®, Crab®, Shark®, AB=CD® and 5-0® are registered trademarks of their owner, used here only to identify the patterns. LuxAlgo's tools are independent implementations and are not affiliated with or endorsed by the trademark owner.

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.