PINE LIBRARY

lib_bar_strength

29
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)

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.