fibTrendTime

Draws Trend-Based Fibonacci Time lines using three anchors: two to measure a base time interval, and a third to place and direct the projection. Use it to forecast future time windows (when something might happen), aligned with your trend direction.

Syntax

fibTrendTime(originPoint, targetPoint, anchorPoint, styles?)

Parameters

  • originPoint (PricedData) · First anchor (time & price) where the measurement starts. Example: newPoint(time(60), closeC(60)).

  • targetPoint (PricedData) · Second anchor that defines the base time span to multiply by Fibonacci ratios. Example: newPoint(time(30), closeC(30)).

  • anchorPoint (PricedData) · Determines where the time projection is placed and its direction/tilt on your chart. Example: newPoint(time(10), closeC(10)).

  • styles (TrendBasedFibTimeLineToolOverrides) · Visual options for lines and labels. Key options:

    • fillBackground (boolean) · Fill areas between time levels.

    • horzLabelsAlign (string) / vertLabelsAlign (string) · Label alignment.

    • transparency (number) · Background transparency (0–100).

    • showCoeffs (boolean) · Show Fibonacci values on the lines.

    • trendline (LinesLevels without coeff) · Base line style (e.g., linestyle, linewidth, color).

    • level1 … level11 (LinesLevels) · Per-level visibility and line look (e.g., coeff, visible, color, linestyle, linewidth).

Return Value

  • (string) The drawing ID of the created Trend-Based Fib Time tool.

Example

Goal: Every 48 candles, project trend-based time zones from a prior swing to a recent point, then place them forward along your trend.

Result

Tips

  • Pick meaningful pivots for originPoint and targetPoint (swing high/low) so the base interval reflects real structure.

  • Use anchorPoint near the current action to push the projection where you need it (e.g., recent pullback or break).

  • Hide unused levels (visible: false) to reduce clutter and focus on the most relevant time windows.

Warning

Good Practice

Last updated