PINE LIBRARY

lib_bar_strength

38
Big bar breakout detection for multi-timeframe trading systems.

Identifies significant ("big") bars where the range exceeds a configurable ATR multiple. Classifies them as Bull Break, Bear Break, Possible Bull, or Possible Bear. Tracks the most recent strong bar's high, low, midpoint, and ATR multiple for use in key signal notes.

**Event types:** 0=None, 1=Bull Break, 2=Bear Break, 3=Possible Bull, 4=Possible Bear

**Exports:** `detect()` — returns event type, high, low, midpoint, ATR multiple, and recent strong bar data.

Used by: TCD - Trade Consistent & Disciplined (indicator)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.