PROTECTED SOURCE SCRIPT
CG Momentum - Table

✅ 📄 English Description
Overview
The CG Momentum – Table indicator is a multi-timeframe momentum dashboard designed to help traders quickly evaluate market conditions across eight key timeframes. Instead of combining indicators arbitrarily, this script integrates four different momentum components—Williams %R, Stochastic %K, MACD slope, and RSI vs RSI-SMA trend state—into one unified framework. Each element contributes a unique perspective on momentum behavior, allowing traders to see alignment or divergence across all timeframes in a single glance.
Concept & Logic
1. Williams %R Cycle Position (Overbought/Oversold)
Uses a custom calculation instead of built-in W%R to ensure consistent values across security() calls.
Highlights overbought/oversold cycles using user-defined threshold levels.
Helps identify cycle turning points across higher and lower timeframes.
2. Stochastic %K Momentum (9-3-3 Model)
Computes raw %K manually, then applies smoothing to maintain accuracy in lower timeframes.
Evaluates overbought/oversold states based on traditional Stoch thresholds.
Color-coded for quick visual confirmation.
3. MACD Slope State (+ / –)
Instead of using MACD crossovers, this script analyzes MACD momentum direction by detecting 2-bar slope patterns.
A positive state means MACD is accelerating upward; negative means it is decelerating downward.
Ideal for spotting early trend acceleration.
4. RSI Trend State (RSI vs RSI-SMA)
Compares RSI(14) to its SMA(14).
Produces a + (bullish) or – (bearish) state.
A clean method to detect underlying trend bias in any timeframe.
How the Dashboard Works
The script displays a clean table in the bottom-right corner of the chart with the following columns:
TF | W%R | Stoch K | MACD | RSI
For each timeframe (5m → 1M):
W%R and Stoch cells are color-coded:
Green = Overbought (cycle top)
Red = Oversold (cycle bottom)
Gray = Neutral
MACD shows + or – with a trend-colored background.
RSI shows + or – depending on whether RSI is above/below its moving average.
This provides a compact yet powerful view of multi-timeframe momentum consensus.
How to Use
Look for alignment across timeframes (e.g., several timeframes showing bullish momentum).
Confirm entries by checking whether short-term momentum aligns with higher-timeframe structure.
Use W%R and Stoch colors to identify cycle extremes.
Use MACD/RSI states to confirm whether momentum is strengthening or weakening.
Ideal for intraday, swing, or position trading.
Why This Script Is Unique
Uses custom implementations for W%R, Stoch, RSI-MA state, and MACD slope instead of built-ins, ensuring consistent behavior across multi-timeframe security() calls.
Provides four distinct momentum perspectives in one unified visual tool.
Designed for clarity, reducing chart noise by consolidating indicators into one panel.
Suitable for all assets and timeframes.
🇹🇭 คำอธิบายภาษาไทย (สำหรับผู้ใช้ไทย)
ภาพรวม
อินดิเคเตอร์ CG Momentum – Table เป็นแดชบอร์ดวัดโมเมนตัมแบบหลายกรอบเวลา ที่รวมสัญญาณสำคัญ 4 ประเภท ได้แก่ Williams %R, Stochastic %K, MACD slope และสถานะ RSI เทียบ SMA ไว้ในตารางเดียว เพื่อช่วยให้เทรดเดอร์มองเห็นภาพรวมของโมเมนตัมในทุกไทม์เฟรมได้อย่างชัดเจนและอ่านง่าย
แนวคิดและหลักการทำงาน
1. Williams %R (วงจรราคาซื้อเกิน/ขายเกิน)
คำนวณด้วยสูตรเองเพื่อความแม่นยำในทุก TF
เน้นการหา cycle top/bottom
2. Stochastic %K (โมเมนตัมระยะสั้น)
ใช้สูตร 9-3-3 พร้อม smoothing
ช่วยหาจุดเร่งหรืออ่อนแรงของราคาในช่วงสั้น
3. MACD Slope State
ไม่ใช้สัญญาณ cross
ใช้การตรวจ “ความชันของ MACD” ว่ากำลังเร่งขึ้นหรือเร่งลง
เหมาะกับการจับสัญญาณเร่งตัวของแนวโน้ม
4. RSI Trend State
เปรียบเทียบ RSI กับค่าเฉลี่ยของมันเอง
ถ้า RSI > SMA → ขาขึ้น
ถ้า RSI < SMA → ขาลง
วิธีใช้งาน
ดูความสอดคล้องของโมเมนตัมระหว่างหลาย ๆ TF
ถ้าหลายกรอบเวลาชี้ไปทางเดียวกัน → ความน่าเชื่อถือสูง
ใช้สีของ W%R / Stoch เพื่อดู cycle
ใช้ MACD / RSI เพื่อยืนยันทิศทางแรงซื้อหรือแรงขาย
จุดเด่นของสคริปต์นี้
เป็นการรวม Momentum Indicators แบบมีเหตุผล ไม่ใช่การนำอินดี้หลายตัวมายำ
แสดงข้อมูลสำคัญทั้ง 4 ด้านในตารางเดียว
ออกแบบให้ “อ่านง่าย”, “ไม่รก chart”, “เข้าใจเร็ว”
เหมาะทั้ง Day trade, Swing และ Long-term
Overview
The CG Momentum – Table indicator is a multi-timeframe momentum dashboard designed to help traders quickly evaluate market conditions across eight key timeframes. Instead of combining indicators arbitrarily, this script integrates four different momentum components—Williams %R, Stochastic %K, MACD slope, and RSI vs RSI-SMA trend state—into one unified framework. Each element contributes a unique perspective on momentum behavior, allowing traders to see alignment or divergence across all timeframes in a single glance.
Concept & Logic
1. Williams %R Cycle Position (Overbought/Oversold)
Uses a custom calculation instead of built-in W%R to ensure consistent values across security() calls.
Highlights overbought/oversold cycles using user-defined threshold levels.
Helps identify cycle turning points across higher and lower timeframes.
2. Stochastic %K Momentum (9-3-3 Model)
Computes raw %K manually, then applies smoothing to maintain accuracy in lower timeframes.
Evaluates overbought/oversold states based on traditional Stoch thresholds.
Color-coded for quick visual confirmation.
3. MACD Slope State (+ / –)
Instead of using MACD crossovers, this script analyzes MACD momentum direction by detecting 2-bar slope patterns.
A positive state means MACD is accelerating upward; negative means it is decelerating downward.
Ideal for spotting early trend acceleration.
4. RSI Trend State (RSI vs RSI-SMA)
Compares RSI(14) to its SMA(14).
Produces a + (bullish) or – (bearish) state.
A clean method to detect underlying trend bias in any timeframe.
How the Dashboard Works
The script displays a clean table in the bottom-right corner of the chart with the following columns:
TF | W%R | Stoch K | MACD | RSI
For each timeframe (5m → 1M):
W%R and Stoch cells are color-coded:
Green = Overbought (cycle top)
Red = Oversold (cycle bottom)
Gray = Neutral
MACD shows + or – with a trend-colored background.
RSI shows + or – depending on whether RSI is above/below its moving average.
This provides a compact yet powerful view of multi-timeframe momentum consensus.
How to Use
Look for alignment across timeframes (e.g., several timeframes showing bullish momentum).
Confirm entries by checking whether short-term momentum aligns with higher-timeframe structure.
Use W%R and Stoch colors to identify cycle extremes.
Use MACD/RSI states to confirm whether momentum is strengthening or weakening.
Ideal for intraday, swing, or position trading.
Why This Script Is Unique
Uses custom implementations for W%R, Stoch, RSI-MA state, and MACD slope instead of built-ins, ensuring consistent behavior across multi-timeframe security() calls.
Provides four distinct momentum perspectives in one unified visual tool.
Designed for clarity, reducing chart noise by consolidating indicators into one panel.
Suitable for all assets and timeframes.
🇹🇭 คำอธิบายภาษาไทย (สำหรับผู้ใช้ไทย)
ภาพรวม
อินดิเคเตอร์ CG Momentum – Table เป็นแดชบอร์ดวัดโมเมนตัมแบบหลายกรอบเวลา ที่รวมสัญญาณสำคัญ 4 ประเภท ได้แก่ Williams %R, Stochastic %K, MACD slope และสถานะ RSI เทียบ SMA ไว้ในตารางเดียว เพื่อช่วยให้เทรดเดอร์มองเห็นภาพรวมของโมเมนตัมในทุกไทม์เฟรมได้อย่างชัดเจนและอ่านง่าย
แนวคิดและหลักการทำงาน
1. Williams %R (วงจรราคาซื้อเกิน/ขายเกิน)
คำนวณด้วยสูตรเองเพื่อความแม่นยำในทุก TF
เน้นการหา cycle top/bottom
2. Stochastic %K (โมเมนตัมระยะสั้น)
ใช้สูตร 9-3-3 พร้อม smoothing
ช่วยหาจุดเร่งหรืออ่อนแรงของราคาในช่วงสั้น
3. MACD Slope State
ไม่ใช้สัญญาณ cross
ใช้การตรวจ “ความชันของ MACD” ว่ากำลังเร่งขึ้นหรือเร่งลง
เหมาะกับการจับสัญญาณเร่งตัวของแนวโน้ม
4. RSI Trend State
เปรียบเทียบ RSI กับค่าเฉลี่ยของมันเอง
ถ้า RSI > SMA → ขาขึ้น
ถ้า RSI < SMA → ขาลง
วิธีใช้งาน
ดูความสอดคล้องของโมเมนตัมระหว่างหลาย ๆ TF
ถ้าหลายกรอบเวลาชี้ไปทางเดียวกัน → ความน่าเชื่อถือสูง
ใช้สีของ W%R / Stoch เพื่อดู cycle
ใช้ MACD / RSI เพื่อยืนยันทิศทางแรงซื้อหรือแรงขาย
จุดเด่นของสคริปต์นี้
เป็นการรวม Momentum Indicators แบบมีเหตุผล ไม่ใช่การนำอินดี้หลายตัวมายำ
แสดงข้อมูลสำคัญทั้ง 4 ด้านในตารางเดียว
ออกแบบให้ “อ่านง่าย”, “ไม่รก chart”, “เข้าใจเร็ว”
เหมาะทั้ง Day trade, Swing และ Long-term
受保护脚本
此脚本以闭源形式发布。 However, you can use it freely and without any limitations – learn more here.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
受保护脚本
此脚本以闭源形式发布。 However, you can use it freely and without any limitations – learn more here.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.