OPEN-SOURCE SCRIPT
Cập nhật 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
Phát hành các Ghi chú
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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.