OPEN-SOURCE SCRIPT
Aggiornato

Goldbach Pivots

778
**Goldbach Pivots**

Based on Goldbach Price Levels as developed by Hopiplaka. Plots horizontal price levels derived from powers of 3 (3, 9, 27, 81, 243, 729, 2187, 6561, 19683, 59049, 177147), calculated as `floor(close/X)*X` for each enabled divisor — creating a nested grid of "Dealing Ranges" (DRs) that traders using Goldbach/ICT-style methodology use to frame price action.

**Key features:**
- **Multiple independent DRs** — enable any combination of the eleven power-of-3 divisors simultaneously, each with its own color, line style (solid/dashed/dotted), and width
- **Configurable range** — set how many DR levels plot above and below current price via the iterations input
- **Percent sub-levels** — optional 11%, 17%, 50%, 83%, and 89% intermediate lines within each DR, each independently toggleable and styleable
- **Custom percent level** — define any percentage (with optional mirroring to the complementary level on the opposite side of the range) for levels outside the standard set
- **Stop Run lines** — per-DR toggle that plots short dotted lines a configurable distance inside the DR boundary, marking potential liquidity-run zones
- **Overlap priority rendering** — smaller DRs draw on top of larger ones so nested structure stays visually clear

All levels recalculate live off the current close and redraw on the last bar, keeping the grid aligned with price in real time.
Note di rilascio
1. Per-DR line length — replaced the always-infinite lines with a configurable Length (bars) input for each Dealing Range size, defaulting shorter for smaller grids and longer for larger ones (3→50 bars up to 177147→900 bars).
2. Configurable line thickness — widened all width inputs from a 1–4 cap to 1–10, and added a dedicated Stop Run Line Width control (previously hardcoded to 1).
3. Labeled input fields — every previously blank field (On, Style, Width, Length, Stop Run) now shows a text label in the settings menu instead of appearing unlabeled.
4. Per-DR "Infinite" option — removed the single global "extend all lines infinitely" toggle and replaced it with an individual Infinite checkbox on each DR's row, so any size can independently be set to extend across the full chart instead of using its Length value.
Note di rilascio
Update image

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.