OPEN-SOURCE SCRIPT
ที่อัปเดต: MACD_RD

MACD_RD - Moving Average Convergence Divergence (Ryan DeBraal)
This indicator plots a standard MACD along with a color-adaptive histogram and
integrated momentum-shift alerts. It preserves the normal MACD structure while
improving visual clarity and signal recognition.
FEATURES
-----------------------------------------------------------------------------
• Standard MACD Calculation
- Fast MA (12 by default)
- Slow MA (26)
- Signal line (9)
- Choice between SMA/EMA for both MACD and Signal smoothing
• Color-Changing Histogram
- Green shades for positive momentum
- Red shades for negative momentum
- Lighter/darker tones depending on whether momentum is increasing or fading
- 50% opacity for improved readability
• Crossover-Based MACD Line Coloring
- MACD line turns green on bullish cross (MACD > Signal)
- MACD line turns red on bearish cross (MACD < Signal)
- Default blue when no crossover occurs
• Momentum-Shift Alerts
- Alerts when histogram flips direction
PURPOSE
-----------------------------------------------------------------------------
This MACD version emphasizes momentum shifts and trend transitions by
highlighting subtle histogram changes and providing clean crossover visuals.
Ideal for:
• Identifying early momentum reversals
• Filtering breakout/trend setups
• Confirming trend continuation vs exhaustion
This indicator plots a standard MACD along with a color-adaptive histogram and
integrated momentum-shift alerts. It preserves the normal MACD structure while
improving visual clarity and signal recognition.
FEATURES
-----------------------------------------------------------------------------
• Standard MACD Calculation
- Fast MA (12 by default)
- Slow MA (26)
- Signal line (9)
- Choice between SMA/EMA for both MACD and Signal smoothing
• Color-Changing Histogram
- Green shades for positive momentum
- Red shades for negative momentum
- Lighter/darker tones depending on whether momentum is increasing or fading
- 50% opacity for improved readability
• Crossover-Based MACD Line Coloring
- MACD line turns green on bullish cross (MACD > Signal)
- MACD line turns red on bearish cross (MACD < Signal)
- Default blue when no crossover occurs
• Momentum-Shift Alerts
- Alerts when histogram flips direction
PURPOSE
-----------------------------------------------------------------------------
This MACD version emphasizes momentum shifts and trend transitions by
highlighting subtle histogram changes and providing clean crossover visuals.
Ideal for:
• Identifying early momentum reversals
• Filtering breakout/trend setups
• Confirming trend continuation vs exhaustion
เอกสารเผยแพร่
MACD_RD - Moving Average Convergence Divergence (Ryan DeBraal)This indicator plots a standard MACD along with a color-adaptive histogram and
integrated momentum-shift alerts. It preserves the normal MACD structure while
improving visual clarity and signal recognition.
FEATURES
-----------------------------------------------------------------------------
• Standard MACD Calculation
- Fast MA (12 by default)
- Slow MA (26)
- Signal line (9)
- Choice between SMA/EMA for both MACD and Signal smoothing
• Color-Changing Histogram
- Green shades for positive momentum
- Red shades for negative momentum
- Lighter/darker tones depending on whether momentum is increasing or fading
- 50% opacity for improved readability
• Crossover-Based MACD Line Coloring
- MACD line turns green on bullish cross (MACD > Signal)
- MACD line turns red on bearish cross (MACD < Signal)
- Default blue when no crossover occurs
• Momentum-Shift Alerts
- Alerts when histogram flips direction
PURPOSE
-----------------------------------------------------------------------------
This MACD version emphasizes momentum shifts and trend transitions by
highlighting subtle histogram changes and providing clean crossover visuals.
Ideal for:
• Identifying early momentum reversals
• Filtering breakout/trend setups
• Confirming trend continuation vs exhaustion
เอกสารเผยแพร่
// MACD_RD - Moving Average Convergence Divergence (Ryan DeBraal)// This indicator plots a standard MACD along with a color-adaptive histogram and
// integrated momentum-shift alerts. It preserves the normal MACD structure while
// improving visual clarity and signal recognition.
//
// FEATURES
// -----------------------------------------------------------------------------
// • Standard MACD Calculation
// - Fast MA (12 by default)
// - Slow MA (26)
// - Signal line (9)
// - Choice between SMA/EMA for both MACD and Signal smoothing
//
// • Color-Changing Histogram
// - Green shades for positive momentum
// - Red shades for negative momentum
// - Lighter/darker tones depending on whether momentum is increasing or fading
// - 50% opacity for improved readability
//
// • Crossover-Based MACD Line Coloring
// - MACD line turns green on bullish cross (MACD > Signal)
// - MACD line turns red on bearish cross (MACD < Signal)
// - Default blue when no crossover occurs
//
// • Momentum-Shift Alerts
// - Alerts when histogram flips direction
//
// PURPOSE
// -----------------------------------------------------------------------------
// This MACD version emphasizes momentum shifts and trend transitions by
// highlighting subtle histogram changes and providing clean crossover visuals.
// Ideal for:
// • Identifying early momentum reversals
// • Filtering breakout/trend setups
// • Confirming trend continuation vs exhaustion
เอกสารเผยแพร่
// MACD_RD - Moving Average Convergence Divergence (Ryan DeBraal)// This indicator plots a standard MACD along with a color-adaptive histogram and
// integrated momentum-shift alerts. It preserves the normal MACD structure while
// improving visual clarity and signal recognition.
//
// FEATURES
// -----------------------------------------------------------------------------
// • Standard MACD Calculation
// - Fast MA (12 by default)
// - Slow MA (26)
// - Signal line (9)
// - Choice between SMA/EMA for both MACD and Signal smoothing
//
// • Color-Changing Histogram
// - Green shades for positive momentum
// - Red shades for negative momentum
// - Lighter/darker tones depending on whether momentum is increasing or fading
// - 50% opacity for improved readability
//
// • Crossover-Based MACD Line Coloring
// - MACD line turns green on bullish cross (MACD > Signal)
// - MACD line turns red on bearish cross (MACD < Signal)
// - Default blue when no crossover occurs
//
// • Momentum-Shift Alerts
// - Alerts when histogram flips direction
//
// PURPOSE
// -----------------------------------------------------------------------------
// This MACD version emphasizes momentum shifts and trend transitions by
// highlighting subtle histogram changes and providing clean crossover visuals.
// Ideal for:
// • Identifying early momentum reversals
// • Filtering breakout/trend setups
// • Confirming trend continuation vs exhaustion
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน