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.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。