OPEN-SOURCE SCRIPT
Actualizado

Intuitive Predictive MACD Targets

200
This indicator uses Reverse Engineering math to calculate the exact price the market needs to reach for specific MACD events to happen on the current bar.

Standard MACD is a lagging indicator—you usually wait for the candle to close to confirm a signal. This script changes that by drawing "Finish Lines" on your chart, showing you exactly where price must go right now to trigger a Crossover or a Momentum Hook.

The "Reverse Engineering" Concept
Instead of calculating MACD from Price, we calculate the Required Price from the Target MACD.

Q: "At what price will the MACD line cross the Signal line?"

A: The script solves this and draws the Green/Red "Crossover" Line.

Key Features
1. Three Distinct Targets

Crossover Target (PCO/NCO): The exact price needed to trigger a Buy/Sell signal on the current candle.

Dynamic Coloring: Turns Green if price needs to go UP to cross, Red if price needs to go DOWN.

Settlement Target (The Hook): The exact price where the MACD momentum flattens out (Angle = 0). If price touches this Orange Dashed Line, the trend is likely pausing or preparing to reverse.

Zero Cross Target: The price needed for MACD to reclaim the Zero Line.

2. Smart "Staggered" Labels (No Overlap)

Unlike other scripts where text piles up and becomes unreadable, this indicator automatically spreads labels horizontally.

Crossover info stays near the price.

Settlement info is shifted to the right.

Zero info is shifted further right.

Result: You can read all three targets clearly, even if the prices are almost identical.

3. Full Customization

Line Length: Choose "Infinite" to see targets as Support/Resistance levels across the screen, or "Short" to keep your chart background clean.

Text Visibility: Option to force text to White or Black for high contrast on Dark/Light themes.

Styles: Fully adjustable colors, line widths, and styles (Solid, Dashed, Dotted) for each target type.

How to Use
The "Finish Line" Strategy: If you are Long, and the Red NCO Line appears just below the current price, be cautious. It means a very small drop will confirm a Bearish Cross.

Momentum Checks: Watch the Orange "Settlement" Line.

If price is moving away from the Orange line, the trend is accelerating (Safe to hold).

If price touches the Orange line, momentum has died (Consider taking profit).

Settings
Visual Settings: Change Line Length (Infinite/Short) and Text Color.

MACD Settings: Standard inputs (Default 12, 26, 9).

Toggles: Option to show/hide the Zero Line target.
Notas de prensa
This indicator uses Reverse Engineering math to calculate the exact price the market needs to reach for specific MACD events to happen on the current bar.

Standard MACD is a lagging indicator—you usually wait for the candle to close to confirm a signal. This script changes that by drawing "Finish Lines" on your chart, showing you exactly where price must go right now to trigger a Crossover or a Momentum Hook.

The "Reverse Engineering" Concept
Instead of calculating MACD from Price, we calculate the Required Price from the Target MACD.

Q: "At what price will the MACD line cross the Signal line?"

A: The script solves this and draws the Green/Red "Crossover" Line.

Key Features
1. Three Distinct Targets

Crossover Target (PCO/NCO): The exact price needed to trigger a Buy/Sell signal on the current candle.

Dynamic Coloring: Turns Green if price needs to go UP to cross, Red if price needs to go DOWN.

Settlement Target (The Hook): The exact price where the MACD momentum flattens out (Angle = 0). If price touches this Orange Dashed Line, the trend is likely pausing or preparing to reverse.

Zero Cross Target: The price needed for MACD to reclaim the Zero Line.

2. Smart "Staggered" Labels (No Overlap)

Unlike other scripts where text piles up and becomes unreadable, this indicator automatically spreads labels horizontally.

Crossover info stays near the price.

Settlement info is shifted to the right.

Zero info is shifted further right.

Result: You can read all three targets clearly, even if the prices are almost identical.

3. Full Customization

Line Length: Choose "Infinite" to see targets as Support/Resistance levels across the screen, or "Short" to keep your chart background clean.

Text Visibility: Option to force text to White or Black for high contrast on Dark/Light themes.

Styles: Fully adjustable colors, line widths, and styles (Solid, Dashed, Dotted) for each target type.

How to Use
The "Finish Line" Strategy: If you are Long, and the Red NCO Line appears just below the current price, be cautious. It means a very small drop will confirm a Bearish Cross.

Momentum Checks: Watch the Orange "Settlement" Line.

If price is moving away from the Orange line, the trend is accelerating (Safe to hold).

If price touches the Orange line, momentum has died (Consider taking profit).

Settings
Visual Settings: Change Line Length (Infinite/Short) and Text Color.

MACD Settings: Standard inputs (Default 12, 26, 9).

Toggles: Option to show/hide the Zero Line target.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.