OPEN-SOURCE SCRIPT

Topscore SMC Dashboard v7.2 DUAL + Liquidity + HTF FVG

184
This is a highly advanced **Smart Money Concepts (SMC) & ICT (Inner Circle Trader)** trading suite. It automates the analysis of market structure, liquidity, and imbalances across multiple timeframes to provide high-probability trade setups.

Here is a breakdown of how it works, its features, and how to trade with it.

---

### 1. Key Features & Logic

#### **A. Liquidity Pools (BSL / SSL)**

* **What it does:** It identifies "Equal Highs" (BSL - Buy Side Liquidity) and "Equal Lows" (SSL - Sell Side Liquidity).
* **Visuals:**
* **Red Dashed Lines:** BSL (Resistance/Liquidity above).
* **Green Dashed Lines:** SSL (Support/Liquidity below).


* **The "Sweep":** When price pierces these lines and reverses, the script marks it as **"💰 BSL/SSL Swept"**. In SMC, a sweep is often a precursor to a reversal.

#### **B. Fair Value Gaps (FVG) - Dual Timeframe**

* **LTF FVG (Lower Timeframe):** Detects standard gaps on your *current* chart (Standard Boxes).
* **HTF FVG (Higher Timeframe):** Uses `request.security` to look inside a higher timeframe (default is 1 Hour/60min) and projects those gaps onto your current chart.
* **Benefit:** Allows you to trade a 5-minute chart while seeing 1-hour "Magnet" levels without switching screens.



#### **C. Probability Engine**

* The script calculates a "Win Probability" % based on a confluence checklist. It adds points for:
1. **Liquidity Sweeps:** (+40 points) Highest weight.
2. **HTF FVG Alignment:** (+30 points) Trading into a higher timeframe gap.
3. **Trend Alignment:** (+15 points) Is price above/below the 50 SMA?
4. **FVG Quality:** (+10 points) Size and clarity of the gap.


* **Dual Calculation:** It calculates the score for **BOTH Long and Short** scenarios simultaneously and highlights the stronger side.

#### **D. Smart Risk Management**

* **Stop Loss (SL):** It doesn't just use a fixed number. It intelligently places SL behind:
* The recent Liquidity Sweep wick.
* The boundary of an FVG.
* A recent Swing High/Low.


* **Take Profit (TP):** Calculated based on your defined Risk:Reward Ratio (default 1:2).

---

### 2. The Dashboard (Top Right) explained

The dashboard is your "Cockpit." Here is how to read it row by row:

| Row | Description |
| --- | --- |
| **Entry** | Shows current price (or your manual entry price if set in settings). |
| **Liquidity** | Tells you if a pool (BSL/SSL) has just been swept or if active pools exist. |
| **HTF** | Status of the Higher Timeframe. e.g., "Bull FVG" means price is inside a 1H Buy zone. |
| **LONG / SHORT** | Shows the Probability Score for both directions. The stronger side will have a Star (⭐). |
| **SL / TP** | The exact price levels for Stop Loss and Take Profit calculated by the script. |
| **RR / Status** | Shows Risk:Reward and flashes **"HIGH PROB!"** if score > 65%. |
| **Confluence** | Lists *why* the score is high (e.g., "SSL Swept, HTF Bull FVG"). |

---

### 3. How to Trade using this Indicator

#### **Scenario 1: The Reversal Setup (High Probability)**

1. **Wait for a "Sweep":** Look for price to cross a Dotted Line (Liquidity Pool) and generate a **"💰 Swept"** label.
2. **Check HTF:** Ideally, this sweep happens inside a Higher Timeframe FVG (Large colored box).
3. **Check Dashboard:** Look for the probability score to turn **Green (>65%)**.
4. **Entry:** Enter when the dashboard confirms the setup.
5. **Execution:** Place your SL and TP exactly where the lines on the chart indicate.

#### **Scenario 2: Trend Continuation**

1. **Trend Check:** Price is trending (e.g., creating higher highs).
2. **Retracement:** Price pulls back into a **LTF FVG** (small box) or **HTF FVG** (large box).
3. **Confirmation:** Dashboard shows "Confluence: Uptrend, Quality FVG".
4. **Trade:** Take the trade in the direction of the trend.

---

### 4. Settings Guide (Inputs)

* **General Settings:**
* `Show LTF/HTF FVG`: Toggle boxes on/off.
* `Max boxes to keep`: Increase if you want to see history, decrease to make the chart faster.


* **HTF Settings:**
* `HTF Timeframe`: If you scalp M1/M5, set this to "60" (1 Hour). If you trade H1, set this to "240" (4 Hour) or "D" (Daily).


* **Liquidity Settings:**
* `Liquidity Lookback`: Higher number = Major swing points only. Lower number = Minor internal liquidity.


* **Trade Setup Calculator:**
* `Entry Price`: Leave at 0 for "Live" pricing. Set a specific price if you are planning a Limit Order and want to see where the SL/TP would be.
* `Risk:Reward`: Default is 2.0. Change to 1.5 or 3.0 based on your style.



### 5. Pro Tips for this Script

1. **Don't follow blindly:** A 90% probability on the dashboard is mathematical based on *past* logic, not a guarantee of the future.
2. **Best Timeframes:** This works best on **M5 and M15** for execution, with the HTF setting set to **H1 or H4**.
3. **The "Sweep" is Key:** The highest probability setups usually involve a Liquidity Sweep (Stop Hunt) *before* the move. If there is no sweep, the setup is weaker.
นี่คือคำอธิบายฉบับภาษาไทยสำหรับอินดิเคเตอร์ **"SMC Dashboard v7.2 DUAL + Liquidity + HTF FVG"** ครับ

ตัวนี้ถือเป็นเครื่องมือระดับ "All-in-One" สำหรับสายเทรด **SMC (Smart Money Concepts)** และ **ICT** ที่ช่วยวิเคราะห์โครงสร้างตลาด สภาพคล่อง (Liquidity) และช่องว่างราคา (FVG) ให้แบบอัตโนมัติ พร้อมคำนวณความน่าจะเป็นในการเข้าเทรดให้ด้วย

---

### 1. หลักการทำงานและฟีเจอร์เด่น

#### **A. การหา Liquidity (สภาพคล่อง / จุดกิน Stop Loss)**

* **BSL (Buy Side Liquidity):** เส้นประสีแดงด้านบน (แนวต้านที่มีคนวาง SL ไว้เยอะ)
* **SSL (Sell Side Liquidity):** เส้นประสีเขียวด้านล่าง (แนวรับที่มีคนวาง SL ไว้เยอะ)
* **The Sweep (การกวาด):** เมื่อราคาแทงทะลุเส้นประเหล่านี้แล้วดึงกลับ ระบบจะขึ้นป้ายเตือนว่า **"💰 BSL/SSL Swept"**
* *เทคนิค:* ในสาย SMC การเกิด Sweep คือสัญญาณการกลับตัวที่ทรงพลังมาก (แปลว่ารายใหญ่เก็บของครบแล้ว)



#### **B. Fair Value Gaps (FVG) แบบ 2 Timeframe**

* **LTF FVG (กล่องเล็ก):** คือ Gap ใน Timeframe ปัจจุบันที่คุณเปิดอยู่
* **HTF FVG (กล่องใหญ่):** ระบบจะไปดึงข้อมูลจาก **Timeframe ใหญ่** (ค่ามาตรฐานคือ 1 ชั่วโมง) มาวาดเป็นกล่องบนกราฟปัจจุบันให้
* *ประโยชน์:* ทำให้คุณเทรด M5 แต่เห็นแนวรับ/ต้านสำคัญของ H1 ได้ทันทีโดยไม่ต้องสลับหน้าจอ



#### **C. ระบบคำนวณความน่าจะเป็น (Probability Engine)**

ระบบจะให้คะแนน (Score) ว่าฝั่งไหนน่าเล่นกว่ากัน โดยดูจาก:

1. มีการกวาด Liquidity (Sweep) หรือไม่? (+40 คะแนน)
2. ราคาอยู่ในโซน HTF FVG หรือไม่? (+30 คะแนน)
3. เทรนด์เป็นขาขึ้นหรือลง? (+15 คะแนน)
4. คุณภาพของ Gap สวยไหม? (+10 คะแนน)

---

### 2. วิธีอ่านค่าบน Dashboard (ตารางมุมขวาบน)

ตารางนี้เปรียบเสมือนหน้าปัดเครื่องบิน บอกข้อมูลสำคัญดังนี้:

| หัวข้อ | ความหมาย |
| --- | --- |
| **Entry** | ราคาปัจจุบัน (หรือราคาที่เราตั้งใจจะเข้า) |
| **Liquidity** | สถานะล่าสุด: บอกว่ามีการ "Sweep" (กวาด) ไปแล้วหรือยัง |
| **HTF** | บอกสถานะ Timeframe ใหญ่ เช่น "Bull FVG" (อยู่ในโซนซื้อของ H1) |
| **LONG / SHORT** | **ไฮไลท์สำคัญ:** บอก % ความน่าจะเป็นของทั้งสองฝั่ง ฝั่งไหนคะแนนเยอะกว่าจะมีดาว (⭐) |
| **SL / TP** | จุด Stop Loss และ Take Profit ที่ระบบคำนวณให้แนะนำ |
| **RR / Status** | อัตราส่วนกำไรต่อขาดทุน ถ้าคะแนนเกิน 65% จะขึ้นว่า **"HIGH PROB!"** (น่าเข้ามาก) |
| **Confluence** | เหตุผลสนับสนุน: ระบบจะบอกว่าทำไมถึงให้คะแนนสูง (เช่น เพราะมี Sweep + เทรนด์ขาขึ้น) |

---

### 3. วิธีการเทรด (How to Trade)

#### **ท่าไม้ตาย 1: สวนเทรนด์ (Reversal Setup)**

1. **รอสัญญาณ Sweep:** รอให้ราคาแทงทะลุเส้นประ (Liquidity) แล้วหดไส้กลับ (ขึ้นป้าย 💰 Swept)
2. **ดู Dashboard:** คะแนนความน่าจะเป็นต้องเป็นสีเขียว (>65%)
3. **เข้าออเดอร์:** กด Buy/Sell ตามทิศทางที่กลับตัว
4. **วาง SL/TP:** ตามเส้นที่ระบบขีดให้บนกราฟ (SL จะอยู่หลังไส้เทียนที่ไปกวาดมา)

#### **ท่าไม้ตาย 2: ตามเทรนด์ (Continuation)**

1. **ดูเทรนด์:** กราฟเป็นขาขึ้น (ราคายืนเหนือเส้น SMA 50)
2. **รอย่อ:** ราคาย่อตัวลงมาในกล่อง **FVG** (ทั้งกล่องเล็กหรือกล่องใหญ่)
3. **เช็ค Dashboard:** ช่อง Confluence ขึ้นว่า "Uptrend, Quality FVG"
4. **เข้าออเดอร์:** Buy ตามน้ำขึ้นไป

---

### 4. การตั้งค่าที่แนะนำ (Settings)

* **HTF Timeframe:**
* ถ้าคุณเทรด **M1 - M5** แนะนำให้ตั้ง HTF เป็น **"60" (1 ชั่วโมง)**
* ถ้าคุณเทรด **M15** แนะนำให้ตั้ง HTF เป็น **"240" (4 ชั่วโมง)**


* **Risk:Reward:** ค่าเดิมคือ 2.0 (กำไร 2 เท่าของความเสี่ยง) สามารถปรับเป็น 1.5 หรือ 3.0 ได้ตามสไตล์
* **Entry Price:** ปกติให้เป็น 0 (ใช้ราคา Real-time) แต่ถ้าจะวาง Pending Order ให้ใส่ราคาที่เราต้องการลงไป ระบบจะคำนวณ SL/TP ใหม่ให้เห็นภาพล่วงหน้า

### 5. ข้อแนะนำเพิ่มเติม

* **อย่าเชื่อ 100%:** แม้ Dashboard จะบอกว่าโอกาสชนะ 90% แต่มันคำนวณจากสูตรคณิตศาสตร์ ตลาดจริงมีความผันผวนเสมอ
* **การกวาด (Sweep) คือหัวใจ:** Setup ที่ดีที่สุดของตัวนี้คือตอนที่เกิด **Liquidity Sweep** แล้วไปชนกับ **HTF FVG** (กล่องใหญ่) จังหวะนี้จะมีโอกาสชนะสูงที่สุดครับ

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.