PROTECTED SOURCE SCRIPT

Dynamic Pivots • Fib Box

84
--------------------------English----------------------------

Dynamic Pivots • Fib Box
This indicator detects dynamic pivots (new high/low within the selected lookback) and builds a Fibonacci Retracement Box (entry zone) plus Fibonacci Extension targets (TP1/TP2/TP3). Only one setup per direction is kept. While the zone is untouched, it tracks as a candidate; on the first wick touch it becomes active. A Minimum Entry→TP1 distance (%) filters out cramped, low-quality setups. Price labels are shown only for the newest visible box and are auto-cleared when that box disappears.

Key Inputs

Pivot Length – lookback bars to define pivot highs/lows.

Entry Levels (0–1) – Fibonacci retracements of the impulse (not percentages).

Take Profit (Extensions) – Fibonacci extensions for TP1/TP2/TP3.

Min Entry→TP1 Distance (%) – ensures TP1 isn’t too close.

Box Width (x10 bars) – horizontal extent of the zone.

Touch Tolerance (ticks) – buffer for touches/breaks (wicks/spread).

Price Text – show labels for the current box.

Logic & Visuals

Candidate turns direction-colored on activation; TP lines highlight on hit.

Untouched boxes expire after 200 bars.

Visualization/planning tool only — not a trading system; works on any symbol/timeframe.

快照

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。