fibWedge
Draws Fibonacci Wedge curves from three anchors. Think of it as two curved “edges” expanding from a center: you pick the middle (originPoint) and two arc points (leftArcPoint, rightArcPoint) to shape a wedge that follows Fibonacci proportions. Helpful for mapping rounded support/resistance zones and potential “kiss & go” pullbacks within a trend.
Syntax
fibWedge(originPoint, leftArcPoint, rightArcPoint, styles?)
Parameters
originPoint(PricedData) · Center point where the wedge originates (time & price). Example:newPoint(time(60), closeC(60)).leftArcPoint(PricedData) · Controls curvature/reach of the left side of the wedge. Example:newPoint(time(40), low(40)).rightArcPoint(PricedData) · Controls curvature/extent of the right side of the wedge. Example:newPoint(time(20), high(20)).styles(FibWedgeLineToolOverrides) · Visuals & levels:fillBackground(boolean) · Fill area inside the wedge.transparency(number) · Background transparency (0–100).level1 … level11(LinesLevels) · Per-level visibility and look (visible,color,linestyle,linewidth,coeff).showCoeffs(boolean) · Display Fibonacci values on the curves.
Return Value
(string) The drawing ID of the created Fibonacci Wedge.
Example
Goal: every 40 candles, place a wedge using a center and two flanking points. We’ll enable a few classic Fib levels, soft fill, and labels.
Result

Tips
Use swing highs/lows for
leftArcPointandrightArcPointso each side hugs real market structure.If the chart gets busy, hide unneeded levels with
{ visible: false }and keep only 2–4 levels active.Look for confluence where a wedge curve meets a channel line or horizontal Fib level.
Warning
Don’t pass malformed anchors (missing time or price). Always build points with newPoint(time(offset), priceValue), otherwise nothing will be drawn.
Last updated