PROTECTED SOURCE SCRIPT

Bollinger Bands [NevoxCore]

19
⯁ OVERVIEW
Bollinger Bands [NevoxCore] delivers the classic BB package—basis ± k·σ, %B, and bandwidth (BBW)—with a squeeze detector and an optional trend gate for midline crosses. Visual EMA smoothing keeps the plot silky without touching the math, while NevoxCore’s palette and dynamic band fills make bias obvious at a glance. Use it for breakouts, mean reversion fades, or simply tracking volatility cycles.

⯁ KEY FEATURES

Classic Bands: SMA(basis) ± k × stdev; configurable length & multiplier.

%B & BBW: Built-in %B (0…1…>1) and BandWidth to quantify position & volatility.

Squeeze Detection: Flags compression when BBW < (k × MA(BBW)); enter/exit events.

Trend Gate (optional): Validate midline crosses only with the EMA trend (default 200).

Visual Smoothing: EMA-only display smoothing—math stays true; lines look cleaner.

NevoxCore Look: Pink/orange theme or classic green/red, with bias-colored band fill.

Lightweight Alerts: %B upper/lower breaks, midline crosses, squeeze enter/exit.

⯁ SETTINGS (quick)

Visual

Classic Colors — switch palette.

Midline Width / Band Line Width — stroke control.

Band Fill Opacity — transparency between upper/lower.

Display smoothing (EMA) — visual-only smoothing for basis/upper/lower.

Core

Length — SMA & stdev lookback (default 20).

StdDev Multiplier (k) — band width (default 2.0).

Source — Close / HL2 / HLC3.

Squeeze & Trend

Squeeze lookback (BBW MA) — moving average length on BBW.

Squeeze threshold (× BBW MA) — compression level (default 0.80).

Trend gate — only accept midline crosses in trend direction.

Trend EMA length — default 200.

⯁ ALERTS (built-in)

BB — %B > 1 (Upper Break)

BB — %B < 0 (Lower Break)

BB — Midline Cross Up / Down (respects Trend gate if enabled)

BB — Squeeze ENTER / EXIT
Tip: For cleaner signals, set alerts to Once Per Bar Close.

⯁ HOW TO USE

Breakout Play: Watch Squeeze ENTER → EXIT, then %B crossing 0.5 → 1.0 with trend.

Mean Reversion: Fade %B > 1 or %B < 0 back toward midline (prefer ranges; add confluence).

Bias Tracking: Use midline color/fill as quick trend bias; enable Trend gate to avoid counter-trend chops.

Tuning: Lower sqK or increase sqLen to be stricter about squeezes; adjust k (σ) for wider/tighter bands.

⯁ WHY IT’S DIFFERENT
Instead of a bare-bones BB overlay, this build adds measured volatility context (%B/BBW), a clean squeeze model, and a trend-aware midline cross—all in a minimal, fast, NevoxCore style.

⯁ DISCLAIMER
Backtest and paper-trade before using live. Not financial advice. Performance depends on market/TF/parameters.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.