Ghost Candles (Pattern Matching)

Key Features:
🕯️ Ghost Candles (Pattern Matching): The script scans up to 5,000 bars of history to find price patterns that match the current market structure (Correlation > 80%). It then projects the historical outcome onto the current chart as "Ghost Candles," giving you a visual roadmap of potential future moves (Open, High, Low, Close).
🌊 Regime Detection (FDI): Uses the Fractal Dimension Index (FDI) to determine if the market is Trending or Choppy.
Green Background: Trending Market (Safe to follow breakouts).
Red Background: Choppy/Ranging Market (Expect fakeouts).
📊 Hurst Exponent: Measures the "memory" of the market to confirm trend persistence.
💎 Fractal Levels: Automatically plots Williams Fractal Support & Resistance levels to identify key breakout or reversal zones.
How to Use:
Ghost Candles: Look for the translucent candles extending to the right of the current price.
Green Ghost: Probability of a bullish move based on history.
Red Ghost: Probability of a bearish move.
Note: The "Pattern Match %" label tells you how similar the current setup is to the historical one. Higher % = Stronger match.
Background Color:
Trade with the trend when the background is Green.
Be cautious or trade mean reversion when the background is Red.
Support/Resistance: Use the horizontal lines as targets or stop-loss levels.
Settings:
History Scan Window: How far back to search for matches (Default: 2000 bars).
Similarity Threshold: Minimum correlation required to show a projection (Default: 0.80 or 80%).
Prediction Length: Number of "Ghost Candles" to project (Default: 10).
Disclaimer: This tool is for educational purposes and analyzes historical probabilities. Past performance is not indicative of future results. Always use risk management.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Mr-Anubis.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Mr-Anubis.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.