PROTECTED SOURCE SCRIPT
Weekly Range Bias Panel — Ace v1.6 (1st Target)

Perfect, we’ll keep the script exactly as it is and just make the “user manual” super simple.
---
## 1. What this script does (one sentence)
It tells you **what kind of week we just had** (TIGHT / NORMAL / WIDE),
marks **Last Week’s High/Low + CE**,
and gives you a **simple first target idea** for this week.
---
## 2. What each panel row means
### Row 0 – Title
`WEEKLY RANGE BIAS`
> Just the header.
---
### Row 1 – “Last Week: TIGHT / NORMAL / WIDE”
It compares **last week’s range** to the **average range of the last X weeks**.
* **TIGHT**
* Last week’s range was **smaller than usual**.
* Market is “coiled”.
* Expect **expansion** – a raid of LWH or LWL is more likely.
* **WIDE**
* Last week’s range was **bigger than usual**.
* Market already “spent a lot of energy”.
* Expect **cooling / consolidation / controlled continuation**.
* **NORMAL**
* Range was about average.
* Nothing special – treat it as a standard week.
---
### Row 2 – Hunt/Build + “1st tgt”
Example text:
`HUNT (expect a raid of LWH/LWL) | 1st tgt: LWH first`
* **HUNT** (when TIGHT)
* Look for **a raid of one side of the weekly range**.
* Script tells you which side is more likely **first**:
* `1st tgt: LWH first` → bias towards **taking out last week’s high** first.
* `1st tgt: LWL first` → bias towards **taking out last week’s low** first.
* **BUILD/COOL** (when WIDE)
* Last week was huge.
* `1st tgt: CE / mean reversion` → expect price to **respect or return to CE** more, instead of running to new extremes right away.
* **NEUTRAL** (when NORMAL)
* No special edge from range size.
* Use levels mainly as **reference / targets**, not as a strong bias.
---
### Row 3 – Range numbers
Example:
`LW Range: 480.00 | Avg(6): 520.00`
* **LW Range** = last week’s high – low (in points).
* **Avg(6)** = average range of the **last 6 weeks** (you set this with `lookback`).
You don’t need to overthink this. It’s just to **see the size** quickly.
---
### Row 4 – Price vs Weekly CE
Example:
`Above Weekly CE (premium of last week)`
* **Above Weekly CE**
* Price is trading in **premium** vs last week’s middle.
* For shorts, you want **sweeps / setups above CE**.
* **Below Weekly CE**
* Price is in **discount** vs last week’s middle.
* For longs, you want **sweeps / setups below CE**.
* **At Weekly CE**
* Market is sitting near the middle of last week’s range = **no big edge** from location alone.
---
### Row 5 – Exact levels
Example:
`LWH: 25850.00 | LWL: 25200.00 | CE: 25525.00`
* Exact prices for:
* **LWH** – Last Week’s High
* **LWL** – Last Week’s Low
* **CE** – middle of that range
You can use these as **targets, alerts, and liquidity pools.**
---
## 3. The lines on the chart
If `Plot LWH / LWL / Weekly CE` is ON:
* **Grey line** at **LWH**
* **Grey line** at **LWL**
* **Brown line** at **Weekly CE**
They extend to the right, so **this whole week** you see:
* Where last week’s extremes are.
* Where last week’s mid (CE) is.
You can use them on **any timeframe** (Daily, 1H, 15M, 5M, etc).
They are always based on **weekly data**.
---
## 4. Simple trading use-case (your style)
### Step 1 – Weekly bias (Sunday night / Monday)
Look at **Row 1–2**:
* **If TIGHT + HUNT + “1st tgt: LWH first”**
* Expect **weekly expansion up**.
* Intraday you’ll watch for **longs** that aim for **LWH** as first big target.
* **If TIGHT + “1st tgt: LWL first”**
* Same idea but **down** → look for shorts towards **LWL**.
* **If WIDE + “1st tgt: CE / mean reversion”**
* Favor **mean reversion** plays:
* If above CE → bias to **shorts back to CE** (with proper intraday confirmation).
* If below CE → bias to **longs back to CE**.
* **If NORMAL**
* No special push from weekly range.
* Use LWH/LWL as **big liquidity targets**, but let your Purge/MMXM model be the main driver.
---
### Step 2 – Intraday execution (Purge / MMXM)
Use the weekly info as **context**, not a signal:
* Treat **LWH/LWL** as **big liquidity pools**.
* Treat **Weekly CE** as **mean point / magnet**.
Example combo:
1. Script says:
* `Last Week: TIGHT`
* `HUNT (expect a raid) | 1st tgt: LWH first`
2. Price is **below CE**, building a base.
3. In your killzone, you see:
* **Sweep of intraday low**,
* **Shift in structure up**,
* Return to a 15M/5M OB/FVG.
→ You now have **HTF reason to believe upside expansion is likely**,
and your **intraday trigger** tells you where to enter.
---
## 5. Alerts (optional, but powerful)
The script already has:
* `Weekly Range = TIGHT` → tells you a **coil week** just closed.
* `Weekly Range = WIDE` → tells you a **big expansion week** just closed.
* `Raid LWH` → price traded above last week’s high.
* `Raid LWL` → price traded below last week’s low.
You can set these as **heads up alerts** on Sunday / Monday so you don’t miss the context shift.
---
If you want, next step we can add a **tiny “GO / WAIT / NO-GO” line** to the panel based on:
* TIGHT vs WIDE
* your position vs CE
* and whether LWH/LWL has already been raided this week.
---
## 1. What this script does (one sentence)
It tells you **what kind of week we just had** (TIGHT / NORMAL / WIDE),
marks **Last Week’s High/Low + CE**,
and gives you a **simple first target idea** for this week.
---
## 2. What each panel row means
### Row 0 – Title
`WEEKLY RANGE BIAS`
> Just the header.
---
### Row 1 – “Last Week: TIGHT / NORMAL / WIDE”
It compares **last week’s range** to the **average range of the last X weeks**.
* **TIGHT**
* Last week’s range was **smaller than usual**.
* Market is “coiled”.
* Expect **expansion** – a raid of LWH or LWL is more likely.
* **WIDE**
* Last week’s range was **bigger than usual**.
* Market already “spent a lot of energy”.
* Expect **cooling / consolidation / controlled continuation**.
* **NORMAL**
* Range was about average.
* Nothing special – treat it as a standard week.
---
### Row 2 – Hunt/Build + “1st tgt”
Example text:
`HUNT (expect a raid of LWH/LWL) | 1st tgt: LWH first`
* **HUNT** (when TIGHT)
* Look for **a raid of one side of the weekly range**.
* Script tells you which side is more likely **first**:
* `1st tgt: LWH first` → bias towards **taking out last week’s high** first.
* `1st tgt: LWL first` → bias towards **taking out last week’s low** first.
* **BUILD/COOL** (when WIDE)
* Last week was huge.
* `1st tgt: CE / mean reversion` → expect price to **respect or return to CE** more, instead of running to new extremes right away.
* **NEUTRAL** (when NORMAL)
* No special edge from range size.
* Use levels mainly as **reference / targets**, not as a strong bias.
---
### Row 3 – Range numbers
Example:
`LW Range: 480.00 | Avg(6): 520.00`
* **LW Range** = last week’s high – low (in points).
* **Avg(6)** = average range of the **last 6 weeks** (you set this with `lookback`).
You don’t need to overthink this. It’s just to **see the size** quickly.
---
### Row 4 – Price vs Weekly CE
Example:
`Above Weekly CE (premium of last week)`
* **Above Weekly CE**
* Price is trading in **premium** vs last week’s middle.
* For shorts, you want **sweeps / setups above CE**.
* **Below Weekly CE**
* Price is in **discount** vs last week’s middle.
* For longs, you want **sweeps / setups below CE**.
* **At Weekly CE**
* Market is sitting near the middle of last week’s range = **no big edge** from location alone.
---
### Row 5 – Exact levels
Example:
`LWH: 25850.00 | LWL: 25200.00 | CE: 25525.00`
* Exact prices for:
* **LWH** – Last Week’s High
* **LWL** – Last Week’s Low
* **CE** – middle of that range
You can use these as **targets, alerts, and liquidity pools.**
---
## 3. The lines on the chart
If `Plot LWH / LWL / Weekly CE` is ON:
* **Grey line** at **LWH**
* **Grey line** at **LWL**
* **Brown line** at **Weekly CE**
They extend to the right, so **this whole week** you see:
* Where last week’s extremes are.
* Where last week’s mid (CE) is.
You can use them on **any timeframe** (Daily, 1H, 15M, 5M, etc).
They are always based on **weekly data**.
---
## 4. Simple trading use-case (your style)
### Step 1 – Weekly bias (Sunday night / Monday)
Look at **Row 1–2**:
* **If TIGHT + HUNT + “1st tgt: LWH first”**
* Expect **weekly expansion up**.
* Intraday you’ll watch for **longs** that aim for **LWH** as first big target.
* **If TIGHT + “1st tgt: LWL first”**
* Same idea but **down** → look for shorts towards **LWL**.
* **If WIDE + “1st tgt: CE / mean reversion”**
* Favor **mean reversion** plays:
* If above CE → bias to **shorts back to CE** (with proper intraday confirmation).
* If below CE → bias to **longs back to CE**.
* **If NORMAL**
* No special push from weekly range.
* Use LWH/LWL as **big liquidity targets**, but let your Purge/MMXM model be the main driver.
---
### Step 2 – Intraday execution (Purge / MMXM)
Use the weekly info as **context**, not a signal:
* Treat **LWH/LWL** as **big liquidity pools**.
* Treat **Weekly CE** as **mean point / magnet**.
Example combo:
1. Script says:
* `Last Week: TIGHT`
* `HUNT (expect a raid) | 1st tgt: LWH first`
2. Price is **below CE**, building a base.
3. In your killzone, you see:
* **Sweep of intraday low**,
* **Shift in structure up**,
* Return to a 15M/5M OB/FVG.
→ You now have **HTF reason to believe upside expansion is likely**,
and your **intraday trigger** tells you where to enter.
---
## 5. Alerts (optional, but powerful)
The script already has:
* `Weekly Range = TIGHT` → tells you a **coil week** just closed.
* `Weekly Range = WIDE` → tells you a **big expansion week** just closed.
* `Raid LWH` → price traded above last week’s high.
* `Raid LWL` → price traded below last week’s low.
You can set these as **heads up alerts** on Sunday / Monday so you don’t miss the context shift.
---
If you want, next step we can add a **tiny “GO / WAIT / NO-GO” line** to the panel based on:
* TIGHT vs WIDE
* your position vs CE
* and whether LWH/LWL has already been raided this week.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.