Golden Range Zones | Rainbow MatrixGENERAL OVERVIEW
Golden Range Zones is a nested prior-range projection tool. At every reset boundary it freezes the just-closed period's high and low as the inner Band lines, then scans backward to find the nearest earlier extremes that price has NOT yet broken — the outer Oscillation lines. The gap between each Band and its Oscillation is filled with a golden Fibonacci zone, giving an immediate map of where price has prior structural precedent above and below the current range.
The goal is to answer one question at a glance: where are the levels that actually matter right now, and how much room is there before price reaches them? Instead of a single prior-day high/low pair, you get a nested structure — the recent range bracketed by the closest unbroken historic extremes — with the space between them measured in Fibonacci proportion. Every line is derived from real completed-period extremes, not approximated from the current bar.
The indicator works on crypto and futures (24h session reset) and on stocks (custom trading-hours window with timezone), computes the range from in-session data only, and never repaints its frozen levels.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
Prior high/low levels are among the most watched references in trading — but most tools draw only the single most recent pair (yesterday's high and low) and stop there. That tells you the edges of the last range. It does not tell you what lies beyond those edges: the next level up that price failed to break, or the next level down that has held historically.
Price does not react in a vacuum at the edge of yesterday's range. When it breaks above the recent high, the relevant question becomes "what is the nearest overhead level that has actually rejected price before?" — because that unbroken prior extreme is where the next reaction is statistically more likely. Golden Range Zones formalizes this: it brackets the recent range with the nearest UNBROKEN prior extremes on each side, found by scanning completed periods backward until it locates the first one whose high exceeded (or low undercut) the current range.
The space between the recent edge (Band) and the nearest unbroken extreme (Oscillation) is then divided in Fibonacci proportion — the zone where price travels between "left the recent range" and "reached the next historic wall." Reading that space as a graded golden zone, rather than two bare lines, turns the gap into a structured probability map: the deeper price pushes into the zone, the closer it sits to the level that has rejected it before.
Where no prior breaching extreme exists — price at an all-time high or low, a young asset, a very high reset period — the tool does not go blank. It projects a conservative Oscillation from the Band by 25% of the period range and flags it distinctly, so the structure is always present even at historic extremes.
GOLDEN RANGE ZONES FEATURES
The indicator includes these main components:
◇ Nested Prior-Range Engine (Band + backward-scan Oscillation)
◇ Golden Fibonacci Zones (dual-sided, mirrored)
◇ Extreme-Event Fallback Projection
◇ Black Swan Extension (liquidation-sweep zone)
◇ Session / Custom Trading-Hours Anchoring
◇ Zone-Size % Read-out
◇ Multilingual interface (5 languages) and full visual customization
NESTED PRIOR-RANGE ENGINE
🔹 What It Does
Freezes four static horizontal lines at each reset. The Band lines are the just-closed period's high and low (the inner pair). The Oscillation lines are the nearest prior period extremes that lie beyond that range (the outer pair).
🔹 Method
At each reset, the just-closed period's high and low are pushed to a rolling history of completed-period extremes and frozen as the Band lines. The engine then scans that history backward from the most recent period: the first earlier period whose high exceeds the Band high becomes the Oscillation high; the first whose low undercuts the Band low becomes the Oscillation low. The two sides resolve independently and can sit at very different look-back distances — the overhead wall might be four periods back while the floor below is two hundred periods back. Because both sides are bracketed by real extremes that the recent range did not breach, the structure is always ordered: Oscillation high ≥ Band high ≥ Band low ≥ Oscillation low.
🔹 No-Repaint
Every value comes from closed periods. Once frozen at the reset, the lines do not repaint for the duration of the period.
GOLDEN FIBONACCI ZONES
🔹 What It Does
The gap between each Band (inner) and its Oscillation (outer) is filled with a rainbow Fibonacci zone — the area where price travels from the recent range edge toward the nearest unbroken historic level.
🔹 Method
On each side the axis runs from the Band (ratio 0) to the Oscillation (ratio 1.0). The zone is divided into bands whose widths follow a Fibonacci 1:1:2:3:5:8 distribution, so the sub-bands grow as they approach the outer extreme — the area nearest the historic wall is the widest, where reaction is most likely. The palette runs aqua at the inner edge through to red at the outer edge, mirrored on the upper and lower sides. The space between the two Band lines stays clean, keeping the current trading range visually uncluttered.
EXTREME-EVENT FALLBACK
🔹 What It Does
When the backward scan finds no prior period that breached the Band on a side — price at a historic extreme, a young instrument, or a very high reset period — the Oscillation on that side is projected rather than left blank.
🔹 Method
The orphan side's Oscillation is placed at 25% of the period range beyond the Band, and the line is rendered with a distinct purple accent so it reads clearly as a conservative projection, not a historic level. Only the side without a real prior breach uses the fallback; the other side keeps its true extreme. The tool therefore always presents a complete structure, even in uncharted price territory.
BLACK SWAN EXTENSION
🔹 What It Does
An optional zone projected beyond the Oscillation — the area where price often wicks past a level to sweep liquidity before reacting.
🔹 Why It Matters
Levels are rarely respected to the tick. Price frequently overshoots a key extreme, triggering stops and liquidating leveraged positions, then reverses. The Black Swan extension marks that overshoot band explicitly, so an aggressive wick beyond the Oscillation reads as a potential liquidation sweep rather than a clean breakout.
SESSION / CUSTOM TRADING-HOURS ANCHORING
🔹 What It Does
The reset that defines each period can follow the instrument's native session (ideal for 24h crypto and futures) or a custom trading-hours window in a chosen timezone (ideal for stocks).
🔹 Method
In Session mode the period resets on the symbol's session boundary at the chosen reset timeframe (default Daily). In Custom Hours mode you set an open–close window and a timezone; the running high and low then accumulate from in-session bars only, discarding after-hours movement, and the period rolls over at the window open. This makes the Band represent the true regular-session range for stocks, not a figure distorted by thin extended-hours activity.
ZONE-SIZE % READ-OUT
🔹 What It Does
Three dashed vertical markers, drawn a configurable number of candles past the block, each span one zone and report its size as a percentage of current price.
🔹 The Three Zones
◇ Sell zone (green): Oscillation high → Band high — the room above the recent range.
◇ Neutral zone (gray): Band high → Band low — the recent range itself.
◇ Buy zone (red): Band low → Oscillation low — the room below the recent range.
Reading each zone as a % of price lets you size targets and risk against the structural levels directly.
HOW TO USE
This indicator is not a signal generator. It is a structural map: it shows the recent range, the nearest unbroken extremes that bracket it, and the graded space between them.
🔹 Setup
Set the chart timeframe below the reset period (for example a 15m chart with a Daily reset). For 24h markets leave Reset Mode on Session. For stocks, switch to Custom Hours and set the regular-session window and timezone. If the chart timeframe is at or above the reset period, the projection hides and a guard note appears.
🔹 Reading the Structure
◇ The two Band lines are the just-closed period's range — the immediate edges.
◇ The two Oscillation lines are the nearest prior levels the range has not broken — the next structural walls.
◇ The golden zone between each Band and Oscillation is where price has prior reaction precedent; the Fibonacci-weighted bands widen toward the outer wall.
🔹 Tactical Reading
◇ Price holding inside the Bands — trading within the recent range; no structural test yet.
◇ Price entering a golden zone — travelling toward the nearest unbroken extreme; the deeper it pushes, the closer the historic level.
◇ Price wicking into the Black Swan extension — possible liquidity sweep beyond the level; watch for rejection.
◇ A purple-accented Oscillation — no real prior breach on that side; the level is a conservative projection, treat with lower confidence.
INPUTS EXPLAINED
🔹 System Language
Display language for the panel and labels. Options: English (default), Português, Español, Русский, 中文 (Chinese).
🔹 Reset Period / Reset Mode
The period boundary that defines each range. Session (auto) for 24h markets; Custom Hours (with trading window + timezone) for stocks.
🔹 Lines
Visibility and width for the Band and Oscillation strokes.
🔹 Rainbow Style
Golden-zone visibility and transparency.
🔹 Black Swan / Aqua
The outer liquidation-sweep extension and the inner breathing-room line.
🔹 Extreme Event
Enables the 25%-range fallback projection when no prior breach exists.
🔹 Zone % Lines
The three zone-size verticals and their candle offset from the block.
🔹 Info Panel
Visibility, position, and font size.
IMPORTANT NOTES
Golden Range Zones works on any chart timeframe below the reset period. It is built for instruments with reliable price data across many periods, since the backward scan may look back far to find an unbroken extreme — on very short history the fallback projection covers the gap. In Custom Hours mode the range reflects in-session bars only.
The frozen levels do not repaint within a period; they recompute at the next reset, like an anchored tool. The Fibonacci 1:1:2:3:5:8 zone distribution is part of the canonical Rainbow Matrix design grammar, shared across the portfolio for consistent readability.
Pine Script v6. Open-source under Mozilla Public License 2.0.
UNIQUENESS
Golden Range Zones is unique in how it brackets the recent range. Most prior-range tools draw a single high/low pair; this one finds the nearest UNBROKEN prior extremes on each side via a backward scan through completed-period history, producing a nested structure rather than two bare lines. The space between the recent edge and the nearest unbroken extreme is then divided in Fibonacci 1:1:2:3:5:8 proportion, so the graded zone widens toward the historic wall where reaction is most likely — turning the gap into a structured probability map rather than empty space between two lines. An extreme-event fallback keeps the structure intact at all-time highs and lows by projecting a conservative level instead of going blank, and a Black Swan extension models the liquidation-sweep overshoot beyond each extreme. Session or custom trading-hours anchoring lets the same engine serve 24h crypto and regular-session stocks correctly, computing the range from in-session bars only. The combination of backward-scan nested ranges, Fibonacci-weighted golden zones, conservative fallback projection, and session-aware anchoring produces a structural read of prior-range context that single-pair high/low tools cannot provide. Indikator

ICT PD Arrays [LunqFX] FVG, Displacement & Smart Money ZonesICT PD Arrays is a complete Smart Money Concepts toolkit built on the Inner
Circle Trader (ICT) methodology. It maps the full Price Delivery Array —
7 interconnected modules working together to identify where institutions
accumulate and distribute positions across any liquid market.
█ WHAT IT DOES
Most ICT indicators cover one concept in isolation — a Fair Value Gap, or
just Premium/Discount zones. This script combines all core PD Array
components into one cohesive system and ties them together with an ISD
state machine and a live HUD dashboard that shows full market context
at a glance.
Seven modules run simultaneously on every bar:
Fair Value Gaps (FVG) + Inversion FVG + Balanced Price Range (BPR)
Premium / Discount Zones + OTE Fibonacci Zones + Equilibrium Line
Displacement Detection with ATR and Volume confirmation
Inducement (IDM) — false breakout / liquidity trap detection
ISD Sequence state machine (Inducement → Sweep → Displacement)
Killzones — London, New York, Asian, Silver Bullet sessions
Live HUD Dashboard — all signals aggregated in real time
█ HOW IT DOES IT
FAIR VALUE GAPS
A Fair Value Gap is a 3-candle price imbalance where the gap between
candle 1's extreme and candle 3's extreme was never traded. Institutions
use these gaps as re-entry points — price gravitates back to fill them.
Detection uses a confirmed 3-candle structure with a bar offset so
the current live bar never creates a new FVG. No repainting.
An ATR(14)-based minimum size filter removes micro-gaps that carry no
significance. Raise the multiplier to see only strong imbalances.
Mitigation is tracked in real time. Once price crosses the CE midpoint
(Consequent Encroachment — the 50% level of the gap), the box fades.
When price fully passes through a gap it automatically converts to an
Inversion FVG (IFVG) — former support becomes resistance, box recolors.
Balanced Price Range (BPR) detects spatial overlap between the most
recent bullish FVG and bearish FVG. The overlap zone is where both
buyer and seller imbalances exist at the same price — the strongest
equilibrium area on the chart.
PREMIUM / DISCOUNT ZONES + OTE
ICT divides any dealing range into two halves: Premium (above 50%) where
institutions sell, and Discount (below 50%) where institutions buy.
Swing highs and lows are detected via pivot logic with a configurable
lookback. The range between the last confirmed pivot high and pivot low
becomes the active dealing range.
Two OTE zones are drawn using Fibonacci retracement logic:
OTE Buy zone — 21.4% to 38.2% from the low
= 61.8%–78.6% retracement FROM the swing high
= deepest discount, highest-probability long area
OTE Sell zone — 61.8% to 78.6% from the low
= deepest premium, highest-probability short area
Math:
OTE Buy Top = SwingLow + Range x 0.382
OTE Buy Bot = SwingLow + Range x 0.214
OTE Sell Top = SwingLow + Range x 0.786
OTE Sell Bot = SwingLow + Range x 0.618
Zones update automatically when new pivots are confirmed.
DISPLACEMENT
Displacement is not simply a large candle. In ICT theory it marks a
genuine shift of institutional order flow — it must show conviction.
Three conditions must all be satisfied simultaneously:
Body >= ATR(14) x multiplier (default 2.0)
Filters out average volatility, keeps only significant momentum.
Wick-to-range ratio below threshold (default 30%)
A large wick relative to range signals indecision, not displacement.
Formula: (High - Close) / Range for bulls,
(Close - Low) / Range for bears.
Optional volume filter: Volume > SMA(20) x 1.5
Confirms institutional participation behind the move.
Disable for spot Forex where tick volume is unreliable.
Displacement candles are the primary FVG trigger — the gap left behind
a displacement candle is the highest-quality FVG to trade.
INDUCEMENT (IDM)
Inducement is how institutions engineer a false breakout to grab
retail stop-loss liquidity before reversing price the other way.
Detected when price temporarily sweeps beyond a recent swing high or
low and then closes back inside the range. An ATR-based wick filter
ensures only meaningful sweeps qualify — micro-breakouts are excluded.
Bear Trap: price sweeps below a recent low and closes above it.
Bull Trap: price sweeps above a recent high and closes below it.
A 25-bar cooldown prevents label flooding in trending conditions.
The signal still feeds the ISD state machine on every bar regardless.
ISD SEQUENCE STATE MACHINE
ISD stands for Inducement, Sweep, Displacement. This is the complete
3-step institutional setup that ICT traders look for before entering.
The module runs as a persistent state machine tracking progress
across bars in real time:
Score 1/3 — IDM confirmed. Liquidity has been grabbed.
Score 2/3 — A structural sweep of a 5-bar high or low confirmed.
Score 3/3 — A Displacement candle fires in the same direction.
Label appears on chart. State resets automatically.
A 50-bar timeout resets the sequence if no follow-through occurs,
preventing stale signals from contaminating new setups.
ISD 3/3 is the single highest-confidence signal in this indicator.
All three institutional steps have completed in the correct order.
Dashboard shows live progress: Score 0 to 3 with block indicators.
KILLZONES
ICT defines specific time windows where institutional order flow
is at its highest. The script highlights four of them:
London Open 02:00 - 05:00 New York time
New York Open 08:30 - 11:00 New York time
Asian Session 20:00 - 00:00 New York time
Silver Bullet 10:00 - 11:00 New York time
The Silver Bullet is a specific 1-hour ICT window occurring inside
the New York session — considered one of the highest-probability
entry windows in the entire ICT model.
Killzones are automatically hidden on timeframes 4H and above.
LIVE HUD DASHBOARD
A real-time panel in the bottom-left corner aggregates all modules:
Zone current price position (PREMIUM / DISCOUNT / EQ)
with gradient background that shifts green to red
EQ Level exact equilibrium price of the current dealing range
Bull FVG count of active non-inverted bullish gaps
Bear FVG count of active non-inverted bearish gaps
BPR whether a Balanced Price Range is currently active
Displace direction of the most recent displacement candle
IDM most recent trap type — Bear Trap / Bull Trap / None
ISD Score live block progress from 0/3 to 3/3
ATR (14) current ATR value
Timeframe active chart timeframe
█ HOW TO USE
Recommended workflow for intraday setups on 1m to 1H timeframes.
Step 1
Check the dashboard Zone. If PREMIUM, look for short setups only.
If DISCOUNT, look for long setups only. Never trade against the zone.
Step 2
Wait for an IDM label. This confirms retail stop-loss liquidity has
been swept in the direction you are looking to trade.
Step 3
Watch the ISD score reach 2/3 — a structural sweep is confirmed in
the same direction as the IDM.
Step 4
When a Displacement candle fires and ISD reaches 3/3, the complete
institutional sequence is confirmed. This is the entry trigger.
Step 5
Enter on a retest of the FVG left by the displacement candle.
For the highest-precision entry, wait for price to reach the OTE
zone within the FVG (61.8%–78.6% retracement level).
Step 6
Use Killzones to time entries. Highest-probability window is the
Silver Bullet (10:00–11:00 NY). London and NY Open are second.
For higher timeframe analysis on 4H and Daily: use Premium/Discount
zones and swing structure only. Ignore Killzones and FVG entries.
█ SETTINGS GUIDE
Fair Value Gaps
Min FVG Size (ATR mult) raise to filter weak gaps, 0 shows all
Max FVGs to Show limits drawn gaps, default 5
Show CE Midline shows the 50% Consequent Encroachment level
Show Inverted FVG recolors box when price passes through fully
Show BPR draws overlap zone between bull and bear FVGs
PD Arrays
Swing Detection Length longer lookback gives bigger dealing ranges
Show OTE Zones draws the Fibonacci entry zones
Show Equilibrium Line draws the 50% midpoint with price label
Displacement
Body Size (x ATR) momentum threshold, raise for stronger signals
Max Wick/Range Ratio lower value requires cleaner committed candles
Volume Filter disable for Forex, enable for stocks/futures
Inducement
IDM Lookback Bars how far back to find the reference high/low
Min Wick Size (x ATR) raise to filter micro false-breakouts
ISD Sequence
Min Score to Show Label set to 3 to see only complete 3/3 setups
Killzones
Each session can be toggled independently.
█ ALERTS
Bullish FVG Formed
Bearish FVG Formed
Bullish Displacement — check for FVG entry
Bearish Displacement — check for FVG entry
Full ISD Sequence (3/3) — high-probability setup complete
Bullish Inducement (IDM) — Bear Trap detected
Bearish Inducement (IDM) — Bull Trap detected
█ TECHNICAL NOTES
All ta.* function calls — ATR, SMA, pivot highs/lows, highest, lowest —
are executed unconditionally at the top script level in compliance with
the Pine Script v6 execution model. Never inside conditionals or
functions called conditionally.
FVG detection is locked to barstate.isconfirmed with a bar offset.
The current live bar never creates a new FVG box. No repainting.
The ISD state machine uses persistent var variables with inline
assignment in the main execution body. Pine v6 does not allow global
variable reassignment inside functions, so the state machine runs
directly in the main script scope with a 50-bar timeout guard.
█ DISCLAIMER
This indicator is provided for educational and informational purposes
only. It does not constitute financial advice or a recommendation to
buy or sell any financial instrument. Past performance of any trading
concept or signal is not indicative of future results. All trading
involves risk. You are solely responsible for your own trading decisions.
Always use proper risk management.
© LunqFX Indikator

Swellz Capital LevelsA single, uncluttered indicator that plots all the key levels futures and intraday traders actually watch — as clean right-side lines and labels
that never cut back through your candles.
What it plots
Previous Day
- PDH / PDL (previous day high & low)
- PDC — choose RTH cash close (16:00 ET), 24h Globex daily close, or both
Previous Week
- PWH / PWL
Sessions
- Asia / Globex high & low
- NY (RTH) session high & low
- Initial Balance high & low
Volume Profile (POC / VAH / VAL) for:
- NY session
- Current day
- Current week
- Previous week
Key features
- Clean presentation — every line and label is pushed to the right of price action, so nothing draws back across your candles. Adjustable gap,
line length, and width.
- Smart label stacking — when two levels share the same (or nearly the same) price, their labels automatically spread sideways so the text never
overlaps. Tolerance and spacing are adjustable.
- One-click master switches — toggle all key levels or all volume profile levels on/off with a single button, while keeping your individual
per-level choices intact.
- Accurate session resets — day/week boundaries follow the futures session (matching TradingView's daily/weekly candles), so PDH/PDL etc. line up
with the levels you already see.
- Fully customizable — colors per group, label size, optional price-in-label, value-area %, and profile row size (in ticks).
How to use
- Best on an intraday timeframe (1m–15m). Lower timeframes give a more accurate volume profile.
- Set your timezone and session windows in the settings to match your instrument and trading style.
- Volume Profile is approximated from chart OHLCV (each bar's volume spread evenly across its high-low range) — very close to TradingView's native
VP, though not identical. The symbol must have volume data.
- High/low levels update live; volume profile updates on each bar close.
Tuned with futures (NQ/MNQ, ES/MES, etc.) in mind, but works on any symbol with volume. Indikator

ARBF v1.4ARBF (Asia Range, Bias, Fair Value Gaps) is an intraday tool built around a single daily decision: which way price commits after the Asian session, and where it is likely to react on the way there.
It combines three ideas that normally live in separate indicators into one workflow.
ASIA RANGE AND DAILY BIAS
The script marks the high and low of the Asian session (default 19:00 to 02:59 New York time, fully configurable) and draws the range as a box with optional extended levels into London and New York. During a configurable signal window (default London open onward) it watches for the first candle that closes beyond the Asia high or low. A close above the high sets a bullish bias for the day, a close below the low sets a bearish bias. Only the first break is taken, so the bias is fixed once and not repainted afterward.
FAIR VALUE GAPS WITH BODY VS WICK CLASSIFICATION
Three-candle imbalances are detected and drawn as zones. Each gap is classified: if a candle body closes fully beyond the gap it is treated as strong (solid border), if only a wick pierces it the gap is treated as weak and more likely to be retested (dashed border). Gaps are removed once price mitigates them, and there is an age limit so the chart stays clean. An alert can fire when price re-enters an unmitigated gap that aligns with the active daily bias.
BALANCED PRICE RANGE (BPR)
When a bullish and a bearish gap overlap in the same price area, that overlap is a Balanced Price Range, often a strong reaction zone. This version keeps a short-term memory of recently swept gaps, so a BPR is still recognised when one gap is filled and an opposite gap forms in the same area shortly after. The memory window and size are adjustable.
HOW TO USE IT
1. Let the Asian range complete.
2. Wait for the bias signal during your chosen window.
3. Trade only in the direction of that bias, using unmitigated FVGs and BPR zones in that direction as your areas of interest for entries and reactions.
4. Use the alerts to be notified when price reaches a relevant gap or BPR.
NOTES
Credits: Farouk Seascalper
All session logic is forced to New York time and is daylight-saving aware. Times in the inputs are New York hours. The included alert text references XAUUSD as an example only; the indicator works on any symbol and timeframe, though it is designed for intraday charts. This is an analysis tool, not financial advice, and signals should be confirmed with your own process. Indikator

Indikator

Indikator

Volume Spike LevelsVolume Spike Levels detects abnormal volume candles, draws their price range as boxes or levels, and confirms whether the volume was resolved upward or downward.
-----------------------------------------------------------------------------------------------------
Volume Spike Levels is a clean volume spike indicator designed for visual price action analysis and intraday scalping.
Unlike a basic volume spike indicator that only places a marker on the candle where abnormal volume appears, this script first detects a volume spike candle and then draws the full price range of that candle as a box or horizontal levels.
The idea is simple:
when unusual volume appears, the range of that candle becomes important. Instead of only marking the volume candle, the indicator watches how price behaves around that range afterward.
If price breaks and confirms above the volume spike range, the indicator can mark it as VOL BUY.
If price breaks and confirms below the volume spike range, the indicator can mark it as VOL SELL.
This makes it easier to see whether the volume was actually absorbed, continued, inverted, or used as a reaction zone.
The indicator has two main marker modes:
Confirmed Direction mode:
The box or levels are drawn when the volume spike appears, but the directional marker appears only later, after price confirms above or below the spike range. Confirmation can be based on Wick, Body, or Close, depending on your settings.
Neutral Fast mode:
The indicator marks the volume spike immediately with a neutral marker. In this mode, the trader visually decides the direction based on price action around the box or levels.
Level display options:
You can display the volume spike range as a box, horizontal high/low levels, both, or turn the levels off and use markers only.
Volume strength:
The script supports weak, medium, and strong volume spike thresholds. These settings should be adjusted for your broker, symbol, and timeframe.
The screenshot shows XAUUSD on the 5-minute chart. The example settings were adjusted for OANDA gold data:
Weak Spike Multiplier: 1.9
Medium Spike Multiplier: 2.2
Strong Spike Multiplier: 3.0
Because volume data can differ between brokers and instruments, you should tune these multipliers so the number of signals on your chart feels useful and not overcrowded.
Alerts:
The indicator includes alerts for neutral volume spikes, bullish confirmed volume spikes, bearish confirmed volume spikes, and strong volume spikes only.
This tool can be useful for scalping, intraday trading, reaction zones, volume absorption, and identifying when volume appears in one area but price later confirms in the opposite direction.
Indikator

Market Structure Target Tracker [MarkitTick]💡 An advanced, multi-faceted analytical suite designed for traders who rely on price action and logical trend progressions. By systematically identifying structural pivots in the market, this tool automatically maps out Break of Structure (BOS) and Change of Character (CHoCH) events. Rather than simply plotting support and resistance, it integrates a sophisticated risk-management framework directly onto the chart, calculating dynamic Entry, Stop Loss (SL), and multiple Take Profit (TP) levels based on market volatility.
Price action trading requires constant vigilance to identify local maxima and minima. This script relieves the trader of manual chart marking by perpetually analyzing rolling windows of price data. When an established swing high or low is breached, the indicator locks in the structural shift, evaluates higher timeframe momentum to filter out false breakouts, and establishes a forward-looking target zone.
✨ Originality and Utility
Most market structure indicators limit their functionality to placing historical labels on the chart. The originality of this script lies in its forward-looking, state-aware tracking mechanism. It operates not just as an indicator, but as a simulated trade management dashboard.
Once a structural break occurs, the indicator shifts into an active tracking state. It dynamically projects Entry and SL/TP bands anchored to the breakout, using Average True Range (ATR) to adapt to the asset's current volatility. Furthermore, it continuously evaluates the life-cycle of the structural break, monitoring price action to determine if the target is successfully hit or if the setup is invalidated by an opposing swing breach. This level of state persistence provides traders with an objective, real-time assessment of trade feasibility, risk-to-reward ratios, and trend duration.
🔬 Methodology and Concepts
The script is built upon four foundational technical concepts, woven together into a unified logic sequence:
• Pivot Detection
The core engine scans for Pivot Highs and Pivot Lows. A Pivot High is confirmed when a specific bar's high is strictly greater than the highs of a defined number of bars both preceding and following it. This creates a fractal representation of market turning points.
• Break of Structure (BOS)
A bullish structure break occurs when the closing price of a confirmed bar exceeds the most recent Pivot High. Conversely, a bearish break occurs when the close drops below the most recent Pivot Low. The script categorizes the first break in a new direction as a CHoCH, and subsequent continuous breaks as BOS.
• Higher Timeframe (HTF) Alignment
To prevent trading against the dominant macroeconomic trend, the script optionally queries the Relative Strength Index (RSI) from a higher timeframe. If this filter is engaged, bullish breakouts are ignored unless the HTF RSI indicates bullish momentum, adding a crucial layer of directional confirmation.
• Volatility-Adjusted Target Mapping
Upon a valid breakout, the script captures the current ATR. It then maps out a predefined trade setup. The Entry is plotted slightly past the breakout line, the Stop Loss is placed at a multiple of the ATR away from the entry, and up to three Take Profit levels are projected using independent ATR multipliers.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The indicator translates discretionary price action theory into a strict, rule-based algorithmic framework grounded in discrete mathematics and statistical dispersion.
• Local Extrema in Discrete Time Series
The pivot detection relies on the mathematical definition of local extrema within a bounded domain. For a given time series of high prices $H_t$, a local maximum is identified at time $t$ if $H_t \ge H_{t \pm k}$ for a defined neighborhood $k$ (the Swing Length). By anchoring structural logic to these extrema, the script removes the subjectivity of trendline drawing, relying strictly on empirical data points that define the boundaries of recent market equilibrium.
• Measurement of Dispersion via True Range
The risk management module utilizes the Average True Range. The True Range ( NYSE:TR $) is defined as the greatest of the following: the current high minus the current low, the absolute value of the current high minus the previous close, or the absolute value of the current low minus the previous close. The ATR is a smoothed moving average of this NYSE:TR $. In academic finance, variance and standard deviation are common measures of risk; however, ATR is particularly robust for trading applications as it accounts for overnight gaps and limits, providing a highly adaptive measurement of kinetic market energy to appropriately size stop-loss thresholds.
• Relative Momentum Standardization
The Higher Timeframe filter utilizes the Relative Strength Index. The RSI standardizes the velocity of price movement onto a 0-100 scale by comparing the exponential moving average of recent gains to recent losses. By enforcing a rule where NYSE:RSI > 50$ is required for bullish structural breaks, the algorithm mathematically demands that the higher-degree derivative of price (momentum) aligns with the lower-degree breakout, statistically reducing the probability of mean-reverting false breakouts.
🎨 Visual Guide
The script provides a rich, non-intrusive visual overlay to keep the trader informed of all active states and historical context.
• Structure Break Lines
Dashed Green Lines: Indicate historical and active Bullish breakouts.
Dashed Red Lines: Indicate historical and active Bearish breakouts.
Trend Labels: Triangles and markers (▲ BOS / ▼ CHoCH) appear at the midpoint of the break line to clearly annotate the structural shift.
• Trade Projection Lines
When a break is active, a cluster of dashed lines projects to the right of the current price action:
Blue Line (►): Proposed Entry level.
Red Line (✕): Stop Loss level based on ATR.
Green Lines (●, ★, ◆): Three tiered Take Profit targets based on escalating ATR multiples.
• The Heads-Up Dashboard
Located in the top right corner, this table is the operational nerve center. It displays:
Asset Ticker and Current Trend status.
HTF Direction and a visual block-bar representation of the HTF RSI.
Active BOS Level and Target Status (⏳ Pending or ✓ Hit).
Exact price coordinates for Entry, SL, and all TPs.
The active Risk-to-Reward (R:R) ratio for the first target.
Statistical tracking of Total BOS counts and the duration (in bars) of the active setup.
📖 How to Use
Traders can utilize this script as a complete ruleset for navigating trend continuations and reversals.
When observing the chart, wait for the script to print a new BOS or CHoCH label. This signifies that a confirmed candle has closed beyond a significant structural pivot. If the HTF filter is enabled, this break already has the backing of higher timeframe momentum.
Once the break prints, look to the dashed projection lines and the dashboard. The dashboard will display exact coordinates for a theoretical trade setup. You can use the blue Entry line to plan limit orders or market execution upon pullbacks. Set your structural stop-loss according to the red SL line, and place limit orders to secure profits at the green TP lines.
Monitor the Dashboard's "Tgt Status". If price action reverses heavily and crosses the opposing pivot point before reaching the target, the script will trigger its auto-invalidation sequence, clearing the active lines and returning to a neutral scanning state. This helps in dynamically cutting risk when a setup structurally fails.
⚙️ Inputs and Settings
The indicator is highly customizable, allowing adaptation to any asset or timeframe.
• BOS Group
Swing Length: Determines the lookback and lookforward period for pivot detection. Lower values react faster but produce more noise; higher values identify major macro swings.
• Visibility Group
Show BOS Line / Labels: Toggles the historical structural break drawings.
Auto-Invalidate: When enabled, the script will cancel an active setup if the opposing structural extreme is breached.
Color settings: Fully customize the hues for Bullish breaks, Bearish breaks, and Targets.
• SL/TP Group
Show Entry/SL/TP: Toggles the projection lines on the chart.
ATR Length: The lookback period for calculating market volatility.
Multipliers: Adjust the SL ATR Multiplier and the individual TP1, TP2, and TP3 multipliers to define your specific risk-to-reward parameters.
• HTF Group
HTF: Select the resolution for the higher timeframe filter (e.g., 240 for 4-hour, D for Daily).
HTF Filter: Toggle the momentum alignment requirement on or off.
HTF RSI Len: The period for the higher timeframe momentum oscillator.
• Alerts Group
The script features built-in webhook-ready JSON alerts that can notify external services the moment a BOS occurs or a target is successfully hit.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indikator

Liquidity Volume MatrixLiquidity Volume Matrix (LVM)
Liquidity Volume Matrix is a volume-validated liquidity analysis indicator designed to help traders study where resting liquidity may exist, how price reacts around those levels, and whether a sweep is supported by volume and directional pressure.
This is an indicator, not a trading strategy. It does not place orders, does not provide backtest results, and does not claim that any signal will produce a profitable trade. Its purpose is to organize liquidity, volume profile, and net-volume information directly on the chart so traders can make their own analysis.
What the indicator does
Liquidity Volume Matrix combines four main components:
1. Liquidity Levels
The script detects confirmed swing highs and swing lows using pivot logic. Swing highs are treated as potential Buy-Side Liquidity (BSL) above price, while swing lows are treated as potential Sell-Side Liquidity (SSL) below price.
BSL represents areas where buy stops or breakout liquidity may exist above price.
SSL represents areas where sell stops or downside liquidity may exist below price.
The indicator extends these levels forward until they are swept, broken, removed, or recolored depending on the user settings.
2. Volume-Validated Liquidity Pools
Each liquidity level can be evaluated using resting volume around that price zone. The script scans a configurable lookback window and measures volume around each liquidity level using a percentage-based price band.
The level can be classified as:
HIGH — stronger relative volume around the level
MED — moderate relative volume around the level
LOW — weaker relative volume around the level
This grading is not a trade signal. It is only a contextual reading of how much historical volume has interacted with that price area.
3. Liquidity Sweeps
The script marks two types of liquidity sweeps:
SSL Sweep
A sell-side liquidity sweep occurs when price trades below a sell-side liquidity level and then closes back above that level. This means price took liquidity below a prior swing low and rejected lower prices.
BSL Sweep
A buy-side liquidity sweep occurs when price trades above a buy-side liquidity level and then closes back below that level. This means price took liquidity above a prior swing high and rejected higher prices.
The script can optionally require:
Volume confirmation
Delta / net-volume agreement
Next-bar confirmation
When next-bar confirmation is enabled, the label appears only after the following candle confirms the sweep direction. For example, an SSL Sweep is confirmed when the next candle closes above the sweep candle’s high. A BSL Sweep is confirmed when the next candle closes below the sweep candle’s low.
Sweep labels are not automatic buy or sell signals. They identify liquidity events that traders may choose to study with their own trend, risk, and confirmation methods.
4. Internal Volume Profile
The indicator builds an internal rolling volume profile using the selected lookback period. It divides the recent price range into bins and distributes volume across those bins based on candle overlap.
The profile displays:
POC — Point of Control
The price area with the highest estimated volume within the selected profile range.
VAH — Value Area High
The upper boundary of the value area.
VAL — Value Area Low
The lower boundary of the value area.
Value Area
The price range containing the selected percentage of total profile volume, commonly set to 70%.
Liquidity Voids / LVN
Low-volume areas where the profile volume is below the selected threshold relative to the POC bin.
The profile is an internal approximation built from available chart volume and candle ranges. It is not intended to exactly replicate exchange-native volume profile tools.
Net Volume / Delta Logic
The script includes a pressure reading based on net volume.
When possible, it uses lower-timeframe volume delta through TradingView’s volume delta function. If lower-timeframe delta is not available, the script falls back to a candle-based proxy using the candle close location inside the high-low range.
The dashboard shows:
Smoothed Pressure
An EMA-smoothed reading of net volume.
Current Bar Net Vol
The current bar’s estimated net volume.
Delta Source
Shows whether the reading comes from intrabar data or from the candle proxy.
Because not all symbols provide the same quality of volume or intrabar data, users should treat delta and net-volume readings as contextual information, not as exact order-flow data.
Dashboard
The dashboard summarizes the most important live information:
Smoothed Pressure
Current Bar Net Vol
Nearest BSL Above
Nearest SSL Below
POC
Value Area
Current Zone
Last Sweep
Main Focus
The Main Focus field is not a trading recommendation. It is a contextual guide showing where the next important liquidity or value-area reaction may occur.
Settings explained
Liquidity Levels
Pivot Lookback
Controls how many bars are used on each side to confirm a swing high or swing low. Higher values produce fewer but stronger levels. Lower values produce more levels but may increase noise.
Level Source
Allows levels to be created from candle wicks or closing prices. Wicks are more sensitive to liquidity grabs. Close-based levels are more conservative.
Max Levels Kept
Controls how many liquidity levels remain on the chart.
Keep Swept Levels
When enabled, swept levels remain on the chart in a different color. When disabled, swept levels are removed.
Tag Resting Volume on Levels
Displays estimated volume around each liquidity level together with a HIGH / MED / LOW grade.
Resting-Volume Lookback
Controls how far back the script scans when measuring volume around a liquidity level.
Level Volume Band
Controls the price band around each level used for volume accumulation.
HIGH grade / MED grade
Controls how the script classifies the relative volume around each liquidity level.
Liquidity Sweeps
Show Sweep Signals
Turns sweep labels on or off.
Confirm Sweep Next Bar
Requires confirmation from the candle after the sweep before printing the sweep label.
Require Volume Confirmation
Requires the sweep candle to have a volume spike.
Sweep Volume Spike
Defines how large the sweep candle volume must be compared with its recent average.
Sweep Volume Average Length
Defines the volume average used for sweep confirmation.
Require Delta Agreement
Requires net-volume direction to agree with the sweep type.
Remove Levels on Break
Removes a level when price closes through it instead of only sweeping it.
Volume Profile
Show Volume Profile
Turns the internal rolling profile on or off.
Profile Lookback
Controls how many recent bars are included in the profile.
Profile Bins
Controls the resolution of the profile. Higher values create more detailed bins but can make the chart busier.
Value Area %
Defines how much of total volume is included in the value area.
Profile Width
Controls the horizontal width of the profile bars.
Profile Offset
Controls how far the profile is placed from the most recent candle.
Draw POC / VAH / VAL Lines
Displays the Point of Control and value area boundaries.
Highlight Liquidity Voids
Highlights low-volume areas.
Void Threshold
Defines how low volume must be relative to the POC bin for a zone to be treated as a liquidity void.
Net Volume / Delta
Delta Source
Auto mode uses intrabar volume delta when available. Candle proxy mode estimates net volume from candle structure.
Use Custom Lower Timeframe
Allows the user to manually select the lower timeframe used for intrabar delta.
Pressure Smoothing Length
Controls the EMA smoothing length applied to net volume.
Dashboard
Show Dashboard
Shows or hides the dashboard.
Position
Controls dashboard location.
Text Size
Controls dashboard text size.
Colors & Style
Buy-Side Liquidity
Color for BSL levels above price.
Sell-Side Liquidity
Color for SSL levels below price.
Swept / Broken Level
Color for levels after they are swept or broken.
SSL Sweep Confirmation
Color for confirmed sell-side sweeps.
BSL Sweep Confirmation
Color for confirmed buy-side sweeps.
POC Line / POC Text
Color for the Point of Control.
Value Area / Profile
Color for the profile and value-area components.
Liquidity Void
Color for LVN / liquidity void areas.
Visual Clarity
Highlight Nearest BSL / SSL
Emphasizes the nearest active liquidity level above and below price.
Nearest Level Width
Controls the thickness of the nearest active levels.
Dim Far Levels
Makes non-nearest levels lighter to reduce clutter.
Level Label Mode
Controls whether labels appear on all levels, nearest levels only, short labels only, or not at all.
Show Volume Text Only On Nearest
Keeps volume text only on the nearest active BSL and SSL to avoid label overlap.
Profile Visual Strength
POC Line Width
Controls how visible the POC line is.
POC Box Transparency
Controls the strength of the profile bar at the POC.
Value Area Transparency
Controls the opacity of the value area profile bars.
Other Profile Transparency
Controls the opacity of profile bars outside the value area.
Void Zone Transparency
Controls the opacity of liquidity void zones.
How to use this indicator
One practical workflow is:
1. Identify the nearest BSL above price and SSL below price.
2. Check whether price is trading inside, above, or below the value area.
3. Watch how price reacts when it reaches BSL, SSL, POC, VAH, or VAL.
4. Treat confirmed sweeps as liquidity events, not as standalone entries.
5. Use your own market structure, trend, risk management, and confirmation process before making any trading decision.
For example:
If price sweeps SSL and closes back above the level, this may show that downside liquidity was taken and rejected. The user can then study whether market structure, volume, and risk location support a bullish idea.
If price sweeps BSL and closes back below the level, this may show that upside liquidity was taken and rejected. The user can then study whether market structure, volume, and risk location support a bearish idea.
Important limitations
This indicator does not predict future price movement.
Liquidity levels are based on confirmed pivots, which means they appear only after the required number of bars has passed.
Volume profile calculations are internal approximations based on available chart data.
Delta may come from intrabar data or from a candle-based proxy depending on symbol and timeframe availability.
Sweep labels are not buy or sell signals.
The indicator should not be used alone for trade execution.
Different symbols, timeframes, and data providers may produce different volume and delta behavior.
Recommended use
Liquidity Volume Matrix is best used as a decision-support tool for discretionary market analysis. It may be useful for traders who study liquidity, stop runs, sweep reactions, volume profile context, POC reactions, value area behavior, and low-volume zones.
It is designed for visual market context, not automated trading, not guaranteed signal generation, and not financial advice.
Alerts
The script includes alerts for:
Confirmed SSL Sweep
Confirmed BSL Sweep
Any confirmed liquidity sweep
New Buy-Side Liquidity
New Sell-Side Liquidity
These alerts notify the user that a liquidity event or new liquidity level has appeared. They do not instruct the user to buy or sell.
Originality and purpose
Liquidity Volume Matrix combines liquidity-level mapping, volume validation, sweep confirmation, internal volume profile, value-area context, liquidity void detection, and net-volume pressure into one chart-based tool.
The purpose of combining these components is to reduce the need to read liquidity, profile, and volume pressure separately. The script attempts to show where liquidity may rest, whether that liquidity was swept, whether volume supported the event, and where price is trading relative to POC and value area.
This makes the script a contextual liquidity and volume map rather than a simple signal marker.
Indikator

Initial Balance Levels - MannyLeeTradesInitial Balance Range — Multi-Session IB Indicator
This indicator automatically plots the Initial Balance (IB) range for any session you define, drawing the high, low, and key internal levels directly on your chart. Works on any ticker and any timeframe — futures, stocks, forex, crypto.
What it draws:
IB High and IB Low with exact price labels
75%, 50% (EQ / midpoint), and 25% internal levels
Shaded box covering the full IB range
IB size displayed in brackets on the high label (e.g. )
All lines extend forward automatically so you can track how price interacts with the levels throughout the session.
Fully customizable settings:
Set any start and end time using 24-hour hour and minute inputs
Choose from 10 timezone options including New York, Chicago, London, Tokyo, Sydney, and UTC
Control how far lines extend to the right
Customize all colors individually — high line, low line, EQ, 75%, 25%, and box fill
Adjust line width and label size
Toggle the IB size label on or off
Common use cases:
New York session IB: 9:30–10:30 AM ET
Asia session IB: 8:00–9:00 PM ET (Tokyo open)
London open IB: 3:00–4:00 AM ET
Any custom range you want to study
Lines update in real time while the IB window is still forming, then lock in when the window closes. Compatible with all assets and all chart timeframes. Indikator

IFVG Sniper Entry Engine [trade_w_samet]🎯 IFVG Sniper Entry Engine
IFVG Sniper Entry Engine is a clean, focused, and structured Inversion Fair Value Gap analysis indicator designed to help traders study filtered IFVG conditions directly on the price chart.
This script focuses on one main concept:
IFVG-based entry visualization.
It is not designed to be a complex all-in-one trading system.
It is not designed to show every possible Fair Value Gap.
It is not designed to generate constant chart noise.
Instead, the goal of IFVG Sniper Entry Engine is to detect filtered Inversion Fair Value Gap events, display clean IFVG+ / IFVG- labels, and visualize a simple active trade projection using one entry level, one stop-loss level, and one take-profit level.
The indicator includes:
• Inversion Fair Value Gap detection
• Filtered IFVG selection
• Bullish IFVG+ and bearish IFVG- chart labels
• Thin blue bullish IFVG lines
• Thin red bearish IFVG lines
• Adjustable IFVG label size
• ATR-based stop-loss projection
• Selectable take-profit RR from 1R to 6R
• Active TP / SL visual box
• One-active-trade-at-a-time logic
• Confirmed-candle IFVG processing
• IFVG invalidation handling
• Simple dashboard
• Professional alert conditions
The purpose of this script is to help users visually study where an FVG has inverted and whether that inversion may create a structured review point on the chart.
It should be treated as a chart-analysis and educational decision-support tool.
It is not financial advice.
It is not an automated trading system.
It does not guarantee profitable trades.
It does not execute broker orders.
It does not replace personal analysis, risk management, or trade validation.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, IFVG Sniper Entry Engine does the following:
• Detects bullish and bearish Fair Value Gaps.
• Stores valid hidden FVG zones in memory.
• Watches for price to invert those zones.
• Confirms bullish IFVG when a bearish FVG is broken upward.
• Confirms bearish IFVG when a bullish FVG is broken downward.
• Applies an optional IFVG quality filter.
• Draws only filtered IFVGs on the chart.
• Displays IFVG+ for bullish IFVG events.
• Displays IFVG- for bearish IFVG events.
• Projects one active entry, stop-loss, and take-profit box.
• Allows only one active trade projection at a time.
• Removes the active TP/SL box after TP or SL is reached.
• Tracks basic visual trade outcome statistics in the dashboard.
• Provides alert conditions for IFVG entries and IFVG formations.
The script is intentionally built to be simple and focused.
It does not include multiple take-profit levels.
It does not include machine-learning optimization.
It does not include hidden performance promises.
It does not attempt to predict the future.
It provides a structured way to visualize filtered IFVG events and their projected trade model.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind IFVG Sniper Entry Engine is based on Inversion Fair Value Gaps.
A Fair Value Gap represents an imbalance area created when price moves aggressively enough to leave a gap-like inefficiency between candles.
An Inversion Fair Value Gap occurs when price later breaks through a previously formed FVG in the opposite direction.
This can be useful for traders who study:
• market imbalance
• failed displacement zones
• price repricing behavior
• continuation after inversion
• possible shift in directional pressure
• clean chart-based trade planning
The script does not treat every FVG as important.
Instead, it stores FVGs and waits for inversion behavior.
Then it filters the IFVG event using quality conditions such as gap size, candle body strength, candle range, and clean break logic.
The goal is not to show more signals.
The goal is to reduce noise and highlight cleaner IFVG conditions.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
IFVG Sniper Entry Engine is not intended to be used as a blind buy/sell system.
The script is structured as a visual review workflow:
Fair Value Gap forms
→ FVG is stored in memory
→ price later breaks through the opposite side
→ inversion is detected
→ IFVG quality filter is checked
→ IFVG+ or IFVG- is displayed
→ active entry / SL / TP projection is drawn
→ trade box extends while active
→ result is tracked visually
→ box is removed after TP or SL
Each part has a specific purpose.
The FVG memory system stores imbalance zones.
The inversion logic checks whether price has broken the opposite side of the stored zone.
The filter system attempts to reduce weaker IFVG events.
The entry model gives a simple visual planning level.
The ATR stop-loss model creates a consistent risk reference.
The RR setting controls the projected target distance.
The dashboard summarizes the current state.
The alert system helps monitor confirmed events.
This makes the script a structured IFVG review tool, not a guaranteed trade signal generator.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
The script first detects normal bullish and bearish Fair Value Gaps.
A bullish FVG is detected when the current candle structure leaves an imbalance above the candle from two bars earlier.
A bearish FVG is detected when the current candle structure leaves an imbalance below the candle from two bars earlier.
Once a raw FVG is detected, the script stores:
• top of the FVG
• bottom of the FVG
• original FVG direction
• age of the FVG
• gap size relative to ATR
• candle body ratio
• candle range relative to ATR
These values are stored internally and are later used when an inversion happens.
The script then waits for price to break through the stored FVG in the opposite direction.
For a bullish IFVG:
A previously bearish FVG must be broken upward.
For a bearish IFVG:
A previously bullish FVG must be broken downward.
When inversion is detected, the script checks whether the IFVG passes the selected filter mode.
Only filtered IFVGs are displayed on the chart.
━━━━━━━━━━━━━━━━━━━━━━
🔵 BULLISH IFVG+ LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A bullish IFVG+ appears when a previously bearish Fair Value Gap is inverted to the upside.
In practical terms, the script looks for a stored bearish FVG and then checks whether price closes above the top boundary of that FVG.
If the selected filter conditions are satisfied, the script draws:
• a thin blue IFVG line
• an IFVG+ label
• a bullish active trade projection if no trade is already active
The bullish trade projection uses:
• entry level
• ATR-based stop-loss below entry
• selected RR-based take-profit above entry
This does not mean price must continue upward.
It only means the script detected a bullish IFVG condition based on its internal rules.
━━━━━━━━━━━━━━━━━━━━━━
🔴 BEARISH IFVG- LOGIC
━━━━━━━━━━━━━━━━━━━━━━
A bearish IFVG- appears when a previously bullish Fair Value Gap is inverted to the downside.
In practical terms, the script looks for a stored bullish FVG and then checks whether price closes below the bottom boundary of that FVG.
If the selected filter conditions are satisfied, the script draws:
• a thin red IFVG line
• an IFVG- label
• a bearish active trade projection if no trade is already active
The bearish trade projection uses:
• entry level
• ATR-based stop-loss above entry
• selected RR-based take-profit below entry
This does not mean price must continue downward.
It only means the script detected a bearish IFVG condition based on its internal rules.
━━━━━━━━━━━━━━━━━━━━━━
💎 IFVG FILTER SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes an IFVG filter system to reduce chart noise.
This is important because not every inversion is meaningful.
The filter system can be set to:
Off
Loose
Balanced
Strict
Custom
Off mode shows all detected IFVG events.
Loose mode allows more IFVGs and uses lower quality requirements.
Balanced mode is the default middle-ground setting.
Strict mode requires stronger IFVG conditions and will show fewer signals.
Custom mode allows the user to manually control the filter thresholds.
The filter evaluates:
• minimum gap size relative to ATR
• minimum candle body ratio
• minimum candle range relative to ATR
• clean break buffer relative to ATR
This creates a more selective IFVG workflow.
The filter does not guarantee better future outcomes.
It only controls how strict the script is before displaying an IFVG.
━━━━━━━━━━━━━━━━━━━━━━
📏 GAP / ATR FILTER
━━━━━━━━━━━━━━━━━━━━━━
The gap filter measures the original Fair Value Gap size relative to ATR.
This helps avoid very small imbalance zones that may not be meaningful on the selected chart.
A larger minimum gap requirement makes the indicator more selective.
A smaller minimum gap requirement allows more IFVGs.
The default Balanced setting uses a moderate gap requirement.
Users can adjust this in Custom mode.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ BODY RATIO FILTER
━━━━━━━━━━━━━━━━━━━━━━
The body ratio filter measures the candle body compared to the full candle range.
This helps evaluate whether the candle that created the FVG had meaningful directional pressure.
A stronger body ratio requirement can reduce weaker candles.
A lower body ratio requirement allows more setups.
This is not a prediction tool.
It is only a candle-quality filter.
━━━━━━━━━━━━━━━━━━━━━━
📊 RANGE / ATR FILTER
━━━━━━━━━━━━━━━━━━━━━━
The range filter measures the candle’s full range relative to ATR.
This helps the script avoid very small candles that may not represent meaningful displacement.
A higher range/ATR requirement makes the script more selective.
A lower range/ATR requirement increases the number of visible IFVGs.
The value should be adjusted based on symbol volatility and timeframe.
━━━━━━━━━━━━━━━━━━━━━━
🧼 CLEAN BREAK FILTER
━━━━━━━━━━━━━━━━━━━━━━
The clean break filter requires price to break beyond the IFVG boundary by an ATR-based buffer.
This helps avoid very small boundary touches.
For bullish IFVGs, price must close above the stored FVG top plus the clean break buffer.
For bearish IFVGs, price must close below the stored FVG bottom minus the clean break buffer.
The clean break buffer can be controlled in Custom mode.
A higher buffer makes the inversion requirement stricter.
A lower buffer allows more IFVG events.
━━━━━━━━━━━━━━━━━━━━━━
🎯 ENTRY MODEL
━━━━━━━━━━━━━━━━━━━━━━
When a filtered IFVG appears and no active trade is already open, the script creates a visual trade projection.
The entry can be based on:
IFVG Line
Confirmation Close
IFVG Line mode uses the selected IFVG line price as the projected entry reference.
Confirmation Close mode uses the candle close that confirmed the IFVG.
The entry is only a visual reference.
It is not a broker order.
It does not mean the user must enter a trade.
It is designed to help users review how the IFVG setup would look with a structured risk/reward model.
━━━━━━━━━━━━━━━━━━━━━━
🛑 ATR STOP-LOSS MODEL
━━━━━━━━━━━━━━━━━━━━━━
The stop-loss projection is based on ATR.
The main settings are:
ATR Length
SL ATR Multiplier
For bullish IFVG entries, the stop-loss is projected below the entry.
For bearish IFVG entries, the stop-loss is projected above the entry.
ATR is used because market volatility changes across symbols and timeframes.
A higher SL ATR multiplier creates a wider visual risk area.
A lower SL ATR multiplier creates a tighter visual risk area.
This stop-loss level is a visual projection only.
It does not place an order.
It does not guarantee that the level is appropriate for every trader or every market.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TAKE-PROFIT RR MODEL
━━━━━━━━━━━━━━━━━━━━━━
The script uses one take-profit level.
There are no TP1, TP2, or TP3 levels.
The take-profit is calculated from the projected risk distance.
Available RR options:
1R
2R
3R
4R
5R
6R
Default:
3R
For bullish IFVG entries, TP is projected above entry.
For bearish IFVG entries, TP is projected below entry.
The RR setting only controls the visual projected target distance.
It should not be interpreted as a recommendation or guarantee.
Users should decide whether the projected target makes sense based on their own analysis, market structure, liquidity, session, volatility, and risk plan.
━━━━━━━━━━━━━━━━━━━━━━
📦 ACTIVE TP / SL BOX SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
When a new valid IFVG entry appears, the script draws a clean active TP / SL visual model.
The visual model includes:
• TP box
• SL box
• entry line
• stop-loss line
• take-profit line
• ENTRY label
• SL label
• TP label
The TP/SL box remains visible only while the trade projection is active.
While the trade is active, the box extends to the right as new candles form.
When TP or SL is reached, the active trade box is removed from the chart.
This means historical TP/SL boxes are not kept.
The chart remains cleaner and only the active trade projection is visible.
━━━━━━━━━━━━━━━━━━━━━━
🚦 ONE ACTIVE TRADE AT A TIME
━━━━━━━━━━━━━━━━━━━━━━
The script includes one-active-trade-at-a-time logic.
If a trade projection is active, the script will not open another trade projection until the active one reaches TP or SL.
However, new filtered IFVG lines can still appear on the chart.
This design separates:
• IFVG detection
• trade projection permission
An IFVG can appear while a trade is active, but it will not create a new active TP/SL box.
The dashboard tracks blocked IFVG events internally.
This helps keep the chart structured and avoids multiple overlapping trade boxes.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE TP / SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, the true intrabar sequence cannot be known from standard OHLC chart data.
This script uses a conservative assumption:
SL is counted first.
This avoids overly optimistic historical visual results when the actual intrabar order is unknown.
Users should understand that this is still a bar-based assumption.
It does not represent broker execution.
It does not include spread, slippage, commissions, order delay, or partial fills.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ IFVG LABELS
━━━━━━━━━━━━━━━━━━━━━━
The script uses simple IFVG labels:
IFVG+
IFVG-
IFVG+ represents a bullish Inversion Fair Value Gap.
IFVG- represents a bearish Inversion Fair Value Gap.
The label size can be adjusted from the settings.
Available label sizes:
Tiny
Small
Normal
Large
Huge
The default label size is Large.
This allows users to adjust visibility depending on chart zoom, monitor size, and visual preference.
━━━━━━━━━━━━━━━━━━━━━━
📍 IFVG LINE PRICE MODES
━━━━━━━━━━━━━━━━━━━━━━
The IFVG line can be drawn using different price references.
Available modes:
Broken Boundary
Confirmation Close
Midpoint
Broken Boundary mode draws the line at the boundary that was broken during inversion.
Confirmation Close mode draws the line at the candle close that confirmed the IFVG.
Midpoint mode draws the line at the midpoint of the original FVG zone.
Each mode gives a different way to visualize the IFVG reference level.
There is no universally best option.
Users should choose the line mode that best matches their own review method.
━━━━━━━━━━━━━━━━━━━━━━
🧹 IFVG INVALIDATION
━━━━━━━━━━━━━━━━━━━━━━
The script can automatically remove invalidated IFVG lines.
For bullish IFVGs, invalidation occurs when price closes back below the lower boundary of the IFVG zone.
For bearish IFVGs, invalidation occurs when price closes back above the upper boundary of the IFVG zone.
This helps keep the chart cleaner by removing IFVG levels that are no longer valid according to the script’s internal logic.
Users can disable this setting if they prefer to keep IFVG lines visible.
━━━━━━━━━━━━━━━━━━━━━━
📟 DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
The script includes a compact dashboard.
The dashboard displays:
• selected filter mode
• selected label size
• last signal direction
• active trade status
• selected RR
• latest entry level
• latest SL level
• latest TP level
• active box state
• filtered IFVG count
• trades / wins / losses
The dashboard is designed to provide a quick summary of the current script state.
It is not a full performance report.
It is not a replacement for TradingView Strategy Tester.
It is a visual summary based on the script’s internal bar-based projection logic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
IFVG Sniper Entry Engine includes alert conditions for:
Bullish IFVG Entry
Bearish IFVG Entry
Bullish IFVG+ formed
Bearish IFVG- formed
The entry alerts are triggered when a filtered IFVG creates a new active trade projection.
The IFVG formation alerts are triggered when filtered IFVG+ or IFVG- conditions appear.
Alerts are monitoring tools only.
They do not execute trades.
They do not place broker orders.
Users must confirm all alerts with their own analysis and risk management.
━━━━━━━━━━━━━━━━━━━━━━
🔔 HOW TO USE ALERTS
━━━━━━━━━━━━━━━━━━━━━━
A practical alert workflow:
1. Add IFVG Sniper Entry Engine to your chart.
2. Open TradingView’s alert window.
3. Select the indicator as the alert condition.
4. Choose the desired alert type.
5. Select alert frequency according to your preference.
6. Use alerts for monitoring only.
7. Confirm each alert manually before making any trading decision.
Alerts may behave differently depending on timeframe, symbol, session, and real-time candle updates.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add IFVG Sniper Entry Engine to your chart.
2. Start with the default Balanced filter mode.
3. Review the visible IFVG+ and IFVG- labels.
4. Check whether the IFVG appears in a meaningful market context.
5. Review the active TP/SL projection if a trade model appears.
6. Use the selected RR level as a visual planning reference only.
7. Avoid treating every IFVG as a trade.
8. Combine the tool with your own market structure, liquidity, trend, session, and risk-management rules.
9. Use alerts for monitoring, not automatic execution.
10. Test the indicator on the exact markets and timeframes you personally study.
The indicator is best used as a structured IFVG review tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
⚙️ IFVG Engine
Hidden FVG Memory
Controls how many raw FVGs can be stored internally.
Max Hidden FVG Age
Controls how long a hidden FVG remains eligible for inversion.
Minimum FVG Size / Ticks
Sets the minimum raw FVG size using ticks.
Max Visible IFVG
Controls how many IFVG lines and labels can remain visible.
IFVG Line Length Bars
Controls how far the IFVG line extends to the right.
IFVG Line Price
Controls whether the IFVG line is drawn from Broken Boundary, Confirmation Close, or Midpoint.
Delete Invalidated IFVG
Removes IFVG lines when the script detects invalidation.
━━━━━━━━━━━━━━━━━━━━━━
💎 IFVG Filter
IFVG Filter Mode
Controls how selective the IFVG display logic is.
Available modes:
Off
Loose
Balanced
Strict
Custom
Custom Minimum Gap / ATR
Defines the minimum FVG gap size relative to ATR when Custom mode is selected.
Custom Minimum Body Ratio
Defines the minimum body-to-range ratio when Custom mode is selected.
Custom Minimum Range / ATR
Defines the minimum candle range relative to ATR when Custom mode is selected.
Custom Clean Break Buffer / ATR
Defines the ATR-based clean break buffer when Custom mode is selected.
━━━━━━━━━━━━━━━━━━━━━━
🎯 IFVG Entry Model
Entry Price
Controls whether entry is based on IFVG Line or Confirmation Close.
ATR Length
Defines the ATR length used for risk calculation.
SL ATR Multiplier
Controls the distance of the projected stop-loss.
Take Profit RR
Controls the projected take-profit distance.
Available RR values:
1R
2R
3R
4R
5R
6R
Initial TP / SL Box Length
Controls the initial box length when a new active trade projection appears.
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Style
Bullish IFVG Blue
Controls the color of bullish IFVG+ lines and labels.
Bearish IFVG Red
Controls the color of bearish IFVG- lines and labels.
IFVG Label Size
Controls the size of IFVG+ and IFVG- labels.
Entry Line Color
Controls the entry line color.
SL Color
Controls the stop-loss box and line color.
TP Color
Controls the take-profit box and line color.
Dashboard Background
Controls the dashboard background color.
Dashboard Text
Controls the dashboard text color.
━━━━━━━━━━━━━━━━━━━━━━
📟 Dashboard
Show Dashboard
Shows or hides the compact dashboard.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
IFVG Sniper Entry Engine uses familiar market concepts such as:
• Fair Value Gaps
• Inversion Fair Value Gaps
• ATR-based risk projection
• risk/reward planning
• label-based visual mapping
• active trade visualization
• alert monitoring
These concepts are not unique by themselves.
The originality of this script lies in how they are organized into a clean IFVG workflow:
Raw FVG detection
→ hidden FVG memory
→ inversion confirmation
→ IFVG quality filter
→ IFVG+ / IFVG- display
→ one-active-trade rule
→ ATR stop-loss projection
→ selectable RR target
→ active-only TP/SL box
→ compact dashboard
→ alerts
This structure is designed to give users a focused way to review filtered IFVG conditions without unnecessary chart clutter.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
• filter mode
• ATR length
• SL multiplier
• RR selection
• IFVG line mode
• minimum gap settings
• candle body settings
• range/ATR settings
• clean break buffer
• timeframe
• symbol volatility
• market session
• available historical bars
A setting that looks clean on one symbol may behave differently on another.
A setting that appears useful on one timeframe may not be useful on another.
Users should test the script on the exact markets and timeframes they personally study.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
It does not guarantee profitable trades.
It does not predict future price movement.
It does not replace risk management.
It does not execute trades.
It does not place broker orders.
It does not include broker slippage.
It does not include commissions.
It does not include spreads.
It does not include order delay.
It does not include partial fills.
It uses bar-based chart data.
Same-candle TP/SL order cannot be known from standard OHLC data.
The dashboard is not TradingView Strategy Tester.
The TP/SL boxes are visual projections only.
Alerts are monitoring tools only.
Historical visual behavior does not ensure future behavior.
Filter settings do not guarantee better results.
One-active-trade logic is a visual management rule, not broker execution logic.
For these reasons, IFVG Sniper Entry Engine should be used as an educational decision-support and chart-analysis tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
• study IFVG concepts
• study Fair Value Gap inversions
• want cleaner IFVG chart visuals
• prefer filtered signals instead of every raw IFVG
• want a simple one-TP projection model
• want ATR-based risk visualization
• want one active trade projection at a time
• want active-only TP/SL boxes
• want IFVG+ and IFVG- labels
• want alert-based monitoring
• want a focused educational analysis tool
It may be less suitable for users who:
• want guaranteed buy/sell signals
• want a fully automated trading bot
• want many take-profit levels
• want every raw FVG displayed
• expect one setting to work on every market
• expect alerts to execute trades
• expect visual projections to match broker execution
• want an indicator that replaces personal decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
• Start with the default Balanced filter mode.
• Use Strict mode if the chart is too noisy.
• Use Loose mode if the chart shows too few IFVGs.
• Use Custom mode only after understanding how each filter affects signal frequency.
• Review IFVGs together with market structure.
• Check whether the IFVG appears near meaningful liquidity or displacement context.
• Do not treat every IFVG+ or IFVG- as a trade.
• Use the TP/SL box as a visual planning tool only.
• Keep expectations realistic.
• Use alerts for monitoring, not automatic execution.
• Always apply independent analysis and risk management.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
IFVG Sniper Entry Engine is published as an educational and visual market-analysis tool.
The purpose of this description is to explain:
• what the script does
• how IFVG conditions are detected
• how IFVG filters work
• how IFVG+ and IFVG- labels are created
• how the entry model is projected
• how the ATR stop-loss model works
• how the RR-based take-profit is calculated
• how the active TP/SL box behaves
• how the one-active-trade rule works
• what the dashboard shows
• what the alerts do
• what the limitations are
• how the indicator should and should not be used
The script is designed to support structured analysis.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing filtered Inversion Fair Value Gap conditions and projected risk/reward behavior.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
IFVG Sniper Entry Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
The IFVG+ labels, IFVG- labels, active TP/SL boxes, dashboard values, RR projections, stop-loss projections, and alerts are visual analysis tools only.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability.
Indikator

SMC Flip Zone Engine ViprasolOverview
The original detects a break of structure, walks back to find the reaction leg that preceded it, and draws a colored zone box, with optional Liquidity Sweep, Fair Value Gap, HTF EMA alignment, and OTE (discount/premium) filters that can be toggled on to reduce noise. This version keeps that zone-detection engine intact and adds a Viprasol confluence and lifecycle layer: a 0-4 confluence score with A/B/C grading, a minimum-score gate, zone mitigation (retest) and invalidation tracking, a per-side cooldown, and an ATR-free risk overlay that projects Entry/SL/TP from a zone when price returns to it.
It is built for traders who work with break-of-structure flip zones and want each zone graded by how much SMC confluence actually backs it, plus automatic tracking of when zones are retested or broken.
How It Works
Structure Break & Reaction Leg (from original):
A bullish flip is triggered when close crosses over the prior highest-high of the lookback window (supply broken); a bearish flip when close crosses under the prior lowest-low (demand broken). On a break, the script walks back over the reaction-leg length to find the extreme of the trap leg — for a bull flip, the lowest low in that window and its bar's high define the zone's bottom and top. A box is drawn from that reaction bar forward.
SMC Filters (from original, toggle-gated):
Four optional filters can each be required before a zone is drawn:
- Liquidity Sweep — the reaction leg must have exceeded the prior structural extreme (taken liquidity).
- FVG / Displacement — a fair value gap must be present around the break (e.g. low > high ).
- HTF Alignment — bull zones only above, bear zones only below, the 50 EMA of a higher timeframe.
- OTE (Discount/Premium) — the zone midpoint must sit in the discount half (bull) or premium half (bear) of the leg, where equilibrium = leg low + (leg high − leg low) × 0.5.
Confluence Score & Grade (new):
Independently of which filters are toggled on, the script evaluates all four confluence conditions as raw booleans on every new zone and sums them into a 0-4 score:
score = sweep? + fvg? + ote? + htfAligned?
The score is mapped to a grade — A (>= 3), B (= 2), C (<= 1) — and printed on the zone box. This means even with all filters off (so every break draws a zone), you can still see which zones are backed by genuine confluence. A "Minimum Confluence Score" input then lets you suppress any zone below a chosen score without having to hard-require specific filters.
Zone Mitigation & Invalidation (new):
Every existing zone is tracked across bars. A zone is mitigated the first time price trades back into its range (low <= top and high >= bot) — this fires a mitigation alert (a potential entry as the flip zone is retested). A zone is invalidated when price closes through it (close < bot for a bull zone, close > top for a bear zone); invalidated zones are recolored gray (or can be left as-is) and fire an invalidation alert. Each transition fires once per zone.
Risk Overlay on Mitigation (new):
When "Show SL/TP on Mitigation" is enabled, the first retest of a zone projects three lines: Entry at the near edge of the zone, Stop-Loss at the far edge (so the zone height is the risk), and Take-Profit at Entry ± zone-height × the Risk:Reward ratio. Colored ENTRY/SL/TP price labels mark the line ends. Only the most recent mitigation's projection is kept, to avoid clutter.
Per-Side Cooldown (new):
An optional cooldown enforces a minimum number of bars between new zones on the same side (tracked as bar_index − lastSideBar >= cooldown), preventing a burst of overlapping zones during a single fast move.
What Is Original (Viprasol Additions)
1. Confluence score (0-4) and A/B/C grade printed on each zone, computed from raw sweep/FVG/OTE/HTF conditions regardless of which filters are toggled.
2. Minimum-confluence-score gate — suppress low-quality zones without hard-requiring individual filters.
3. Zone mitigation (retest) detection with a dedicated alert.
4. Zone invalidation detection (price closes through) with recoloring and a dedicated alert.
5. Risk overlay — Entry/SL/TP projection with colored price labels drawn on the first mitigation of a zone, sized by zone height and the Risk:Reward ratio.
6. Per-side zone cooldown to prevent clustering.
Key Features
From the Original:
- Break-of-structure detection via crossover/crossunder of the lookback high/low
- Reaction-leg walk-back to locate the trap zone behind the break
- Bullish and bearish flip-zone boxes with labels
- Optional Liquidity Sweep, FVG, HTF 50-EMA alignment, and OTE filters
- Oldest-zone pruning to limit chart clutter
Added in This Version (Viprasol):
- 0-4 confluence score with A/B/C grade on every zone
- Minimum-score quality gate
- Mitigation (retest) and invalidation lifecycle tracking with recoloring
- Entry/SL/TP risk overlay with colored price labels on mitigation
- Per-side cooldown
- Info dashboard (active zone counts, HTF state, filters-on count, min score)
- Six alert conditions with dynamic {{ticker}}/{{close}}/{{interval}} messages
How to Use
Getting Started:
1. Add to a standard candlestick chart (not Heikin Ashi).
2. With all filters off (default), every structure break draws a graded zone — read the A/B/C grade to judge quality.
3. To trade only stronger setups, either raise "Minimum Confluence Score" or turn on the specific filters you require.
Reading the Chart:
- Green zone = bullish flip (drawn after a supply break); red zone = bearish flip (after a demand break).
- The bracket on each zone, e.g. , is the confluence grade and score.
- A zone turning gray means price closed through it — it is invalidated.
- When price returns into a zone and SL/TP is enabled, Entry/SL/TP lines and price labels project to the right.
Recommended Starting Points:
- Intraday (5m-15m): Lookback 20, Reaction 7, Min Score 0-1, Cooldown 0-3
- Swing (1H-4H): Lookback 30, Reaction 7-10, Min Score 2, enable HTF alignment
- Higher conviction: Min Score 3 (grade A only), or require Sweep + FVG
These are starting points only — every market and timeframe behaves differently. Backtest and adjust before trading live.
Settings
Market Structure: structure lookback period, reaction-leg length, and max zones kept per side.
SMC Strict Filters: toggles for Liquidity Sweep, FVG (displacement), HTF 50-EMA alignment (with HTF resolution), and OTE (discount/premium). All default off so zones appear immediately.
Confluence & Quality (Viprasol): minimum confluence score, show grade on zone, and per-side zone cooldown.
Risk Overlay (Viprasol): show SL/TP on mitigation, show price labels, and the Risk:Reward ratio.
Visuals: bullish/bearish fill and border colors, and a toggle to dim invalidated zones gray.
Dashboard / Display: dashboard toggle and position.
Alerts
1. New Bull Zone — a bullish flip zone was created
2. New Bear Zone — a bearish flip zone was created
3. Any New Zone — either direction created
4. Bull Mitigation — price returned to a bullish zone (potential long)
5. Bear Mitigation — price returned to a bearish zone (potential short)
6. Zone Invalidated — a zone was closed through and invalidated
All alerts include {{ticker}}, {{close}}, and {{interval}} for dynamic notification messages.
Limitations & Disclaimer
- Zones are created on the bar the structure break confirms; because detection uses crossover/crossunder of close versus the prior swing, signals are evaluated on the closing relationship and the reaction leg is identified after the fact.
- The HTF alignment filter uses request.security with lookahead disabled; HTF values update only as the higher-timeframe bar progresses.
- The FVG and OTE checks are simplified single-bar/leg-midpoint approximations, not full multi-leg ICT constructs.
- Mitigation is detected on the first wick back into a zone; this is an awareness signal, not a guaranteed reversal.
- SL/TP lines and price labels are visual references only and do not place or manage trades.
- Filters and the minimum-score gate reduce the number of zones; in choppy ranges valid zones may be suppressed, while in fast trends overlapping zones may appear if cooldown is off.
- Past performance does not guarantee future results. This indicator is for educational and analytical purposes only and is not financial advice. Always use proper risk management and test on historical data before trading live.
Credits & Attribution
Based on an open-source "Advanced SMC Flip Zones" community indicator, which provided the break-of-structure detection (crossover/crossunder of the lookback high/low), the reaction-leg walk-back that locates the trap zone, the bullish and bearish flip-zone boxes, the optional Liquidity Sweep / FVG / HTF 50-EMA / OTE filters, and the oldest-zone pruning. Added by Viprasol: the 0-4 confluence score and A/B/C grading, the minimum-score quality gate, zone mitigation and invalidation lifecycle tracking with recoloring, the Entry/SL/TP risk overlay with colored price labels, the per-side cooldown, the info dashboard, and the six-condition dynamic alert set.
Published open-source per TradingView House Rules.
Indikator

Setup Symmetry LevelsSetup Symmetry Levels
Setup Symmetry Levels is a market structure indicator designed to identify potential reaction levels based on completed bullish and bearish price setups.
The script tracks consecutive price behavior and plots horizontal levels whenever a user-defined setup threshold is reached. These levels can help traders visualize areas where the market has previously shown notable reactions and may provide useful context for future price analysis.
Features:
• User-configurable bullish and bearish setup thresholds
• Automatic support and resistance level plotting
• Forward projection of detected levels
• Optional setup completion markers displayed on the chart
• Symmetry-based projection levels derived from previous reaction points
• Adjustable colors, line styles, line widths, and label visibility
• Compatible with all symbols and timeframes
The symmetry calculation uses historical reaction levels to generate additional projected levels around the most recent completed setup. These projections are intended to provide a structured visual framework for studying price behavior and market structure.
This indicator is provided for analytical and educational purposes only. It does not provide financial advice, trading recommendations, guaranteed outcomes, or predictions of future market performance. Users should combine this tool with their own analysis, risk management practices, and market research.
The indicator can be applied to cryptocurrencies, stocks, forex, indices, commodities, and other liquid markets.
Indikator

Kalman Flow TrailKalman Flow Trail
Kalman Flow Trail is a clean trend-following and market structure overlay designed to help traders read market direction, structural shifts, protected levels, liquidity targets, and higher-timeframe alignment from one chart.
The script combines an adaptive Kalman-based trail with market structure logic, live strong/weak range levels, POI supply and demand zones, optional MSS/MSB guides, higher-timeframe confirmation, flip markers, and a compact Flow Dashboard.
Core Features
1. Adaptive Kalman Flow Engine
At the centre of the script is a dual Kalman smoothing engine designed to filter market noise while tracking directional flow.
Unlike a standard moving average with fixed behaviour, the trail adapts using market structure activity and volatility. When price action becomes more active, the trail can respond faster. When price is choppy or compressed, the trail becomes smoother to reduce unnecessary noise.
The engine also includes a structure-bias filter to help reduce overreaction when Kalman momentum and market structure are not aligned.
2. MSS / MSB Structure Guides
Kalman Flow Trail includes optional structure guides for traders who want to see internal market structure directly on the chart.
MSS = Market Structure Shift
MSB = Market Structure Break
These guides can be toggled on or off depending on whether the trader wants a detailed structure view or a cleaner visual layout.
3. Live Strong & Weak Range Levels
The script automatically tracks swing structure and highlights strong protected levels and weak target levels.
Strong levels represent the protected side of the current range.
Weak levels represent likely liquidity targets.
When a weak target is swept, the level can roll forward live with the current extreme until a new confirmed pivot forms. This helps keep the range logic responsive during strong continuation moves.
4. POI Supply & Demand Zones
The script can draw POI zones from important structural pivot areas.
In a bullish range, the POI highlights a potential demand area around the protected strong low.
In a bearish range, the POI highlights a potential supply area around the protected strong high.
The zones use theme-adaptive colours and dashed borders for a cleaner and more professional chart style.
5. Higher-Timeframe Confirmation
The optional HTF Kalman Basis allows traders to compare current chart flow with a selected higher timeframe.
For example, traders can view a 1H Kalman basis while analysing a 5-minute or 15-minute chart. This helps identify whether lower-timeframe price action is aligned with the broader market direction.
6. Flow Dashboard
The built-in Flow Dashboard gives a compact read of current market conditions:
Trail Direction
Kalman Momentum
HTF Alignment
Range State
This allows traders to quickly check whether the current flow, momentum, higher timeframe, and range structure are aligned.
7. Trail Flip Markers
Diamond markers appear when the Kalman Flow Trail changes direction.
These Trail Flip markers are designed to highlight possible shifts in directional flow. They are not standalone buy or sell signals, but they can help traders identify when market conditions are changing.
8. Proximity Star
The live trail star follows the active trail level.
When price moves close to the trail, the star changes into a warning state. This can help traders see when price is approaching a possible reaction area, mean-reversion zone, or potential trail breach.
Visual Themes
Kalman Flow Trail includes multiple built-in colour themes:
Lucid Neon
Ember Pulse
Arctic Signal
Violet Flux
Mono Current
Custom Theme
Users can also toggle trail glow, trail fill, trail boundaries, flip diamonds, live trail star, HTF basis, POI zones, MSS/MSB guides, and candle colouring.
How Traders Can Use It
Trend Continuation
Look for price respecting the trail and holding above protected demand areas in bullish conditions, or below protected supply areas in bearish conditions.
Trail Flip
Use diamond markers as visual alerts that directional flow may be shifting.
Strong / Weak Range Logic
Use strong levels as protected structure and weak levels as potential liquidity objectives.
HTF Alignment
Higher-quality conditions generally occur when Trail Direction and HTF Alignment point in the same direction.
POI Zones
Use POI Demand and POI Supply zones as structural areas of interest for reactions, continuation, or invalidation.
Best Use Cases
Trend-following analysis
Market structure reading
Liquidity target mapping
Higher-timeframe confirmation
Clean visual trend tracking
Crypto, Forex, Indices, Stocks, and Commodities
Notes
This indicator is designed as an analytical tool. It does not predict the future and should not be used as a standalone trading system. Traders should combine it with their own market context, confirmation process, and risk management.
Disclaimer
Trading involves risk. This script is for educational and analytical purposes only and does not constitute financial advice.
Indikator

Adaptive Gann & Fibonacci ConfluenceAdaptive Gann & Fibonacci Confluence
Overview
This indicator automatically detects the dominant swing on your chart — the highest high and lowest low over a lookback you set — and projects three classic geometric tools from that single shared anchor: a Gann fan, a Fibonacci fan, and Fibonacci retracement levels. Because all three are built on the same swing, their levels can be compared directly on one chart.
Why these tools are combined
A Gann fan and Fibonacci retracements measure two different things. A Gann fan measures trend slope — the geometric balance between price and time, where the 1×1 angle represents one unit of price per unit of time. Fibonacci retracements measure pullback depth — proportional price levels inside a move (23.6 / 38.2 / 50 / 61.8 / 78.6%). Used separately, each tool is anchored differently and the two rarely line up. By forcing both to share one auto-detected swing origin and direction, the script exposes price areas where a Gann angle and a Fibonacci level coincide. A level confirmed by both slope geometry and retracement proportion is the intended point of interest — more meaningful than a level from either method alone.
How the components work together
The script finds the swing once, then anchors the Gann fan, the Fibonacci fan, and the retracement grid to the same origin and trend direction. The Gann rays and the Fibonacci levels therefore sit on a common reference, so you can spot where a fan ray crosses a retracement level at roughly the same price — that overlap is the "confluence." Shaded zones mark the retracement bands, and a compact table summarizes the live read: directional bias, nearest support and resistance among the levels, current retracement depth, and a plain-language note on where price sits in the swing.
What makes it original
Rather than drawing Gann angles at fixed chart degrees (which break when you change instrument or zoom), the 1×1 angle here is scaled to the swing's actual price-per-bar, so the angles stay consistent across symbols and timeframes. That swing-scaled Gann geometry is then rendered together with Fibonacci fan and retracement structure on a single, automatically updating anchor — with confluence surfaced visually and condensed into a live snapshot table. The drawing engine rebuilds only when the underlying swing changes, keeping it light.
How to use it
Set Swing lookback to the structure you trade: smaller values track recent swings, larger values capture higher-timeframe structure.
The gold line is the 1×1 (trend-balance) angle; how price reacts to it gauges trend strength.
Treat confluence (a fan ray meeting a retracement level) as an area of interest to study, not an automatic signal.
1×1 unit = 0 auto-scales to the swing; set it above 0 to fix a manual ticks-per-bar Gann unit.
Toggle the Gann fan, Fibonacci fan, retracement, zone shading, glow, and table independently in settings.
Disclaimer
For educational and informational purposes only. This script plots geometric levels and a mechanical summary of price position. It is not financial advice, not a recommendation to buy or sell, and offers no guarantee of future performance. Always do your own research and manage your risk. Indikator

Buy/Sell-Side LiquidityBuy-Side / Sell-Side Liquidity (BSL / SSL)
Maps the resting liquidity that price hunts — the swing highs where buy-side liquidity sits and the swing lows where sell-side liquidity sits — and tracks each level through its full life cycle: untested, swept, and reclaimed. Built for traders who work from liquidity and market structure.
🔵 WHAT IT PLOTS
• Buy-Side Liquidity (BSL) — drawn at confirmed swing highs, the pool of short stops and breakout buy orders resting above price.
• Sell-Side Liquidity (SSL) — drawn at confirmed swing lows, the pool of long stops and breakout sell orders resting below price.
• Each level extends to the right until price reaches it, so the chart only ever shows live, untested liquidity.
⚡ SWEEP DETECTION
A level is swept when price takes it. You choose how strict:
• Wick — swept on any penetration (catches stop runs).
• Close — swept only when a candle closes beyond the level (filters noise).
When swept, the level freezes at the point it was taken and recolors, or is removed entirely — your choice.
🔄 SWEEP + RECLAIM
The piece that turns a sweep into a signal. After a level is swept, if price closes back through it — a failed sweep / stop-run reversal — the level flips:
• A buy-side level swept and then reclaimed to the downside recolors bearish (failed high).
• A sell-side level swept and then reclaimed to the upside recolors bullish (failed low).
Each reclaim carries its own alert, so you can be notified on the failed sweep specifically, not on every sweep.
⚖️ EQUAL HIGHS / LOWS
Consecutive swings at nearly the same price are tagged EQH / EQL and drawn with added weight — the stronger liquidity pools that price tends to target. Tolerance is set in ticks, so it adapts to any instrument.
📋 NEAREST-LEVEL DASHBOARD (optional)
A compact table showing the nearest un-swept buy-side level above price and sell-side level below, each with its distance in ticks — a quick read on where the closest pools sit without measuring.
🔔 ALERTS
• Buy-Side Liquidity Swept
• Sell-Side Liquidity Swept
• Any Liquidity Swept
• Buy-Side Reclaim (bearish)
• Sell-Side Reclaim (bullish)
⚙️ SETTINGS
• Swing Strength — sensitivity of the swing detection (higher = fewer, more significant levels).
• Show Buy-Side / Sell-Side independently.
• Max Levels per Side — keeps the chart clean.
• Sweep Trigger (Wick / Close) and On Sweep (Keep & recolor / Delete).
• Equal High/Low detection with adjustable tick tolerance.
• Full control of colors, line width and style, labels, and dashboard position.
🧭 HOW TO USE IT
Liquidity is a target, not a signal on its own. Price is drawn toward untested BSL above and SSL below; the read comes from the reaction once it gets there. A sweep that continues is a breakout using the liquidity as fuel. A sweep that reclaims is a stop-run reversal. Use the levels to frame where to expect a reaction, the reclaim to confirm a turn, and your own bias and structure tools to decide whether to trust it. Stops typically sit just beyond the swept extreme.
Works on any market and any timeframe.
⚠️ Note: not every sweep reverses — many run straight through on trend days, which is exactly what the reclaim flag is there to distinguish. This indicator is a tool for analysis and education and is not financial advice.
Indikator

Indikator

Indikator

Structure & Trend ContextStructure & Trend Context is a clean overlay that visualises market structure and trend direction without cluttering the chart. It is built as a context tool to support your own analysis, not as a signal system.
What it shows
- Trend filter: a fast and a slow EMA define the prevailing direction. The slow EMA is colour-coded by bias (up / down / neutral).
- Volatility band: an ATR band around the fast EMA gives a sense of normal price travel and dynamic over-/under-extension.
- Swing structure: the most recent confirmed swing high and swing low are tracked and drawn as reference levels.
- Structure breaks (BoS): a marker appears only when price closes beyond the prior swing by an ATR buffer while in trend. Each level is locked after it breaks, so markers stay rare and meaningful rather than firing on every minor poke.
- Context panel: a compact top-right table showing current trend bias, last higher high and last lower low.
How to use it
Read the chart first. Use the trend filter and band for context, the swing levels for reference, and treat a structure break as one piece of confluence, not a standalone trigger. Raise "Swing sensitivity" on higher timeframes or noisy assets to keep only the larger structure.
Inputs
Every layer (band, swing levels, structure markers, raw pivots, panel, bar tint) has its own toggle, and the EMA, ATR and pivot lengths are fully adjustable.
Notes
This indicator is a visualisation aid for discretionary analysis. It does not predict price, does not generate buy or sell recommendations, and is not financial advice. Markers are confirmed on bar close and do not repaint. Open-source — adapt it to your own workflow. Indikator

Liquidity Hunter Pro [Rehan Khanani]🎯 Liquidity Hunter Pro — Institutional Liquidity Zone Detector
Stop trading random support/resistance. This indicator finds real institutional liquidity zones where smart money operates — and tells you exactly WHEN to enter using 4 advanced reversal signals.
🔴 What are BSL and SSL Zones?
BSL (Buy-Side Liquidity) = Zones ABOVE price where stop losses of short sellers are resting. Institutions hunt these to fill their sell orders.
SSL (Sell-Side Liquidity) = Zones BELOW price where stop losses of buyers are resting. Institutions hunt these to fill their buy orders.
When price sweeps these zones and REVERSES — that is your trade opportunity.
⚡ 4 Reversal Signals Explained
🔴 ABS (Absorption) — Big players aggressively absorbed the sweep. Strongest signal. Institutions trapped the move.
🟡 EXH (Exhaustion) — Dry sweep with minimal volume. Market ran out of fuel. Reversal due to weakness, not force.
🟠 DIV (Delta Divergence) — FOMO trap. High volume entered but price failed to break. Retail trapped = reversal fuel.
🟢 REJ (Snapback Rejection) — Sweep followed by immediate strong rejection candle. Clean and easy to trade.
✨ Key Features
★★★★★ Zone Strength Score — Focus only on high-quality institutional zones. 1 to 5 stars based on volume and pivot size.
Zone Health % (Decay) — Each zone shows live health %. When health drops to 0%, zone is exhausted and sweep is likely.
Auto R:R Lines — SL and TP levels drawn automatically when signal fires. No manual drawing needed.
Premium / Discount Labels — Zones above 50% of range = Premium (sell area). Below = Discount (buy area). ICT concept made visual.
Sweep Test Counter — Tracks how many times price tested each zone. First-touch zones are strongest.
Volume Delta Inside Zones — See exactly where buying or selling pressure is concentrated across 4 quadrants inside every zone.
Live Signal Dashboard — Win % for each signal type shown on your chart in real time. Know your edge before you trade.
Built-in Alerts — Get notified when price enters or sweeps a zone. No need to watch screen all day.
👥 Who Is This For?
✅ Smart Money / ICT concept traders
✅ Forex traders (XAUUSD, EURUSD, GBPJPY and all majors)
✅ Crypto traders (BTC, ETH, altcoins)
✅ Price action traders who want volume confirmation
✅ Beginners learning institutional trading concepts
✅ Busy traders who rely on alerts
📖 How To Use
Add to chart. Set Pivot Length (default 15 works for daily/4H).
Look for zones with 3 stars or more — ignore weak zones.
Wait for price to reach the zone — do NOT enter early.
Wait for a signal label (ABS / EXH / DIV / REJ) to appear.
Use the auto-drawn SL and TP lines for your trade plan.
Check the dashboard to see which signal type performs best on your asset.
⚙️ Settings You Can Adjust
Pivot Length — Controls zone detection sensitivity
Max Zones per Side — Clean up your chart
Zone Volume Capacity — Controls how fast zone health decays
Risk:Reward Target — Default 2:1, adjust to your style
Show/Hide: Strength Stars, Premium/Discount Labels, Sweep Counter, R:R Lines, Dashboard
Indikator

[ A L P H A X ] FORTRESS - Supply & Demand Zone EngineAlphaX FORTRESS — Supply & Demand Zone Engine with Zone Grading, Session VWAP Confluence, Liquidity Sweep Signals, HTF Zone Overlay & Live Backtest Statistics
AlphaX FORTRESS is a professional-grade supply and demand system built around an institutional zone detection engine that identifies, grades, and tracks every significant supply and demand zone on the chart — then fires precision entry signals only when price returns to those zones with genuine rejection confirmation, multi-layer filter alignment, and a qualifying zone grade. Where most supply and demand indicators simply draw boxes and leave the trader to decide what to do, FORTRESS integrates a five-factor zone grading algorithm (A+ through C), session VWAP confluence scoring, higher timeframe zone overlay, liquidity sweep detection, a full suite of entry quality filters, and a live on-chart backtest statistics tracker that counts wins, losses, and win rate in real time directly from the chart's history. Every signal is supported by zone grade verification, trend alignment, ADX confirmation, volume delta pressure, premium/discount positioning, and rejection wick quality — producing a complete, self-contained supply and demand trading system. Designed for active traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏛 Supply & Demand — The Institutional Framework
Supply and demand zones are the foundational building blocks of institutional price delivery. Unlike horizontal support and resistance drawn from price memory, genuine supply and demand zones are identified from the origin of explosive moves — the exact price range where institutions accumulated or distributed their positions before driving price aggressively in one direction.
Demand Zone: Formed when price makes an explosive bullish move away from a base. The base — one or more low-momentum candles directly preceding the explosive candle — represents the range where institutional buyers accumulated their full position. When price returns to this zone, unfilled buy orders are waiting. The most reliable demand zone retests produce sharp, rejection-candle bounces from within the zone.
Supply Zone: The mirror image. An explosive bearish move preceded by a base of low-momentum candles. Institutions distributed their position in the base before driving price aggressively lower. On return, unfilled sell orders produce sharp rejection moves downward from within the zone.
Why FORTRESS detects zones differently from most indicators: Most zone detectors use a simple pivot or pattern check. FORTRESS requires three simultaneous conditions for a zone to qualify — the departure candle must be explosive (ATR-scaled range), the body must represent a minimum proportion of the total range (body quality filter), and volume must confirm when enabled. Only zones formed by genuine institutional displacement are registered.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 Zone Detection Engine — Quality Filters
Every zone formed by FORTRESS passes three mandatory quality gates before being registered:
Explosive Move Filter:
The departure candle (the candle that leaves the base and drives price) must have a total range exceeding the ATR by a configurable multiplier (default: 1.2×). This filters out zones formed by slow, grinding moves — only impulsive, institutionally driven departures qualify. Smaller ATR multipliers produce more zones; larger values produce fewer, higher-quality zones.
Body Quality Filter:
The departure candle's body must represent at least a configurable percentage of its total range (default: 55%). A small body in a large-range candle indicates indecision — the candle moved far but closed near its midpoint, suggesting weak directional conviction. A large body relative to range confirms genuine one-directional pressure on the departure move.
Volume Confirmation (optional):
When enabled, the departure candle's volume must exceed the average volume (configurable period, default: 20 bars) by a minimum multiplier (default: 1.1×). High-volume departures carry more institutional weight than same-range moves on average volume. The volume filter is off by default — this allows the system to work effectively on instruments where volume data is unreliable (forex spot, crypto perpetuals) while providing an additional quality gate when reliable volume is available.
Base Detection:
The base candles immediately preceding the explosive departure are automatically detected — up to the configurable maximum (default: 2 candles). Base candles must have a body smaller than 0.5× ATR and must not themselves be explosive. The full base range is incorporated into the zone boundaries, accurately reflecting the complete accumulation or distribution range rather than just the departure candle alone.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏅 Zone Grading System — A+ Through C
Not all supply and demand zones are equal. A zone formed on massive volume with VWAP confluence during a premium price area carries fundamentally more institutional weight than the same pattern on average volume in a random price area. FORTRESS quantifies this difference with a five-factor algorithmic grading system that assigns every zone a grade of A+, A, B, or C at the moment of formation.
Grading factors and their weights:
Move Strength (up to 30 points) — the ratio of the departure candle's range to ATR, capped at 30 points. Stronger, more explosive departures score higher. A 3× ATR departure scores maximum; a 1.2× departure (the minimum threshold) scores proportionally lower
Volume Ratio (up to 20 points) — when volume confirmation is enabled, the ratio of departure volume to average volume, capped at 20 points. When volume confirmation is off, a flat 10 points is awarded to maintain grade comparability across instruments. High-volume departures receive the full bonus
VWAP Confluence (20 points) — full 20 points awarded when the session VWAP is within a configurable ATR tolerance of the zone boundaries at the time of formation. A zone that forms directly at the institutional session reference level carries significantly more weight than a zone formed far from VWAP. This is the VWAP Boosts Grade feature
HTF Zone Match (20 points) — full 20 points when the zone overlaps with an active higher timeframe supply or demand zone. Confluence between the current timeframe zone and the HTF zone indicates institutional activity at multiple timeframe levels simultaneously — the strongest possible zone quality condition
PD Zone Match (15 points) — awarded when the zone forms in the institutionally correct price area: supply zones in premium (above dealing range equilibrium) and demand zones in discount (below equilibrium). A supply zone in premium and a demand zone in discount are positioned where institutions naturally distribute and accumulate respectively
Base bonus (5 points) — a flat quality bonus applied to all qualifying zones
Grade thresholds:
A+ (80+ points) — elite institutional zone. All or most factors aligned. Maximum conviction
A (65–79 points) — strong zone with multiple confirming factors. High quality
B (50–64 points) — solid zone with partial confirmation. Standard quality
C (below 50 points) — low-quality zone. Formed with minimal supporting factors
The grade badge is displayed directly on the zone box on the chart. The minimum grade filter (default: B) blocks signals from C-grade zones entirely — preventing entries at the lowest-quality institutional levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Session VWAP Confluence
The session VWAP is plotted as a continuous purple line and serves two distinct roles in FORTRESS.
Visual reference: The VWAP line and optional ±1σ bands provide the institutional session fair value reference directly on the price chart. Optional band display shows the first standard deviation envelope around VWAP.
Grade booster: When VWAP Boosts Grade is enabled (default: on), every zone that forms within ATR tolerance of the session VWAP receives 20 additional grade points — frequently elevating a B-grade zone to A or A+ when VWAP proximity confirms institutional positioning at that level.
Why VWAP at the zone matters: The session VWAP is the single most widely watched intraday reference level by institutional desks, algorithms, and market makers. When a supply or demand zone forms directly at the VWAP, it means the institutional activity that created the zone coincided with the session's fairest price level — the most contested and significant price in the session. Retests of these zones carry the highest probability of generating a sharp institutional response.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 HTF Zone Overlay
FORTRESS pulls supply and demand zones from a configurable higher timeframe (default: 60-minute) and overlays them on the current chart as purple dashed boxes.
What HTF zones represent: A supply or demand zone on H1 was created by a significantly larger impulsive move than anything visible on M5 or M1. These zones represent institutional positioning decisions made on a multi-hour timeframe — they carry far more weight than same-pattern zones on the current timeframe. When a current timeframe demand zone overlaps with an active H1 demand zone, two independent timeframes of institutional evidence are concentrated at the same price level.
Zone matching in the grader: When a newly formed current timeframe zone overlaps with an active HTF zone of the same type, it receives the full 20-point HTF Match bonus in the grading system — frequently pushing the zone from B to A or A+ grade. The label also appends ·HTF to confirm the match.
HTF zone lifecycle: HTF zones are maintained in real time. When price closes above an HTF supply zone or below an HTF demand zone, the zone is deleted automatically — mitigated zones are no longer relevant and are removed to keep the chart clean.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💧 Liquidity Sweep Signal Mode
In addition to standard zone rejection signals, FORTRESS detects a powerful second entry type: the liquidity sweep — where price wicks through a zone's boundary to grab stop orders before reclaiming back inside.
Demand sweep (bull): Price wicks below the demand zone bottom by at least the minimum sweep depth (default: 0.15× ATR), then closes back above the zone bottom. Retail stops placed just below the demand zone have been triggered — institutions used that liquidity to accumulate. The reclaim close is the entry signal.
Supply sweep (bear): Price wicks above the supply zone top by at least the minimum sweep depth, then closes back below the zone top. Buy stops above supply have been triggered; the close back below is the entry.
Why sweeps are powerful: A standard zone rejection is a clean, textbook entry. A zone sweep adds an additional dimension — institutions have actively manufactured a liquidity event at the zone boundary, triggered counterparty stops to fill their own orders, and then reversed. This sequence is a clear signature of institutional stop hunting followed by directional commitment. Sweep signals are marked with an orange circle rather than a triangle to distinguish them visually from standard rejections.
Stop placement for sweeps: The SL for sweep entries is placed at the wick extreme (the sweep low for bull sweeps, the sweep high for bear sweeps) plus a small ATR buffer — anchored to the actual manipulation point rather than the zone boundary.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Signal Entry Logic — Multi-Layer Filtering
A FORTRESS signal fires when a zone touch is detected with candle rejection and all configured filters pass. The full filter stack applied to every potential entry:
Zone touch verification:
The current bar's low must reach within the demand zone (for longs) or the current bar's high must reach within the supply zone (for shorts). Touch detection includes a small ATR tolerance (0.05×) to account for minor overshoot or spread differences.
Rejection candle confirmation:
The bar must close in the correct direction — bullish close (close above open) for demand entries, bearish close for supply entries. Additionally, the rejection wick must meet the minimum wick percentage requirement (default: 50% of bar range). A bar touching a zone with a tiny lower wick but a large body is a weak rejection — the minimum wick filter ensures the zone produced a genuine, visible rejection impulse.
Filter stack (all must pass):
Trend EMA — price must be above the trend EMA (default: 50-period) for demand longs, below for supply shorts. Prevents counter-trend entries
ADX minimum — market must be trending above the configured ADX threshold (default: 18). Blocks zone entries in choppy, ranging conditions
Volume Delta — estimated directional volume pressure must agree with the signal direction. Bull volume dominance for longs, bear for shorts
PD Zone requirement — price must be in discount for demand entries (below dealing range equilibrium) and in premium for supply entries (above equilibrium)
Zone grade minimum — only zones at or above the configured minimum grade (default: B) can trigger signals
Fresh zone filter — when enabled, only zones that have not been previously tested can trigger signals. A zone that has already been retested once carries less institutional fresh-order weight
One signal per zone — when enabled, each zone can only generate one signal regardless of how many valid touches occur. Prevents repeated entries at the same level
Signal cooldown — minimum bars between any two signals (default: 5). Prevents signal clustering during complex multi-touch zone reactions
Session filter — when enabled, restricts all signals to the configured active hours window
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Zone Mitigation & Lifecycle Management
FORTRESS tracks the full lifecycle of every zone from formation through mitigation. The mitigation mode is configurable:
Body Close (default): A zone is mitigated when price closes beyond its boundary — a close above a supply zone top or a close below a demand zone bottom. This is the stricter, lower-noise mode. Wicks through the zone do not count as mitigation unless they are accompanied by a body close — consistent with the idea that a wick through the zone is a sweep (an opportunity) rather than a genuine break.
Wick Touch: A zone is mitigated as soon as any price touches the boundary — high above supply top, low below demand bottom. This is a more aggressive mitigation mode that removes zones faster, keeping the chart cleaner but potentially removing zones that could have produced more entries.
When a zone is mitigated under either mode, its box, label, and grade badge are immediately deleted from the chart. The system maintains a rolling maximum of the configured number of active zones per side (default: 3), automatically removing the oldest zones when the limit is exceeded.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Live Backtest Statistics Tracker
One of FORTRESS's most distinctive features is its on-chart live backtest statistics system . Every signal fired is tracked in memory with its entry price, ATR at signal time, direction, and grade. On every subsequent bar, the tracker evaluates whether each open signal has hit the configured target (default: 2.0× ATR) or stop (default: 1.0× ATR).
Statistics tracked and displayed on the dashboard:
Total Signals — the total count of signals logged in the tracking window
Wins — signals that reached the target before the stop
Losses — signals that hit the stop before the target
Win Rate — wins as a percentage of all closed (decided) signals. Color-coded yellow-green when at or above 50%, red when below
Pending — signals still open — neither target nor stop hit yet. Shown in orange
What this tells you: The win rate displayed is not a theoretical backtest result — it is computed directly from the current chart's historical signals using the exact filter configuration currently active. Change the zone grade minimum and the win rate updates. Enable the ADX filter and it updates. This gives you immediate, live feedback on how your configuration is performing on the current instrument and timeframe without leaving the chart.
Important note on interpretation: The statistics reflect signals fired at the current settings on the current chart's visible history. They are not forward-tested results and do not account for slippage, spread, or live execution. They serve as a real-time tuning tool — not a performance guarantee.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state across four sections.
ZONES
Supply — count of currently active, unmitigated supply zones on the chart
Demand — count of currently active, unmitigated demand zones on the chart
FILTERS
Trend — current EMA trend state: ▲ BULL, ▼ BEAR, or —
PD Zone — current premium/discount position: ◧ DISCOUNT, ◧ PREMIUM, or — EQ
ADX — live ADX value with ✓ or ✗ pass/fail indicator
Vol Delta — current volume delta direction: ▲ BULL, ▼ BEAR, or —
STATS
Signals — total signals tracked in the current window
Wins — confirmed target-hit signals
Losses — confirmed stop-hit signals
Win Rate — live win percentage across all closed signals, color-coded
Pending — signals awaiting outcome
Min Grade — the currently configured minimum zone grade filter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Demand Zone Boxes (yellow-green) — semi-transparent yellow-green filled boxes with solid yellow-green borders. Extend right until mitigated
Supply Zone Boxes (red) — semi-transparent red filled boxes with solid red borders. Extend right until mitigated
DEMAND / SUPPLY Labels — appear at zone formation with ·VWAP and ·HTF suffixes when those confluences are present
Grade Badges (A+ / A / B / C) — small labels at the zone's left edge showing the computed quality grade. Color-coded: A+ bright yellow-green, A yellow-green, B orange, C gray
HTF Zone Boxes (purple dashed) — higher timeframe supply and demand zones overlaid from the configured HTF. Automatically deleted when mitigated
Session VWAP Line (purple) — continuous VWAP anchored to each session's first bar
VWAP Bands (purple, optional) — ±1σ envelope around the session VWAP
Equilibrium Line (purple dotted) — the 50% midpoint of the dealing range
Trend EMA (optional gray line) — the trend filter EMA plotted when Show EMA is enabled
▲ Triangle (below bar, yellow-green) — standard demand rejection long signal
▼ Triangle (above bar, red) — standard supply rejection short signal
● Circle (below bar, orange) — liquidity sweep long signal at demand zone
● Circle (above bar, orange) — liquidity sweep short signal at supply zone
SL Guide (red dotted circles) — stop loss reference level on signal bars
TP Guide (yellow-green dotted circles) — take profit reference level on signal bars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX FORTRESS — Step by Step
Step 1 — Assess the Zone Landscape
Check the dashboard: how many supply and demand zones are active? Multiple demand zones stacked in the same price area indicate a strong institutional accumulation cluster — a high-priority retest target
Identify the highest-grade zones on the chart. An A+ demand zone with ·VWAP ·HTF in the label is the highest-conviction level FORTRESS can display. Mark these as priority levels
Note the equilibrium line — are you in discount (favorable for longs) or premium (favorable for shorts)?
Step 2 — Confirm the Filter Environment
Check the dashboard: Trend ▲ BULL, PD Zone ◧ DISCOUNT, ADX ✓, Vol Delta ▲ BULL — all four green simultaneously is the ideal filter state for long entries
If any critical filter is failing, reduce position size on signals or skip the setup entirely
Watch the VWAP line — is it near the zone you are watching? VWAP proximity at the zone level confirms the highest-grade setups
Step 3 — Enter on the Signal
A ▲ triangle below the bar is a confirmed demand rejection — all quality and filter conditions met. Enter on the close or next bar open
An orange ● circle below the bar is a sweep long — the zone was violated, stops triggered, and price reclaimed. Enter on the close. Place the stop at the wick extreme
Both signal types display SL and TP guide levels (dotted circles) when Show SL / TP on Signal is enabled
Step 4 — Monitor with the Stats Dashboard
Watch the Win Rate row on the dashboard. If the current configuration is producing a win rate below 50% on this instrument and timeframe, consider tightening the filters — raise the minimum grade, increase the ADX threshold, or enable the volume filter
The Pending count tells you how many trades are currently open and unresolved — useful for position sizing decisions
If Losses are rising without corresponding Wins, check whether the market has entered a choppy regime (ADX dropping) and consider pausing trading until ADX recovers
Step 5 — Zone Management and Exit
When price reaches the TP guide level, take partial or full profit
If price closes through the zone boundary opposite to your entry (body close mitigation), the zone is invalidated — this is also your stop signal if not already stopped out
Watch for the zone to be deleted from the chart — when the box disappears, the zone has been mitigated and the trade thesis is over
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
ADX ✗ on the dashboard — the market is ranging. Supply and demand zones in range conditions are frequently tested and broken repeatedly without producing clean continuation moves. The ADX filter blocks signals in these conditions automatically
All active zones are grade C — no high-quality institutional levels are present. The zones on the chart were formed by weak, low-displacement moves and are unlikely to produce sharp institutional responses on retest
Win Rate is below 40% on the live stats tracker — the current configuration is underperforming on this instrument and timeframe. Tighten filters or review whether the instrument is suitable for zone-based trading at this time
Zones are being mitigated rapidly before retesting — fast, impulsive markets break through zones without retesting them. In this environment, wait for a new zone to form in the direction of the impulse rather than trying to catch retests of quickly broken levels
PD Zone shows — EQ — price is at the dealing range midpoint. Entries from equilibrium carry the worst risk/reward — the institutional advantage of buying in deep discount or selling in deep premium is absent
Vol Delta opposes the signal direction — institutional volume pressure is working against the zone entry. Even if all other conditions pass, a demand zone long with bearish volume delta means selling pressure is still dominant — the zone may not hold
No HTF zones visible and current timeframe zones are grading mostly B and C — the institutional context on the higher timeframe is not confirming the current timeframe levels. Wait for HTF supply or demand to align before entering aggressively
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🏛 Institutional supply and demand zone detection — explosive move filter, body quality filter, and optional volume confirmation identify only genuine displacement zones
📦 Automatic base detection — incorporates up to the configured maximum of low-momentum candles preceding the explosive departure into the zone boundaries
🏅 Five-factor algorithmic zone grading — Move Strength, Volume Ratio, VWAP Confluence, HTF Match, and PD Zone together produce an A+/A/B/C grade for every zone at formation
🌐 Session VWAP integration — plotted live with optional bands, boosts zone grades when VWAP is within tolerance of the zone, and confirmed in zone labels
📡 Higher timeframe zone overlay — pulls supply and demand zones from a configurable HTF and overlays them as purple dashed boxes. HTF-matching zones receive maximum grade bonus
💧 Liquidity sweep detection — identifies stop-hunt sequences where price wicks through a zone boundary and reclaims, marking these with distinct orange circle signals
🧠 Multi-layer filter stack — Trend EMA, ADX, Volume Delta, PD Zone, Zone Grade, Fresh Zone, One-Shot, Cooldown, and Session filters all independently configurable
⚖ Premium/Discount zone requirement — enforces institutionally correct entry positioning using a dynamic equilibrium across the dealing range
📊 Live backtest statistics tracker — tracks every signal's win/loss outcome in real time on the chart, displaying signal count, wins, losses, win rate, and pending count on the dashboard
🔀 Two zone mitigation modes — Body Close (stricter, lower noise) and Wick Touch (more aggressive zone clearance)
📝 Zone labels with confluence indicators — DEMAND / SUPPLY labels append ·VWAP and ·HTF when those confluences are present at formation
🏷 Grade badges — A+/A/B/C badges displayed directly on each zone box with color-coded visual hierarchy
🎯 SL and TP guide levels — dotted circle plots at the stop and target levels on every signal bar
📊 16-row live dashboard — Zones, Filters, and Stats sections updated in real time
🔔 6 alert conditions — demand long, supply short, sweep long, sweep short, new demand zone formation, new supply zone formation
🎨 Fully cohesive dual-tone color system — yellow-green for all demand/bullish elements, red for supply/bearish, orange for sweeps and pending stats, purple for VWAP/HTF/equilibrium
⚙ Fully configurable — all zone detection thresholds, grading weights, filter settings, mitigation mode, backtest parameters, display options, and colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Zone Detection
Max Base Candles — maximum number of low-momentum base candles to incorporate into zone boundaries (default: 2)
Move Strength (ATR x) — minimum departure candle range as a multiple of ATR (default: 1.2)
ATR Length — lookback for ATR calculation (default: 14)
Volume Multiplier — minimum volume relative to average when volume confirmation is enabled (default: 1.1)
Volume Avg Length — lookback for volume average (default: 20)
Min Body % of Range — minimum body size as a fraction of the departure candle's total range (default: 0.55)
Require Volume Confirmation — when on, departure candle must exceed the volume average by the configured multiplier (default: off)
Signal Filters
Fresh Zones Only — when on, only zones that have not been previously touched can trigger signals
One Signal Per Zone — when on, each zone produces a maximum of one signal regardless of subsequent valid touches
Min Rejection Wick % — minimum lower/upper wick as a fraction of bar range for rejection confirmation (default: 0.50)
Cooldown Bars — minimum bars between consecutive signals (default: 5)
Chart EMA Trend Filter — when on, requires price to be on the correct side of the trend EMA
Trend EMA Length — EMA period for the trend filter (default: 50)
Min Zone Grade — minimum grade required for a zone to generate signals. A+ / A / B / C (default: B)
ADX Filter — toggle the ADX trend strength gate
ADX Length / ADX Minimum — ADX calculation and threshold parameters (defaults: 14 / 18)
Volume Delta Filter — toggle the directional volume pressure requirement
Volume Delta Length — smoothing length for volume delta calculation (default: 14)
Require PD Zone — when on, longs require discount positioning, shorts require premium
Dealing Range Length — bars used for the equilibrium midpoint calculation (default: 50)
Liquidity Sweep
Enable Sweep Signals — toggle the sweep entry signal mode
Min Sweep Depth (ATR x) — minimum wick extension beyond the zone boundary to qualify as a sweep (default: 0.15)
HTF Zones
Show HTF Zones — toggle the higher timeframe zone overlay
HTF Resolution — the timeframe to pull HTF zones from (default: 60-minute)
VWAP Confluence
Show Session VWAP — toggle the VWAP line on the chart
VWAP Boosts Grade — when on, zones within VWAP tolerance receive 20 additional grade points
VWAP Tolerance (ATR x) — maximum distance from VWAP to qualify for the grade boost (default: 0.5)
Show VWAP Bands — toggle ±1σ band plots around the session VWAP
Backtest Stats
Track Signal Stats — toggle the live win/loss tracking system
Target (ATR x) — take-profit distance for stat tracking purposes (default: 2.0)
Stop (ATR x) — stop-loss distance for stat tracking purposes (default: 1.0)
Max Signals Tracked — rolling window size for the statistics tracker (default: 50)
Display
Max Active Zones / Side — maximum supply zones and demand zones maintained simultaneously (default: 3 per side)
Mitigation — Body Close or Wick Touch zone invalidation mode
Extend Zones Right — when on, zone boxes extend indefinitely to the right until mitigated
Show Zone Labels — toggle SUPPLY/DEMAND text labels on zones
Show Grade Badge — toggle A+/A/B/C grade badges on zone boxes
Show Stats Dashboard — toggle the full dashboard panel
Plot Trend EMA — toggle the trend EMA line on the chart
Show SL / TP on Signal — toggle stop and target guide circle plots on signal bars
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Session
Buy / Sell Signals — master toggle for all entry signals
Session Filter — toggle the active hours restriction
Active Session — configurable session window string
Colors
Demand / Bull / Bull Bright — yellow-green family for all demand zones, signals, and labels
Supply / Bear / Bear Bright — red family for all supply zones, signals, and labels
HTF Zone — purple for higher timeframe zone overlays
VWAP / Equilibrium — purple for VWAP and equilibrium lines
SL Guide / TP Guide — stop and target circle colors
Sweep Signal — orange for liquidity sweep entry circles
Dash Text / Neutral / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (6 total)
Entry Alerts
Fortress Demand Long — standard demand zone rejection long signal. All quality and filter conditions met
Fortress Supply Short — standard supply zone rejection short signal
Fortress Sweep Long — liquidity sweep and reclaim at demand zone. Sweep entry confirmed
Fortress Sweep Short — liquidity sweep and reclaim at supply zone
Zone Formation Alerts
New Demand Zone — a qualifying demand zone has been detected and added to the chart
New Supply Zone — a qualifying supply zone has been detected and added to the chart
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M15 :
Move Strength at 1.2× ATR — sensitive enough to catch meaningful departures on fast-moving intraday instruments
Min Grade at B — filters out the lowest-quality zones while allowing solid B-grade setups to signal
Fresh Zones Only on — fresh, untested zones carry the most unfilled institutional orders
HTF at 60-minute — provides meaningful confluence context for intraday M1–M15 trading
Volume Confirmation off — reliable for futures and equities, unreliable for spot forex and crypto perpetuals
For other instruments or timeframes, adjust:
Higher timeframes (H1, H4) — increase Move Strength to 1.5–2.0× ATR, set HTF to Daily or Weekly, raise Min Grade to A, increase Dealing Range Length to 100–200
Crypto (BTC, ETH) — enable Volume Confirmation with 1.2× multiplier on exchanges with reliable volume data, increase Move Strength to 1.4–1.6, increase Min Sweep Depth to 0.25×
Indices (NAS100, US30) — enable Session Filter to 09:30–16:00, enable Volume Confirmation, set Min Grade to A for cleaner signal quality
More zones and signals — reduce Move Strength to 1.0, lower Min Grade to C, disable Fresh Zones Only, disable One Signal Per Zone
Fewer, highest-quality signals only — raise Min Grade to A or A+, enable Volume Confirmation, enable HTF Zones, set VWAP Boosts Grade on. Only A+ zones with VWAP and HTF alignment will produce signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏛 Supply and demand traders — FORTRESS is the most complete quantitative implementation of supply and demand zone trading available in the AlphaX suite. Every concept — zone quality, freshness, grade, mitigation, sweep detection — is encoded objectively and applied consistently
📊 Traders who want data on their strategy — the live backtest statistics tracker provides immediate, chart-specific feedback on how the current configuration is performing without leaving the platform
🥇 Gold (XAUUSD) and forex traders — supply and demand zone mechanics are most consistent on highly liquid institutional instruments. Default settings are calibrated for gold and major pairs
🌐 Multi-timeframe traders — the HTF zone overlay and VWAP confluence create a natural two-timeframe framework within a single indicator
🧠 Systematic traders — every entry parameter is quantified and configurable. The grading system replaces subjective zone quality assessment with objective numerical scoring
💧 Stop hunt and sweep traders — the dedicated sweep signal mode is purpose-built for traders who specifically want to enter on liquidity grab and reclaim events at institutional zones
⚠ Traders who want to stop chasing entries — FORTRESS enforces patience by design. You wait for institutional zones to form, wait for price to return, wait for the rejection candle, and wait for all filters to confirm — discipline is built into the system architecture
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Zone detection, grading, mitigation, and signal logic all finalize on confirmed bars only
The live backtest statistics use ATR-based fixed targets and stops for tracking purposes. These are not the same as any broker-level trade execution. The purpose is configuration tuning, not performance reporting
Maximum 200 boxes, 200 labels, and 100 lines are rendered. On charts with long history and frequent zone formation, the oldest zones are automatically removed by TradingView's rendering limits. The Max Active Zones / Side setting provides additional control over zone count
HTF zone detection uses Pine Script's request.security function with lookahead off — HTF zones are non-repainting and reflect the HTF close price at each lower timeframe bar
The PD Zone equilibrium is calculated from the highest high and lowest low over the Dealing Range Length. On strongly trending instruments this level will shift progressively — it is a relative measure within the recent range, not a fixed level
The session VWAP resets at each session's first bar. For 24-hour crypto instruments, the VWAP anchors to the first bar of each calendar day. Consider disabling the VWAP grade boost on instruments where session definition is ambiguous
The sweep signal mode and standard zone rejection signal mode are independent. A zone that produces a sweep signal is marked as used (when One Signal Per Zone is enabled), preventing a subsequent standard rejection signal from the same zone — ensuring only one entry per zone regardless of which entry type fires first
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who believe that the strongest entries are not found by predicting where price will go — but by knowing exactly where institutions have left their orders waiting. Indikator

Precision Confluence MonitorPrecision Confluence Monitor (PCM)
PCM tracks your Precision SPX levels and confirms each one against live NDX confluence before flagging an entry. You paste two comma-separated strings — your SPX levels and the matching NDX levels — and the script pairs them by position, then watches price action against both indices in real time.
How it works
The core logic is a two-candle confirmation rule. Candle 1 (C1) fires when price closes on the same side of a level on both SPX and NDX simultaneously — calls if both close above, puts if both close below. Candle 2 then confirms the move and triggers the actual ENTRY signal. This dual-index requirement filters out single-market fakeouts where SPX breaks a level but NDX doesn't follow.
Level categories (by index position in your string):
0–5: Daily levels
6–7: Range levels
8–9: Weekly levels
10–11: Monthly levels
Each type is color-coded on the chart with lines, zones, and labels showing the level price, its NDX pair, and live distance in points.
Built-in protections
Fail counter: every time a level is tested and rejected, it's tracked. After 2+ failures the level is flagged AVOID — the script will not give an entry there, keeping you out of chop.
SMA confirmation filter (optional): requires both SPX price and NDX to be on the correct side of the Fast/Slow SMAs before allowing a signal.
Volume filter (optional): requires ≥1.5× average volume to confirm a genuine break.
Display
A live status table summarizes every active level: SPX price, NDX pair, type, distance, whether NDX confirms, current signal state (Watch / C1 / Entry / Avoid), and fail count. On-chart labels and alerts (C1, Entry, and Avoid) keep you updated without watching the table.
Inputs reset daily so each session starts clean.
This script is a decision-support tool, not financial advice. Always manage your own risk. Indikator

ChachinBot SP&500 V3.5OVERVIEW
SPX500 SmartSignal Pro is an intraday signal and trade-management tool built specifically for the S&P 500 index (reference: OANDA:SPX500USD) on the 5-minute chart. It only prints a long or short signal when trend, momentum, trend-strength and participation all agree, and then lays out ATR-based stop/target levels and a risk-based position size for the trade.
WHY SO MANY FILTERS — AND HOW THEY WORK TOGETHER
This is not a pile of indicators stacked for the sake of it. Each filter exists to block one specific way a trade goes wrong, and a signal appears only when all of them line up:
Triple EMA (21 / 50 / 200) — direction. The 200 EMA sets the macro bias, the 50 the intermediate trend, the 21 the immediate momentum. Longs are only considered when the EMAs are stacked bullishly and shorts when stacked bearishly, so the tool never fights the prevailing trend.
RSI + MACD — momentum confirmation. Direction alone doesn't tell you whether there's fuel behind the move. RSI checks that immediate momentum isn't already exhausted, and MACD confirms momentum is turning or continuing in the signal's direction. Using two momentum tools from different families filters out single-indicator false reads.
ADX — trend strength (the key filter for an index). The S&P 500 spends much of the intraday session chopping sideways, where EMAs can still look stacked and momentum can flicker with no real trend behind it. ADX gates this out: signals are blocked when ADX is below threshold, and the background turns yellow as a no-trade / chop warning. Because index moves come in shorter bursts than forex, the threshold here is 20 — deliberately lower than the 25 used on major FX pairs and gold.
Volume filter — participation. Confirms the move has genuine participation behind it rather than being a thin, low-conviction drift.
ATR — volatility-adaptive risk. Stop-loss and three take-profits (TP1 / TP2 / TP3) are set as ATR multiples instead of fixed points, so they automatically widen in a fast session and tighten in a quiet one.
Put together, it is a confluence system: trend (EMAs) + momentum (RSI/MACD) + strength (ADX) + participation (volume) must all align before a signal prints, and ATR + reward-to-risk + position sizing handle the management once it does. Each layer removes a failure mode the others can't see on their own.
WHAT YOU SEE ON THE CHART / DASHBOARD
Long / short signal markers, printed only when every condition aligns.
ATR-based SL and TP1 / TP2 / TP3 levels, designed for partial closes (e.g. scaling out at each target and trailing the rest).
A live ADX monitor so current trend strength is always visible, plus the yellow chop-warning background.
A colour-coded reward-to-risk readout: green when R:R ≥ 2.0, orange ≥ 1.5, red < 1.5 — so a setup can be judged at a glance.
A position-size calculator: enter your account balance and risk %, and it returns the size for the trade based on the ATR stop distance. Useful for keeping risk consistent, including on funded / prop-firm accounts with fixed risk rules.
HOW TO USE IT
Apply it to the S&P 500 (OANDA:SPX500USD or equivalent) on the 5-minute chart, during the US cash session.
Wait for a signal — by design it will not fire in chop (yellow background = stand aside).
Check the R:R readout and favour setups showing green or orange.
Manage with the ATR SL and TP1/TP2/TP3 (for example, move the stop to breakeven at TP1).
Size the trade with the built-in calculator according to your own risk rules.
SETTINGS
EMA lengths, RSI and MACD parameters, the ADX threshold, the volume filter, the ATR multiples for SL/TP, session hours, and the account balance / risk % for the calculator are all configurable.
This is an educational tool. The signals are potential setups for your own analysis, not automatic buy/sell instructions and not financial advice. The past behaviour of any setup does not guarantee future results. Indikator
