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. קרא עוד בתנאים וההגבלות.