Fibonacci Confluence Suite [AxeAlgo]Fibonacci Confluence Suite
OVERVIEW
Fibonacci Confluence Suite is an automatic Fibonacci retracement and extension toolkit. Instead of requiring you to manually draw a Fibonacci tool on every swing, it detects swing highs and lows on its own using fractal price structure, draws the retracement/extension grid between them, and keeps that grid updated in real time as new swings form.
On top of the standard retracement levels, this script adds several layers of context that are normally separate, manually-maintained tools: a Golden Pocket highlight, a confluence check against prior swings, a per-level "touch count" strength score, an optional volatility-adaptive lookback, Fibonacci time zones, and a compact on-chart status table. The goal is to let you see not just where a Fibonacci level sits, but how significant that level appears to be.
This is a technical analysis / charting tool. It does not predict price, does not place trades, and is not a signal generator promising entries or exits.
HOW IT WORKS
1. Swing detection: the script scans for fractal highs and lows (a bar whose high/low is more extreme than the two bars on either side of it) within a user-defined lookback Period.
2. Anchors: the most extreme fractal high and fractal low found inside that window become the 0% and 100% anchors.
3. Direction: the detected swing is treated as an up-move or down-move depending on which side price broke out of most recently; you can flip this with the Reverse input if you prefer levels measured from the opposite end.
4. Grid: every retracement/extension ratio you enable is calculated from those two anchors and drawn as a labeled horizontal line, with the current price and touch count shown directly on the label.
5. Confluence: each time the swing flips, the prior swing's high/low is stored. Newly drawn levels are checked against the Fibonacci levels of those earlier swings, and any level that lines up within your tolerance is marked and drawn wider so overlapping structure stands out.
KEY FEATURES
- Automatic fractal-based swing detection, no manual drawing required.
- Base lines (0.000 / 1.000) plus up to nine independently configurable extension ratios, each with its own show/hide toggle and value.
- Adjustable line style, width, color, and extension direction (none / left / right / both) for base and extension lines separately.
- Golden Pocket highlight (0.618-0.65) with adjustable fill color, useful as a classic confluence/reaction zone.
- Multi-swing confluence detection: compares the current Fibonacci grid against up to five prior swings and flags levels that overlap, with an adjustable tolerance (as a percentage of the swing range) and a visual marker on confluent levels.
- Level strength via touch counts: each level tracks how many times price has traded through it since that specific swing grid was drawn, shown directly in the line label.
- Optional volatility-adaptive sensitivity: scales the effective lookback window using current ATR relative to its own baseline, so the swing detection can loosen or tighten automatically across changing volatility regimes instead of relying on one fixed Period. Disabled by default; when disabled the script behaves exactly like a fixed-Period fractal Fibonacci tool.
- Fibonacci time zones: optional vertical lines placed at Fibonacci bar-count offsets from the start of the current swing, for traders who also watch time-based confluence.
- Status table showing current trend direction, swing high/low, nearest level to price, the strongest (most-touched) level, and the lookback period actually in use.
- Built-in alerts: a per-level alert whenever price trades through any visible base or extension line, a dedicated Golden Pocket alert, and grouped "any base line" / "any extension line" alert conditions for the classic Alert dialog.
HOW TO USE IT
- Period / Delay: Period sets how many bars back the script searches for the swing high/low. Delay sets how many bars of confirmation a fractal needs before it can be used; it must be smaller than Period. Larger Delay values produce more reliable fractals at the cost of a slower reaction to new swings.
- Line Extension: controls whether the drawn levels extend left, right, both directions, or not at all.
- Reverse: flips which anchor (swing high or swing low) is treated as the 0% origin, letting you view the same swing from the opposite bias.
- Base Lines / Extension Lines groups: toggle, color, style, and set the ratio of each level independently.
- Golden Pocket: toggle and recolor the 0.618-0.65 zone highlight.
- Level Strength: toggle whether touch counts are appended to each label.
- Multi-Swing Confluence: toggle, choose how many prior swings to compare against, set the matching tolerance, and set how much extra line width and which marker confluent levels get.
- Adaptive Sensitivity: enable to let ATR-based volatility scale the effective lookback automatically; adjust the ATR length and baseline length used for that comparison.
- Time Zones: enable vertical Fibonacci time markers, choose how many zones to draw, and toggle multi-color cycling versus a single accent color.
- Status Table: toggle visibility and choose its screen position.
Set alerts using "Any alert() function call" on this indicator to receive all per-level, Golden Pocket, and roll-up alerts, or use the named alert conditions in the Alert dialog if you only want a subset.
IMPORTANT NOTES AND LIMITATIONS
- Repainting: this script can repaint on the most recent, unconfirmed swing. Because a fractal only confirms after the Delay setting's worth of bars closes, the swing high/low anchors — and therefore every level drawn from them — can still shift on the last few bars until the current fractal fully confirms. Once a swing has confirmed and the trend has flipped, that swing's levels are fixed and will not repaint further. Increasing Delay reduces how often this happens, at the cost of reacting more slowly to fresh swings. Please account for this when reading the most recent levels on the chart, and avoid relying on unconfirmed levels for time-sensitive decisions.
- This tool identifies swing structure and Fibonacci confluence; it does not forecast direction, does not manage risk, and does not constitute a complete trading system on its own. It is intended to be used as one input alongside your own analysis, risk management, and market context.
- Touch counts and the confluence marker describe historical interaction with a level on this chart; they are not a probability estimate and do not guarantee how price will react at that level going forward.
- As with any lookback-based tool, results and appearance will vary by symbol, timeframe, and the Period/Delay settings chosen. Please test on your own instruments and timeframes before relying on it.
DISCLAIMER
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for every investor. Past behavior of any indicator, including this one, is not indicative of future results. Always do your own research and consider your own risk tolerance before making any trading decisions. Indicator

Golden Pocket Syndicate Mini (GPSM)This indicator is an overlay toolkit that combines multi-timeframe Golden Pocket-style zones (Fibonacci-derived ranges between user-defined high/low ratios), optional GP-anchored VWAPs that reset when price interacts with the matching zone, and a confluence framework with optional visuals (signals, divergences, order-block-style markers, sweeps, trails). It is intended to help traders see where higher-timeframe ranges and optional filters overlap on the chart—not to automate trading or promise outcomes.
What it does
Pulls prior completed higher-timeframe highs/lows via request.security() and derives upper/lower pocket levels from your fib inputs.
Plots pocket bands (and fills where used) for the timeframes you enable.
Optionally plots volume-weighted averages anchored to touches of the corresponding pocket.
Combines user-toggled filters into a confluence score and optional bull/bear markers; all signal logic can be turned off in settings.
How to use
Open settings, enable only the pocket timeframes and visuals you need. Adjust fib inputs, touch tolerance, and filter groups to match your process. If you use alerts, treat them as notifications only—confirm every trade in your own plan.
Important limitations
This is not financial, investment, or tax advice. Markets involve risk; past or hypothetical chart behavior does not guarantee future results.
Higher-timeframe data and request.security() behavior depend on symbol, session, and chart timeframe. Validate outputs on your instruments before relying on them.
Scripts cannot execute orders; you are responsible for compliance, sizing, and risk.
Companion
For separate 1H / 4H / 8H pocket bands (to reduce plot limits when combined with heavy scripts), use the author’s “Golden Pocket Syndicate mini” (GPSM) publication if offered.
Golden Pocket Syndicate mini (GPSM) — public description
Use this in the publication description field (English first).
GPSM is a lightweight companion overlay focused on 1-hour, 4-hour, and 8-hour Golden Pocket-style zones: two fib ratios applied to the prior completed bar’s range on each timeframe, with optional filled bands and optional GP-anchored VWAPs (off by default) that reset when price touches the matching pocket. The 1-hour band can optionally switch color using a simple prior closed 1H close vs EMA rule so you can see a regime-style split at a glance.
What it does
Uses request.security() on "60", "240", and "480" minute timeframes with the same prior-bar anchoring idea as the author’s main GPS Pro script.
Keeps the script small so it can run alongside heavier indicators without hitting Pine’s plot limits as quickly.
How to use
Add it to your chart, toggle 1H/4H/8H zones and fills, then optionally enable individual VWAPs. Match fib settings to your main workflow if you use GPS Pro on the same chart.
Important limitations
Not financial advice. No performance or profitability claims. Past chart behavior does not predict future prices.
HTF behavior varies by symbol and session (especially 8H). Confirm levels on your market.
You are solely responsible for trading decisions and risk.
Relationship to GPS Pro
GPSM does not duplicate the full confluence, SMC filters, or alerts stack from GPS Pro; it is meant as a focused HTF pocket + optional VWAP add-on. Indicator

Auto Fibonacci Retracement [identityKa]Overview
The Auto Fibonacci Retracement is a dynamic structural mapping tool designed to automate the process of drawing Fibonacci levels. By continually scanning historical price action over a user-defined lookback period, the script identifies the dominant macroeconomic Swing High and Swing Low. It then mathematically constructs the retracement zones in real-time, completely removing human subjectivity from technical analysis.
Core Mathematical Engine
The script utilizes the ta.highest and ta.lowest functions coupled with a structural array system to ensure flawless historical anchoring:
Trend Directionality: The script determines the current macro trend by calculating the chronological offset between the absolute High and absolute Low. If the Low occurred chronologically before the High, it establishes a Bullish bias and draws the Fibonacci ratios from bottom to top. Conversely, it draws from top to bottom for a Bearish bias.
Level Generation: Utilizing standard percentage retracements, the engine strictly plots the 0.382, 0.500 (Equilibrium), 0.618 (Golden Pocket), and 0.786 (Deep Retracement) levels. The lines are drawn using a smart array management system that clears old lines and strictly plots the active data on the live bar to prevent chart lag and clutter.
HUD Dashboard & AI Logic
To assist in reading the Fibonacci zones, an integrated on-chart panel evaluates the relationship between the live closing price and the drawn retracement levels:
Dangerous: Displayed whenever the current price enters the zone between the 0.382 and the 0.618 (Golden Pocket) levels. This area represents deep institutional retracement and is mathematically the highest-risk zone for trend-continuation entries, as the market is actively deciding whether to bounce or reverse.
LONG / SHORT: The engine defaults to the macro trend direction ("LONG" in an uptrend, "SHORT" in a downtrend) as long as the price remains confidently outside the deep retracement zone (e.g., above the 0.382 in a bullish trend), signifying that the primary momentum remains intact. If the deep 0.786 level is broken against the trend, the script will mathematically flip the bias, assuming a structural reversal.
How to Use It
Traders should use this script to automate their top-down analysis. Rather than manually redrawing Fibonacci levels as new highs or lows are made, this indicator updates dynamically. During an established trend, traders should look for the AI Suggestion to switch to "Dangerous" (indicating price has entered the Golden Pocket) and await a definitive candlestick rejection pattern off the 0.500 or 0.618 level before re-entering the market in the direction of the macro trend. Indicator

Inverse Golden Pocket MTF ZonesIGP Multi-TF Zones — Inverse Golden Pocket Mapper
Overview
IGP Multi-TF Zones identifies dynamic support and resistance by detecting when price inverts through a Fibonacci golden pocket (the 0.618–0.786 zone) on any timeframe. When price breaks through a golden pocket from one side, that zone flips from resistance to support (or vice versa), creating a high-probability area for re-entry on a retest.
The indicator overlays golden pocket zones from up to four timeframes simultaneously — your chart timeframe plus three configurable higher timeframes — so you can spot multi-timeframe confluence at a glance. Each zone tracks its lifecycle from formation through inversion or invalidation, with full visual feedback at every stage.
How it works:
Detects swing high → swing low pairs using pivot-based logic
Draws the golden pocket zone (0.618–0.786 retracement) between the swings
Monitors for inversion — a candle closing through the 0.786 level, confirming the zone has flipped
Inverted zones change color (green for long, red for short) and become active areas to watch for retests
Zones that get broken the wrong way (price closes beyond the swing origin) are invalidated and removed
This is not a signal generator — it's a zone mapper. It shows you where the important levels are across multiple timeframes and lets you apply your own entry logic.
Settings Reference
Timeframe Combo
Preset — Quick selection for which timeframes to display:
Chart Only: Only your chart's own timeframe zones
Chart + 15m: Chart TF plus 15-minute zones
Chart + 15m + 30m: Three-tier view (default)
Chart + 15m + 30m + 1h: Full four-tier stack
Custom: Manually select each HTF and toggle independently
Chart TF
Show Chart TF Zones — Master toggle for your chart's native timeframe zones. Turn off if you only want higher TF zones overlaid.
Extend Right (bars) — How many bars ahead the zone box extends past the current bar. Default: 15.
Label Position — Where the zone info label sits relative to the box: Top-Left, Top-Right, Bot-Left, or Bot-Right. Use different positions per TF to prevent overlap.
HTF 1 / HTF 2 / HTF 3
Each higher timeframe has its own self-contained settings group:
Timeframe — Which timeframe to pull swing data from (e.g., 15m, 30m, 1h, 4h, D).
Enabled — Toggle this HTF on/off.
Min Swing (pts) — Minimum size in points for a swing to qualify. Higher timeframes naturally produce larger swings, so set this proportionally. Defaults: HTF1 = 45, HTF2 = 80, HTF3 = 145.
Extend Right (bars) — Independent extend per TF. Higher TF zones represent bigger structures, so longer extensions make sense. Defaults: HTF1 = 30, HTF2 = 50, HTF3 = 80.
Freeze Inverted — When on, inverted zones stop extending after a set number of bars, freezing them in place on the chart.
Freeze After (bars) — How many bars after inversion before the zone freezes.
Label Position — Top-Left, Top-Right, Bot-Left, or Bot-Right. Set different TFs to different corners to avoid label stacking.
Swing Detection
Pivot Lookback — Number of bars on each side to confirm a swing high/low. Higher values = fewer, more significant swings. Default: 5.
Min Swing (pts) — Chart TF — Minimum point range between swing high and swing low for chart timeframe zones. Filters out insignificant micro-swings. Default: 25.
Fibonacci
Entry Level — Which fib level defines the entry edge of the golden pocket box. Options: 0.618 (default), 0.705, 0.786. The box always draws from your chosen entry level to 0.786.
Show Entry Lines — Dashed line at the entry fib level (the bottom/top edge of the GP zone).
Show CE Line — Consequent Encroachment line at the midpoint of the golden pocket (halfway between entry level and 0.786). CE is a key reaction level within the zone. Turns green/red on inversion.
Show 0.786 Line (uninverted) — Dotted line at the inversion trigger level. Visible only on potential (uninverted) zones — once the zone inverts, this line disappears since it has served its purpose.
Show 0.886 Line (uninverted) — Dotted line at the deep retracement level. Shows the extreme edge of the golden pocket. Also disappears on inversion.
Direction
Long Setups (Bearish GP) — Show zones where a bearish swing (high → low) creates a golden pocket that could invert into long support.
Short Setups (Bullish GP) — Show zones where a bullish swing (low → high) creates a golden pocket that could invert into short resistance.
IDs & Swing Labels
Show Zone IDs — Each zone gets a unique sequential ID (Z1, Z2, Z3...) shown on the zone label.
Show Swing IDs — Labels at each swing high (H) and swing low (L) that formed a zone, tagged with the zone ID and timeframe. Example: "Z42 5m H". Only swings that generated a zone are labeled. When multiple zones share the same swing point, labels merge with a "/" separator (e.g., "Z42 5m H / Z43 15m H").
Show Swing Lines — Dotted horizontal lines extending from each swing high and swing low to the right edge of the zone box. Lines turn solid on inversion.
Swing ID Size — Text size for swing labels: tiny, small, or normal.
Swing High ID Color — Color for swing high labels and lines. Default: orange.
Swing Low ID Color — Color for swing low labels and lines. Default: blue.
Zone ID Size — Text size for the zone ID portion of labels.
Zone Lifecycle
Delete Invalidated Zones — When on, zones that get broken (price closes beyond the swing origin) are immediately removed from the chart. When off, they stay visible with gray dotted borders.
Max Zones Per TF — Maximum number of zones to keep per timeframe. When exceeded, the oldest zone is removed. Default: 6. Max: 50.
Invalidation
Invalidate on Swing Break — When price closes below the swing low (for long zones) or above the swing high (for short zones), the zone is marked as invalidated. Turn off to keep all zones alive indefinitely.
Visuals
Show Zone Labels — Master toggle for all zone info labels.
Zone Label Size — Text size for zone labels: tiny, small, or normal.
Zone Label Content
Fine-grained control over what information appears in each zone's label. Every field can be toggled independently:
Zone ID (Z123) — The sequential zone identifier. Default: ON.
Timeframe + Direction — Shows the source timeframe and direction arrow, e.g., "5m GP↑" or "15m IGP↓". Default: ON.
Swing Size (42pt) — The point range of the swing that formed the zone. Default: ON.
Swing Refs — Shows which swing high and low IDs created the zone, e.g., " ". Default: OFF.
Swing Time — Timestamp (ET) of when the swing that formed the zone was detected. Default: ON.
Inversion Time — Timestamp (ET) of when the zone inverted. Only appears on inverted zones. Default: ON.
CE Value — The Consequent Encroachment price level. Default: ON.
TF Colors
Chart TF — Color for chart timeframe zones. Default: purple.
HTF 1 — Color for the first higher timeframe. Default: blue.
HTF 2 — Color for the second higher timeframe. Default: orange.
HTF 3 — Color for the third higher timeframe. Default: teal.
CE Line — Color for the Consequent Encroachment line. Default: white.
Inverted Long — Color for zones that have inverted bullish (long). Default: green.
Inverted Short — Color for zones that have inverted bearish (short). Default: red.
Zone States
Potential (colored by TF) — A golden pocket has formed but price hasn't broken through the 0.786 level yet. The zone extends to the right each bar. This is a zone to watch.
Inverted (green or red) — Price closed through the 0.786 level, confirming the golden pocket has flipped. The zone is now an active support/resistance area for retests. The CE line and swing lines turn solid. The 0.786 and 0.886 helper lines disappear.
Invalidated (gray/deleted) — Price closed beyond the swing origin, breaking the zone. Depending on settings, the zone is either deleted or shown as a gray dotted outline.
Multi-Timeframe Confluence
The real power is in stacking timeframes. When a 5m zone overlaps with a 15m and 30m zone at the same price level, that's multi-timeframe confluence — a much higher probability reaction area than any single-TF zone alone.
Higher timeframe zones draw with thicker borders and more opacity so they stand out visually. Color-coding by timeframe lets you instantly see which TFs are aligned.
Tips
Start with Chart + 15m + 30m preset and adjust from there
Set different label positions per TF (e.g., chart = Top-Left, HTF1 = Top-Right) to avoid clutter
Higher TFs need larger min swing values to filter noise — the defaults are tuned for NQ but adjust for your instrument
Use Freeze Inverted on lower TFs to keep the chart clean, turn it off on higher TFs so they keep extending
The CE line is often the first reaction level within a zone — watch for wicks to CE
When swing labels show merged IDs (Z42/Z43), that swing point is extra significant — multiple timeframes agree on it
Built for NQ futures. Works on any instrument — adjust min swing sizes to match your market's typical range. Indicator

ZenAlgo - ABCThis indicator identifies a three-point price structure (X, A, B) and projects proportional price levels forward from point B. It uses either automatically detected swing points or manually selected anchors and then builds a forward projection framework based on the relative movement between X and A.
1. Anchor Point Selection (X, A, B)
The script first determines three key price points that define the reference movement.
Automatic mode
When manual anchors are disabled, the indicator scans historical bars to detect local highs and lows using a fixed number of bars on the left and right side. A pivot high is confirmed only after enough future bars exist, and the same applies to pivot lows. This avoids using information that is not yet available in real time.
Detected pivots are stored in sequence:
The previous confirmed pivot becomes X
The next confirmed pivot becomes A
The most recent confirmed pivot becomes B
To avoid repeatedly using the same type of pivot, the script alternates between highs and lows. This ensures that X, A, and B always represent a swing structure instead of a flat sequence.
Manual mode
When manual anchors are enabled, the user defines three timestamps. The script captures the price and bar index at those times. After all three points are collected, the script adjusts them to represent true extremes inside their bars. Depending on direction, it replaces closes with highs or lows so that X and A form a valid swing, and B represents a corrective endpoint.
If manual anchors are incomplete, the script falls back to the automatic pivots.
2. Validation and Direction Detection
After anchors are collected, the script checks whether all three points are available. If any of them is missing, no projection is drawn.
When X, A, and B exist, the script determines the directional context:
If A is above X, the structure is treated as bullish
If A is below X, the structure is treated as bearish
The vertical distance between X and A defines the reference movement. This distance is treated as the base unit for all further projections.
This approach assumes that the impulse move from X to A represents the dominant directional leg, and that B represents a retracement or pause within that structure.
3. Projection Calculation
All projected levels are derived from the difference between X and A and are applied starting from point B.
For each predefined ratio:
In bullish structures, the distance from X to A is added upward from B
In bearish structures, the distance is subtracted downward from B
This produces a set of horizontal price levels that are proportional to the initial impulse.
No fixed price values are used. All levels scale automatically with market volatility and with the size of the X–A movement.
4. Configurable Levels and Naming
The indicator defines a list of projection ratios that represent retracement, extension, and continuation zones. Each level can be enabled or disabled and has an adjustable color and transparency.
Each level may be displayed in two ways:
As a descriptive name combined with the ratio
As a numeric ratio combined with the projected price
The naming system maps specific ratios to semantic labels such as base, entry, intermediate targets, main target, and extended continuation levels. These names are fixed in the script and reflect their relative position in the projection structure.
5. Visual Construction
On the most recent bar, the script clears all previously drawn elements and rebuilds the full structure.
It then draws:
A dashed line from X to A and from A to B to visualize the underlying swing
Labels at X, A, and B with direction-aware placement
Horizontal lines from B into the future for each enabled level
Text labels at the end of each level line
All level lines extend a configurable number of bars to the right of the current bar, creating a forward projection area.
Transparency values are fixed to maintain visual consistency and to avoid obscuring price action.
6. Zone Construction
In addition to individual lines, the script can draw shaded zones between selected pairs of levels.
These zones include:
A retracement zone between two closely spaced mid-range ratios
A target zone between the main extension levels
An extended continuation zone above or below the main target
Zones are drawn as semi-transparent rectangles from point B to the right extension limit. Their vertical boundaries are defined by the corresponding projected levels.
These zones highlight areas where price interaction with multiple proportional levels is expected.
7. Display and Update Logic
The drawing process runs only on the most recent bar. This prevents excessive historical objects and ensures that projections always reflect the latest confirmed X, A, and B.
All graphical objects are stored internally and deleted before redrawing. This avoids overlap and keeps the chart synchronized with the current structure.
8. Interpretation of Levels
The projected levels represent proportional price distances derived from the prior impulse.
They should be interpreted as:
Reference zones for potential reactions
Areas of interest for continuation or exhaustion
Context for managing existing positions
Lower ratios correspond to shallow projections near B. Higher ratios correspond to extended moves away from B.
No level represents a guaranteed support or resistance. All values are conditional on the validity of the underlying X–A–B structure.
9. Practical Usage
Typical usage follows this workflow:
Wait for the script to confirm X, A, and B
Observe whether the structure is bullish or bearish
Use projected levels as reference for planning entries, exits, and risk placement
Re-evaluate when a new pivot replaces X, A, or B
Manual anchors can be used when the user wants to enforce a specific structure that differs from the automatic pivot logic.
The indicator is designed for contextual analysis rather than standalone signal generation.
10. Limitations and Disclaimers
This indicator depends on confirmed pivots. In fast or highly volatile markets, pivot confirmation can lag, which delays projections.
Structures may be invalidated when:
Price forms new extremes before a pivot is confirmed
Market conditions change abruptly
Range-bound markets produce frequent small pivots
In such conditions, projected levels may shift frequently or lose relevance.
The method assumes that past impulse size is a meaningful reference for future movement. This assumption does not hold in all market regimes.
The indicator does not incorporate volume, order flow, trend filters, or volatility regimes. It should therefore be combined with additional analysis.
11. Relationship to Manual Fibonacci and ABC Tools
Unlike standard manual Fibonacci retracement or projection tools, this indicator does not rely on subjective anchor placement. In automatic mode, swing points are selected using a fixed pivot detection process, which enforces consistent structural rules.
Anchor points are derived from confirmed price pivots instead of manual selection
The X–A–B structure is maintained automatically as new swings form
All projection levels and zones are recalculated and redrawn dynamically
This removes the need for repeated manual adjustments when market structure changes.
Compared to typical ABC projection tools, the script formalizes the entire workflow. The selection of reference points, the construction of proportional levels, and the management of graphical objects are handled programmatically. This prevents inconsistent anchor choices, reduces user interpretation bias, and ensures that projections always reflect the most recent validated structure.
The integrated zone construction further extends standard projection methods by grouping related levels into continuous price regions, rather than displaying only isolated horizontal lines.
Summary
This script identifies swing-based X–A–B structures using confirmed pivots or manual anchors, measures the impulse between X and A, and projects proportional levels from B. All displayed lines and zones are derived from this single reference movement and update dynamically as new pivots appear. The indicator provides a structured projection framework based on historical price geometry rather than predictive signals.
Indicator

Range Indicator Golden Pocket, Liquidity, FairValueGapOverview
This indicator is a comprehensive institutional market structure toolkit. It is designed to identify high-probability reversal zones by merging three powerful technical analysis concepts: Fibonacci Golden Pockets (61.8% - 65%), Liquidity Pool Analysis (Swing Failure Patterns), and Fair Value Gaps (FVG). By automating the detection of price inefficiencies and "stop runs," it helps traders navigate complex price action with objective, rule-based confirmation.
What the Script Does
The script continuously monitors a user-defined lookback period to define a trading range. Within this range, it dynamically plots:
Golden Pockets: High-confluence retracement zones (calculated as 0.35 - 0.382 internal range levels).
Liquidity Zones: Highlighted regions at the absolute high and low (Top/Bottom 5%) where institutional orders and retail stops are typically concentrated.
Swing Failure Patterns (SFP): Real-time detection of liquidity grabs where price breaches a range extreme but fails to close outside, signaling a potential trap.
Fair Value Gaps (FVG): Visualizes 3-candle price imbalances, showing areas of aggressive buying or selling that often act as future magnets or support/resistance.
2-Candle Confirmation: A momentum-based filter requiring a candle-close confirmation before a reversal signal is generated.
For Whom is it?
Smart Money Concepts (SMC) & ICT Students: Traders looking for automated liquidity sweeps and market inefficiencies.
Fibonacci & Mean Reversion Traders: Those seeking a clean, professional visualization of the Golden Pocket across multiple timeframes.
Systematic Day Traders: Who require strict price-action confirmation (SFP and 2-candle rules) to remove emotional bias from their entries.
Functions and Input Options
1. Market Structure & Visuals
Lookback Period (Default: 100): Defines the window for calculating the range extremes.
Box Offset Right (Default: 50): Extends all zones into the future for better anticipatory trading.
Show Price Lines & Labels: Displays the exact price for every zone boundary on the right axis for precise execution.
2. Fair Value Gap (FVG) Settings
Show Fair Value Gaps: A toggle to enable/disable the plotting of price imbalances.
FVG Extension (Default: 10): Determines how many bars into the future the FVG box remains visible.
Custom Colors: Separate color inputs for Bullish (Gap Up) and Bearish (Gap Down) inefficiencies.
3. Professional Alert System
The script includes five specific alert conditions:
GP Touch: Early warning when price enters a Golden Pocket.
2-Candle Pattern: Confirmed momentum shift within a Golden Pocket.
SFP Long/Short: Alerts when a Liquidity Grab (Swing Failure) is confirmed at the range high or low.
Transparency and Compliance (Moderator Info)
Non-Repainting Logic: All signals (SFP, 2-Candle, and FVG) are calculated and triggered based on confirmed candle closes. Drawings use barstate.islast purely for visual efficiency without altering historical data integrity.
Educational Context: The script visualizes well-known market principles (Fibonacci, SFPs, and FVGs) to aid traders in their analysis; it does not provide automated financial advice or "black-box" buy/sell signals.
Resource Management: Optimized for Pine Script v5, using efficient array and box handling to ensure smooth performance even on lower timeframes. Indicator

Golden Pocket Syndicate [GPS]Golden Pocket Syndicate is a multi-layered market analysis toolkit built for precision entries and sniper-style reversals in both trending and ranging conditions. The script fuses volume dynamics, golden pocket structures, market maker behavior, and liquidation cluster tracking into one high-confluence system.
Core Features:
• 📐 Golden Pocket Zones: Dynamic GP levels from daily, weekly, monthly, and yearly timeframes. These levels update in real-time and serve as confluence zones for entries and exits.
• 📊 WaveTrend Divergence Diamonds: Momentum shifts are detected using a custom filtered WaveTrend cross system to mark high-probability reversal conditions.
• 🧠 Market Maker Premium Divergence: Tracks price dislocation between CME and Binance to detect large player manipulation using a configurable premium threshold.
• 💎 MM Reversal Diamonds: Identifies potential market maker traps and large player pivots using historical candle behavior, EMA alignment, and price structure breaks.
• 📉 Stealth Liquidation Cluster Arrows: Volume-based liquidation pressure visualized as lightweight directional arrows based on calculated wick expansion and volume bursts. Highlights key zones where price is likely to bounce or reject.
• 🧭 Trend Validation: Uses volume-based trend conditions and short-term EMA positioning to further qualify signals and eliminate noise.
How to Use:
This indicator is designed to help traders visualize confluence between key institutional price levels, momentum shifts, and volume-based pressure points. Long/short opportunities can be explored at marked reversal diamonds or liquidation zones that align with key GP levels. Intended for use on higher timeframes (15m to 4H), though flexible across any pair or market. Indicator

Fibonacci Moving Average PlusFibonacci Moving Average Plus is a sophisticated technical indicator that employs the first 15 numbers of the Fibonacci sequence to create dynamic moving average channels. This indicator aims to capture both immediate and long-term price movements by calculating Exponential Moving Averages (EMAs) based on these Fibonacci values. By using Fibonacci-based moving averages for both high and low price points, the indicator generates a visual channel that reflects the ebb and flow of market trends, acting as potential zones of support and resistance. Additionally, the indicator provides midline, retracement, and extension levels rooted in Fibonacci ratios, which are frequently observed as key levels for reversals or trend continuation.
Ideology Behind Using Fibonacci Sequence-Based Moving Averages
The Fibonacci sequence, known for its mathematical harmony and prevalence in natural patterns, is widely utilized in technical analysis to identify potential turning points in markets. In this indicator, the first 15 Fibonacci numbers (5, 8, 13, 21, etc.) are used as the lookback periods for EMAs to capture different layers of market sentiment. These moving averages represent timeframes that are theoretically in alignment with the natural rhythms of market cycles, where key levels—often coinciding with Fibonacci numbers—can act as magnetic points for price.
The Fibonacci high and low channels aim to encapsulate price action, giving traders a sense of whether the market is trending, consolidating, or experiencing reversal pressure. These levels, grounded in both mathematics and market psychology, help traders spot areas where price might face resistance or find support.
Key Features
Fibonacci Moving Average High and Low: This indicator calculates the high and low EMAs based on Fibonacci sequence numbers (e.g., 5, 8, 13, etc.) for enhanced trend analysis.
Golden Pocket Retracement (GPR) and Extension (GPE) Bands: Displays common Fibonacci retracement and extension levels (0.618, 0.65 for retracement, and 1.618, 1.65 for extension).
Midline: Plots the average of the Fibonacci high and low to act as an additional reference level.
Stop-Loss Levels: Provides suggested stop-loss levels based on Fibonacci levels for both long and short positions.
Basic User Guide
Adjust Input Settings:
Input Timeframe: Set a specific timeframe for the Fibonacci moving average calculation, separate from the chart's primary timeframe.
Show Fibonacci MA High/Low: Toggle the visibility of the high and low Fibonacci moving averages.
Show Mid Line: Display a midline for added trend reference.
Show Golden Pocket Bands: Choose to display retracement or extension bands for potential support or resistance zones.
Show Stop-Loss Levels: Enable to visualize potential stop-loss levels for both long and short trades.
Interpretation:
Fibonacci MA High and Low: Use these lines to gauge the general trend. When the price is above both, it may indicate an uptrend; below both, a downtrend.
Golden Pocket Retracement: This zone (between 0.618 and 0.65) is often a key level for potential reversals or support/resistance.
Golden Pocket Extension: The 1.618 and 1.65 levels can indicate potential profit-taking or trend exhaustion points.
Stop-Loss Levels: The calculated stop-loss levels (long SL below and short SL above) can aid in risk management.
Customization:
You can customize the appearance and visibility of each component through the input settings to fit your specific strategy and visual preferences.
This indicator should be used alongside other technical analysis tools to provide a more comprehensive trading approach.
This Indicator would not exist without the original contributions and blessing from Sofien Kaabar Indicator

Indicator

Indicator
