OPEN-SOURCE SCRIPT

🫟 DarkPool's MacD 🫟

25
DarkPool's MacD is an enhanced version of the classic Moving Average Convergence Divergence oscillator, engineered for modern traders who require more than just price data. While standard MACD indicators only measure price momentum, this tool integrates a Volume Weighting engine. This means the histogram bars expand not just based on price spread, but also based on the relative volume behind the move.

Additionally, the indicator features "True Multi-Timeframe (MTF)" capabilities, allowing you to view higher-timeframe momentum (e.g., Hourly or Daily) while trading on lower timeframes, alongside a 4-stage "Heatmap" color scheme to instantly visualize trend strength and exhaustion.

Key Features

Volume-Weighted Histogram: When enabled, histogram bars are multiplied by Relative Volume (RVOL). A large bar indicates strong price momentum backed by institutional volume, while a small bar suggests weak participation.

Vibrant Heatmap: A unique 4-color coding system that differentiates between "Strong Impulse" and "Fading Momentum" for both bullish and bearish trends.

True MTF: Overlay higher timeframe MACD data onto your current chart to align with the macro trend.

Visual Triggers: Automatically plots dots on crossovers and highlights the chart background to signal potential entry points.

How to Use

1. The Volume-Weighted Histogram The histogram is the heartbeat of this indicator.

Standard Mode: Shows the distance between the MACD and Signal lines.

Volume Mode (Default): If a move has high volume, the histogram bar grows significantly larger. If the price is moving but volume is low, the bar remains small. This helps filter out "fakeouts" where price moves without participation.

2. Reading the Heatmap (Colors) The "Vibrant Heatmap" theme uses specific colors to tell a story:

Cyan (Bright Blue): Strong Bullish Momentum. Buyers are in control.

Dodger Blue (Darker): Bullish but weakening. The trend is still up, but momentum is fading.

Pink/Red: Strong Bearish Momentum. Sellers are in control.

Gold/Amber: Bearish but weakening. The trend is still down, but selling pressure is drying up (potential reversal warning).

3. Crossover Signals

Bullish Cross: A bright circle appears on the line, and the background flashes Green. This occurs when the MACD crosses above the Signal line.

Bearish Cross: A bright circle appears on the line, and the background flashes Red. This occurs when the MACD crosses below the Signal line.

4. Multi-Timeframe Strategy Use the "Manual Timeframe" input to lock the MACD to a higher trend.

Example: If you trade on the 5-minute chart, set the indicator to "60" (1 Hour). You will now see the 1-Hour momentum displayed on your 5-minute chart, helping you avoid trading against the major trend.

Configuration Settings

Calculations

Fast/Slow Length: Standard MACD settings (Default: 12, 26).

Signal Smoothing: The length of the signal line (Default: 9).

Timeframe Settings

Use Current Chart: Uncheck this to enable the "Manual Timeframe" dropdown for MTF analysis.

Volume & Logic

Scale Histogram by Real Volume: The most important setting. Keep this checked to see the "force" behind the move. Uncheck it for a classic MACD look.

Styling

Color Theme:

Vibrant Heatmap: The default 4-stage color system.

Institutional: A grayscale/monochrome look for professional, distraction-free charts.

Dark Mode Safe: High contrast colours suitable for dark backgrounds.

Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.

Penafian

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.