OPEN-SOURCE SCRIPT
已更新

MACD_RD

258
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
版本注释
// 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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。