OPEN-SOURCE SCRIPT
تم تحديثه Institutional SD Master - Trader Sect69

### **How to Use This Indicator**
#### **1. Configuration & Setup**
* **Asset Selection:** Choose between **Gold (H4 Bias)** or **Crypto (H1 Bias)** in the settings.
* *Gold:* Uses a 4-hour HTF anchor for direction.
* *Crypto:* Uses a refined 1-hour internal candle lookback for intraday displacement.
* **Trading Days:** Toggle specific days (Mon-Fri) to display **Box Ranges**. The indicator will only be "ACTIVE" on these chosen days to keep you disciplined and avoid overtrading.
#### **2. Understanding the Dashboard**
The real-time dashboard tracks your strategy requirements automatically:
* **Signal Bias:** Determines direction based on **EMA 9/18** trend alignment and price location relative to the **Daily Open (P.Open)**.
* **Criteria Check:** Displays **READY ✅** only when price has performed an **Institutional Sweep** (moving into Discount for longs or Premium for shorts).
* **Execution Levels:** Provides 4-decimal precision for your **Entry (-0.5)**, **Target 1 (-1.0)**, **Target 2 (-2.0)**, and **Invalidation**.
#### **3. The Institutional SD Logic**
Unlike standard Fibonacci tools, this script anchors the SD from a specific **Institutional Reference Point** (HTF Open/Close) to a recent **Liquidity Purge** (Swing High/Low).
* **Entry (-0.5):** Look for a "Break and Retest" of a PD Array (FVG or Order Block) nested at this level.
* **Targets:** Aim for -1.0 (First Objective) and -2.0 (Institutional Expansion).
* **Risk Management:** Move your Stop Loss to **Break Even** once price closes a body beyond the -1.0 level.
### **Core Principles**
* **Consistency:** Only trade on "Active Days."
* **Discipline:** If the Criteria Check is **SEARCHING 🔍**, stay flat.
* **Preservation:** The Invalidation level is your "hard stop." If it breaks, the setup is dead.
---
**Author Note:** This tool is designed to remove emotion from trading by transforming subjective price action into objective mathematical levels. Be consistent, be disciplined.
#### **1. Configuration & Setup**
* **Asset Selection:** Choose between **Gold (H4 Bias)** or **Crypto (H1 Bias)** in the settings.
* *Gold:* Uses a 4-hour HTF anchor for direction.
* *Crypto:* Uses a refined 1-hour internal candle lookback for intraday displacement.
* **Trading Days:** Toggle specific days (Mon-Fri) to display **Box Ranges**. The indicator will only be "ACTIVE" on these chosen days to keep you disciplined and avoid overtrading.
#### **2. Understanding the Dashboard**
The real-time dashboard tracks your strategy requirements automatically:
* **Signal Bias:** Determines direction based on **EMA 9/18** trend alignment and price location relative to the **Daily Open (P.Open)**.
* **Criteria Check:** Displays **READY ✅** only when price has performed an **Institutional Sweep** (moving into Discount for longs or Premium for shorts).
* **Execution Levels:** Provides 4-decimal precision for your **Entry (-0.5)**, **Target 1 (-1.0)**, **Target 2 (-2.0)**, and **Invalidation**.
#### **3. The Institutional SD Logic**
Unlike standard Fibonacci tools, this script anchors the SD from a specific **Institutional Reference Point** (HTF Open/Close) to a recent **Liquidity Purge** (Swing High/Low).
* **Entry (-0.5):** Look for a "Break and Retest" of a PD Array (FVG or Order Block) nested at this level.
* **Targets:** Aim for -1.0 (First Objective) and -2.0 (Institutional Expansion).
* **Risk Management:** Move your Stop Loss to **Break Even** once price closes a body beyond the -1.0 level.
### **Core Principles**
* **Consistency:** Only trade on "Active Days."
* **Discipline:** If the Criteria Check is **SEARCHING 🔍**, stay flat.
* **Preservation:** The Invalidation level is your "hard stop." If it breaks, the setup is dead.
---
**Author Note:** This tool is designed to remove emotion from trading by transforming subjective price action into objective mathematical levels. Be consistent, be disciplined.
ملاحظات الأخبار
### **Key Logic Fixes applied:*** **Directional Polarity:** I calculated the `range_dist` as a directional vector. By using `sd_end + (range_dist * 1.5)`, the script ensures that a Bearish trend (negative distance) projects the target **downwards**, while a Bullish trend projects it **upwards**.
* **The Invalidation Rule:** `sl = sd_start` ensures that your stop loss is always anchored to the **Protected Pivot** (the High for shorts, the Low for longs).
* **Dynamic Visuals:** The chart boxes now only appear when the **Probability Check** is passed (price has touched the Daily Open). This prevents "Chart Noise" during low-probability ranging.
* **Precision:** Maintained the 4-decimal formatting for your FTMO challenge requirements.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.