PROTECTED SOURCE SCRIPT
已更新

W%R Cycle Swings + MTF Trend

264
✅ Description (ภาษาไทย)

อินดิเคเตอร์นี้ช่วยระบุ Swing High / Swing Low จากวงจรของ Williams %R และตรวจหา MSS (Market Structure Shift) เฉพาะ “จุดเปลี่ยนเทรนด์ครั้งแรก” จริง ๆ โดยจะแสดงป้าย MSS พร้อมเส้นแนวนอนจาก Swing ไปยังแท่งที่ทำให้เกิดการ Break โครงสร้าง (ไม่ยืดเส้นยาวจนเกะกะ)

พร้อมทั้งมี MTF Trend Table (5m / 15m / 30m / 1h / 4h) เพื่อบอกว่าแต่ละ Timeframe กำลังอยู่ใน โครงสร้างขาขึ้น (Up) หรือ ขาลง (Down) โดยใช้หลักการ MSS-first ของ TF นั้นจริง ๆ (ไม่ใช่การคำนวณจาก TF ปัจจุบัน)
ดังนั้นทิศทางในตารางจะ นิ่งกว่า / ไม่แกว่งมั่ว และสะท้อนโครงสร้างตลาดจริง

🧠 หลักการสำคัญ
สัญญาณ หมายถึง
Swing High/Low บ่งบอกโซน Pivot ที่มีนัยยะ
MSS Bullish ราคา Break Swing High → เทรนด์เริ่มมีโอกาสกลับขึ้น
MSS Bearish ราคา Break Swing Low → เทรนด์เริ่มมีโอกาสกลับลง
MTF Up/Down ทิศทางแนวโน้มของ TF นั้นตาม MSS-first
🎯 วิธีใช้งาน

ดู จังหวะเกิด MSS → คือช่วงที่ตลาดกำลังเริ่ม “เปลี่ยนเฟส”

รอให้ราคา Pullback กลับมา Retest โซนก่อนหน้า (Swing Zone)

เข้าเทรดตามทิศทาง MSS พร้อมดูยืนยันว่า TF ใหญ่ยัง ไปทางเดียวกัน ผ่าน MTF Table

ถ้า MTF ส่วนใหญ่ขึ้น → เทรด Long จะง่ายกว่า
ถ้า MTF ส่วนใหญ่ลง → เทรด Short จะได้เปรียบ

⚠️ ข้อควรระวัง

ถ้า Swing เกิดถี่ = ตลาดกำลัง Sideways → เน้นดู TF ใหญ่ประกอบ

อินดิเคเตอร์นี้ให้ โครงสร้าง (Structure Bias) ไม่ได้เป็นสัญญาณเข้าอัตโนมัติ ควรใช้ร่วมกับ:

Order Block

FVG / Liquidity Grab

ราคาเข้าใกล้ Zone สำคัญ

==========================================================================

✅ Description (English)

This indicator identifies Swing High / Swing Low using the Williams %R cycle and detects MSS (Market Structure Shift) only at the first directional break — marking the true beginning of a trend change.
It places an MSS label and a horizontal break line (non-extended, clean view).

It also includes a Multi-Timeframe Trend Table (5m / 15m / 30m / 1h / 4h) calculated using each timeframe’s own MSS-first logic, making the trend signal more reliable and less noisy than standard MA/RSI-based direction tracking.

🧠 Interpretation
Signal Meaning
Swing High/Low Key pivot zones
Bullish MSS Break of previous Swing High → start of upward structure
Bearish MSS Break of previous Swing Low → start of downward structure
MTF Up/Down Trend direction of each timeframe based on MSS-first
🎯 How to Use

When an MSS occurs, the market is likely shifting regime.

Wait for price to pull back into the prior swing zone.

Enter in the direction of MSS while confirming higher timeframe alignment using the MTF table.

If most MTFs are Up → favor Long setups
If most MTFs are Down → favor Shorts

⚠️ Notes

Frequent swings indicate range/accumulation → rely more on higher TF structure.

This indicator provides market structure bias, not automatic entry signals.

Best used with:

Order Blocks

FVG / Imbalance

Liquidity sweep confirmations
版本注释
คำอธิบาย (ภาษาไทย)
ภาพรวม

อินดิเคเตอร์นี้:

หา Swing High / Swing Low จาก “วงจร” ของ Williams %R

Swing High = เห็น Oversold → Overbought → Oversold แล้วล็อกจุดสูงสุดในช่วง OB นั้น

Swing Low = เห็น Overbought → Oversold → Overbought แล้วล็อกจุดต่ำสุดในช่วง OS นั้น

ตรวจ MSS (Market Structure Shift) เฉพาะ “ครั้งแรกที่เทรนด์เปลี่ยน” (MSS-first)

Bullish MSS = ราคาเบรก Swing High ล่าสุด

Bearish MSS = ราคาเบรก Swing Low ล่าสุด

วาดป้าย “MSS” และเส้นแนวนอนจากบาร์สวิง → บาร์ที่เบรก (ไม่ยืดไปเรื่อย)

แสดง MTF Trend Table (5m/15m/30m/1h/4h) พร้อมคอลัมน์ซ้าย:

แถว1: TF

แถว2: Trend (Up/Down) จาก MSS-first ของ TF นั้นจริง ๆ (stateful)

แถว3: Cancel = ระดับราคาที่ “ยกเลิก” มุมมองเทรนด์ปัจจุบัน

ถ้า Trend = Up → Cancel = Swing Low ล่าสุด ของ TF นั้น

ถ้า Trend = Down → Cancel = Swing High ล่าสุด ของ TF นั้น

ปุ่มตั้งค่าเด่น

Williams %R Length ความยาวคำนวณ W%R (ค่าเริ่ม 14)

Overbought / Oversold Level ค่าขอบเขต OB/OS (เช่น -20 / -80)

Confirm MSS by Close ใช้แท่งปิดยืนยันการเบรก (ลดสัญญาณหลอก)

สี/สไตล์ป้ายและเส้น MSS

วิธีใช้งาน

รอให้เกิด MSS-first → บ่งชี้ว่าโครงสร้างกำลังเปลี่ยนเฟส

มองหา Pullback/Retest กลับเข้าหาโซนสวิงเดิม เพื่อหาจุดเข้า

เปิดกราฟดู MTF Trend Table ให้ TF ใหญ่ ๆ ไปทางเดียวกัน

ใช้แถว Cancel เป็น “จุดยกเลิกมุมมอง” ของ TF นั้น ๆ

ตัวอย่าง: Trend (1h) = Up ⇒ ดูแถว Cancel (1h) เป็นแนวรับสุดท้าย ถ้าหลุด = เทรนด์ 1h เสียทรง

Alerts (มีพร้อม)

Current TF: MSS-first Bullish/Bearish (current TF)

MTF เฉพาะ TF: MTF 5m/15m/30m/1h/4h — MSS-first Bullish/Bearish
แนะนำตั้งเป็น Once per bar close เมื่อเปิด Confirm MSS by Close

หมายเหตุ & ทริก

ถ้าแถว Trend โชว์ “-” แปลว่า TF นั้น ยังไม่เคยเกิด MSS-first ในช่วงข้อมูลที่โหลด (เลื่อนดูย้อนหลังเล็กน้อย)

ตารางเป็น stateful: ค่า Trend/Cancel คงอยู่จนกว่าจะมีสวิง/เบรกใหม่ที่เกี่ยวข้อง

ใช้ร่วมกับโซนอย่าง Order Block / FVG / Liquidity Sweep จะคัดกรองจังหวะได้คมขึ้น

Description (English)
Overview

This indicator:

Detects Swing High/Low using the Williams %R cycle

Swing High: OS → OB → OS, locking the max price within that OB segment

Swing Low : OB → OS → OB, locking the min price within that OS segment

Marks MSS (Market Structure Shift) only at the first trend change (MSS-first)

Bullish MSS = break of the latest Swing High

Bearish MSS = break of the latest Swing Low

Draws an “MSS” label + a horizontal line from the swing bar to the break bar (no right extension)

Shows a Multi-Timeframe Trend Table (5m/15m/30m/1h/4h) with a left label column:

Row 1: TF

Row 2: Trend (Up/Down) from that TF’s own MSS-first (stateful)

Row 3: Cancel = the price level to invalidate the current trend

If Trend = Up → Cancel = latest Swing Low of that TF

If Trend = Down → Cancel = latest Swing High of that TF

Key Inputs

Williams %R Length (default 14)

Overbought / Oversold Level (e.g., -20 / -80)

Confirm MSS by Close to reduce false breaks

Label/line colors & styles for MSS and Swings

How to Use

Wait for an MSS-first event → signals the first structural shift.

Look for pullback/retest into the prior swing zone to time entries.

Check the MTF Trend Table to ensure higher TF alignment.

Use the Cancel row as your invalidation level for each TF:

Example: 1h Trend = Up ⇒ 1h Cancel is the last swing low; a break below invalidates the 1h up-structure.

Alerts (ready to use)

Current TF: MSS-first Bullish/Bearish (current TF)

Per-TF MTF: MTF 5m/15m/30m/1h/4h — MSS-first Bullish/Bearish
Recommended Once per bar close when Confirm MSS by Close is enabled.

Notes & Tips

A “-” in Trend means that TF hasn’t produced an MSS-first within the loaded history yet.

Table is stateful: Trend/Cancel persist until a new relevant swing/break updates them.

Combine with Order Blocks, FVG/Imbalance, Liquidity sweeps to refine execution.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。