OPEN-SOURCE SCRIPT

Reticle - Structural Reversal Grid

965
Why This Works

Financial markets rarely move in uninterrupted straight lines. Asset prices expand in directional vectors, exhaust themselves, and retrace back toward their origins to trap counter-trend traders before continuing. Reticle is designed to map this structural reality geometrically.

Most traders rely on static, horizontal support and resistance levels. The Reticle engine relies on the mathematical squaring of time and price. By anchoring a vector to a verified structural leg (A to B), the script projects a dynamic diagonal trend floor (the "Death Line") and mathematically subdivides the entire move. Furthermore, historical testing across crypto and legacy markets consistently demonstrates that the 50% to 62.5% retracement band is the highest-probability zone for trend continuation to occur following a structural push.

How This Works

Reticle operates as a dual-engine geometric tracker:

The Anchoring Engine: It auto-detects the dominant macro swing (highest high and lowest low over a specified lookback period) to find the current active leg in the market. It marks the start of the move as Anchor A and the climax as Anchor B.

The Geometry Engine: Once A and B are locked, it draws an 8x8 fractional lattice to subdivide the zone, extends a golden Exhaustion Box highlighting the 50–62.5% retracement levels, and calculates the true geometric "Death Line." The slope of this line dynamically adjusts to the actual ratio of the move, preventing the distortion that usually ruins diagonal trendlines across varying chart scales.

How to Use Reticle

The primary utility of this script is finding high-confluence continuation entries and identifying exact structural invalidation points.

1. Finding Entries in the Exhaustion Zone
Wait for an impulsive move to define Anchors A and B. As the price pulls back from B, watch for it to enter the golden 50–62.5% Exhaustion Box. This is your strike zone. You want to see the price wick into this box and print a strong rejection candle that closes back outside of it. The box dynamically flares red the deeper price pushes into it, visually highlighting peak tension.

2. Managing the Trade via the Death Line
The red diagonal Death Line originating from Anchor A acts as the ultimate structural invalidation. It rises in tandem with time. If the asset respects its market geometry, it should bounce out of the Exhaustion Box and remain on the "safe" side of the Death Line.

3. Trading the Break
If a candle cleanly closes across the Death Line (marked on the chart by a red ✕), the geometric structure of that leg is broken. If you are in a trend-continuation trade, this is your hard exit signal. Conversely, advanced traders can use this Death Line break as an entry trigger to play the structural reversal.

Settings Guide

Every chart and asset breathes differently. Use these settings to perfectly calibrate Reticle to your chosen instrument.

Anchor Mode & MTF
Auto Anchors: Leave this checked to let the script find the A and B swing points automatically. Unchecking it disables the script until you define manual time anchors.

Use Higher Timeframe (MTF) Swings: A powerful feature that allows you to calculate the dominant A→B swing on a macro timeframe (like the Daily) while executing your trades on a lower timeframe (like a 40-minute chart) without losing the structural geometry.

Auto Engine: Choose between "Dominant Swing" (finds the absolute high and low of the lookback window) or "Latest Pivots" (strictly grabs the last two confirmed pivot points).

Dominant Swing Lookback / Pivot Strengths: Adjusts how many bars the script scans to define a swing. Increase these numbers to track massive macro trends; decrease them to trade rapid intraday micro-structures.

Engine Parameters & Squaring
Death Line Slope Basis: Dictates the math behind the red invalidation line.

Auto (A→B Ratio): Recommended. The slope perfectly mirrors the steepness of the structural push.

Squaring Factor: Forces the line to rise by a fixed, absolute price amount per bar, achieving true Gann-style 1x1 squaring.

True Squaring (Price Units per Bar): Active only if "Squaring Factor" is chosen above. Input exactly how many dollars/cents the line should rise per bar (e.g., 100 means a $100 climb per candle).

Death Line Angle ×: Multiplies the final slope. 0.5 acts as a 1x2 support line hugging price action. 1.0 acts as a steep 1x1.

Exhaustion Band Forward Extension: Determines how many bars into the future the golden retracement box is drawn.

Toggle Visuals: Checkboxes to hide or show the Lattice, the Band, the Death Line, and the A→B Vector Spine to keep your chart uncluttered.

Alerts

Select exactly which structural events you want to be notified about. Reticle features a unified alert system that ensures signals are only fired on confirmed candle closes to avoid false wick triggers.

Format Alerts as JSON: Check this box if you are connecting the indicator to automated trading bots via webhooks. It outputs a clean, machine-readable data payload instead of standard text.

Status Table
Show Status Table: Toggles the HUD panel that provides live data readouts regarding the current vector size, slope settings, and the exact percentage distance between current price and the Death Line invalidation.

Position: Move the data panel to any corner of the chart to prevent it from covering active price action.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน