INVITE-ONLY SCRIPT

S2O Gold Ai Alerts Signal (D1)

11
**What’s unique**

* **Regime-Aware TLX.** The TLX band can use an **Adaptive Multiplier** driven by a volatility/efficiency proxy (VR z-score). It tightens in quiet markets and relaxes in volatile regimes, aiming to reduce whipsaws without losing larger trends.
* **HTF Confirmation (optional).** Validate entries using a higher timeframe state (default 4H) so that signals align with the dominant trend.
* **BSZ Adaptive Threshold.** Momentum crosses (BSZ lead vs. trail) are accepted only when |lead − trail| is statistically elevated (user-defined z-score), suppressing weak “taps” during indecision.
* **Cooldown & Session Control.** Throttle signal frequency and restrict to trading windows to avoid thin liquidity or news spikes.
* **Non-repainting on close.** When “Confirm on Bar Close” is enabled, alerts are issued only on closed bars.

**Recommended use (D1)**

* Symbol examples: XAUUSD, major FX pairs, indices.
* Start with **TLX ATR Window = 3-5**, **Multiplier = 20**.
* BSZ Smooth Len = 2.
* For stricter entries, turn **ON** HTF Confirm and BSZ Adaptive Threshold (z-score ≥ 0.25–0.5).
* Keep **Confirm on Bar Close = ON** for live alerts.

**Alerts**

Add two alerts using *Any alert() function call* and choose:

* **S2O BUY** — fires when TLX is up and BSZ crosses up (plus optional filters).
* **S2O SELL** — fires when TLX is down and BSZ crosses down (plus optional filters).

**Disclaimers**

This script is for educational/informational purposes. No investment advice. Past performance does not guarantee future results. Always validate on your own symbols and broker conditions.

---

For more information, please contact me **directly on TradingView**—send me a private message from my profile (click my username on this script’s page) or leave a comment under the script.

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.