Vola Ghost Candle
Ghost Candle Description
Ghost Candle: Higher Timeframe Overlay (Future Offset)
Ghost Candle is a utility indicator designed for multi-timeframe traders who want to keep an eye on the bigger picture without cluttering their chart.
It draws the developing candle of a Higher Timeframe (e.g., Daily, Weekly) in the blank space to the right of your current price action. This allows you to see the live status of the Daily candle (Bullish/Bearish, Wick sizes, High/Low) while executing trades on lower timeframes like the 4H or 1H.
Key Features
Clean Visualisation: Places HTF candles in the "future" empty space, ensuring they never overlap or obscure your actual chart data.
Multi-Candle History: Option to show not just the current live candle, but also the previous N candles to visualise the recent trend sequence.
Smart Positioning: Automatically anchors the candle sequence so that increasing the "Lookback" history pushes candles further right, preventing them from running over your chart.
Precision Layout:
Centred Wicks: Wicks are perfectly aligned with the candle body.
Gap Control: Adjust the spacing between ghost candles. Supports negative gaps (e.g., -1) to create a condensed, tight sequence.
Dynamic Timeframes: Works on any timeframe pair. View Daily candles on a 4H chart, or Weekly candles on a Daily chart.
How to Use
Add to Chart: Add the indicator to a lower timeframe chart (e.g., 1H or 4H).
Select Timeframe: In settings, choose your target "Ghost Candle Timeframe" (e.g., 1 Day).
Adjust Position: Use the Offset setting to move the ghost candles further to the right.
Note: If the candles are cut off, right-click your chart, go to Settings > Scales, and increase the Right Margin (e.g., to 20 or 30 bars).
Customise History: Increase "Number of Candles to Show" to see the previous days alongside the current live day.
Settings Overview
Ghost Candle Timeframe: The higher timeframe you want to monitor.
Position Offset: How far from the current price bar the first ghost candle begins.
Candle Width: Controls the thickness of the ghost candles (Odd numbers like 3 or 5 align best).
Gap Between Candles: Space between ghost candles. Set to 0 or negative values for a tighter look.
Show High/Low Prices: Toggles the price labels on the wicks.
This script uses request.security with lookahead_on to ensure the most current "live" data is displayed for the developing candle.
Pine Script® indicator






















