Dix$ons Tackle Box

---
**Dixsons Tackle Box** is an all-in-one overlay for traders who want a clean chart with *stacked edge* instead of stacked indicators.
It combines:
* A **5-slot MA/EMA pack** with live slope % labels and MTF smoothing
* A **full VWAP engine** with event-based anchors, trend angle coloring, and VWAP bands
* **Bollinger Bands** with volatility-aware coloring and optional gradient background
* A **Short-Term & Long-Term Adaptive Trend Channel (ATC)** with automatic period detection, log-regression channels, and performance tables
* A **Dixson Auto Fibonacci suite**: ATR-based “rail” Fibs + Lookback Fibs off HH/LL, both driving a shared, fully customizable Fib bank
Everything is controlled logically by feature groups under the **“Tackle Box”** section, so you can quickly turn modules on/off and tune the tool to your style (scalp, intraday, swing, or position).
> **Important:** This is an analysis/visualization tool only. Nothing here is financial advice or an automatic trading system. Always test and manage risk yourself.
---
## 1. MA/EMA Pack — 5 Smart Averages with Slope %
**Group:** `Tackle Box` + per-slot groups `MA/EMA 1` … `MA/EMA 5`
**Main toggle:** `Enable MA's`
**Per-slot master row:** `_maRow1` … `_maRow5`
### What it does
This module gives you **five independent MA/EMA slots**, each with:
* Its own **type** (MA or EMA)
* **Length**, **color**, **line width**, and **plot style** (`Solid`, `Step`, or `Circles`)
* **Timeframe per slot** (MTF)
* Rich **label controls** (slope %, length/type text, timeframe text, etc.)
* **Label size** per slot (`tiny → huge`)
On top of that, each average has a **live slope % readout**, normalized by instrument tick size, so you can compare trend steepness across assets.
### Key features
* **Master slot row (1–5):**
In the `Tackle Box` group you have `_maRow1`–`_maRow5` toggles. These gate each slot globally, so you can quickly show/hide specific MAs without digging into each slot.
* **MTF Smoothed Mode:**
* `MTF Smoothed Mode` (on by default) makes higher-timeframe MAs **update only when the HTF bar closes (and on the last bar)**.
* That reduces the stair-stepping noise you often get when pulling HTF data onto an LTF chart, while still giving you accurate levels and a smooth, tradeable line.
* **Per-slot label text controls:**
Each MA group has toggles to control exactly what the label shows:
* `Show Label` – show/hide label entirely
* `Slope` – append slope % to the label
* `Len+Type` – show e.g. `50EMA` or `200MA`
* `TF` – show HTF name if the slot is on an MTF
* `'slope' text` – optionally include the word `slope` in the label
* **Slope % (angle) logic:**
Slope for each MA uses a normalized **“angle %” in [-100…+100]**, based on the 1-bar change vs `syminfo.mintick`.
* Big positive values = strong uptrend
* Big negative values = strong downtrend
* Near zero = flat/neutral
This makes it easy to build rules like:
* “Only trade long if the **50EMA slope** is above +20% and price is above VWAP”
* “Take profit if slope on my faster MA collapses back toward 0.”
### Typical use
* Slot 1–2: **fast intraday EMAs** (e.g., 9 / 20 EMA)
* Slot 3–4: **structural EMAs/MAs** (e.g., 50 / 200)
* Slot 5: a **dedicated MTF trend filter** (e.g., 5-minute or 1-hour EMA on a 1-minute chart)
---
## 2. VWAP Engine + Bands — Anchor-Aware, Angle-Aware VWAP
**Group:** `Enable VWAP` + `------ VWAP Settings ------`, `Bands Settings`, `Color Settings`
### Core VWAP
* **Anchors:**
`Anchor Period` lets you choose where each VWAP reset starts:
* `Session` (day session VWAP, perfect for intraday)
* `Week`, `Month`, `Quarter`, `Year`, `Decade`, `Century`
* Corporate events: `Earnings`, `Dividends`, `Splits`
This lets you build VWAP logic around:
* **Intraday mean reversion** (Session VWAP + bands)
* **Swing anchor VWAPs** (Weekly/Monthly)
* **Event-based anchors** (earnings/dividend/split reaction)
* **Hide on DWM:**
`Hide VWAP on 1D or Above` lets you keep intraday VWAP from cluttering higher-TF charts.
* **Angle/Trend Detection:**
The VWAP engine computes a **regression slope** over each anchor segment and converts it to an **angle %**:
* `Angle Lookback (bars)` controls how many bars are used
* `Angle Trend Threshold (%)` sets the threshold where a slope is considered “trending”
With `Color VWAP by Trend` enabled:
* Uptrend > threshold → VWAP turns **trend up color** (e.g., lime)
* Downtrend < −threshold → VWAP turns **trend down color** (e.g., red)
* Inside threshold → VWAP uses a neutral color
You can also set separate **line widths** for neutral vs trend state and transparency to give a “Hull-style” visual feel.
* **VWAP Labels:**
You get a single, de-duplicated VWAP label on the last bar with:
* Optional **name** (`VWAP`)
* Optional **price** (`$xxx.xx`)
* Optional **angle %** and optional `"slope"` word
* Global **label size** for VWAP + bands
### VWAP Bands
* **Calc modes:**
`Bands Calculation Mode`:
* `Standard Deviation` – classic VWAP ± n * σ
* `Percentage` – bands as a fixed % of VWAP
* **Bands 1-3:**
Each band has:
* Visibility toggle, independent multiplier (`×`)
* Separate **upper/lower colors** per band
* Optional **fill** between upper/lower for each band
* Label toggles:
* `Show All Labels`
* `Show Band #X Label`
* `Band Labels: Show Names` (VWAP+1, VWAP-1, etc.)
* `Band Labels: Show Prices`
This lets you configure anything from a minimalist “just VWAP + 1 band” view to a full 3-band ladder.
### VWAP Highlight Fill
* **Premium/discount shading**:
Optional fill that shades:
* Region **above VWAP** when price is above (e.g., greenish)
* Region **below VWAP** when price is below (e.g., reddish)
This makes it extremely easy to see when price is trading at **premium vs discount** relative to the current anchor VWAP.
### Typical use
* Intraday scalpers: Session VWAP + 1–2 bands + highlight fill
* Swing traders: Weekly/Monthly VWAP + only the main line and label
* Event traders: Earnings-anchored VWAP, tracking post-earnings drift
---
## 3. Bollinger Bands — Volatility-Aware BB with Gradient Fill
**Group:** `Enable Bollinger Bands` + `------ Bollinger Band settings ------`
### What it adds
A clean Bollinger Band overlay designed to play nicely with the VWAP/MA stack:
* `Bollinger Bands Length` (default 20)
* `Bollinger Bands Multiplier` (default 2.0)
* `BB Basis Color` & **line width**
* Upper/lower bands colored based on **width change**:
* Expanding volatility → `BB Expanding Color`
* Contracting volatility → `BB Contracting Color`
You can also toggle:
* `Show Center Line MA Label` – prints something like `20ma` on the last bar.
* `Enable Gradient Background Fill` – draws a gradient between price and the bands:
* `Gradient Fill Up Color` for below-price fill
* `Gradient Fill Down Color` for above-price fill
### Why it’s unique here
Instead of just static bands, this implementation **flags volatility regimes** (expansion vs contraction) via color and optional gradient. That pairs nicely with ATR Fibs and VWAP:
* Use **BB contraction (squeeze)** + flat VWAP angle to anticipate breakouts.
* Use BB + VWAP bands to filter which “touches” are genuinely overextended.
---
## 4. Dixson Adaptive Trend Channel (ATC) — Short-Term & Long-Term Log Channels
**Master toggle:** `Enable Adaptive Trend Channel`
**Groups:** `------ Dixson ATC Settings ------`, `Short-Term Channel Settings`, `Long-Term Channel Settings`, `Short-Term Midline Settings`, `Long-Term Midline Settings`, `Channel Trend Background Fill Settings`, `Short-Term Table Settings`, `Long-Term Table Settings`
### Under the hood
ATC is a **log-scale regression channel engine** that automatically:
1. Scans a set of candidate periods.
* **Short-term:** 20 → 200 bars
* **Long-term:** 300 → 1200 bars
2. For each period, it computes:
* Log-price regression slope & intercept
* Standard deviation of residuals
* A Pearson-style R value (trend “strength”)
3. Picks the period with the **highest correlation (|R|)** and uses that as the **detected trend length**.
This yields a **data-driven channel** that adapts to whatever trend the market is actually respecting.
> For long-term stats, annualized return only makes sense on **daily/weekly** charts. On intraday charts, treat the “Annual Return” purely as informational.
### Short-Term Channel
Controls in `Short-Term Channel Settings` + `Short-Term Midline Settings`:
* `Show Short-Term Channel` – on/off
* `Deviation Multiplier (Short-Term)` – how wide the channel is (in standard deviations)
* **Upper/Lower colors**, line width, style (Solid/Dotted/Dashed), transparency
* `Line Extension Style` – Extend Right / Extend Both / Extend None / Extend Left
Optional **Short-Term Midline**:
* Toggle + color, style, width, transparency
* Tracks the regression line itself (center of the channel)
Background fill:
* `Enable ST Background Fill` with separate **ST Uptrend** / **ST Downtrend** colors
* Trend direction is inferred from regression slope sign
### Long-Term Channel
Mirrors the ST controls with its own group:
* `Show Long-Term Channel`
* `Deviation Multiplier (Long-Term)`
* Upper/Lower channel colors, thickness, style, transparency
* `Line Extension Style`
* Optional Long-Term midline + colors/styles
* Optional **background fill** with separate colors for up vs down
You can run **both channels at once**, giving a panel of:
* **Macro trend structure** (Long-Term ATC)
* **Current swing trend** (Short-Term ATC)
* MAs, VWAP, and Auto Fibs on top for entries/exits
### Trend Info Tables
Each channel has its own table options:
* `Show Detected Period` (bars used)
* `Show Trend Strength` – either:
* Descriptive text: “Extremely Weak” → “Ultra Strong”, or
* Raw Pearson R value if `Show Pearson R` is enabled
* `Show Annualized Return` (when timeframe is daily/weekly)
* Table position (`Top Left`, `Bottom Right`, etc.)
* Text size (`Small`, `Normal`, `Large`)
These tables quantify:
* Over what lookback the trend is being measured
* How “clean” that trend is
* What the approximate annualized performance of that trend has been
---
## 5. Dixson Auto Fibonacci Suite — ATR Fibs + Lookback Fibs + Shared Fib Bank
**Master toggle:** `Enable Auto Fibonacci`
**Groups:** `Dixson Auto Fibonacci`, `ATR Auto Fib`, `Previous ATR Fib`, `Lookback Auto Fib`, `Lookback Anchor Overrides`, `Fibonacci Levels`
You get **two separate engines** (ATR-based and Lookback-based) that both draw from the **same customizable Fib bank**, with optional log scaling.
---
### 5.1 Global Auto Fib Settings
* `Logarithmic Scale`
* When ON, Fib levels are interpolated in log-space (better for assets that move in percentages).
* When OFF, interpolation is linear in price.
This applies to **both** the ATR and Lookback engines.
---
### 5.2 ATR Auto Fib (Rail-Based, Supertrend-Driven)
**Groups:** `ATR Auto Fib`, `Previous ATR Fib`
The ATR engine builds **“rails”** that hug price without letting candles touch them, then projects Fib levels between these anchors.
#### How it works
1. Uses built-in `ta.supertrend` with:
* `ATR Period`
* `ATR Multiplier`
2. Builds dynamic **upper and lower rails** around price:
* Uses ATR to define a **proximity gap** (`Proximity (×ATR)`) so rails stay **just outside the wicks** (no-touch behavior).
* Smooths raw highs/lows slightly (RMA) to avoid spiky rails.
* Ensures the upper rail is always ≥ high+gap and lower rail ≤ low−gap.
3. The **direction** (uptrend/downtrend) is inferred from the Supertrend direction:
* On trend flips, the script:
* Captures the prior rail pair as a **“previous segment”**
* Starts a new rail segment in the new direction
4. From these rails, the script draws **directional Fib “ladders”**:
* For the **current ATR Fib**:
* The Fib is drawn from one anchor to the other depending on the trend sign.
* Rays are projected `Ray Length` bars to the right of `Current Offset`.
* For the **previous ATR Fib**:
* The last completed segment’s start/end rails are used as anchors
* Rays are projected using `Prev Fib Offset` and `Prev Fib Length`
#### Current ATR Fib controls
* `Enable ATR Fib` – toggles current ATR Fib bank
* `ATR Period`, `ATR Multiplier` – control the “engine” behind the rails and ST logic
* `Current Offset`, `Ray Length` – where and how far rays are drawn
* `Show Level Text`, `Show Price`, `Display % not ratio` – label style
* `Label Size (Current ATR Fib)` – for all current ATR Fib labels
Visual extras:
* `Plot Hi/Low Anchor Lines` – shows upper/lower rails
* `Plot ATR Trailing Stop` – shows clamped Supertrend as a continuous line
#### Previous ATR Fib controls
* `Enable Prev ATR Fib` – toggles previous segment ladders
* Independent `Prev Fib Offset`, `Prev Fib Length`
* Separate label controls:
* `Show Level Text (Prev)`
* `Show Price (Prev)`
* `Display % not ratio (Prev)`
* `Label Size (Previous ATR Fib)`
Use the **current ATR Fib** as your active trading “ladder” and the **previous ATR Fib** to track recently broken structure and potential retest zones.
---
### 5.3 Lookback Auto Fib — HH/LL-Driven Fib Bank, MTF + Manual Overrides
**Group:** `Lookback Auto Fib` + `Lookback Anchor Overrides`
This engine draws Fibs between **highest high** and **lowest low** within a given lookback window on a chosen timeframe.
#### How it works
1. Select higher timeframe:
* `Lookback Timeframe` (empty = chart timeframe)
2. Choose your range:
* `Lookback Bars` – number of bars on the selected TF to scan for extremes
3. Optionally allow look-ahead:
* `Look-ahead Bars (repainting)`
* `0` = no look-ahead (no forward info, no repainting)
* `>0` = uses `barmerge.lookahead_on` for forward-looking extremes (can repaint)
4. For that range, the script finds:
* Highest high + its bar offset
* Lowest low + its bar offset
5. Trend direction is determined by **which extreme is more recent**:
* Recent high → **down** direction (high → low)
* Recent low → **up** direction (low → high)
6. Manual direction overrides:
* `Force Uptrend` / `Force Downtrend` – override the auto decision
7. Manual anchor overrides:
* `Manual Anchor High (LB)`
* `Manual Anchor Low (LB)`
If both are set, those become the anchors and direction is deduced from which is higher.
8. The engine then draws a **directional Fib ladder**:
* Anchors between high/low based on direction
* Rays extend `Lookback Fib Length` bars from `Lookback Fib Offset`
#### Label controls
* `Show Level Text`, `Show Price`, `Display % not ratio`
* `Label Size (Lookback Fib)`
* Labels are prefixed with `LB` to distinguish them from ATR Fibs.
This engine is ideal for:
* **Swing structure mapping:** Drawing Fibs across the last major swing on the HTF.
* **Confluence:** Aligning Lookback Fibs with ATR Fibs, ATC channel boundaries, and VWAP bands.
---
### 5.4 Shared Fibonacci Levels — Fully Custom Fib Bank for Both Engines
**Group:** `Fibonacci Levels`
The ATR and Lookback engines **both** use the same Fib bank:
* **Ratios provided by default:**
* 0.000
* 0.146
* 0.236
* 0.382
* 0.500
* 0.618
* 0.650
* 0.707
* 0.786
* 0.886
* 1.000
* 1.130
* 1.272
* 1.618
* 2.000
Each ratio has its own:
* `Enable Level X.XXX`
* `Level X.XXX` (the actual ratio – fully editable)
* `Thickness X.XXX` (line width)
* `Style X.XXX` (Solid / Dashed / Dotted)
* `Color X.XXX` (line + label color)
Adjusting a level here **instantly updates both** ATR and Lookback ladders. This makes it very easy to:
* Run “standard” Fib sets for classic retracements
* Or define your **own Fib presets** (e.g., 0.25 / 0.5 / 0.75, or custom extension clusters)
---
## How to Use & Suggested Workflows
**Scalpers / 0DTE / Intraday:**
* Enable:
* MA/EMA pack (fast EMAs + one MTF slot)
* VWAP (Session anchor) + 1–2 VWAP bands + highlight fill
* ATR Auto Fib (current + previous)
* Optionally hide:
* Lookback Fibs
* Long-Term ATC (unless you want HTF bias on your intraday chart)
Use slope labels, VWAP angle %, and ATR Fib ladders to structure trades around pullbacks, mean reversion, and breakouts.
**Swing / Position traders:**
* Turn on:
* Long-Term ATC (with table)
* Short-Term ATC for swing structure
* Lookback Auto Fib on a higher timeframe (e.g., D on 4H chart)
* Keep VWAP anchored to Week or Month, and MA slots for key reference MAs.
Use ATC channels for **trend structure**, Lookback Fibs for **swing levels**, and long VWAPs for **value zones**.
---
## Final Notes & Disclaimer
* Works on **all symbols** and **all timeframes**, but some stats (like “Annualized Return”) are only meaningful on **daily/weekly** data.
* Some options (like Look-ahead mode for Lookback Fibs) can **repaint** on purpose. These are clearly labeled — use them only if you understand and want forward-looking behavior.
* This script does **not** place trades. It is a visual / analytical tool only.
* Nothing in this indicator or description is financial advice. Always do your own research, forward-test, and manage risk appropriately.
If you have **invite-only access** to **Dixsons Tackle Box**, you’re getting the full Dixson overlay stack in one place — designed to be the central “hub” for your chart, not just another line on it.
Skrip hanya-undangan
Hanya pengguna yang disetujui oleh penulis yang dapat mengakses skrip ini. Anda perlu meminta dan mendapatkan izin untuk menggunakannya. Izin ini biasanya diberikan setelah pembayaran. Untuk detail selengkapnya, ikuti petunjuk penulis di bawah ini atau hubungi WilliamDixson secara langsung.
TradingView TIDAK menyarankan untuk membayar atau menggunakan skrip kecuali Anda sepenuhnya mempercayai pembuatnya dan memahami cara kerjanya. Anda juga dapat menemukan alternatif yang gratis dan sumber terbuka di skrip komunitas kami.
Instruksi penulis
Pernyataan Penyangkalan
Skrip hanya-undangan
Hanya pengguna yang disetujui oleh penulis yang dapat mengakses skrip ini. Anda perlu meminta dan mendapatkan izin untuk menggunakannya. Izin ini biasanya diberikan setelah pembayaran. Untuk detail selengkapnya, ikuti petunjuk penulis di bawah ini atau hubungi WilliamDixson secara langsung.
TradingView TIDAK menyarankan untuk membayar atau menggunakan skrip kecuali Anda sepenuhnya mempercayai pembuatnya dan memahami cara kerjanya. Anda juga dapat menemukan alternatif yang gratis dan sumber terbuka di skrip komunitas kami.