OPEN-SOURCE SCRIPT
ที่อัปเดต: RSI Divergence Indicator (Multi-Time Frame Confirmation)

This custom-built RSI indicator blends traditional divergence detection with multi-timeframe trend confirmation, offering traders a smarter way to spot meaningful momentum shifts.
เอกสารเผยแพร่
The indicator detects and visualizes potential trend reversals or continuations by analyzing:RSI Divergences
Multi-timeframe RSI trend alignment
Momentum crossovers
Trend continuation zones (ribbons)
It combines price action with momentum behavior to help traders spot high-probability entry/exit points and understand the current trend state.
เอกสารเผยแพร่
To identify high-probability trend reversals and momentum shifts using enhanced RSI signals, multi-timeframe context, and visual clarity.เอกสารเผยแพร่
To identify meaningful trend flips, momentum divergences, and RSI cross confirmations across multiple timeframes — with filters to reduce noise and false signals.⚙️ Main Components:
✅ 1. RSI & Composite RSI
RSI: Classic oscillator using your selected source and period (default: 9, high)
Composite RSI: Blends RSI from 3 user-defined timeframes (default: 4H, 1D, 1W) with customizable weights
✅ 2. Trend Ribbon
Background fills between RSI 30–70
Green frame: Last valid cross was bullish
Red frame: Last valid cross was bearish
Purple frame: Optional flip alerts (currently with price confirmation)
✅ 3. Flip Alerts
Signals a potential trend change when:
RSI crosses Composite RSI
RSI and Composite RSI are at least 3 points apart
RSI has momentum (slope > 0.4)
AND the price confirms (e.g., green flip = close > previous high)
🔔 Optional visual “Flip” label at RSI value 90
✅ 4. Divergence Detection
Detects:
Regular Bullish/Bearish Divergences
Hidden Bullish/Bearish Divergences
Based on RSI pivots and price action
✅ 5. Dynamic Overbought/Oversold Zones
Highlights RSI values above 70 (green tint) and below 30 (red tint)
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน