INVITE-ONLY SCRIPT

MACD Master Suite [Kodexius]

125
The MACD Master Suite is an advanced momentum and trend framework that takes the familiar MACD concept and wraps it in a modern, trader oriented environment. Instead of a single line + histogram combination, it turns MACD into a structured decision layer with enhanced visualization, confluence and context.

The engine is built around a MACD style core with refined smoothing and normalization, designed to keep shifts in momentum clear while avoiding the noisy flicker that standard settings often produce. On top of this core, the suite adds multi timeframe confirmation, adaptive histogram behavior, trend and exhaustion mapping, divergence detection and a compact visual dashboard so you can read momentum structure at a glance rather than bar by bar.

The goal is not to create a “magic signal”, but to make MACD behave like a proper momentum map: highlighting when trend strength is building, when a leg is stretching into exhaustion, where momentum is quietly rolling over beneath price, and how different timeframes are lining up before major continuation or reversal moves.

This is not classic everyday MACD. This suite extends the standard MACD through normalization and integrated features, designed to assist in analyzing momentum patterns, identifying potential reversals, and supporting multi timeframe strategies. It processes MACD data into structured outputs for use in various market conditions.

istantanea

⚠️ Note:
This is not a traditional MACD, it uses normalized values, enhanced visual feedback, and a multi timeframe dashboard engine for superior signal quality and clarity.

🔹 Features

🔸 Enhanced MACD Core

- Custom MACD style oscillator that combines classic fast/slow smoothing with an internal normalization step, keeping the main wave readable even when volatility or scale changes.

- Flexible inputs for source, lengths and smoothing type so you can adapt the engine to different instruments and trading styles.

- Optional histogram + line combination, giving you both bar based impulse and a smoother line for regime changes and crossovers.

- Gradient colored oscillator line that visually shifts from red (weak momentum) through yellow (neutral) to green (strong momentum), providing at a glance regime identification.


🔸 Gradient Zones & Regime Context

- Configurable “overextended” zones around the MACD baseline, shaded with gradient fills rather than only hard lines.

- Visual emphasis on when the MACD engine is building a persistent push in one direction vs simply oscillating around the midline.

- The mid region is kept deliberately clearer so you can quickly distinguish between trending pushes, mean reverting swings and neutral chop.


istantanea

🔸 MACD Channel & Break Behaviour

- Optional channel overlay built directly on top of the MACD oscillator, using volatility style bands (e.g., Bollinger-type or Keltner-type) in MACD space instead of price space.

- Helps you see when MACD is expanding strongly away from its recent equilibrium versus compressing inside a narrow band.

- Channel touches and pushes beyond the band edges can act as an additional cue for exhaustion type behaviour or strong continuation bursts.


istantanea

🔸 Reversal Signal Markers

- Swing aware reversal markers that trigger when MACD conditions suggest a possible shift after stretching into your defined zones.

- Signals use the relationship between the MACD wave and its internal smoothing, aiming to highlight turning points that stand out from ordinary noise and try to filter out noise, focusing on confirmed shifts that align with broader market context.

- Markers are drawn on the MACD plot instead of the price chart to keep structure and signals in one place.


istantanea

🔸 Divergence Mapping (Regular & Hidden, with MTF Dashboard Support)

- Automatic detection of regular bullish/bearish and hidden bullish/bearish divergences between price and the oscillator.

- Separate visibility toggles for each divergence type so you can focus only on the signals that fit your approach.

- "Wait for candle close" option ensures conservative confirmation, reducing false positives in fast moving markets.

istantanea

🔸 Multi-Timeframe Custom MACD Dashboard

- Compact dashboard that summarizes MACD Engine state over multiple user defined timeframes in a small table.

Per timeframe cells can show:

– whether MACD is sitting in overbought/oversold style zones or in the neutral core,
– presence of recent bullish/bearish reversal signals,
– the current divergence bias (bullish, bearish or none),
– simple channel break information (upside/downside, or quiet).


Timeframe labels are formatted into familiar units (e.g., 15m, 1H, 4H, 1D) and the table is designed to be readable even when collapsed to a small area.

istantanea

🔸 Oscillator Trendlines & Break Detection

- Automatically draws trendlines directly on the MACD oscillator, using momentum swing pivots instead of only price highs and lows, so you see structure shifts where they actually start in the underlying momentum.

- Lines adapt to bullish or bearish phases and are anchored only to “clean” pivots with minimal internal violations, making sustained impulse legs and corrective phases much easier to distinguish.

- When MACD momentum closes through one of these oscillator trendlines, the break is highlighted with labels, providing an additional structural confirmation layer on top of standard signal line crossovers or histogram flips.


istantanea

🔸 Alerts

- Integrated alert conditions for MACD based reversals and all four divergence types (regular/hidden, bullish/bearish).

- Designed so you can create alerts directly from the indicator, turning key MACD events into actionable notifications.

- Altogether, MACD Master Suite consolidates multiple momentum tools into one cohesive interface, helping you read the “story” of MACD and its derivatives more intuitively and efficiently.


🔹 How To Use

▶ Reading the Core Momentum Engine

The main line serves as the primary momentum indicator: positions held above the midline suggest a bullish environment, whereas those below indicate a bearish setting. The gradient zones for overbought and oversold areas help identify when momentum is becoming extended or starting to ease back, offering a smoother view compared to rigid thresholds.

The channels provides an extra information for context:

• Momentum pushing toward or beyond the outer edges shows extension based on recent patterns.

• When it stays nearer to the center, it often points to balanced or corrective phases.
The histogram adds further detail to the picture: upward bars in varying green tones reflect positive momentum buildup, while downward bars in red tones show negative shifts. Diminishing bar sizes can hint at upcoming changes in direction, making it useful for spotting transitions.

Overall, focus on how these elements interact sustained positions, zone interactions, and histogram patterns to build a sense of the current momentum flow without overcomplicating the read.

▶ Working With Reversals & Divergences

Reversal markers show up after momentum enters extreme zones and starts to shift, acting as flags for areas where direction might change. They're best used as highlights for further review rather than standalone triggers.

For divergences, the tool examines how price movements align or differ from the momentum line:

• Regular types (bullish or bearish) point out possible weakening when price hits new levels but momentum doesn't follow suit.

• Hidden types (bullish or bearish) suggest ongoing trends when price retraces but momentum holds its ground.

Customize by selecting which divergences to show and opting for confirmation only after bars close this reduces clutter and promotes a steadier perspective. Experiment with these settings to match your preferred level of detail, such as enabling all types for in depth scans or limiting to regulars for simpler overviews.

In practice, combine reversals with divergences for layered insights: a reversal marker near a divergence line could strengthen the case for monitoring that area closely.

▶ Reading the Multi-Timeframe Dashboard

This dashboard packs insights from various timeframes into a compact table, allowing quick checks of alignment without switching views. Columns represent each timeframe you select, while rows cover aspects like divergence types, extreme states, general signals, and channel interactions.

A straightforward method is to:

• Look for consistency, such as matching patterns across higher frames signaling a unified trend.

• Spot differences, like shorter frames showing pullbacks while longer ones stay in extremes, which might indicate temporary adjustments.

• Use color cues greens for positive leans, reds for negative to get an at a glance feel before diving deeper.

Treat it as a quick reference tool: before focusing on a specific chart, scan the dashboard to see if broader contexts support or contradict your observations, helping refine your approach across scales.

▶ Trendlines, Breaks & Structure

Trendlines are generated from key swings in the momentum line, mapping out bullish or bearish patterns directly on the panel. This helps visualize hidden structures in momentum that might not be obvious from price alone.

Upward sloping lines often align with building positivity, downward ones with negativity. Breaks in these lines, marked on the display, can indicate when an established pattern is giving way to something different.

It's common to leave this feature disabled for routine checks and activate it for deeper examinations, such as during volatile periods or when confirming longer term shifts.

To get the most out, observe how trendlines evolve over time persistent lines might reinforce a regime, while frequent breaks could signal choppy or transitional conditions, adding another dimension to your momentum assessment.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.