OPEN-SOURCE SCRIPT
Mis à jour 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
Notes de version
👻 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
Notes de version
Improved the networks capacity to learn the extremes of price action.Improved ghost wicks.
Notes de version
Improved default hyperparameters.Improved ghost prediction scaling.
Notes de version
Significantly improved predictive capabilities by implementing multi-timeframe features.Notes de version
Reduced HTF multiplier to 8 to improve predictive accuracy.Notes de version
Fixed a bug where some timeframes caused the indicator to fail loading.Notes de version
Implemented per-horizon magnitude scaling for ghost candles.Notes de version
Decreased network sensitivity to the current live candle.Notes de version
Fixed a bug where incomplete live candles could lead to oversimplified predictions.Notes de version
Improved the default hyperparameter set.Notes de version
Increased Scale LR to reduce overly conservative ghost candle deltas.Notes de version
Implemented visual improvements.Notes de version
Removed heikin ashi smoothing of HTF features.Notes de version
Added directional accuracy and edge tracker (with comparison against a randomly trading baseline algorithm).Notes de version
Improved directional accuracy.Notes de version
Directional accuracy is now based on the accuracy of the predicted candle directions that the network was most confident in.Notes de version
Added user input tooltips to be more user friendly.Notes de version
Now places red/green dot signals at the most profitable ghost candles.Notes de version
Improved dot placements.Notes de version
Made the forecast translucent by default.Notes de version
Improved prediction stability.Notes de version
Improved forecast continuity.Notes de version
Increased amplification of ghost candles.Notes de version
Added asymptotic refinement and network mutation.Notes de version
Improved default hyperparameters.Notes de version
Increased step directional accuracy weight and decreased wick sizes.Notes de version
Reduced training samples per bar to prevent timeout errors.Notes de version
Added expected % returns to the evaluation table.Replaced the live marker with a red (bearish) or green (bullish) dot at the live candle.
Notes de version
Improved back testing to keep track of account growth more accurately.Notes de version
Added leverage and stop losses to back testing.Notes de version
Improved loading times.Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.