gold scaling_V2.2 (Zone-Driven Entries + BB Entries) — Dual-Set

Short Description (for the “Description” box)
gold scaling_V2.2 (Zone-Driven Entries + BB Entries) — Dual-Set
Two coordinated entry engines. Set A (Zone-Driven): dynamic buy/sell zones with anti-chase (first-touch, flip-guard, hysteresis), TP1–TP5 ladder, and smart SL (BE/Follow/Chandelier). Set B (BB mini): fast Bollinger-based entries with HTF/BBW filters. Compact HUD, Heads-Up ETA, and full Text/JSON alerts (ENTRY/TP/SL). Built for disciplined entries, not FOMO.
Full Description
Overview
This indicator enforces disciplined entries by combining two complementary systems:
Set A — Zone-Driven Entries: builds adaptive buy/sell zones (ATR-aware), confirms entries in two steps (touch → confirm), and manages exits with a TP ladder and intelligent SL logic (move to Break-Even at TP1, follow by TP levels, or optional Chandelier trail). Includes zone lock/re-arm after real breakouts.
Set B — BB Entries (mini): lightweight Bollinger-based “mini” entries (Revert Cross or Cross Threshold) that respect HTF EMA slope and BB Width filters.
Timeframes:
Set A (Zone) works best on M15–H1; Set B (mini) is great for M5–M30 to catch tactical moves inside the bigger structure.
Quick Start
Add to chart → Entry Sets: enable Set A (Zone) and/or Set B (BB mini).
Alerts: turn on Enable Auto Alerts and create one alert with Any alert() function call → Once per bar close.
Webhook/automation: toggle Use JSON to emit machine-readable alerts.
Filters: enable HTF Trend Filter and/or BB Width filter to improve signal quality.
Stops: choose SL mode (ATR ×, Percent, Points). Configure SL→BE on TP1, Follow by TP, or Chandelier Trail.
Signal Architecture
Set A — Zone-Driven (primary entries)
Trigger: price touches/crosses zone edge → pending → confirm with hysteresis and minimum real body (ATR-scaled) aligned with side.
Anti-Chase: firstTouchOnly, max entries per zone, flipGuardBars, optional body-displacement (ATR×), and global lock after any entry.
Breakout Handling: lock zones after a meaningful break (close beyond edge ≥ ATR×). Re-arm by Retest / Time / Retest OR Time.
TP Ladder: TP1–TP5 lines with labels and fills.
Smart SL: move to BE at TP1, follow TP levels (rate-limited and ATR-buffered), or Chandelier.
Set B — BB Entries (mini)
Modes: Revert Cross (default) or Cross Threshold.
Honors HTF EMA slope and BB Width if enabled.
Separate per-side cooldown to reduce spam.
Heads-Up & HUD
Heads-Up ETA: estimates minutes to nearest band/basis or compression-to-expansion spike.
HUD: shows symbol/TF/side, Entry/SL, TP1–TP5 RR snapshot, W/L from Zone set, and HU/Vol lines.
Alerts
Auto alerts (recommended, via alert())
Create one alert: Any alert() function call → Once per bar close. It covers everything.
ENTRY (Zone):
Key Settings (what matters most)
Strategy Settings: tradeDirection (gate signals by side), entryStrategy for BB.
Entry Sets: toggle Set A (Zone) and Set B (BB mini) independently.
Bollinger Bands Settings: bbLength, bbMult; if BB Width filter is on, define min/max width (% of price).
Alert Settings: Enable Auto Alerts, Use JSON, cooldownSeconds, maxOneTPPerBar.
Anti-Chase / Zone State: firstTouchOnly, maxEntriesPerZonePerSide, flipGuardBars, requireRetest, hysteresisAtrMult, confirmBodyAtrMult, globalLockBars, lockZonesOnBreakout, rearmMode.
Stop Loss: SL mode + SL→BE on TP1, Follow by TP (slMoveFraction, confirm/hold bars, ATR buffer), Chandelier.
TP Zones: mult_dist for step size, zoneExpireBars for auto-cleanup.
HUD/Labels: mini label colors, HUD theme/size.
Tuning Guide
Too few entries: reduce flipGuardBars, confirmBodyAtrMult, or hysteresisAtrMult; relax BB width bounds; increase maxEntriesPerZonePerSide.
Noisy/fake entries: raise flipGuardBars, enable requireFlipDisplacement (increase flipDispATRmult), tighten BB width bounds, enable alertsFollowTradeDirection.
SL moves too fast/slow: adjust slMinBarsBetweenMoves, slFollowConfirmBars, slMoveFraction, and slFollowAtrBufferMult.
Prefer retests after breaks: lockZonesOnBreakout = true + rearmMode = "Retest only".
Repaint & Transparency
Entries fire on bar close when alertsOnClose=true (default), with multi-layer confirmation to reduce hindsight changes.
Heads-Up/Spike are predictive helpers, not entry rules; they may update as new data comes in.
Visual overlays (divergence/oscillators) are supportive, not mandatory to the entry logic.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact dumrongnut1 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact dumrongnut1 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.