OPEN-SOURCE SCRIPT
GpPa - Φ Frames (V5.0.1)

# GpPa — Φ Frames (V5.0.1)
**What it does**
This tool overlays nine “Phi Frames” on your chart. Each frame builds a dynamic price **box** from the **highest high** and **lowest low** over a user-defined lookback on a fixed timeframe. The boxes help you read structure, extremes, and balance zones across multiple scales in one view. No signals are generated.
**How it works (simple)**
* For every frame, the script requests data at a fixed resolution (e.g., 1D, 610m, 233m, 89m, etc.).
* It scans the last *N* bars at that resolution (your input).
* It draws a box from the start of that window to the current time, bounded by the window’s high and low.
* Optional “Re-Analysis Zone” guides project a vertical line into the future at a user-set offset, giving you a planning marker.
**Frames included**
* **M1** – 1D resolution (default length 258 bars)
* **M2** – 1D resolution (default length 160 bars)
* **M3** – 610-minute resolution (default length 233 bars)
* **M4** – 233-minute resolution (default length 377 bars)
* **M5** – 89-minute resolution (default length 610 bars)
* **M6** – 34-minute resolution (default length 987 bars)
* **M7** – 13-minute resolution (default length 1597 bars)
* **M8** – 5-minute resolution (default length 2584 bars)
* **M9** – 2-minute resolution (default length 4181 bars)
These durations follow a Fibonacci/Φ scheme. Using multiple frames together reveals confluence and nested ranges.
**Inputs & customization**
* **Per-frame controls:**
* *Length (bars)* — lookback window at the frame’s resolution.
* *Show/Hide* — toggle a frame on or off.
* *Color* — box border color.
* **Re-Analysis Zone (M4, M5, M6):**
* *Offset (bars)* — projects a future reference time from the right edge of the box.
* *Show/Hide* and *Color.*
* The line spans slightly above and below the box (+/-10% of its height) for visibility.
**Tips**
* Start with 2–3 frames to reduce clutter. Add more as needed.
* On lower chart resolutions, higher-timeframe boxes will “step” at their own closes.
* Use frames as context for your own entries, risk, and targets.
* Colors are semi-transparent by design so overlaps remain readable.
**Behavior & notes**
* Boxes update intrabar; values settle when the source timeframe closes.
* No alerts, signals, or strategy logic are included.
* Works on any symbol and timeframe.
* Overlay: **true**.
**Disclaimer**
This tool is for educational and informational purposes only. It is not financial advice. Always do your own research and manage risk.
**Credits**
Pine Script™ v6. © thewayofrichie.
**What it does**
This tool overlays nine “Phi Frames” on your chart. Each frame builds a dynamic price **box** from the **highest high** and **lowest low** over a user-defined lookback on a fixed timeframe. The boxes help you read structure, extremes, and balance zones across multiple scales in one view. No signals are generated.
**How it works (simple)**
* For every frame, the script requests data at a fixed resolution (e.g., 1D, 610m, 233m, 89m, etc.).
* It scans the last *N* bars at that resolution (your input).
* It draws a box from the start of that window to the current time, bounded by the window’s high and low.
* Optional “Re-Analysis Zone” guides project a vertical line into the future at a user-set offset, giving you a planning marker.
**Frames included**
* **M1** – 1D resolution (default length 258 bars)
* **M2** – 1D resolution (default length 160 bars)
* **M3** – 610-minute resolution (default length 233 bars)
* **M4** – 233-minute resolution (default length 377 bars)
* **M5** – 89-minute resolution (default length 610 bars)
* **M6** – 34-minute resolution (default length 987 bars)
* **M7** – 13-minute resolution (default length 1597 bars)
* **M8** – 5-minute resolution (default length 2584 bars)
* **M9** – 2-minute resolution (default length 4181 bars)
These durations follow a Fibonacci/Φ scheme. Using multiple frames together reveals confluence and nested ranges.
**Inputs & customization**
* **Per-frame controls:**
* *Length (bars)* — lookback window at the frame’s resolution.
* *Show/Hide* — toggle a frame on or off.
* *Color* — box border color.
* **Re-Analysis Zone (M4, M5, M6):**
* *Offset (bars)* — projects a future reference time from the right edge of the box.
* *Show/Hide* and *Color.*
* The line spans slightly above and below the box (+/-10% of its height) for visibility.
**Tips**
* Start with 2–3 frames to reduce clutter. Add more as needed.
* On lower chart resolutions, higher-timeframe boxes will “step” at their own closes.
* Use frames as context for your own entries, risk, and targets.
* Colors are semi-transparent by design so overlaps remain readable.
**Behavior & notes**
* Boxes update intrabar; values settle when the source timeframe closes.
* No alerts, signals, or strategy logic are included.
* Works on any symbol and timeframe.
* Overlay: **true**.
**Disclaimer**
This tool is for educational and informational purposes only. It is not financial advice. Always do your own research and manage risk.
**Credits**
Pine Script™ v6. © thewayofrichie.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.