OPEN-SOURCE SCRIPT

ONE Clear Multi‑Timeframe Synchronization (MTS) [Sync]

74
**Script Profile — ONE Clear Multi‑Timeframe Synchronization (MTS) (Pine v6)**

* **Purpose:** Identifies a *multi‑timeframe “ignition”* pattern—strong daily upside confirmed by the next day and aligned with weekly & monthly structure—designed for pattern recognition and research (non‑financial advice).
* **Core Signals:**
* **MTS D1 (Ignition):** Day‑1 ≥ **+7%**, **close near high** (≥95%), **volume expansion** vs 20‑day average, and **prior‑day hammer** (stabilization).
* **MTS D2 (Confirmation):** Day‑2 ≥ **+5%** to validate D1.
* **Higher‑TF Alignment:** Confirms **weekly** (close above prior week’s high or green week) and **monthly** (close above prior month’s high or green month) conditions via `request.security`.
* **Context Overlays (optional):** Pivot‑based **Support/Resistance** with **“B” breaks** (green = resistance break; red = support break) gated by a **volume oscillator** (EMA5 vs EMA10).
* **Alerts:**
* **MTS Ignition Confirmed** (D1 + D2 + hammer + weekly/monthly + volume gate)
* **Support/Resistance Broken** (with volume gate)
* **Stability Fix:** Precomputes `ta.crossover`/`ta.crossunder` **once per bar** and reuses variables in conditions to avoid inconsistent historical evaluation—*no change in strategy logic or thresholds.*
* **Typical Read:** Use D1 (low/mid/high) as reference levels; D2 confirms regime shift; green “B” after D2 suggests continuation, red “B” warns of failure.


Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.