OPEN-SOURCE SCRIPT
Momentum Ghost Machine

Trend Strength + Momentum Ghost Machine: The Complete Velocity System
Two powerful engines, one chart.
This indicator fuses a robust Trend Strength Oscillator with the modern, noise-canceling "Momentum Ghost Machine" to give you a complete picture of market direction and hidden velocity in a single pane.
Stop guessing if the move is real. See the Trend (Background) and feel the Speed (Ghost Line) simultaneously.
🔥 CORE FEATURES
1. The Trend Strength Oscillator (Background Engine)
The background histogram is a dedicated engine that measures the pure strength and direction of the current trend.
Green Zones (Above 0): Indicate Bulls are in control and the trend is rising.
Red Zones (Below 0): Indicate Bears are in control and the trend is falling.
Smart Smoothing: Includes a built-in JMA (Jurik Moving Average) smoother to filter out market noise and prevent false signals during choppy conditions.
2. Momentum Ghost Machine (The Velocity Engine)
A highly responsive momentum oscillator designed to detect shifts in market speed before price turns.
4-State Color System:
Dark Green: Strong Upside Acceleration (The "Go" Signal).
Light Green: Upside Deceleration (Momentum fading, prepare for a pause).
Dark Red: Strong Downside Acceleration (The "Drop" Signal).
Light Red: Downside Deceleration (Selling pressure fading, prepare for a bounce).
3. Signal Line Crossovers
The Ghost Machine includes a fast-reacting Signal Line (Orange).
Cross Above: Bullish momentum injection.
Cross Below: Bearish momentum injection.
🚀 HOW TO USE
For Trend Trading:
Wait for the Trend Background to turn Green.
Confirm entry when the Ghost Machine Line crosses above its orange signal line and turns Dark Green.
For Reversals:
Look for Divergence: If price makes a higher high but the Ghost Machine makes a lower high (Light Green), momentum is exhausted.
Wait for the Ghost Machine to turn Red and cross below the signal line for a high-probability short.
For Exits:
If you are Long (Dark Green) and the bar turns Light Green, momentum is slowing. This is your warning to tighten stops or take profit.
⚙️ SETTINGS & CUSTOMIZATION
Trend Settings: Adjust length and smoothing type (JMA, EMA, SMA, etc.) to match your trading style.
Ghost Machine: Fine-tune momentum sensitivity and post-smoothing to fit your specific asset (Crypto, Forex, or Indices).
Visuals: Fully customizable colors for every state of the trend and momentum.
"Trend is direction. Momentum is fuel. This tool tracks both."
Two powerful engines, one chart.
This indicator fuses a robust Trend Strength Oscillator with the modern, noise-canceling "Momentum Ghost Machine" to give you a complete picture of market direction and hidden velocity in a single pane.
Stop guessing if the move is real. See the Trend (Background) and feel the Speed (Ghost Line) simultaneously.
🔥 CORE FEATURES
1. The Trend Strength Oscillator (Background Engine)
The background histogram is a dedicated engine that measures the pure strength and direction of the current trend.
Green Zones (Above 0): Indicate Bulls are in control and the trend is rising.
Red Zones (Below 0): Indicate Bears are in control and the trend is falling.
Smart Smoothing: Includes a built-in JMA (Jurik Moving Average) smoother to filter out market noise and prevent false signals during choppy conditions.
2. Momentum Ghost Machine (The Velocity Engine)
A highly responsive momentum oscillator designed to detect shifts in market speed before price turns.
4-State Color System:
Dark Green: Strong Upside Acceleration (The "Go" Signal).
Light Green: Upside Deceleration (Momentum fading, prepare for a pause).
Dark Red: Strong Downside Acceleration (The "Drop" Signal).
Light Red: Downside Deceleration (Selling pressure fading, prepare for a bounce).
3. Signal Line Crossovers
The Ghost Machine includes a fast-reacting Signal Line (Orange).
Cross Above: Bullish momentum injection.
Cross Below: Bearish momentum injection.
🚀 HOW TO USE
For Trend Trading:
Wait for the Trend Background to turn Green.
Confirm entry when the Ghost Machine Line crosses above its orange signal line and turns Dark Green.
For Reversals:
Look for Divergence: If price makes a higher high but the Ghost Machine makes a lower high (Light Green), momentum is exhausted.
Wait for the Ghost Machine to turn Red and cross below the signal line for a high-probability short.
For Exits:
If you are Long (Dark Green) and the bar turns Light Green, momentum is slowing. This is your warning to tighten stops or take profit.
⚙️ SETTINGS & CUSTOMIZATION
Trend Settings: Adjust length and smoothing type (JMA, EMA, SMA, etc.) to match your trading style.
Ghost Machine: Fine-tune momentum sensitivity and post-smoothing to fit your specific asset (Crypto, Forex, or Indices).
Visuals: Fully customizable colors for every state of the trend and momentum.
"Trend is direction. Momentum is fuel. This tool tracks both."
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Darwin Isidro
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Darwin Isidro
Disclaimer
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.