All indicators

BAMM

By LuxAlgoMay 22, 2026

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

Static chart image

BAMM automates the Bat Action Magnet Move (BAMM) as an armed-and-triggered state machine: a 10-bar swing zigzag supplies the structure, and a valid Bat® front half (B retracing 0.382 to 0.50 of XA with C inside the AB range) arms the B level as a trigger line, with the 0.886 retracement of XA as the destination. A decisive break of B toward D (a close through it by default) is the BAMM event that starts the magnet leg.

From the trigger onward the leg is managed to one of three resolutions: arrival at the 0.886 completion, an overrun close through it, or a reclaim of B against the move. A dashboard tracks state, leg direction, trigger and target prices, progress and the last outcome.

How to Trade the BAMM?

  • BAMM label at the B break: the entry event toward D; the fill between trigger and destination shades the leg.
  • ✓ arrival at 0.886: the magnet trade is done; the completion decision is a separate framework.
  • Overrun: a close through the 0.886 level hints the structure may extend as an Alt Bat toward a 1.13 completion.
  • ✕ B reclaimed: a close back through the trigger invalidates the move.

Before the trigger, any violation of the A extreme voids an armed setup. The projected levels are plain retracements of the XA leg, kin to classic Fibonacci retracement tooling.

BAMM Settings

  • Swing Length (default 10): pivot half-length for the swings; larger finds bigger, rarer structures.
  • Min B Retracement (default 0.382) and Max B Retracement (default 0.5): the B window of a valid Bat front half.
  • Completion Retracement (default 0.886): the projected magnet destination.
  • Trigger Mode (default Close beyond B): or Wick beyond B; events are evaluated on confirmed bars.
  • Show Dashboard (default on) with position and size options.
  • Style toggles cover point labels, the magnet leg fill and the three colors.

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.