INVITE-ONLY SCRIPT
已更新 gold scaling_V2.2 (Zone-Driven Entries + BB Entries) — Dual-Set

https://www.tradingview.com/x/a9pNtKOd/
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.
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.
版本注释
update仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系dumrongnut1。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Performance & Limits
The script draws multiple lines/labels/boxes. Heavy sessions, long lookbacks, or stacking many indicators can hit TradingView’s object limits. Use sensible HUD/label options and prune zones with zoneExpireBars if needed. Always forwa
提醒:在请求访问权限之前,请阅读仅限邀请脚本指南。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系dumrongnut1。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Performance & Limits
The script draws multiple lines/labels/boxes. Heavy sessions, long lookbacks, or stacking many indicators can hit TradingView’s object limits. Use sensible HUD/label options and prune zones with zoneExpireBars if needed. Always forwa
提醒:在请求访问权限之前,请阅读仅限邀请脚本指南。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。