INVITE-ONLY SCRIPT

Trap Zone — Shinobi Lab

22
Purpose
Trap Zone draws a clean intraday “no-man’s-land” and its surrounding + / – zones so you can quickly see where momentum trades are favored — and where to avoid fighting the tape. It also overlays ADR bands to frame extreme extensions.

How it works

Trap Zone core: Built from recent high/low lookbacks and key MAs. You can include MA200 in the box bounds (on by default) for stronger regime context.

+1 / –1 zones: Dynamic bands just outside the Trap Zone, sized by an adaptive EB minimum (bar-size floor based on instrument price) or average body size.

ADR bands (+/–): Daily range estimate using the last 20 sessions with outlier filtering (keeps the 5 most representative ranges under a safe cap).

Anchoring & visuals: New zones/ADR levels are projected from the prior session close with configurable left/right extension, labels (“++”, “––”, “+++”, “–––”), and a skull label inside the box.

Why it’s useful

Clarity at a glance: Above the box → long context; below the box → short context. Inside the box = trap area where signals are lower-quality.

Avoid the worst spots: The shaded center helps you skip chop and wait for clean breaks.

Frame extensions: ADR lines highlight when price is getting stretched beyond a typical session move.

Main features

MAs: 8 / 20 / 200 / 500 (200 is optional in the box logic).

Lookbacks: independent highs/lows for precise box edges.

Adaptive EB sizing drives +1 / –1 placement.

Outlier-robust ADR calculation.

Customizable colors, labels, and projection length.

Best practices

Treat the Trap Zone as a filter, not an entry signal.

Favor longs for signals above the box and shorts for signals below it.

Use with your signal tool (e.g., EB/TB V11.4) to time entries while the Trap Zone provides bias and location.

Inputs (highlights)

Include MA200 in Trap Zone (on/off)

Bars for High / Low (lookback)

Visual Extension Zones & Left Visual Extension

Show Zones / Show ADR Labels

MA lengths (8/20/200/500)

Notes

Designed for equities; ADR is computed at the end of the regular session and projected forward.

Works on intraday charts; precision set to 2 by default.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.