fibTimezone

Draws a Fibonacci Time Zone: instead of horizontal levels, this tool plots vertical time lines based on Fibonacci ratios. It helps you anticipate possible moments when price could change direction, by spacing lines according to Fibonacci proportions. Traders often use it to forecast time windows for reversals, breakouts, or trend continuations.

Syntax

fibTimezone(originPoint, targetPoint, styles?)

Parameters

  • originPoint (PricedData) · The starting point (time & price) where the Fibonacci sequence begins. Example: newPoint(time(50), closeC(50)).

  • targetPoint (PricedData) · The second anchor point, defining the base interval that will be multiplied by Fibonacci ratios. Example: newPoint(time(10), closeC(10)).

  • styles (FibTimezoneLineToolOverrides) · Customize look and levels. Options include:

    • fillBackground (boolean) · Fill areas between vertical lines.

    • horzLabelsAlign (string) · Align labels horizontally.

    • vertLabelsAlign (string) · Align labels vertically.

    • transparency (number) · Adjust background transparency (0–100).

    • level1 … level11 (LinesLevels) · Define each time level (visibility, color, linestyle, linewidth).

    • trendline (LinesLevels without coeff) · Style for the base trendline.

    • showLabels (boolean) · Toggle labels on/off.

Return Value

  • (string) The drawing ID of the created Fibonacci Time Zone (useful if you plan to modify or remove it later).

Example

Goal: Every 60 candles, draw a Fibonacci Time Zone from a swing low to a recent close, projecting forward with clear vertical markers.

Result

Tips

  • Use a swing high/low as the originPoint so the timing projections align with meaningful pivots.

  • Combine with price-based Fibonacci tools (like retracement or channels) to find confluence in both price and time.

  • If the chart feels cluttered, hide unused levels by setting them to { visible: false }.

Warning

Good Practice

Last updated