OPEN-SOURCE SCRIPT
Actualizado Ghost Candles

👻 Ghost Candles - Predictive Market Projection
Ghost Candles is an advanced forward-projection indicator that visualizes potential future price action directly on your chart using dynamically generated “ghost” candles.
Unlike traditional indicators that lag or react, Ghost Candles attempts to anticipate short-term market structure by learning from real-time order-flow proxies, volatility, and price behavior.
🔍 What It Does:
Ghost Candles projects up to 32 future candles ahead of the current price, rendering them as semi-transparent candles that evolve in real time.
These projections are not static - they continuously adapt as new data comes in, giving you a live, evolving forecast of market direction and structure.
⚙️ How It Works:
At its core, Ghost Candles uses a lightweight neural network trained directly on-chart.
The model updates itself every bar, adapting to changing market conditions without external data.
🧠 How to Use:
Ghost Candles is best used as a contextual tool, not a standalone signal generator.
Use it to:
Anticipate short-term directional bias
Visualize potential continuation vs reversal scenarios
Identify compression before expansion
Gauge market hesitation or momentum build-up
⚠️ Important Notes:
This indicator is predictive and experimental, not deterministic
Projections will change as new data comes in (especially on live bars)
Best used alongside structure, liquidity, and confirmation tools
Not financial advice
Ghost Candles is an advanced forward-projection indicator that visualizes potential future price action directly on your chart using dynamically generated “ghost” candles.
Unlike traditional indicators that lag or react, Ghost Candles attempts to anticipate short-term market structure by learning from real-time order-flow proxies, volatility, and price behavior.
🔍 What It Does:
Ghost Candles projects up to 32 future candles ahead of the current price, rendering them as semi-transparent candles that evolve in real time.
These projections are not static - they continuously adapt as new data comes in, giving you a live, evolving forecast of market direction and structure.
⚙️ How It Works:
At its core, Ghost Candles uses a lightweight neural network trained directly on-chart.
The model updates itself every bar, adapting to changing market conditions without external data.
🧠 How to Use:
Ghost Candles is best used as a contextual tool, not a standalone signal generator.
Use it to:
Anticipate short-term directional bias
Visualize potential continuation vs reversal scenarios
Identify compression before expansion
Gauge market hesitation or momentum build-up
⚠️ Important Notes:
This indicator is predictive and experimental, not deterministic
Projections will change as new data comes in (especially on live bars)
Best used alongside structure, liquidity, and confirmation tools
Not financial advice
Notas de prensa
👻 Ghost Candles - Predictive Market ProjectionGhost Candles is an advanced forward-projection indicator that visualizes potential future price action directly on your chart using dynamically generated “ghost” candles.
Unlike traditional indicators that lag or react, Ghost Candles attempts to anticipate short-term market structure by learning from real-time order-flow proxies, volatility, and price behavior.
🔍 What It Does:
Ghost Candles projects up to 32 future candles ahead of the current price, rendering them as semi-transparent candles that evolve in real time.
These projections are not static - they continuously adapt as new data comes in, giving you a live, evolving forecast of market direction and structure.
⚙️ How It Works:
At its core, Ghost Candles uses a lightweight neural network trained directly on-chart.
The model updates itself every bar, adapting to changing market conditions without external data.
🧠 How to Use:
Ghost Candles is best used as a contextual tool, not a standalone signal generator.
Use it to:
Anticipate short-term directional bias
Visualize potential continuation vs reversal scenarios
Identify compression before expansion
Gauge market hesitation or momentum build-up
⚠️ Important Notes:
This indicator is predictive and experimental, not deterministic
Projections will change as new data comes in (especially on live bars)
Best used alongside structure, liquidity, and confirmation tools
Not financial advice
Notas de prensa
Improved the networks capacity to learn the extremes of price action.Improved ghost wicks.
Notas de prensa
Improved default hyperparameters.Improved ghost prediction scaling.
Notas de prensa
Significantly improved predictive capabilities by implementing multi-timeframe features.Notas de prensa
Reduced HTF multiplier to 8 to improve predictive accuracy.Notas de prensa
Fixed a bug where some timeframes caused the indicator to fail loading.Notas de prensa
Implemented per-horizon magnitude scaling for ghost candles.Notas de prensa
Decreased network sensitivity to the current live candle.Notas de prensa
Fixed a bug where incomplete live candles could lead to oversimplified predictions.Notas de prensa
Improved the default hyperparameter set.Notas de prensa
Increased Scale LR to reduce overly conservative ghost candle deltas.Notas de prensa
Implemented visual improvements.Notas de prensa
Removed heikin ashi smoothing of HTF features.Notas de prensa
Added directional accuracy and edge tracker (with comparison against a randomly trading baseline algorithm).Notas de prensa
Improved directional accuracy.Notas de prensa
Directional accuracy is now based on the accuracy of the predicted candle directions that the network was most confident in.Notas de prensa
Added user input tooltips to be more user friendly.Notas de prensa
Now places red/green dot signals at the most profitable ghost candles.Notas de prensa
Improved dot placements.Notas de prensa
Made the forecast translucent by default.Notas de prensa
Improved prediction stability.Notas de prensa
Improved forecast continuity.Notas de prensa
Increased amplification of ghost candles.Notas de prensa
Added asymptotic refinement and network mutation.Notas de prensa
Improved default hyperparameters.Notas de prensa
Increased step directional accuracy weight and decreased wick sizes.Notas de prensa
Reduced training samples per bar to prevent timeout errors.Notas de prensa
Added expected % returns to the evaluation table.Replaced the live marker with a red (bearish) or green (bullish) dot at the live candle.
Notas de prensa
Improved back testing to keep track of account growth more accurately.Notas de prensa
Added leverage and stop losses to back testing.Notas de prensa
Improved loading times.Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.