OPEN-SOURCE SCRIPT
更新済 Intuitive Predictive MACD Targets

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.
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.
リリースノート
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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。