OPEN-SOURCE SCRIPT
ONE Clear Multi‑Timeframe Synchronization (MTS) [Sync]

**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.
* **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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.