Fibonacci Circles
Draws Fibonacci circles between swing points or across daily time windows, with rings at Fibonacci ratios of the distance between them.
What you see
Each circle has a centre and an anchor point. The ring labelled 1 passes exactly through the anchor; every other ring is the same shape scaled by its coefficient, from 0.236 to 11.09. A dashed grey trendline joins centre and anchor. Because time and price have different units, the rings are ellipses on screen and change shape when you zoom one axis.
How it is computed
With centre (t0, p0) and the anchor Δt and Δp away from it, a point (t, p) lies on ring L when ((t − t0) / Δt)² + ((p − p0) / Δp)² = 2·L².
In Auto mode the indicator finds swing highs and lows on closed candles. Reversal mode confirms a high once price has fallen Min. Swing % below it (lows the other way round); Pivot Range Mode uses classic pivot highs and lows. Each confirmed swing becomes the centre of a new circle whose 1 ring runs through the previous swing. The dashed pending circle belongs to the swing still forming and follows the live price.
Time Anchors add circles for every UTC day, from the first to the last candle of each window, at their highs, lows or both.
Reading it
Circles that span more time are drawn thicker. Hover a ring to highlight its circle; right-click it to pin a box with the centre and, for each visible ring, a time with the ring's upper and lower price at that time. Right-click again to release it. While the settings are open, a side panel shows a histogram of the circles' price radii.
Parallel Paths adds Path 2 and Path 3 with their own swing settings, and Parallel Depth connects each new swing to several earlier ones. The Levels section sets each ring's visibility, colour and line width.
Settings
Open the settings with the slider icon next to the indicator (Indicators, F3). Numeric settings can be swept as Step 1 / Step 2 parameters when you run a strategy.
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Mode | Switch | Auto | Auto finds swings and draws circles between them. Manual turns swing detection off; time-anchored circles still appear. Manual / Auto. |
| Trendline | Switch | On | Dashed line from each centre to its anchor. Off / On. |
| Show Labels | Switch | On | Coefficient next to each ring of confirmed circles. Off / On. |
| Coefficients as Percent | Switch | Value | Labels as percent (61.8%) instead of the coefficient (0.618). Value / %. |
| Show Pending Circle | Switch | On | Dashed circle of the swing that is still forming (Auto mode). Off / On. |
| Semicircle Mode | Switch | Off | Draws only the part of each ring to the right of the point where its swing was confirmed. Off / On. |
| Parallel Paths | Switch | Off | Enables Path 2, Path 3 and the Parallel Depth settings. Off / On. |
| Show Swing Circles | Switch | On | Off hides the swing circles and keeps only the time-anchored ones. Off / On. |
| Opacity | Slider | 1 | Transparency of all circles; a highlighted circle is drawn brighter. |
Auto Mode
| Setting | Type | Default | Description |
|---|---|---|---|
| Pivot Range Mode | Switch | off | Off: reversal mode (Min. Swing %, Min. Swing Bars). On: pivot mode (Pivot Left Bars, Pivot Right Bars). |
| Pivot Left Bars | Number | 5 | Candles before a pivot whose highs (pivot high) or lows (pivot low) it must exceed. |
| Pivot Right Bars | Number | 5 | Candles after the pivot; the swing is confirmed this many candles later. |
| Min. Swing % (Reversal Mode) | Number | 1 | Reversal in percent that confirms the last high or low. |
| Min. Swing Bars (Reversal Mode) | Number | 3 | Minimum length of a swing; shorter swings get no circle. |
| Max Circles | Number | 100 | Maximum number of circles of this path; the oldest is removed first. |
| Parallel Depth | Number | 2 | With Parallel Paths on: how many earlier swings each new swing connects to. |
Path 2
| Setting | Type | Default | Description |
|---|---|---|---|
| Enabled | Switch | Off | Turns Path 2 on (needs Parallel Paths). Its settings work like those under Auto Mode. Off / On. |
| Pivot Range Mode | Switch | off | Swing mode of Path 2, as under Auto Mode. |
| Pivot Left Bars | Number | 10 | Pivot Left Bars of Path 2. |
| Pivot Right Bars | Number | 10 | Pivot Right Bars of Path 2. |
| Min. Swing % (Reversal Mode) | Number | 2 | Min. Swing % of Path 2. |
| Min. Swing Bars (Reversal) | Number | 5 | Min. Swing Bars of Path 2. |
| Max Circles | Number | 100 | Maximum number of circles of Path 2. |
| Parallel Depth | Number | 2 | Parallel Depth of Path 2. |
Path 3
| Setting | Type | Default | Description |
|---|---|---|---|
| Enabled | Switch | Off | Turns Path 3 on (needs Parallel Paths). Its settings work like those under Auto Mode. Off / On. |
| Pivot Range Mode | Switch | off | Swing mode of Path 3, as under Auto Mode. |
| Pivot Left Bars | Number | 20 | Pivot Left Bars of Path 3. |
| Pivot Right Bars | Number | 20 | Pivot Right Bars of Path 3. |
| Min. Swing % (Reversal Mode) | Number | 3 | Min. Swing % of Path 3. |
| Min. Swing Bars (Reversal) | Number | 8 | Min. Swing Bars of Path 3. |
| Max Circles | Number | 100 | Maximum number of circles of Path 3. |
| Parallel Depth | Number | 2 | Parallel Depth of Path 3. |
Time Anchors
| Setting | Type | Default | Description |
|---|---|---|---|
| Time Anchors | Switch | Off | Adds circles for the time windows below, every UTC day, regardless of Mode. Off / On. |
| Window 1 Start (UTC) | Time | 00:00 | Start of window 1 in UTC. |
| Window 1 End (UTC) | Time | 04:00 | End of window 1 in UTC; must be later than the start on the same day. |
| Anchor at High | Switch | On | Circle from the high of the first candle in the window to the high of the last one. Off / On. |
| Anchor at Low | Switch | On | Circle from the low of the first candle in the window to the low of the last one. Off / On. |
| Window 2 | Switch | Off | Adds a second window with its own times and anchors. Off / On. |
| Window 2 Start (UTC) | Time | 08:00 | Start of window 2 in UTC. |
| Window 2 End (UTC) | Time | 12:00 | End of window 2 in UTC. |
| Anchor at High | Switch | On | As Anchor at High, for window 2. Off / On. |
| Anchor at Low | Switch | On | As Anchor at Low, for window 2. Off / On. |
Levels
| Setting | Type | Default | Description |
|---|---|---|---|
| 0.236 | Switch | on | Shows the 0.236 ring. |
| Level 0.236 color | Color | #e84545 | Colour of the 0.236 ring. |
| Level 0.236 line width | Number | 1 | Line width of the 0.236 ring. |
| 25% | Switch | on | Shows the 0.25 ring. |
| Level 0.25 color | Color | #bbbbbbaa | Colour of the 0.25 ring. |
| Level 0.25 line width | Number | 1 | Line width of the 0.25 ring. |
| 0.382 | Switch | on | Shows the 0.382 ring. |
| Level 0.382 color | Color | #f5a623 | Colour of the 0.382 ring. |
| Level 0.382 line width | Number | 1 | Line width of the 0.382 ring. |
| 0.5 | Switch | on | Shows the 0.5 ring. |
| Level 0.5 color | Color | #1abc9c | Colour of the 0.5 ring. |
| Level 0.5 line width | Number | 1 | Line width of the 0.5 ring. |
| 0.618 | Switch | on | Shows the 0.618 ring. |
| Level 0.618 color | Color | #2ecc71 | Colour of the 0.618 ring. |
| Level 0.618 line width | Number | 1 | Line width of the 0.618 ring. |
| 75% | Switch | on | Shows the 0.75 ring. |
| Level 0.75 color | Color | #bbbbbbaa | Colour of the 0.75 ring. |
| Level 0.75 line width | Number | 1 | Line width of the 0.75 ring. |
| 0.786 | Switch | on | Shows the 0.786 ring. |
| Level 0.786 color | Color | #00bcd4 | Colour of the 0.786 ring. |
| Level 0.786 line width | Number | 1 | Line width of the 0.786 ring. |
| 1 | Switch | on | Shows the 1 ring. |
| Level 1 color | Color | #9e9e9e | Colour of the 1 ring. |
| Level 1 line width | Number | 1 | Line width of the 1 ring. |
| 1.618 | Switch | on | Shows the 1.618 ring. |
| Level 1.618 color | Color | #2980b9 | Colour of the 1.618 ring. |
| Level 1.618 line width | Number | 1 | Line width of the 1.618 ring. |
| 2.618 | Switch | on | Shows the 2.618 ring. |
| Level 2.618 color | Color | #e91e8c | Colour of the 2.618 ring. |
| Level 2.618 line width | Number | 1 | Line width of the 2.618 ring. |
| 3.618 | Switch | on | Shows the 3.618 ring. |
| Level 3.618 color | Color | #2980b9 | Colour of the 3.618 ring. |
| Level 3.618 line width | Number | 1 | Line width of the 3.618 ring. |
| 4.236 | Switch | on | Shows the 4.236 ring. |
| Level 4.236 color | Color | #e91e8c | Colour of the 4.236 ring. |
| Level 4.236 line width | Number | 1 | Line width of the 4.236 ring. |
| 4.618 | Switch | on | Shows the 4.618 ring. |
| Level 4.618 color | Color | #e84545 | Colour of the 4.618 ring. |
| Level 4.618 line width | Number | 1 | Line width of the 4.618 ring. |
| 6.854 | Switch | on | Shows the 6.854 ring. |
| Level 6.854 color | Color | #9b59b6 | Colour of the 6.854 ring. |
| Level 6.854 line width | Number | 1 | Line width of the 6.854 ring. |
| 11.09 | Switch | on | Shows the 11.09 ring. |
| Level 11.09 color | Color | #1abc9c | Colour of the 11.09 ring. |
| Level 11.09 line width | Number | 1 | Line width of the 11.09 ring. |
Outputs
This indicator draws on the chart only – it has no values for Trade Setup gates or use indicator.