Volume Delta Pressure [JOAT]Volume Delta Pressure estimates how much of each bar's volume was buying versus selling, then turns that split into a clean read on who is actually in control. It combines a per-bar delta engine, a cumulative session delta line, a normalized pressure oscillator, gradient candle heat, VWAP bands, and a full on-chart dashboard — so order flow becomes something you can see at a glance instead of guessing.
▎ WHAT IT DOES
It reconstructs buy/sell volume for every candle, tracks the running net delta across the session, and measures whether current flow is stretched into Accumulation or Distribution . From that it colors your candles by pressure, prints cooldown-gated BUY/SELL labels, flags CVD/price divergences, and reports the full picture in a top-corner panel.
▎ HOW IT WORKS
• Delta engine — Two methods. Lower-TF Intrabar polls a smaller timeframe, signs each intrabar by its direction (up = buy, down = sell, doji split), and sums the volume. Range/Body Proxy splits chart-bar volume using where close sits inside the bar's range blended with candle-body direction. Auto uses intrabar data when available and falls back to the proxy everywhere else.
• Bar delta — Buy volume minus sell volume for the current candle, plus buy% / sell% of total bar volume.
• CVD — Cumulative volume delta that adds each bar's delta and resets on your chosen anchor (session/day, week, month, or never).
• Pressure oscillator — Delta is EMA-smoothed, then normalized either as a Z-Score against its rolling mean/stdev (roughly −3..+3) or as % of Volume (−100..+100). This single value drives the state, gauge, and candle color.
• Signals — A BUY fires when pressure crosses up through zero; a SELL when it crosses down. Each flip must also pass a delta-expansion filter (absolute delta above a multiple of its recent average), optional price confirmation (up close for buys, down close for sells), an optional divergence requirement , and a cooldown that blocks stacked same-side signals. Signals only confirm on bar close.
• Divergence — Pivot highs/lows on price are compared against CVD at the same pivot. Price lower-low with CVD higher-low prints a Bull Div ; price higher-high with CVD lower-high prints a Bear Div . Each stays "active" for a set number of bars.
• VWAP + σ bands — Anchored VWAP with inner and outer standard-deviation channels, tinted green above / red below.
• No-volume guard — On assets that report no volume, signals switch off and the dashboard shows a clear notice instead of printing misleading data.
▎ HOW TO USE IT
• Read candle heat first: deep green = strong net buying, grey = balanced, deep red = strong net selling. Candles flash full color on a confirmed signal.
• Treat BUY / SELL pills as flow-flip alerts, not standalone entries. They are strongest when they agree with the CVD trend and VWAP location.
• Use CVD to judge conviction behind a move — price up while CVD falls warns the push is thin.
• Divergence labels mark spots where price and delta disagree — useful for anticipating exhaustion or reversal.
• Trade with the VWAP channel : above VWAP favors longs, band edges mark stretched conditions and mean-reversion zones.
• For fewer, higher-quality signals, turn on Require CVD Divergence and keep price confirmation on.
▎ KEY SETTINGS
• Engine — Delta method, intrabar timeframe (auto or manual), proxy close-vs-body weight, and delta smoothing.
• Pressure Oscillator — Normalization mode, lookback, and the Accumulation / Distribution thresholds.
• CVD & Divergence — Reset anchor, pivot length, recency window, and label caps.
• Signals — Expansion multiplier and baseline, price/divergence requirements, cooldown, and label size/cap.
• VWAP — Source, anchor, inner/outer σ multipliers, and colors.
• Visuals — Gradient candle toggle, saturation points, and the buy/neutral/sell color set.
• Dashboard — Show/hide, position, and text size.
▎ DASHBOARD
A top-right gradient panel reporting: delta source (LTF or Proxy), bar delta, session/cumulative CVD and its trend, buy% and sell%, the pressure value, a segmented flow gauge, the current State (Accumulation / Distribution / Neutral), active divergence, dominant side, VWAP location, and the last active signal — each cell color-coded by side.
▎ ALERTS
• Buy Pressure Flip — fires on a confirmed BUY signal.
• Sell Pressure Flip — fires on a confirmed SELL signal.
▎ NOTES
• Works on all timeframes and assets that report volume; degrades gracefully where volume is absent.
• Signals confirm on bar close, so labels and alerts do not repaint after the bar completes.
• Every visual layer — candles, VWAP, labels, dashboard — toggles independently for a clean chart.
• Delta is an estimate reconstructed from price and volume, not exchange-reported order flow.
For research and education only. This is not financial advice. No indicator can predict the future, and past behavior does not guarantee future results. Always do your own analysis and manage your own risk.
Made with passion by JackOfAllTrades ⚡ 指标

Liquidity Draw Probability Map [ForexCracked]🔵 OVERVIEW
Every liquidity tool draws the pools. This one measures whether price actually goes there.
The Liquidity Draw Probability Map finds the resting liquidity on your chart, equal highs and lows, the prior day high and low, the prior week high and low, and the session extremes, then studies your chart's own history and prints what actually happened to pools like each one: how often price reached them, how long it took, and how often the touch rejected versus cut straight through.
The phrase "price is drawing on liquidity" gets said a thousand times a day. This script puts a measured number on it.
🔵 HOW THE MEASUREMENT WORKS
Every pool is filed by two things: its type, and how far from price it was born, measured in ATR units so the numbers transfer across symbols and timeframes.
For each combination the script keeps running counts on your chart's own history:
• How many pools like this were created
• How many were reached within 50 bars
• Of the touches, how many rejected (price closed at least 1 ATR back inside within 20 bars) and how many cut through (price closed at least 0.5 ATR beyond). A touch that does neither within the window is filed as a stall.
• The median number of bars it took to get there
Nothing is estimated and nothing comes from outside data. Every figure is a frequency counted on the chart in front of you, and the sample size is printed next to it, so a number built on 12 events never dresses up as a number built on 300.
🔵 THE MAP
Active pools draw as horizontal lines from the swing that created them. The line gets thicker and more solid as its category's measured reach frequency gets higher, so the levels price has historically honoured stand out and the ones it historically ignores fade back. Each pool carries a compact label: type, measured reach frequency, rejection share of touches, and the sample size behind those numbers.
When a pool is touched, a small circle prints on that bar to mark the purge (these are measurement events, not signals, and they can be switched off). The engine then watches the next 20 bars, classifies the outcome, adds it to the tables, and retires the pool. Purged liquidity leaves the map, exactly as it leaves the market.
🔵 WHAT THIS IS NOT
This script fires no signals. There are no buy or sell arrows, no sweep alerts dressed as entries, no order blocks and no fair value gaps. It does not tell you to trade anything. It is a measurement instrument: it maps where the resting liquidity is and reports what historically happened to liquidity like it, with the sample sizes in plain view. What you do with that context is your decision.
🔵 NET DRAW BIAS
Each active pool contributes its measured reach frequency, discounted by how far away it currently sits. Everything above price is summed against everything below, and the result is z-scored against its own recent history. A strongly positive reading means the statistically heavier magnet is overhead. A strongly negative one means it is below. The dashboard prints the score and the direction plainly.
🔵 THE DASHBOARD
• Nearest pool above: type, distance in ATR, measured reach frequency, median bars to reach, sample size
• Nearest pool below: the same
• Net Draw Bias: score and direction
• Last purge: which pool type was taken and how the touch resolved
• Sample: total pools logged and bars of history measured
🔵 HOW TO USE
• Treat high-frequency pools as context, not entries. A pool whose category was historically reached 75 percent of the time within 50 bars is a level price has tended to gravitate toward on this chart. Useful when planning targets, never a trigger on its own.
• Read the rejection versus cut-through split before assuming a reaction. Some categories on some charts get swept and keep going. The split tells you which kind of chart you are on.
• Use Net Draw Bias for directional context between levels. It answers "which side's liquidity is heavier right now" with a measured number instead of a feeling.
• Respect the sample sizes. Early in a chart's history the tables are thin and the map says so. The numbers firm up as history accumulates.
• Combine with your own structure and risk rules. This is a measurement instrument. It does not know your plan.
🔵 SETTINGS
• Pivot strength and equal-level tolerance control how pools are detected
• Reach horizon (default 50 bars) and outcome window (default 20) control the measurement windows
• Session input defines the session whose extremes are tracked, set it to your Asia hours for the classic use
• Max pool age retires stale levels; per-side caps keep the map readable
• Dashboard position, colors, and line extension are adjustable
🔵 ALERTS
• Price approaching a high-reach pool (within 0.25 ATR, category at or above 70 percent with a meaningful sample)
• Pool purged (liquidity taken)
• Net Draw Bias flips sign
⚠️ DISCLAIMER
These are descriptive statistics of past price behaviour on your chart, not predictions. A pool that was historically reached 80 percent of the time can be ignored today. Sample sizes vary by chart and timeframe, and small samples are unreliable by nature. Nothing here is a trade signal, and results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes. Not financial advice. 指标

Opening Range Breakout Engine - Session Range SignalsaDESCRIPTION:
RANGE BREAKOUT PRO is a complete range-breakout trading engine: it detects tradeable ranges from confirmed swing pivots, fires BUY and SELL signals when price breaks out in the direction of the trend, and then manages every trade on the chart with entry, stop loss, take profit, break-even and trailing logic - all fully visualized and fully automatable via webhook alerts.
HOW THE ENGINE WORKS
1. RANGE DETECTION - Confirmed swing highs and swing lows (pivot length configurable) become the active RANGE HIGH and RANGE LOW. Each extreme is marked on the chart with a dot and a vertical marker line. A range must be wide enough (minimum height in ATR) and fresh enough (maximum age in bars) to be tradeable - micro-ranges and stale levels are skipped automatically.
2. BREAKOUT SIGNAL - A signal fires only when a candle CLOSES beyond the range extreme plus an ATR buffer (no wick fake-outs), the gradient trend ribbon points in the breakout direction, the trend strength score clears your Buy/Sell Strength threshold, the breakout is not overextended (max distance from the ribbon in ATR - no chasing exhausted moves), and an optional cooldown after a losing trade has expired. Optional MTF Agreement requires the 15-minute trend to confirm.
3. TRADE MANAGEMENT - Every signal is managed like a real trade, live on the chart:
- TP1 (partial target) banks the win early and moves the stop to break-even
- the remainder runs to the full R-multiple take profit or a chandelier trail
- green TP box and red SL box grow bar by bar from the entry, exactly like a position tool
- price tags at the right edge show Entry, Stop Loss, Take Profit and live Profit/Loss %
- every closed trade is marked with a tick (win), circle (break-even) or cross (loss)
4. TWO TRADE MODES - "TP/SL Mode" (fixed targets, split TP1 + runner) or "Trailing Mode" (no fixed target, the trail line is the moving stop).
THE COCKPIT PANEL
- MARKET OVERVIEW: multi-timeframe trend dashboard - live trend strength meters for the chart timeframe, 15m, 1H, 4H and 1D
- SIGNAL SETUP: entry system, MTF agreement, current signal (Long / Flat / Short), Buy/Sell strength thresholds, trend filter state, trade mode, active Take Profit and Stop Loss levels
- PERFORMANCE: asset, exchange, timeframe, total trades and live win rate calculated from every signal on the chart history - no cherry picking, the counter runs over everything the engine fired
Win rate accounting is transparent: a trade counts as WIN when TP1 is banked, as LOSS when the initial stop is hit first, and break-even exits are tracked separately - the same split-target accounting professional scalpers use.
WHY-EXPLANATIONS ON THE CHART
Every BUY/SELL pill carries a tooltip that explains WHY the signal fired: which range level broke, the trend strength at the trigger, entry, stop and target prices. Range dots explain the level they mark. Nothing is a black box.
WEBHOOK AUTOMATION
Create one alert with condition "Any alert() function call" and paste your webhook URL. The indicator sends ready-to-use JSON for every event: BUY, SELL, TP_HIT, SL_HIT, TRAIL_EXIT, BE_EXIT - including symbol, price, stop, target, trade mode, win rate and timeframe. Connect it to any bridge or bot and the strategy runs hands-free.
WORKS ON
Any symbol and timeframe: indices (NASDAQ, S&P, DAX), gold and forex, crypto, stocks. Scalping on 1-5 minute charts, day trading on 15m-1H, swing trading on 4H-Daily. Defaults are tuned for intraday breakout scalping.
DISCLAIMER
This indicator is a technical analysis tool, not financial advice. Past win rates do not guarantee future results. Always test on a demo account first and manage your risk.
WHY THESE PARTS BELONG TOGETHER
An opening range on its own produces a break in both directions on most days. The session filter
and the range-quality measurement exist to decide which of those breaks is tradeable: the session
defines when the range is allowed to form, and the quality measurement rejects ranges that are too
wide or too thin to hold. The breakout level is only meaningful once both have passed.
指标

Renko Keltner Trend Engine - Brick Based Buy Sell SignalsDESCRIPTION:
█ RENKO + KELTNER CHANNEL = A MATCH MADE FOR TREND TRADING
This indicator rebuilds the classic two-window "Keltner Channel + Renko" trend strategy as ONE self-contained tool — and paints real Renko bricks directly on your normal candle chart. No Renko chart subscription needed, no second window: both Renko engines are built internally from chart data, and every indicator runs on the BRICK series, not on time bars.
█ HOW THE STRATEGY WORKS (the exact rule set)
The system uses TWO Renko engines side by side:
1 — TREND FILTER (3x brick Renko + Stochastic 1,1,1)
The big-brick Renko removes all noise. A fast stochastic (1,1,1) on those bricks produces a clean square-wave regime line:
• Crosses UP through 20 → regime turns BULLISH → longs only
• Crosses DOWN through 80 → regime turns BEARISH → shorts only
The regime stays valid until the opposite cross happens.
2 — EXECUTION WINDOW (1x brick Renko + Keltner Channel + Stochastic 7,3,3 + 9 MA)
• Keltner Channel with the classic settings: EMA 20 mid line, 2 x ATR 10 bands — computed on the Renko bricks, so the channel hugs the brick ladder
• Entry: stochastic (7,3,3) crosses in the regime direction AND one FULL Renko brick closes completely OUTSIDE the Keltner channel → that breakout brick is the entry
• Stop: the middle Keltner band (EMA 20) at entry
• Exit: a brick closes back through the 9-period MA (below for longs, above for shorts)
Simple, mechanical, fully rule-based — and every signal on the chart explains WHY it fired (hover the BUY/SELL pill for the full checklist: regime, stochastic values, breakout level, entry, stop).
█ WHAT YOU GET ON THE CHART
• Real RENKO BRICKS painted over your chart (green/red ladder) — you SEE the logic the signals are computed on
• Keltner Channel (gold bands + mid stop line) and the white 9 MA exit line, all computed on bricks
• Designed BUY ▲ / SELL ▼ signal pills with full "WHY THIS TRADE?" tooltips
• TREND ▲/▼ flip tags whenever the 3x-brick filter changes regime
• Entry + stop lines for the running trade, ✓/✗ exit marks with result tooltips
• Animated cockpit panel: Renko engine info (both brick sizes), 4-step entry checklist with live status, position box, live trade counter + win rate
• Auto (ATR) brick sizing so it works on ANY symbol and timeframe out of the box — or fix the brick size manually (e.g. $3 on ES with $9 filter, the classic setup)
█ WEBHOOK AUTOMATION READY
Create ONE alert with condition "Any alert() function call" and paste your webhook URL. The indicator fires ready-to-use JSON on every event:
BUY / SELL / MA_EXIT / SL_HIT — including symbol, price, stop, brick size, regime, win rate, timeframe and timestamp. Plug it straight into bots, bridges and auto-traders.
█ HOW TO USE
1. Add to a liquid symbol (indices, gold, FX, crypto). The video setup: S&P 500 E-mini, 1-min data, $3 brick / $9 filter
2. Leave brick mode on Auto (ATR) or set your fixed brick size
3. Wait for the checklist in the panel to light up: ① Trend Filter ② Stochastic ③ Brick outside Keltner ④ Entry
4. Manage by the rules: stop = mid band, exit = 9 MA recross — or automate it via webhook
█ NOTES
• Signals are computed on confirmed bricks from confirmed bars — no repainting of past signals
• The Renko engines need warm-up bricks; on fresh charts give it a moment of history
• This is a trading TOOL, not financial advice. Test any setting on your market before going live.
Open source — read it, change it, learn from it.
WHY THESE PARTS BELONG TOGETHER
Renko strips time out of the chart and shows only committed movement, but it has no sense of
whether that movement is stretched or normal. A Keltner channel measures exactly that, but on a
time chart it is constantly distorted by bars that carry no movement at all. Building the channel
on the brick series instead of the candle series is the whole point of this script: the volatility
envelope is finally measured on the same axis the trend is measured on.
指标

TJR Swing High/Low + BOSTJR Swing High/Low + BOS
Version 1.0.0
Marks swing highs, swing lows and Breaks of Structure using TJR's 2-candle method, so you can see how market structure is forming and where the trend shifts.
WHAT IT DRAWS
• Swing highs and lows: read from the stream of real candles. A colour flip from bull to bear marks a swing high at the higher of the two paired candle highs; a colour flip from bear to bull marks a swing low at the lower of the two paired candle lows. Each line sits on whichever paired candle holds the extreme, one candle wide.
• Historical swings: the current swing plus up to two previous swings per type are kept, so up to three swing high lines and three swing low lines can show at once. Older lines hold their price and restyle to a shared historical look. Two depth dropdowns, one for highs and one for lows, choose how many are shown: current only, current plus one, or current plus two.
• Break of Structure: one horizontal line at the broken swing's price, from that swing's origin to one bar past the break. Only the most recent break is shown. It is drawn solid on the break, then once the break candle plus one further candle have closed it restyles to the chosen historical style, which defaults to dotted.
HOW IT WORKS
• Doji handling: a doji, defined as a candle whose close equals its open, is ignored entirely and the real candles on either side of it are compared directly.
• Break of Structure logic: a trend state machine is driven by the current swing high and low. From a cold start a close beyond either current swing sets the trend. Once a trend is set, only the opposite swing is watched, so in a bullish trend a close below the current swing low is a bearish break, and in a bearish trend a close above the current swing high is a bullish break.
• Repaint-safe: the indicator acts only on confirmed, closed bars, so lines do not flicker or repaint on the live forming bar. It uses no external data requests, no alerts and no tables.
WHAT IT RUNS ON
Standard Japanese candlestick charts only. Heikin Ashi, Renko, Kagi, Point and Figure and Range charts are refused, because on those chart types the candle open, high, low and close are synthetic and the structure they imply would be misleading. On any of those the indicator stops with a message and draws nothing.
INPUTS
• Swing High: history depth, colour, opacity, line style and thickness.
• Swing Low: history depth, colour, opacity, line style and thickness.
• Historical Swings: colour, opacity, line style and thickness, shared by all aged tiers.
• Break of Structure: thickness and the historical style applied once the break has aged.
HOW TO USE
Add it to any standard candlestick chart. Use the swing highs and lows to see where structure is forming, and the Break of Structure line to see when a swing has been broken and the trend has shifted.
FEEDBACK
Please let me know if you experience any issues, or have feedback for improvements or additions in the comments below. Thank you, Tom 指标

Daily ATR [Pogiest]General
This Daily ATR indicator is a real-time Average True Range monitor designed for active intraday traders. The indicator displays a live, updating table directly on your chart that shows the daily ATR value alongside the current session's developing range, allowing you to instantly assess how much of the day's expected move has already been consumed.
The ATR is calculated on the daily timeframe and only updates at the close of each session, mirroring the behavior of a standard ATR indicator on a daily chart. The live range (LIVE TR), however, updates in real time as price makes new session highs and lows — so traders always know exactly where they stand relative to the day's expected range, at any moment during the session.
Key differentiators:
1. Live session tracking — LIVE TR updates as each new tick makes a new intraday high or low, not just on candle closes.
2. Threshold price levels — automatically calculates the price the market needs to reach from both the session high and session low to complete the ATR (or any percentage of it).
3. Two Live TR modes — choose between Session Range (high minus low from the 18:00 EST open) or True Range (which includes the overnight gap from the previous session's close).
4. Percentage rows — add up to two custom ATR percentage rows (e.g. 50%, 75%) to monitor partial ATR completions.
3. Color-coded status — each row shows OVER (red) or UNDER (green).
4. Warning threshold — the LIVE TR status cell turns yellow when the session range reaches 80% of the daily ATR, giving you an early alert before the full ATR is consumed.
5. Fully customizable — every column can be toggled on or off, and all colors are adjustable to match the chart theme.
6. Alerts: Includes three built-in alert conditions accessible for exceeding Daily ATR and Percentage ATRs.
How the Indicator Table Works
The table is overlaid directly on your chart and updates in real time. Each row represents a different range reference, and each column provides a different dimension of information about that range.
Rows
DAILY ATR The smoothed Average True Range of the instrument calculated on the daily timeframe. This value only changes once per day when the previous session closes and a new ATR value is calculated. The Status cell shows OVER (red) if today's live range has exceeded the full ATR, or UNDER (green) if it has not.
Percentage ATR (optional) Up to two configurable percentage rows can be enabled. For example, a 50% ATR row shows what half the daily ATR looks like in ticks, points, and price levels. These rows are useful for identifying partial move targets and assessing whether a common retracement or extension level has been reached. The Status cell shows OVER or UNDER based on whether the current live range has exceeded that percentage threshold.
LIVE TR The current session's developing range, updating in real time as new highs and lows are printed. The Status cell displays the live range as a percentage of the daily ATR. It turns yellow at 80% as an early warning, and red when the full ATR is exceeded (100%+).
Columns
Range The row label identifying what is being measured — DAILY ATR, a percentage row (e.g. 50% ATR), or LIVE TR. The header also displays the active smoothing method and ATR period (e.g. RMA 5).
Ticks (toggleable) The ATR or range value expressed in ticks — the minimum price increment for the instrument. Useful for instruments where traders think in tick-based terms such as ES (0.25 per tick) or NQ.
Points (toggleable) The ATR or range value expressed in points — the raw price unit of the instrument. For ES this is dollars-per-contract divided by the multiplier; for NQ it reflects the index point value.
High (toggleable) The price level the market needs to reach from the current session low to complete that row's range target. Calculated as: session low + ATR target. Updates live as the session low changes.
Low (toggleable) The price level the market needs to reach from the current session high to complete that row's range target. Calculated as: session high − ATR target. Updates live as the session high changes.
Status A color-coded cell showing whether each range threshold has been OVER (red) or UNDER (green). For the LIVE TR row, the status cell displays the current percentage of the ATR consumed, turning yellow at 80% and red at 100%+.
Settings
ATR Settings
1. ATR Period The lookback period used to calculate the Average True Range. Default is 5. Accepts values from 1 to 500.
2. ATR Smoothing The smoothing method applied to the true range values when calculating the ATR. Options to select include RMA, SMA, EMA, and WMA.
3. Live TR Mode Controls how the current session's live range is calculated. Options include Session Range (measures the high minus low of the current daily bar from the 18:00 EST session open. No overnight gap is included) and True Range (includes the overnight gap from the previous session's close, calculated as max(session high, prev close) − min(session low, prev close).
Display Settings
1. Show ATR Table: Toggles the entire table on or off.
2. Show Ticks Column: Toggles the Ticks column on or off.
3. Show Points Column: Toggles the Points column on or off.
4. Show High Column: Toggles the High threshold price column on or off.
5. Show Low Column: Toggles the Low threshold price column on or off.
6. Table Position: Sets the position of the table on the chart. Nine positions available: top left, top center, top right, middle left, middle center, middle right, bottom left, bottom center, bottom right.
7. Change header background color of the header row.
8. Change header text color of the header row.
9. Change ATR background color of the first (label) column cells — DAILY ATR, percentage rows, and LIVE TR.
10. Change data background color of all data cells — Ticks, Points, High, and Low columns.
11. Change text color of all data cells.
12. Adjust font size of all text in the table. Options are tiny, small, normal, large, and huge.
13. Show Percentage 1 Row: Enables the first optional ATR percentage row.
14. Show Percentage 2 Row: Enables the second optional ATR percentage row.
Alert Settings
1. Configurable through TradingView: Alerts can be setup for Daily ATR Exceeded, Percentage 1 ATR Exceeded, and Percentage 2 ATR Exceeded.
Risk Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. All trading and investment decisions remain solely the responsibility of the user.
Trading involves a high degree of risk, and past performance is not indicative of future results.
Always conduct your own research and consult with a qualified financial professional before making any trading decisions.
By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.
指标

TL Space Concept Pro - Three Finger Spread Breakout EngineSPACE CONCEPT PRO - THE THREE-FINGER SPREAD ENGINE
Some of the most consistent discretionary traders never look at a chart without two moving averages on it: the 20 SMA and the 200 SMA. Add price itself and you have THREE ITEMS - three "fingers". The distance between them is called SPACE, and space tells you when a market is about to explode and when a move is about to die. This indicator turns that entire concept into a fully mechanical engine with signals, trade management and webhook automation.
=== THE CONCEPT ===
THE THREE ITEMS
1. Price
2. The 20 period simple moving average
3. The 200 period simple moving average
NARROW STATE - all three items clustered together. The market has reset itself. An explosive move is loading, direction unknown. You do not need to predict it: you simply wait for the biggest bar to emerge.
SPACE ZONE 1 - the space between the 20 SMA and the 200 SMA.
SPACE ZONE 2 - price accelerating away from the 20 SMA. Sometimes the underlying moves faster than the moving average can keep up, creating a second layer of space.
DUAL SPACE / THREE-FINGER SPREAD - both zones open at the same time, all three fingers clearly separated and stacked in order. This is where moves get exhausted.
THE RAILROAD RULE - if price runs parallel to the 20 SMA like railroad tracks, that is NOT a spread. Price has to ACCELERATE away from the moving average. The engine checks this automatically.
THE WIDEST SPREAD - the widest three-finger spread of the lookback window finds you the temporary top or bottom 8 to 9 times out of 10. When it prints, the reversal watch arms and the extreme that must hold is marked on the chart.
NARROW TO NARROW - when the spread collapses from the widest state back to narrow WITHOUT breaking the extreme, the next direction is the reversal. Confirmed by a power bar: a three-finger spread reversing with a power bar is the creme de la creme of this method.
=== THE SIGNALS ===
1. BREAKOUT - power bar (biggest bar of the window) exploding out of a narrow state. Entry inside the bar, stop beyond the bar.
2. SPREAD REVERSAL - widest spread found the extreme, spread collapsed back toward narrow without breaking it, power bar confirms. Target follows the 50 percent rule.
3. EARLY REVERSAL - first strong color change directly at the widest spread (the bottoming tail bar play). Stop beyond the extreme.
4. TAIL BAR - optional: bottoming/topping tail bars near narrow states as early entries (markers by default).
Every signal prints as a two-line pill with the setup name, and every pill carries a WHY tooltip that explains the exact chain of logic behind the trade - plus entry, stop, target and R:R.
=== TRADE MANAGEMENT (AS TAUGHT) ===
- ADD on the first color change after entry ("always adding on the first color change")
- TP at the 50 percent mark of the move - the pros are satisfied with the halfway mark, do not get greedy
- After the partial: bar-by-bar trailing stop until the market takes you out
- Hard stop beyond the power bar / spread extreme with an ATR buffer
- Full position box and live status in the cockpit panel
=== THE COCKPIT ===
An animated terminal-style panel shows everything at a glance:
- Animated 3D gold pixel logo with a moving light sweep (live ticks)
- State chip: NARROW STATE / 3-FINGER SPREAD / WIDEST SPREAD / REVERSAL WATCH
- Spread rank 0-100 plus live ZONE 1 / ZONE 2 meter bars in ATR
- 7-step SPACE CHECKLIST mirroring the method: items stacked, zone 1, zone 2, acceleration (railroad filter), widest-spread watch, power bar, management
- Position box, big signal line, spread/reset/signal counters
On the chart: shaded zone 1 and zone 2 fills, narrow-state boxes, MARKET RESET tags, 3-FINGER SPREAD labels, gold WIDEST SPREAD stars with vertical measuring lines (exactly how it is drawn when taught), the must-hold extreme line, TAIL tags and lightning power-bar markers. Everything is explained on the chart - hover any label for the reasoning.
=== AUTOMATION / WEBHOOK ===
Create ONE alert with condition "Any alert() function call" and paste your webhook URL. The indicator sends ready-to-use JSON for every event:
{"id":"TL-SPACE-CONCEPT","symbol":"BTCUSD","action":"BUY","setup":"BREAKOUT","price":64100.5,"sl":63900.0,"tp":64500.0,"tf":"15","time":"2026-07-18 16:30"}
Actions: BUY, SELL, ADD, TP_50, TRAIL_EXIT, SL_HIT, NARROW_STATE, WIDEST_SPREAD. Classic alertconditions for BUY / SELL / Narrow State / Widest Spread are included as well.
=== SELF-CALIBRATING ===
The spread is ranked against its own history (percentile engine) and all distances are measured in ATR - so the indicator works out of the box on any market (crypto, forex, gold, indices, stocks, futures) and any timeframe from 1 minute to weekly. Practice finding three-finger spreads everywhere - that is the homework.
=== SETTINGS ===
Every input is documented with a tooltip quoting the original rule it implements. Adjust the narrow/wide percentiles, power-bar size, dual-space minimum, acceleration window, 50 percent rule targets and the SL buffer to fit your market and style.
=== DISCLAIMER ===
Educational tool, not financial advice. No indicator wins every trade - prepare for the 1-2 times out of 10 the concept is wrong: keep your risk unit small compared to your profit unit. That is how you stay in business.
指标

TL Structure Pro - Mechanical SMC Engine: BOS, CHoCH, SweepsTL STRUCTURE PRO — Mechanical Smart Money Concepts (SMC) Engine: Market Structure, BOS/CHoCH, Liquidity Sweeps, Supply & Demand POI, FVG, Sessions, Signals & Webhook Automation
WHAT THIS INDICATOR DOES
TL Structure Pro turns a complete, fully mechanical Smart Money Concepts (SMC) trading model into one indicator. It automates the exact rule set many price-action traders apply manually: market structure mapping (HH/HL/LL/LH), Break of Structure (BOS), Change of Character (CHoCH), liquidity sweeps, supply and demand points of interest (POI), fair value gaps (FVG/imbalance), session timing (Asia / Frankfurt / London), a two-step entry model with internal realignment, and rule-based trade management with break-even logic — all with zero discretion and zero repainting (the engine only works on confirmed/closed candles).
Every element is drawn and labeled directly on the chart, so you can SEE why each signal happened: every zone is named, every structure point is tagged, and every BUY/SELL label explains its own reason.
THE MECHANICAL RULE SET (HOW IT THINKS)
1. BREAK & CLOSE RULE — A swing high/low only counts as broken when a candle BREAKS AND CLOSES beyond it. A wick through the level without a close is NOT a break.
2. LIQUIDATION ($) — If price wicks beyond a swing but fails to close beyond it, the indicator prints a "$" marker: that was a liquidity sweep / liquidity grab, not a break. These sweeps often precede reversals.
3. PULLBACK RULE — A new swing high/low is only confirmed after a valid pullback: N opposing candles in a row (default 3) with successive closes. No valid pullback = no new structure point; the move is just internal noise.
4. BOS — Break of Structure in the direction of the trend = continuation. Drawn as a gold dashed line with a BOS label.
5. CHoCH — Break & close AGAINST the current direction = Change of Character. Bias flips (bullish <-> bearish). Drawn in pink. After a bearish CHoCH the engine only looks for shorts; after a bullish CHoCH only longs.
6. POI ZONES — On every qualifying break the engine stores two zones: the DECISIONAL candle (last opposing candle before the breaking impulse) and, on CHoCH, the ORIGIN (last opposing candle at the origin of the impulse). Zones are drawn as labeled supply/demand boxes, extended in time, marked as "tapped" on first touch and deleted when invalidated by a close beyond them.
7. FVG / GAPS — Three-candle imbalances above a minimum size are boxed and removed once filled ("gaps get filled").
8. SESSIONS — Asian session, Frankfurt open and the London trade window are boxed with configurable times and timezone (defaults follow GMT+4 / Dubai time as in the original model: London window 11:00–14:00).
THE ENTRY MODEL (WHEN A SIGNAL FIRES)
A signal needs three conditions in sequence — the same checklist is shown live in the cockpit panel:
Step 1 — BIAS: structure must be clearly bullish or bearish (after BOS/CHoCH).
Step 2 — POI TAP: price returns INTO a supply zone (bearish bias) or demand zone (bullish bias) or a matching FVG. The setup is now "armed".
Step 3 — INTERNAL SHIFT (REALIGNMENT): inside the POI, the smaller internal structure (pivot-based, the "lower timeframe inside your chart") must shift in trade direction — a close beyond the last internal pivot. Only then a BUY/SELL label prints.
Risk placement is automatic and printed on the chart:
• ENTRY = close of the trigger candle
• STOP LOSS = POI extreme + a pip buffer (default 3.5 pips — capital preservation first)
• TAKE PROFIT = the weak swing low/high of the current range (structure target)
• R multiple of the setup is calculated and shown on the signal label
• BREAK-EVEN: once the trade runs the configured R distance (default 1R), the panel/alert moves the stop logic to break-even; TP hit, SL hit and BE exit are all labeled on the chart.
THE COCKPIT PANEL
The side panel shows: current bias, the live SMC checklist (structure / pullback / liquidity sweep / POI tap / entry shift / management) with OK-status per rule, active session window, structure timeframe and internal pivot length, SL buffer, current position with entry/SL/TP, the last signal with its R multiple, and a counter of active supply/demand/FVG zones. If a checklist row shows "‥" you immediately know which condition is still missing before the next signal can fire.
HOW TO USE IT — STEP BY STEP
1. Add the indicator to a clean chart. Recommended: liquid FX pairs (GBPUSD, EURUSD), gold (XAUUSD) or indices, timeframes M5–H1 for the session-based model (M15 is the classic choice). It works on any symbol/timeframe; sessions display on intraday charts up to 1h.
2. Set your timezone and session times in group ④ if you do not trade the default GMT+4 windows. Enable "Signals ONLY inside London window" if you want to trade the London session model strictly.
3. Read the structure first: follow the SWING HIGH / SWING LOW lines, the HH/HL/LH/LL tags and the BOS/CHoCH lines until you understand the current bias (also shown in the panel).
4. Watch the zones: price returning into a labeled SUPPLY/DEMAND (DECISIONAL/ORIGIN) box or FVG arms the setup — the panel switches to "ARMED (POI tapped)".
5. Wait for the printed BUY/SELL label — never front-run it. The label shows the R multiple and the reason (POI TAP + SHIFT); the tooltip lists entry, stop and target.
6. Manage by the printed levels: entry line (gold), SL line (pink, includes the pip buffer), TP line (mint, the weak swing). BE marker prints when break-even logic activates.
7. Tune mechanically, not emotionally: "Pullback rule candles" (2–5) controls how strict new structure confirmation is; "Internal pivot length" controls how fine the entry trigger is (smaller = earlier, noisier); "Min gap size" filters small FVGs; "Max zones" limits chart clutter.
8. Hover anything: every label, zone and marker has an explanatory tooltip, so the chart teaches the model while you trade it.
ALERTS & WEBHOOK AUTOMATION
Create ONE alert with condition "Any alert() function call" and paste your webhook URL — the indicator sends ready-to-parse JSON for every event:
{"id":"TL-STRUCTURE-PRO","symbol":"GBPUSD","action":"SELL","price":1.27201,"sl":1.27236,"tp":1.26350,"rr":"24.30","tf":"15","time":"2026-07-18 12:45"}
Actions: BUY, SELL, BREAK_EVEN, TP_HIT, SL_HIT, plus optional BOS_UP/BOS_DOWN/CHOCH_UP/CHOCH_DOWN. This makes the indicator plug-and-play with trade-automation bridges, bots and journaling tools. Classic alertconditions (BUY/SELL/BOS/CHoCH) are also available for simple popup/app notifications.
NON-REPAINT BEHAVIOUR
All structure logic, zones and signals are computed on CONFIRMED candles only (barstate.isconfirmed). Once printed, BOS/CHoCH lines, zones and signal labels do not repaint. Alerts fire on bar close.
NOTES
• The R multiples shown are the structural setup quality, not a performance promise. Nothing here is financial advice — backtest and forward-test before risking money.
• The panel is a table: if your main chart series is set above indicators, use right-click on the indicator legend -> Visual order -> Bring to front.
• Best visual experience with the dark TradingView theme (the indicator brings its own navy chart theme, mint/red candles and paints the future margin).
Concepts covered: Smart Money Concepts, SMC, ICT-style market structure, break of structure, change of character, liquidity sweep, liquidity grab, stop hunt, supply and demand zones, order block style POIs, decisional candle, origin, fair value gap, imbalance, premium discount, London session, killzone, session trading, scalping, day trading, price action, forex, gold, indices, webhook automation, algo bridge.
指标

TL Elliott Wave Pro - Rule Checked 12345 ABC Count + Fibs + FVGTL ELLIOTT WAVE PRO — the complete Elliott Wave rule set in one indicator: the count, the three golden rules, the three guidelines, all four fibonacci tools and the fair value gap that turns a level into a trade.
Elliott Wave is usually taught as a picture and traded as a feeling. This indicator turns it into something you can actually check: it labels the impulse, it tells you which of the three golden rules currently hold, it measures every wave against the fibonacci relationships the theory is built on, and the moment a rule breaks it says so instead of quietly redrawing the count into something that still looks right.
Everything below comes from the classic rule set. Nothing is invented, nothing is hidden.
━━━ ① THE WAVE COUNT ━━━
A ZigZag builds the alternating pivot sequence, and the engine reads the most recent structure the rules allow:
· ①②③④⑤ — the five wave impulse: three impulses with the trend, two corrections against it
· ⒶⒷⒸ — the correction that follows: an impulse down, a correction up, an impulse down
Impulse legs are drawn SOLID, corrective legs DASHED. That is not decoration — it is the definition the whole model rests on: impulsive waves are larger and move with the trend, corrective waves are smaller and move against it. The wave that has not happened yet is projected as a dotted gold line straight to its first fibonacci target.
Finished counts are frozen in faded gold exactly where they were found, so you can scroll back through the chart and study how the reading developed instead of only seeing today's answer.
━━━ ② THE THREE GOLDEN RULES — a hard validity gate ━━━
❶ Wave 3 must be the longest impulse wave, and it can never be the shortest
❷ Wave 2 must not surpass the start of wave 1
❸ Wave 4 cannot overlap with wave 1's price territory
Each rule gets a live ✓ / ✗ in the panel. If one of them breaks the count is not "weaker" — it is invalid, and the indicator behaves accordingly: the setup is cancelled, a COUNT INVALID tag goes on the chart with the reason, an alert fires, and the next confirmed pivot starts a fresh count. Rule 1 has a strict and a relaxed reading, switchable in the settings.
━━━ ③ THE THREE GUIDELINES — a soft quality score ━━━
❶ When wave 3 extends as the longest impulse wave, wave 5 typically approximates the length of wave 1
❷ Wave 2 and wave 4 alternate between a flat and a sharp correction — the indicator classifies each correction by depth and duration and shows you the pair, e.g. S / F
❸ After a five wave impulse advance, ABC corrections commonly end near the prior extreme of wave 4 — that level is projected as the C target
Guidelines are informational by default, because that is what they are. You can require one, two or all three before a signal is allowed to fire.
━━━ ④ THE FOUR FIBONACCI TOOLS, WITH THEIR CORRECT ANCHORS ━━━
Wave 2 retracement — 0 % at the end of wave 1, 100 % at its start
· typical 50.0 % and 61.8 %, plus the 60 % average line
Wave 3 extension of wave 1 — projected from the wave 2 extreme
· typical 161.8 % and 261.8 %
Wave 4 retracement — 0 % at the end of wave 3, 100 % at its start
· typical 23.6 %, 38.2 % and 50.0 %, plus the 30–40 % average band
Wave 5 — two separate targets
· 100 % of wave 1 projected from the wave 4 extreme
· 161.8 % of wave 4, anchored 0 % at the wave 4 extreme and 100 % at the wave 3 extreme
The level the market actually turned at is highlighted in gold, and the panel prints the measured value next to the expected one, so you can see at a glance whether this count is textbook or stretched.
━━━ ⑤ +FVG — the confluence that makes it a trade ━━━
A fibonacci zone on its own is a level. A fair value gap sitting inside that zone is a reason. The indicator scans for unfilled three-candle gaps inside the wave 2 and the wave 4 retracement zone, draws them as a +FVG box, and marks the signal accordingly. You can leave it as a quality tag or make it mandatory.
━━━ ⑥ THE TRADES — always in the direction of the impulse ━━━
Trading in the direction of the impulse waves is what pays, so that is all this indicator signals:
WAVE 3 ENTRY — buy the wave 2 correction in an uptrend, sell it in a downtrend
· stop behind the wave 2 pivot, or at the rule 2 invalidation
· TP1 161.8 % of wave 1, TP2 261.8 % of wave 1
WAVE 5 ENTRY — buy the wave 4 correction, sell it in a downtrend
· stop behind the wave 4 pivot, or at the rule 3 invalidation
· TP1 wave 5 = wave 1, TP2 161.8 % of wave 4
Three trigger models per trade: momentum close out of the zone, zone tap for limit-style entries, or a break of the last minor swing for the latest and safest fill. Minimum reward/risk filter, ATR stop buffer, break even at a chosen R. The counter-trend ABC entry exists but is OFF by default, on purpose.
━━━ WHY EVERY SIGNAL EXPLAINS ITSELF ━━━
Hover any signal pill and you get the full reasoning: the exact count with its prices, which golden rules hold, how deep the correction actually went against the typical values, which guidelines are satisfied, whether a fair value gap was inside the zone, plus entry, stop, both targets, risk in pips, reward in pips and the R multiple.
Every wave label carries its own tooltip — what that wave is, how far it travelled, which rule it has to respect and whether it does. Every fibonacci line explains its anchoring. Setups that were found and then rejected get a NO TRADE tag with the reason, so you learn the filter instead of wondering why nothing fired. There is a HOW TO READ THIS card and an honest BEFORE YOU TRADE THIS card on the chart.
━━━ COCKPIT PANEL ━━━
Live count stage, symbol, chart timeframe, ZigZag settings and the size of wave 1 · the three golden rules with ✓ / ✗ / pending · the three guidelines with the flat-sharp alternation pair · every wave measured against its expected fibonacci value · a five step setup checklist that fills in as the trade builds · the open position with stop and target · a large status line · a rough win / loss / break-even tracker and the last signal timestamp.
━━━ ALERTS AND AUTOMATION ━━━
Every event fires a clean JSON payload ready for a webhook: entry, stop, both targets, the direction of the count, the measured wave 2 retracement, the wave 3 extension, the wave 4 retracement, which rules held, whether an FVG was present, the R multiple, symbol, exchange, timeframe, volume and an optional account field. Events: ENTRY, TP1, SL, BE, INVALID, IMPULSE_COMPLETE. Six plain-language alertconditions are included as well for anybody who just wants a notification.
━━━ SETTINGS WORTH KNOWING ━━━
· ZigZag pivot strength and a minimum swing size in ATR — this pair decides the degree of the count and therefore everything else
· Every fibonacci percentage is editable
· Rule 1 strict or relaxed, rules 2 and 3 on or off, kill-on-invalidation on or off
· FVG optional or mandatory, minimum gap size in ATR
· Full TL chart theme: navy background, mint / red candles, corrective legs dimmed — or switch it off and keep your own
· Panel, animated 3D logo and the right-hand extension of the lines are all configurable
Tip: if the candles cover the panel, right click the indicator → Visual order → Bring to front. That is a TradingView layer setting, not something Pine can control.
━━━ HONEST NOTES ━━━
Elliott Wave is not a standalone technique, and its subjective nature has put a lot of traders off it. Two competent analysts label the same chart differently. This indicator picks ONE reading — the most recent one the three golden rules allow — and tells you the moment that reading dies. It does not pretend the ambiguity is gone.
The count re-reads itself on every new pivot. A label that moves is not a bug; it is the engine refusing to defend a count the market has stopped supporting.
The ZigZag pivot strength decides everything. Too small and you count noise, too large and you only see the count after the move is over. Change it and watch the whole picture change — that is the honest lesson of Elliott Wave, and no indicator can take it away from you.
The percentages are averages, not laws. Corrections come in slightly smaller and slightly larger than the textbook numbers all the time.
The win / loss counter in the panel is a rough on-chart tracker. It assumes a fill at the marked price and resolves target before stop inside the same bar. It is not a backtest and it is not a performance claim.
This indicator is a study tool. It is not financial advice.
━━━ CREDIT ━━━
The rule set is classic Elliott Wave Theory as it is taught publicly. The wave engine, the rule and guideline checks, the fibonacci anchoring, the FVG confluence, the panel and the design are original work.
Open source — read it, change it, learn from it.
指标

Swing Trade Defender
You're in a trade. Defender watches it for the five ways swing trades fail — plus an ATR trailing stop — and shows one status: OK, CAUTION, or EXIT.
Finding the trade is the easy half. The hard half is admitting when it stops working — and doing it before a small loss becomes a big one. Swing Trade Defender watches your open trade bar by bar and does the admitting for you.
Set your direction (long or short) and, if you want, your entry price. It handles the rest — it works on its own, nothing else required.
Why five flags instead of one exit signal?
Every one of these signals fires false alarms by itself — an RSI dip, a single heavy-volume red bar, a wick through the 20 EMA.
Real trade failure rarely announces itself through one signal; it shows up as agreement between independent ones: trend, structure, momentum, participation, and volatility.
So Defender treats them as a vote. One or two flags is a warning to pay attention; three is a failed trade by definition — enough independent evidence that the odds have flipped. The one exception is the ATR trail, which triggers EXIT on its own, because a stop is a stop. The voting logic — not any individual component — is the tool.
The five failure flags — each worth 1 point
Trend break — price closes through the 20-EMA (the trend's home line) the wrong way.
Structure break — price takes out the prior swing low (for a long), the first crack in the pattern.
Momentum rollover — RSI falls back through 50 and keeps dropping.
Distribution — a down bar on 1.5× average volume or more: big sellers showing their hand.
Trail hit — price closes through the ATR trailing stop (a chandelier-style stop that ratchets up behind price, 2.5 × ATR-14 by default; ATR = average bar range).
All five flip automatically for shorts — there a close above the MA, a break of the prior swing high , rising RS I, and heavy buying (accumulation) are the danger signs.
How the status reads
OK — no flags. Let it work.
CAUTION (1–2 flags) — an orange triangle marks the bar. Hover it and a tooltip lists exactly which flags are up.
EXIT — 3 or more flags (you can set the threshold), or any trail hit on its own . A red ✕ marks the bar, with a box listing what failed.
Markers sit above the bar for longs and below it for shorts, so they never crowd the side your risk is on.
The status panel
One table shows the whole picture: status, flag count (x/5), each flag's own line (hold/break), the live ATR trail price, your entry, and open P/L when you've set an entry price.
Alerts
Two built-in alert conditions — "Exit signal" and "Caution" — so TradingView can ping your phone instead of you watching the screen.
Settings — defaults work out of the box
Tuned for swing trades held days to weeks:
Trend MA length (20), swing lookback (8 bars), RSI length (14) and rollover level (50), volume spike multiple (1.5×).
ATR trail — length (14) and multiple (2.5).
Flags needed for EXIT (3 by default, 1–5).
Panel position/size, marker history on/off, optional background shading, dark/light theme, colors.
⚠ Educational risk-management tool. EXIT means the trade has failed by these rules — whether to act is always your decision. It does not place orders, and a flag is not a prediction. Not financial advice. 指标

ICT Entry Model Liquidity Sweep, MSS & FVG [LunqFX]A smart-money entry is never a single signal — it is a sequence. Price runs the stops beyond a swing, structure shifts the other way, and the entry is taken from the imbalance that shift left behind. Most ICT indicators draw one of those pieces and leave you to assemble the rest by hand. This one tracks the whole sequence live and finishes it with an actual trade: entry, stop, target and a quality score that tells you whether the setup was worth taking at all.
❶ THE FOUR STAGES
▸ LIQUIDITY SWEEP — price trades beyond a swing high or low, takes the stops resting there, and closes back inside. The sweep is marked and the level it raided is drawn. This is the manipulation leg, and it is where the stop for the trade will sit.
▸ MSS (MARKET STRUCTURE SHIFT) — after the sweep, price closes through the last short-term swing in the opposite direction. This is the confirmation that the sweep was a reversal and not a continuation. Note that the shift is measured against internal structure, not the major swing: waiting for a major swing to break would put the entry far too late, which is the single most common mistake in automated ICT tools.
▸ FVG ENTRY — the displacement that broke structure leaves a three-candle imbalance. That gap is the entry zone, drawn as a box, because price commonly returns to fill it before continuing.
▸ RISK AND TARGET — the stop goes beyond the sweep extreme, the target is your chosen R multiple. Both are drawn as filled zones running back to the entry, so the whole trade reads as one object instead of a set of loose lines.
❷ SETUP QUALITY 0–100
Not every sequence deserves a trade, and this is where the indicator does something no other entry tool does. Every setup is graded on four measurable properties:
▸ SWEEP DEPTH — how far beyond the level price actually ran, in ATR. A deeper raid means more stops were genuinely taken. ▸ DISPLACEMENT — how decisively the structure was broken, in ATR. A weak break is a weak setup. ▸ FVG SIZE — how large the imbalance is. A bigger gap is a stronger entry. ▸ SPEED — how quickly the shift followed the sweep. A fast reversal is aggressive; a slow one has lost its edge.
The four are blended into a single 0–100 score shown on every entry tag and in the dashboard. Set the minimum quality in the settings and weak sequences simply stop being drawn — you trade the good ones instead of every arrow.
❸ HOW TO TRADE IT
1 — Wait for the SWEEP marker. The dashboard turns amber and reads SWEEP · WAITING MSS. Nothing to do yet: the manipulation has happened but it is not confirmed.
2 — Wait for MSS. When structure shifts, the setup is drawn and the dashboard turns green for a long or red for a short. If structure does not shift within the allowed window, the sweep is discarded and the model resets — no stale signals.
3 — Check the quality score before committing. High scores come from a deep sweep, a decisive break and a clean imbalance. If the number is low, the sequence was technically valid but structurally weak.
4 — Place the trade from the ticket. Entry at the FVG edge, stop beyond the sweep, target at your R multiple. The dashboard shows all three plus the exact risk in price, so the position size follows directly.
5 — Let price come to you. The FVG is a limit entry, not a market entry. If price never returns to the gap, the setup is simply skipped — that is the model working as intended.
❹ HOW IT WORKS
Liquidity swings and internal structure are detected with confirmed pivots, so a level only exists once the bars on both sides of it have closed. A sweep requires a bar to trade beyond the swing and close back inside it, and it is only registered when the shift level is still unbroken — otherwise the sequence could confirm itself on the very next bar. The structure shift requires a close through that internal level within your chosen window. The imbalance is found in the displacement leg using the standard three-candle definition. The stop is the sweep extreme, the target is the entry plus or minus the risk times your R multiple, and setups whose stop would be smaller than a fraction of ATR are rejected as untradeable. The quality score is a weighted blend of the four properties above, each normalised by ATR so the score behaves the same on every symbol and timeframe.
Works on any market and timeframe — forex, gold, indices, crypto and stocks. Intraday charts from 5m to 4h suit the model best, since that is where liquidity raids and structure shifts happen most often.
SETTINGS — liquidity swing length, internal structure length, maximum bars from sweep to shift, R multiple for the target, minimum stop distance, minimum quality, number of setups kept, level extension, FVG and level visibility, candle colouring and dashboard position.
ALERTS — long setup confirmed, short setup confirmed, and any setup confirmed. All fire on closed bars only.
NON-REPAINTING — every stage is validated on bar close and built from confirmed pivots. A setup that has printed never moves, never changes its levels and never disappears.
The four stages are not four indicators bundled together — they are four steps of one entry model, and none of them is tradeable alone. The sweep without the shift is just a wick; the shift without the sweep is just a break; the imbalance without either is just a gap. That is why they belong in a single tool.
This indicator is an educational market-analysis tool, not financial advice. The quality score describes the structure of a setup and does not predict its outcome. Always confirm with your own analysis and manage your risk. 指标

Reversal Trap Probability Bands [BigBeluga]🔵 OVERVIEW
The Reversal Trap Probability Bands is an advanced technical indicator created by BigBeluga to identify and trade fakeout traps around market extremes. Traditional envelope or band indicators often fail because traders blindly enter breakouts that quickly reverse into whipsaw losses. In order to provide a solution to this problem, this indicator combines volatility-based envelope channels with a dynamic probability tracking engine, measuring historical RSI buckets to calculate real-time win probabilities for reversal traps.
The indicator aims to visualize institutional exhaustion and subsequent mean-reversion expansions. The core element of its calculation involves tracking baseline moving averages alongside outer volatility bounds defined as:
upper_band = basis + (multiplier * vola)
lower_band = basis - (multiplier * vola)
where basis is an exponential moving average of length envelope_len , and vola is the ATR volatility measure scaled by multiplier . Higher values of envelope_len and multiplier allow the indicator to filter out routine market noise and isolate major structural exhaustion points.
🔵 FEATURES
The system utilizes a multi-layered matrix structure to provide actionable market intelligence:
1 — Volatility Envelope & Basis Engine
envelope_len = input.int(55, "Envelope Smoothness") : Controls the responsiveness and smoothness of the central baseline.
upper_band & lower_band : Dynamic outer boundaries that shade gradient fills to visualize upper and lower market extremes.
2 — Reversal Trap Detection & RSI Probability Tracking
trap_window = input.int(10, "Trap Window (Candles)") : Defines the maximum candle count allowed outside the bands before invalidating a fakeout setup.
rsi_bucket = math.max(0, math.min(10, math.round(rsi / 10))) : Automatically categorizes momentum into distinct RSI tiers to calculate real-time win probability rates.
3 — Dynamic Target, Stop, & Signal Management
Bull_Stop = ta.lowest(low, 2) - atr & Bear_Stop = ta.highest(high, 2) + atr : Calculates volatility-adjusted safety padding for active trade management.
Signal Labels & Targets: Plots clear entry notifications displaying win probability percentages, along with dashed target and stop lines.
🔵 HOW TO USE
Apart from the basic visualization of volatility extremes, this tool can also act in alternative ways to support decision-making:
Identify Reversal Traps: Wait for price to break outside the upper or lower envelope boundaries and subsequently close back inside within the defined trap_window .
Evaluate Win Probability: Check the probability percentage displayed on the trap signal label (backed by historical RSI bucket tracking) before entering a trade.
Manage Risk with Stops and Targets: Use the projected dashed target lines (anchored to the basis line) and ATR-padded stop lines to execute and protect positions.
🔵 NOTES
Why this implementation is unique:
It moves beyond static band indicators by integrating a self-learning historical database that calculates live win probabilities based on momentum buckets.
The automated target and stop-loss line projection engine provides clear visual roadmaps for every triggered setup.
The script is fully optimized for Pine Script version 6, utilizing high-performance array tracking (`var int bull_total = array.new_int(11, 0)`) for smooth execution.
Note: Because the win probability engine evaluates historical trade performance dynamically in real time, initial signals on a freshly loaded chart may display "Tracking..." until sufficient sample data is recorded.
指标

CVD Bollinger BandsCVD SMA Bollinger Bands (Local Reset)
This indicator applies Bollinger Bands directly to the Cumulative Volume Delta (CVD) of each individual bar, providing a statistical framework to detect extreme order‑flow imbalances.
How it works
CVD Calculation
Uses TradingView's built-in ta.requestVolumeDelta(lowerTimeframe, anchorInput) function. It computes the Volume Delta (buy volume minus sell volume) on a user-defined lower timeframe (e.g., 1‑minute) and accumulates the delta within each anchor period (default: 1 day). At the start of each new anchor period, the accumulation resets to zero. This means the CVD values are not globally cumulative—they reflect net buying/selling pressure only within the current anchor period.
SMA and Bollinger Bands
A simple moving average (SMA) of the CVD is calculated over a user‑defined lookback period (default 20 bars). The sample standard deviation is derived from the squared differences. Two bands are plotted at ±bbWeight standard deviations around the SMA.
Important Notes
Stationarity Assumption – The local‑reset CVD sequence is approximately stationary (if the per‑bar volume‑delta distribution is stable). This satisfies the key assumption behind Bollinger Bands – that the mean and variance are locally constant. In trending markets, the mean may shift slightly, but the rolling window automatically adjusts the center line and bandwidth.
No Accumulation Drift – Unlike global cumulative CVD (e.g., OBV), local reset CVD does not suffer from random‑walk drift. Its mean and variance remain bounded, making Bollinger Bands statistically meaningful even over long periods.
Scale Sensitivity – CVD values depend on the instrument’s volume and bar duration. A Bollinger weight of 2.0 may need adjustment for different symbols or timeframes. Consider scaling by dividing CVD by a moving average of volume if cross‑instrument consistency is required.
False Signals from Volume Spikes – A single bar with abnormally high volume (e.g., news event) can cause a temporary CVD spike, triggering a band touch that may not persist. To reduce noise, combine with volume confirmation or require multiple consecutive touches. 指标

Bias Matrix Pro X WTK# Bias Matrix Pro X — Cinematic Multi-Timeframe Market Bias Engine
## Overview
**Bias Matrix Pro X** is an advanced multi-timeframe market-bias indicator designed to transform complex trend, momentum, volatility, and timeframe-alignment data into one structured and visually intuitive market overview.
Instead of relying on a single moving average, oscillator, or trend signal, the indicator evaluates several independent technical components on up to six customizable timeframes. Each timeframe receives its own directional score, confidence reading, trend-quality assessment, and alignment status.
These individual results are then combined into a weighted aggregate bias ranging from **−100 to +100**.
The goal is not to predict every market movement or generate automatic entries. The indicator is designed to answer a more important contextual question:
**Is the broader market environment currently bullish, bearish, strongly expanding, or balanced?**
Bias Matrix Pro X can be used as a directional filter for discretionary trading systems, price-action setups, liquidity concepts, breakout strategies, pullback entries, trend-following systems, and multi-timeframe analysis.
---
## Core Concept
Every selected timeframe is analyzed through a combination of:
* Fast and slow EMA structure
* Price location relative to the fast EMA
* Fast EMA slope
* RSI regime
* MACD histogram direction
* Supertrend direction
* ADX-based trend-quality adjustment
* Full component-alignment bonus
Each component produces one of three states:
* **+1:** Bullish
* **0:** Neutral
* **−1:** Bearish
The component states are multiplied by their individual importance weights and combined into a raw directional score.
The score is then adjusted by ADX to account for trend quality.
A directional signal occurring in a strong, established market receives more credibility than the same signal occurring in weak or directionless conditions.
The final score is limited to a range between:
* **+100:** Maximum bullish pressure
* **0:** Balanced or conflicting conditions
* **−100:** Maximum bearish pressure
---
# The Bias Engine
## 1. EMA Structure
The indicator compares the fast EMA with the slow EMA.
Default values:
* Fast EMA: 21
* Slow EMA: 55
Interpretation:
* Fast EMA above slow EMA: bullish
* Fast EMA below slow EMA: bearish
* Equal values: neutral
This component represents the underlying trend structure of the selected timeframe.
Its default weight is **25**, making it the most influential individual component in the engine.
---
## 2. Price Location
The current closing price is compared with the fast EMA.
Interpretation:
* Price above the fast EMA: bullish
* Price below the fast EMA: bearish
* Price equal to the fast EMA: neutral
This determines whether price is currently trading on the supportive or opposing side of the local trend average.
Its default weight is **10**.
Price location reacts faster than the EMA structure and can therefore identify short-term pullbacks or early shifts before the slower trend structure changes.
---
## 3. EMA Slope
The indicator measures the difference between the current fast EMA and its value several bars earlier.
Default slope lookback:
* 2 timeframe bars
Unlike a basic rising-or-falling calculation, the slope component uses an ATR-based neutral zone.
A tiny EMA movement is not automatically classified as a meaningful trend.
The default neutral band is:
* 0.04 × ATR
Interpretation:
* EMA rise greater than the neutral band: bullish
* EMA decline greater than the neutral band: bearish
* Movement inside the neutral band: neutral
This reduces unnecessary signal changes during flat or low-volatility conditions.
Its default weight is **15**.
---
## 4. RSI Regime
RSI is used as a directional regime filter rather than as a traditional overbought or oversold signal.
Default settings:
* RSI length: 14
* Bullish threshold: 55
* Bearish threshold: 45
Interpretation:
* RSI above 55: bullish momentum regime
* RSI below 45: bearish momentum regime
* RSI between 45 and 55: neutral momentum regime
The neutral zone helps prevent the indicator from treating every move above or below RSI 50 as a meaningful directional confirmation.
Its default weight is **10**.
---
## 5. MACD Momentum
The MACD histogram is used to measure directional momentum.
Default settings:
* Fast length: 12
* Slow length: 26
* Signal length: 9
Interpretation:
* MACD histogram above zero: bullish
* MACD histogram below zero: bearish
* MACD histogram equal to zero: neutral
This component helps identify whether momentum supports or opposes the broader EMA structure.
Its default weight is **15**.
---
## 6. Supertrend Direction
Supertrend provides an additional volatility-adjusted directional reading.
Default settings:
* ATR length: 10
* Factor: 2.5
Interpretation:
* Bullish Supertrend direction: bullish
* Bearish Supertrend direction: bearish
Its default weight is **15**.
The Supertrend component can help distinguish trending conditions from ordinary price fluctuations around the moving averages.
---
## 7. Full Alignment Bonus
A bonus is added when the following components all point in the same non-neutral direction:
* EMA structure
* Price location
* EMA slope
* MACD momentum
* Supertrend direction
When all five agree, the engine adds an additional directional score.
Default alignment bonus:
* 10 points
This allows fully synchronized conditions to receive a stronger score than markets where only some components agree.
RSI is still included in the main score, but it is not required for the full-alignment bonus.
---
## 8. ADX Quality Adjustment
ADX does not determine bullish or bearish direction.
Instead, it adjusts the strength of the combined directional score.
Default ADX reference:
* 25
The indicator applies an internal multiplier ranging approximately from:
* 0.65 during weak conditions
* Up to 1.10 during stronger conditions
This means:
* Weak trend conditions reduce the final score.
* Strong trend conditions preserve or slightly enhance it.
* Directional signals in low-quality conditions are treated more cautiously.
The final score is capped between −100 and +100.
---
# Multi-Timeframe Weighting
Bias Matrix Pro X supports up to six customizable timeframes.
Default configuration:
* 5-minute: weight 1.0
* 15-minute: weight 1.5
* 1-hour: weight 2.0
* 4-hour: weight 2.5
* Daily: weight 3.0
* Weekly: weight 3.5
Higher timeframes receive more influence by default because they generally represent broader and more persistent market structure.
The aggregate score is calculated as a weighted average:
**Aggregate Score = Sum of timeframe score × timeframe weight ÷ total valid weight**
This prevents a short-term timeframe from automatically carrying the same influence as a daily or weekly timeframe.
All timeframe values and weights can be customized.
A weight of zero effectively removes that timeframe from the aggregate score.
Duplicate timeframes are ignored to prevent accidental double-counting.
---
# Market Regimes
The aggregate score is converted into five possible market regimes.
With the default thresholds:
## Expansion Bull
Displayed when:
**Aggregate score ≥ +55**
This represents strong bullish multi-timeframe alignment.
Typical characteristics may include:
* Bullish EMA structure
* Positive momentum
* Rising EMA slope
* Supportive Supertrend direction
* Stronger ADX conditions
* Agreement across several weighted timeframes
This does not mean price must move upward immediately. It means the broader technical environment strongly favors bullish continuation compared with bearish continuation.
---
## Bullish
Displayed when:
**Aggregate score is between +18 and +54.9**
The market has a bullish directional advantage, but the alignment is less powerful than an Expansion Bull regime.
This condition may appear during:
* Developing bullish trends
* Pullbacks inside larger bullish structures
* Mixed lower-timeframe momentum
* Bullish higher timeframes with temporary short-term weakness
---
## Balanced
Displayed when:
**Aggregate score is between −18 and +18**
Balanced does not necessarily mean that the market is inactive.
It means that the selected timeframes and technical components do not provide a sufficiently strong directional advantage.
Balanced conditions can occur during:
* Consolidation
* Range-bound price action
* Trend transitions
* Conflicting timeframes
* Low-momentum environments
* Pullbacks against a larger trend
Balanced conditions are often where directional systems may experience lower-quality signals.
---
## Bearish
Displayed when:
**Aggregate score is between −18 and −54.9**
The market has a bearish directional advantage, but full bearish expansion is not yet present.
---
## Expansion Bear
Displayed when:
**Aggregate score ≤ −55**
This represents strong bearish multi-timeframe alignment and directional pressure.
---
# How to Read the Dashboard
The dashboard provides one row for every valid selected timeframe.
## TF
Displays the analyzed timeframe.
Examples:
* 5
* 15
* 60
* 240
* D
* W
TradingView timeframe notation is used.
---
## Weight
Shows how much influence the timeframe has on the aggregate score.
A timeframe with a weight of 3.0 contributes three times as much as a timeframe with a weight of 1.0.
The weight affects the final multi-timeframe result, but it does not change the timeframe’s individual score.
---
## Bias
Displays the directional classification of the timeframe.
* **▲ BULLISH:** Score is above the positive bias threshold
* **▼ BEARISH:** Score is below the negative bias threshold
* **◆ NEUTRAL:** Score remains between the two thresholds
The background color provides immediate visual identification:
* Green: bullish
* Red: bearish
* Amber: neutral
---
## Score
Displays the calculated score for that individual timeframe.
The approximate interpretation is:
* +80 to +100: exceptionally strong bullish alignment
* +55 to +79: strong bullish expansion
* +18 to +54: bullish advantage
* −17 to +17: neutral or conflicting
* −18 to −54: bearish advantage
* −55 to −79: strong bearish expansion
* −80 to −100: exceptionally strong bearish alignment
The score should be interpreted as a directional alignment measurement, not as a probability of a winning trade.
For example, a score of +70 does not mean there is a 70% probability that price will rise.
---
## Power
The Power meter visualizes the absolute size of the timeframe score.
Example:
**████████░░**
A fuller meter means the timeframe has a stronger directional score.
The meter measures strength, while its color shows direction:
* Green meter: bullish power
* Red meter: bearish power
* Amber meter: neutral or balanced condition
A score of +70 and a score of −70 display similar meter lengths, but with different directional colors.
---
## RSI
Displays the current RSI value calculated on that timeframe.
This allows the user to see whether the RSI component is:
* Above the bullish threshold
* Below the bearish threshold
* Inside the neutral zone
---
## ADX
Displays the ADX value and a simplified trend-quality classification.
Possible classifications:
* Low
* Medium
* Good
* High
These labels are calculated relative to the selected ADX reference value.
With the default reference of 25:
* Values well below 25 indicate weaker trend quality.
* Values around 25 indicate established directional conditions.
* Values above the reference indicate stronger trend quality.
ADX measures trend strength, not direction.
A high ADX can occur in both bullish and bearish markets.
---
## Alignment
The Alignment column compares several internal directional components.
### Full
Displayed when the following components all agree in the same non-neutral direction:
* EMA structure
* Price location
* EMA slope
* MACD histogram
* Supertrend
Full alignment represents the highest level of internal directional synchronization.
### Partial
Displayed when EMA structure and price location agree, but the remaining components are not fully synchronized.
### Mixed
Displayed when the internal components conflict.
A bullish timeframe with Mixed alignment may still have a positive score, but the move has less internal agreement than a Full bullish timeframe.
---
# Dashboard Summary
The Summary row combines all valid weighted timeframes.
It displays:
* Number of valid timeframes
* Aggregate bullish, bearish, or neutral state
* Aggregate score
* Aggregate Power meter
* Total bullish timeframe weight
* Total bearish timeframe weight
* Total neutral timeframe weight
The Bull W, Bear W, and Neutral W values represent the sum of timeframe weights classified in each category.
Example:
* Bull W: 7.5
* Bear W: 2.0
* Neutral W: 1.0
This provides more context than a simple count because higher-weight timeframes have greater importance.
---
# Dominance
The live regime label displays a Dominance percentage.
Dominance measures the percentage of total valid timeframe weight belonging to the largest bias group:
* Bullish
* Bearish
* Neutral
Example:
If bullish timeframes represent 70% of the total valid weight, Dominance will display approximately 70%.
Dominance is not the same as the aggregate score.
The aggregate score measures the average directional intensity of all timeframes.
Dominance measures how concentrated the timeframe classifications are in one category.
A market can therefore have:
* High bullish dominance but only a moderate bullish score
* Lower dominance but a strong score from a few heavily weighted timeframes
* High neutral dominance during consolidation
---
# Local Market Reading
The Engine section also displays the current chart timeframe separately.
It includes:
* Local bias
* Local score
* Local RSI
* Local ADX
* Local ADX-quality classification
This makes it possible to compare the current execution timeframe with the broader multi-timeframe environment.
Example:
* Aggregate regime: Expansion Bull
* Local timeframe: Neutral
This may indicate that the broader market remains bullish while the execution timeframe is currently consolidating or pulling back.
Another example:
* Aggregate regime: Bearish
* Local timeframe: Bullish
This may represent a short-term countertrend rally against a broader bearish environment.
---
# Chart Visuals
## Trend Ribbon
The chart displays the fast and slow EMAs from the current chart timeframe.
The area between them is filled to create a visual trend ribbon.
The ribbon color is based on the aggregate multi-timeframe regime:
* Green: bullish aggregate environment
* Red: bearish aggregate environment
* Amber: balanced environment
Important distinction:
The EMA values come from the current chart timeframe, while their color reflects the combined multi-timeframe result.
---
## Supertrend Aura
The current chart timeframe’s Supertrend line is displayed as a softer secondary trend layer.
Its color also follows the aggregate market regime.
This creates a visual connection between local price structure and the broader multi-timeframe bias.
---
## Chart Glow
When enabled, the chart background receives a subtle regime color:
* Green glow: bullish
* Red glow: bearish
* Amber glow: balanced
The glow is deliberately transparent so it can provide directional context without hiding price action.
---
## Candle Tint
When enabled, candle colors are tinted according to the aggregate regime.
The tint intensity is influenced by the local timeframe’s score strength.
This creates a combined visual effect:
* Direction comes from the aggregate multi-timeframe bias.
* Tint intensity is influenced by local confidence.
---
## Bias Shift Markers
The indicator marks changes in the aggregate bias classification.
### BIAS+
Appears when the aggregate state changes into bullish territory.
### BIAS−
Appears when the aggregate state changes into bearish territory.
### Neutral Marker
A small amber marker appears when the aggregate state returns to neutral.
These markers identify regime transitions. They are not intended to be used as standalone entry signals.
A bias shift can occur after part of a market move has already developed because the engine requires sufficient technical confirmation.
---
## Live Regime Label
The label near the most recent candle displays:
* Indicator name
* Current market regime
* Aggregate score
* Dominance percentage
This provides a compact real-time overview without requiring the user to inspect the full dashboard.
---
# Dark Mode and Light Mode
Bias Matrix Pro X includes two complete dashboard themes.
## Dark Mode
Designed for dark TradingView charts.
It uses:
* Deep navy backgrounds
* High-contrast text
* Gold title elements
* Soft green, red, amber, and blue status panels
## Light Mode
Designed for white or light TradingView layouts.
It uses:
* Light neutral backgrounds
* Dark readable text
* Softer transparent status colors
* Reduced visual harshness
The selected theme affects the dashboard and live regime label.
Users can also customize:
* Dashboard position
* Dashboard text size
* Dashboard visibility
* Chart glow
* Candle tint
* Trend ribbon
* Live regime label
---
# Confirmed Higher-Timeframe Mode
The setting **Use confirmed higher-TF values only** is enabled by default.
When enabled, higher-timeframe readings use the most recently completed candle from each requested higher timeframe.
This provides stable historical and real-time higher-timeframe values.
Example:
On a 5-minute chart, the 4-hour row will use the last fully completed 4-hour candle rather than the currently developing 4-hour candle.
Advantages:
* More stable multi-timeframe readings
* Reduced higher-timeframe repainting
* More reliable historical comparison
* Better suitability for rule-based filters
Trade-off:
* The higher-timeframe reading updates only after the higher-timeframe candle closes.
* It is intentionally one completed higher-timeframe candle behind the live developing candle.
The current chart timeframe still uses the active chart data and can change until the current chart candle closes.
---
## Unconfirmed Higher-Timeframe Mode
When confirmed higher-timeframe values are disabled, the indicator uses the currently developing higher-timeframe candle.
Advantages:
* Faster response to developing market changes
* Earlier recognition of possible regime shifts
Trade-offs:
* Higher-timeframe values can change before the candle closes.
* Historical readings after a chart reload may differ from what was visible during the live candle.
* Signals are less stable and should be treated as provisional.
For systematic or confirmation-based use, confirmed higher-timeframe mode is generally the more conservative setting.
---
# Lower-Timeframe Protection
The indicator intentionally blocks requested timeframes that are lower than the current chart timeframe.
Example:
* Current chart: 15 minutes
* Requested timeframe: 5 minutes
The 5-minute row will display:
**LTF blocked**
This is intentional.
A simple higher-timeframe request method does not provide a complete and reliable lower-timeframe evaluation when used from a larger chart timeframe.
To analyze the default 5-minute timeframe, the chart should therefore be set to 5 minutes or lower.
Recommended rule:
**Use a chart timeframe that is equal to or lower than the smallest selected dashboard timeframe.**
---
# Suggested Usage
Bias Matrix Pro X is designed primarily as a context and filtering tool.
## Trend-Following Example
A trader may choose to:
* Look for long setups only during Bullish or Expansion Bull regimes.
* Look for short setups only during Bearish or Expansion Bear regimes.
* Reduce activity during Balanced conditions.
* Require the execution timeframe to move back into alignment with the aggregate bias before entering.
---
## Pullback Example
Possible bullish sequence:
1. Aggregate regime is Bullish or Expansion Bull.
2. Higher timeframes remain bullish.
3. Local timeframe becomes Neutral or temporarily Bearish during a pullback.
4. Local momentum begins turning bullish again.
5. The trader applies a separate entry model.
The indicator does not identify the exact pullback entry. It provides the directional environment in which the trader can evaluate the setup.
---
## Breakout Example
Before taking a bullish breakout, a trader may check whether:
* Aggregate score is positive
* Dominance favors bullish timeframes
* Higher-weight timeframes are bullish
* ADX quality is Good or High
* Alignment is Full or Partial
* The local timeframe is not strongly opposing the breakout
---
## Countertrend Warning
If a trader identifies a long setup while the indicator displays:
* Expansion Bear
* Strong negative aggregate score
* High bearish dominance
* Bearish higher-timeframe alignment
The setup is occurring against the broader technical environment.
This does not automatically make the trade invalid, but it identifies the trade as countertrend and potentially higher risk.
---
# Recommended Starting Configuration
For intraday trading, the default configuration provides a broad hierarchy:
* 5-minute: execution context
* 15-minute: short-term structure
* 1-hour: intraday directional structure
* 4-hour: higher-timeframe trend
* Daily: major market regime
* Weekly: long-term context
Users should adjust the selected timeframes and weights to match their trading horizon.
### Scalping Example
* 1-minute chart
* 3-minute
* 5-minute
* 15-minute
* 30-minute
* 1-hour
* 4-hour
Higher weights can be assigned to the 15-minute, 1-hour, and 4-hour timeframes.
### Swing-Trading Example
* 1-hour or 4-hour chart
* 4-hour
* Daily
* Weekly
* Monthly
Lower requested timeframes should not be used below the active chart timeframe.
---
# Important Settings
## Bias Threshold
Controls how much positive or negative score is required before a timeframe is classified as directional.
Default:
* 18
Higher values:
* Produce fewer bullish and bearish classifications
* Increase the neutral range
* Require stronger alignment
Lower values:
* React faster
* Produce more directional classifications
* May create more frequent regime changes
---
## Strong Bias Threshold
Defines when Bullish or Bearish becomes an Expansion regime.
Default:
* 55
This setting affects the regime name and visual classification.
It does not change the basic bullish or bearish threshold.
---
## Component Weights
Every technical component can be weighted independently.
Increasing a component’s weight gives it more influence over each timeframe score.
Examples:
* Increasing EMA Structure favors slower trend confirmation.
* Increasing Price vs Fast EMA makes the system more reactive to local price changes.
* Increasing EMA Slope gives more importance to trend acceleration.
* Increasing RSI emphasizes momentum regime.
* Increasing MACD emphasizes momentum direction.
* Increasing Supertrend emphasizes volatility-adjusted trend direction.
* Increasing Full Alignment Bonus rewards synchronized conditions more strongly.
Weights should be modified carefully.
Extreme weighting can cause one component to dominate the engine and reduce the value of combining several independent measurements.
---
## Timeframe Weights
Timeframe weights determine influence over the final aggregate score.
They do not affect the internal score of the individual timeframe.
A higher weight means the timeframe has greater influence over:
* Aggregate score
* Aggregate bias
* Bullish, bearish, and neutral weight totals
* Dominance
---
# Practical Interpretation Guidelines
## Strongest Bullish Environment
Look for a combination such as:
* Expansion Bull regime
* Positive score above +55
* High bullish dominance
* Higher-weight timeframes bullish
* Good or High ADX quality
* Full alignment on several timeframes
* Local timeframe turning bullish after a pullback
---
## Strongest Bearish Environment
Look for:
* Expansion Bear regime
* Score below −55
* High bearish dominance
* Higher-weight timeframes bearish
* Good or High ADX quality
* Full bearish alignment
* Local timeframe turning bearish after a corrective rally
---
## Caution Environment
Exercise caution when:
* Aggregate regime is Balanced
* Dominance is low
* Higher and lower timeframes conflict
* Most rows display Mixed alignment
* ADX quality is Low
* The aggregate bias changes frequently
* The selected chart timeframe is too high for the configured lower timeframes
---
# Important Limitations
Bias Matrix Pro X is a technical analysis tool, not a complete trading system.
It does not include:
* Automatic entries
* Stop-loss placement
* Take-profit placement
* Position sizing
* Risk management
* Fundamental analysis
* News-event filtering
* Liquidity analysis
* Market-session filtering
* Volume-profile analysis
* Guaranteed non-lagging signals
The indicator combines several lagging and reactive technical measurements.
Because the engine requires confirmation, regime changes may occur after a market move has already started.
Strong bullish conditions can appear close to a temporary top.
Strong bearish conditions can appear close to a temporary bottom.
A high score describes technical alignment, not guaranteed future direction.
The indicator should therefore be combined with:
* A defined entry model
* Clear invalidation logic
* Position sizing
* Maximum-risk rules
* Session awareness
* Economic-news awareness
* Independent testing
---
# Repainting and Real-Time Behavior
With confirmed higher-timeframe mode enabled:
* Completed higher-timeframe readings remain stable.
* Historical higher-timeframe values are based on completed candles.
* The current chart timeframe continues to update while its active candle is open.
* A local score or aggregate score may still change before the current chart candle closes.
With confirmed higher-timeframe mode disabled:
* Developing higher-timeframe values can change during the active higher-timeframe candle.
* Bias states and chart visuals may update before candle confirmation.
* Historical behavior after reloading the chart may differ from what was observed intrabar.
Users who require stable confirmation should evaluate signals after the chart candle closes and keep confirmed higher-timeframe mode enabled.
---
# Final Notes
Bias Matrix Pro X was created to provide a structured visual answer to three questions:
1. **What is the directional condition of each important timeframe?**
2. **How strong and internally aligned is that condition?**
3. **What is the combined weighted market regime?**
The indicator is intentionally information-rich, but the main reading remains simple:
* Green favors bullish conditions.
* Red favors bearish conditions.
* Amber represents balance or conflict.
* Higher absolute scores represent stronger directional alignment.
* Higher dominance represents broader agreement between the selected timeframes.
* Full alignment represents stronger internal synchronization.
* ADX indicates the quality of the directional environment.
Use the indicator as a market-context framework, not as a standalone promise of future performance.
---
## Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Past performance and historical technical alignment do not guarantee future results.
Trading involves substantial risk, including the possible loss of capital. Every user is responsible for conducting independent research, testing the indicator on the relevant market and timeframe, and applying appropriate risk management.
指标

MA Retest StrategyMA Retest Strategy
Overview
MA Retest Strategy is a trend-following system built around a simple but powerful idea: price rarely moves in a straight line — it pulls back to test a moving average before continuing in the direction of the trend. Instead of just plotting two moving averages and leaving you to guess, this indicator turns that pullback-and-continuation behavior into a complete, rule-based trade framework: it detects the retest, marks the exact entry, calculates a volatility-aware stop-loss and take-profit, tracks the outcome of every signal, and even scans four other symbols of your choice for the same setup in real time.
The trend direction is defined by two Exponential Moving Averages (EMA) — a fast one (default length 50) and a slow one (default length 200). Their relationship (fast above slow = uptrend, fast below slow = downtrend) is combined with a retest of the fast EMA: price must pierce through the fast EMA against the trend and then close back on the trend side. That close is the signal.
Trading Logic
Long entry conditions:
1. The fast EMA is above the slow EMA (uptrend).
2. Within the last few bars, price has pierced below the fast EMA (a genuine pullback, not just noise).
3. The current candle closes back above the fast EMA, confirming the retest is over and the trend is resuming.
When all three conditions align, the indicator plots a BUY label, and immediately draws four price levels: Entry, Stop-Loss, Take-Profit, and Breakeven, each as a line with a live price tag on the right edge for easy order placement.
Short entry conditions are the mirror image: fast EMA below slow EMA, a pierce above the fast EMA, and a close back below it.
If price is currently trading between the two moving averages (neither clearly above nor below), no new signal is evaluated — this "no man's land" filter avoids chasing signals in a choppy, undecided market.
Once a setup is triggered, it stays open (as a pending order, then as an active trade once price reaches the entry) until it's resolved by hitting the stop, hitting the target, timing out, or being invalidated by an opposite signal — only one setup per direction is ever open at a time, and an opposite signal automatically cancels whatever is currently active.
Risk Management
The stop-loss is never left to guesswork. You can choose between three calculation methods:
• Swing (High/Low): stop placed at the nearest swing low/high within a lookback window.
• ATR: stop placed at a multiple of the Average True Range from the entry price — automatically adapts to the current volatility of the instrument.
• Percent of Price: a fixed percentage distance from the entry price.
Regardless of the method chosen, a hard risk ceiling (expressed as % of price) prevents the stop from ever being placed unreasonably far away — for example because of a single abnormal wick or a bad tick in the data feed. Swing mode additionally has its own volatility-aware clamp (a maximum deviation expressed in ATR multiples), since raw swing highs/lows are the most exposed to being skewed by one outlier candle.
The take-profit is calculated as a multiple of the initial risk (an "R-multiple"), and a separate breakeven marker line shows where price would need to reach for you to consider moving your stop to entry — because in a mean-reversion-to-trend system like this, once price reaches roughly 1R in your favor, the probability of it snapping back toward the moving average (rather than continuing cleanly to the full target) increases, so protecting the trade at breakeven is a sound practice.
Dual Dashboard System
Statistics Panel — tracks every signal the indicator has generated on the current chart and breaks the results down into Take-Profit, Stop-Loss, and Breakeven outcomes (a stop hit after price already touched the breakeven level is counted separately from a "clean" stop-loss, since in practice you'd have moved your stop by then). You can filter the statistics to the full history, the last N days, or from a fixed date — ideal for quickly gauging how well the current settings are performing on a specific symbol before you commit to trading it.
Symbol Scanner — lets you monitor up to five other symbols for the exact same setup, in real time, without leaving your current chart. For each symbol it shows whether a signal is currently pending or already active, in which direction, and its entry/stop/target levels. Note: the scanner applies the same strategy settings (moving average lengths, stop method, R-multiple, etc.) that are set for the main chart — it is not independently configurable per symbol.
How to Use
1. Open the symbol and timeframe you're interested in, and check the Statistics panel — a strong win rate and consistent R:R suggest the market is currently trending cleanly enough for mean-reversion entries to work.
2. If the recent win rate is high, the market is respecting the moving average structure and the setup is worth trading. If it's dropping, the market may be entering consolidation — better to wait for a cleaner trend to re-establish.
3. Use the plotted Entry/Stop/Take-Profit/Breakeven lines and their price tags to place your actual order.
4. Once price reaches the breakeven marker, consider moving your live stop-loss to entry — this is a discretionary decision the indicator flags for you but does not automate.
5. Use the Symbol Scanner to keep an eye on other assets in your watchlist without switching charts constantly.
Settings Reference
General
• Source — the price series used to calculate both moving averages (default: Close).
Moving Average
• MA fast — length of the fast EMA (default 50).
• MA fast line width — plot thickness of the fast EMA.
• MA slow — length of the slow EMA (default 200).
• MA slow line width — plot thickness of the slow EMA.
• Bull color / Bear color — color of each MA line and of the shaded fill between them (tinted according to current trend direction).
Strategy
• MA Pierce Check Window (bars) — how many recent bars are checked to confirm price genuinely pierced the fast EMA before the retest close (default 3).
• Swing Point Lookback (bars) — lookback window used to find the nearest swing high/low for Swing-mode stops, and also used as part of the warm-up gate before the indicator starts evaluating signals (default 10).
• Take Profit, R (risk multiple) — target distance expressed as a multiple of the initial risk (default 3 = 3R).
• Max Bars in Open Setup (timeout) — if a signal doesn't resolve (neither stop nor target hit) within this many bars, it's force-closed and logged separately as a timeout rather than left open indefinitely (default 300).
• Stop Loss Calculation Method — choose between Swing (High/Low), ATR, or Percent of Price.
• ATR Length — averaging period for the ATR calculation (default 14).
• ATR Multiplier for Stop — multiplier applied to ATR when the Stop mode is set to ATR (default 1.5).
• Stop, % of Entry Price — fixed stop distance used only when the Stop mode is set to Percent of Price (default 1%).
• Max Allowed Risk, % of Price — hard ceiling on stop distance, applied regardless of the selected mode, to protect against abnormal candles or bad data ticks (default 5%).
• Also Cap Swing Stop by ATR (recommended) — an additional, volatility-adaptive safety clamp that applies only in Swing mode, tighter and more responsive than the flat percentage cap.
• Max Swing Stop Deviation, x ATR — multiplier for the clamp above (default 3).
• Move to Breakeven, R (risk multiple) — the R-distance at which the breakeven marker line is drawn (default 1 = 1R).
Visualization
• Show BUY/SELL Labels — toggle the signal labels on the chart.
• Show SL/TP/BE Price Tags on Lines — toggle the live price tags at the right edge of each level line.
• Fill Risk/Reward Zones — toggle the shaded risk/reward boxes.
• BUY Label Color / SELL Label Color — colors of the signal labels.
• Entry Line Color / Stop Loss Line Color / Take Profit Line Color / Breakeven Line Color — colors of the four level lines.
• Reward Zone Color / Risk Zone Color — colors of the shaded zones.
• Entry/SL/TP Line Width — thickness of the level lines.
Statistics
• Show Statistics Panel — toggle the on-chart stats table.
• Panel Position — corner of the chart where the table is drawn.
• Text Size — table font size.
• Statistics Period — All History, Last N Days, or From Fixed Date.
• N Days Back — used when Statistics Period is set to "Last N Days".
• Start Date — used when Statistics Period is set to "From Fixed Date".
Symbol Scanner
• Show Scanner for Other Symbols — toggle the scanner table.
• Symbol 1–5 — the five symbols to monitor.
• Scanner Timeframe — timeframe used for the scan; leave blank to match the current chart's timeframe.
• Scanner Panel Position — corner of the chart where the scanner table is drawn.
• Scanner Panel Text Size — scanner table font size.
Alerts
The indicator includes two ready-to-use alert conditions — Buy signal and Sell signal — that fire once per bar close and include the entry price, stop-loss, take-profit, and their distance in ticks directly in the alert message, so you can act on them without needing to open the chart.
Disclaimer
This indicator is a tool to assist with technical analysis and trade planning — it does not constitute financial advice, and past signal performance shown in the Statistics panel is not a guarantee of future results. Always combine it with your own risk management and market context.
Обзор
MA Retest Strategy — это трендовая система, построенная вокруг простой, но рабочей идеи: цена редко движется по прямой — она откатывается к скользящей средней для ретеста, прежде чем продолжить движение по тренду. Вместо того чтобы просто отрисовать две скользящие средние и оставить трейдера гадать, этот индикатор превращает такое поведение "откат-продолжение" в полноценную систему с чёткими правилами: он находит ретест, отмечает точный вход, рассчитывает стоп-лосс и тейк-профит с учётом волатильности, отслеживает исход каждого сигнала и даже сканирует ещё четыре выбранных вами актива на предмет такой же ситуации в реальном времени.
Направление тренда определяется двумя экспоненциальными скользящими средними (EMA) — быстрой (по умолчанию период 50) и медленной (по умолчанию период 200). Их взаимное расположение (быстрая выше медленной — восходящий тренд, быстрая ниже — нисходящий) сочетается с ретестом быстрой EMA: цена должна проколоть быструю EMA против тренда, а затем закрыться обратно на стороне тренда. Это закрытие и есть сигнал.
Логика торговли
Условия входа в лонг:
1. Быстрая EMA выше медленной EMA (восходящий тренд).
2. За последние несколько баров цена проколола быструю EMA вниз (настоящий откат, а не рыночный шум).
3. Текущая свеча закрывается обратно выше быстрой EMA, подтверждая, что ретест завершён и тренд возобновляется.
Когда все три условия совпадают, индикатор рисует ярлык BUY и сразу же размечает четыре ценовых уровня: вход, стоп-лосс, тейк-профит и безубыток — каждый в виде линии с "живым" ценником у правого края для удобной постановки ордера.
Условия входа в шорт зеркальны: быстрая EMA ниже медленной, прокол быстрой EMA вверх, и закрытие обратно ниже неё.
Если цена в данный момент находится между двумя скользящими средними (не выше и не ниже отчётливо), новый сигнал не рассматривается — этот фильтр "нейтральной зоны" не даёт индикатору гнаться за сигналами на "рваном", неопределившемся рынке.
После срабатывания сетап остаётся открытым (сначала как отложенный ордер, затем как активная сделка после достижения цены входа), пока не будет закрыт по стопу, по тейку, по тайм-ауту или отменён встречным сигналом — в каждый момент времени открыт только один сетап на направление, и встречный сигнал автоматически отменяет текущий активный.
Управление риском
Стоп-лосс никогда не рассчитывается "на глаз". Доступны три метода расчёта:
• Свинг (high/low): стоп ставится на ближайший минимум/максимум в пределах окна поиска.
• ATR: стоп ставится на расстоянии, кратном среднему истинному диапазону (ATR) от цены входа — автоматически подстраивается под текущую волатильность инструмента.
• Процент от цены: фиксированное процентное расстояние от цены входа.
Независимо от выбранного метода, жёсткий лимит риска (в % от цены) не позволяет стопу оказаться неоправданно далеко — например, из-за одиночного аномального фитиля или сбойного тика в данных биржи. У режима "Свинг" есть дополнительный, чувствительный к волатильности предохранитель (максимальное отклонение в множителях ATR), поскольку "сырые" свинг-хаи/лоу сильнее всего подвержены искажению одной нетипичной свечой.
Тейк-профит рассчитывается как кратное исходному риску значение ("R-множитель"), а отдельная линия безубытка показывает, на каком уровне цены имеет смысл задуматься о переводе стопа в точку входа — потому что в системе возврата-к-тренду вроде этой, как только цена проходит примерно 1R в вашу пользу, вероятность отката обратно к скользящей средней (вместо чистого продолжения до полного тейка) возрастает, поэтому защита сделки на безубытке — разумная практика.
Двойная система панелей
Панель статистики — отслеживает каждый сигнал, сгенерированный индикатором на текущем графике, и разбивает результаты на исходы "тейк-профит", "стоп-лосс" и "безубыток" (стоп, сработавший после того как цена уже коснулась уровня безубытка, считается отдельно от "чистого" стоп-лосса, поскольку на практике к этому моменту вы, скорее всего, уже перевели бы стоп). Статистику можно фильтровать по всей истории, последним N дням или с конкретной даты — удобно для быстрой оценки того, насколько хорошо текущие настройки работают на конкретном инструменте, прежде чем начинать торговать по нему.
Сканер монет — позволяет отслеживать до пяти других выбранных активов на предмет точно такой же ситуации в реальном времени, не покидая текущий график. По каждому активу показывается, есть ли сейчас отложенный или уже активный сигнал, в каком направлении, а также его уровни входа/стопа/тейка. Важно: сканер использует те же настройки стратегии (периоды скользящих средних, метод расчёта стопа, R-множитель и т.д.), что заданы для основного графика — отдельной настройки под каждый актив в сканере нет.
Применение
1. Откройте нужный актив и таймфрейм и посмотрите на панель статистики — высокий процент выигрышных сделок и стабильное R:R говорят о том, что рынок сейчас достаточно чисто трендовый для входов по возврату к средней.
2. Если недавний винрейт высокий, рынок соблюдает структуру скользящих средних, и сетап стоит торговать. Если он снижается, рынок может входить в фазу консолидации — лучше дождаться, пока тренд снова выровняется.
3. Используйте отрисованные линии входа/стопа/тейка/безубытка и их ценники для постановки реального ордера.
4. Когда цена достигает отметки безубытка, стоит рассмотреть перевод реального стоп-лосса в точку входа — это решение, на которое индикатор указывает, но не выполняет автоматически.
5. Используйте сканер монет, чтобы следить за другими активами из вашего вотчлиста, не переключаясь постоянно между графиками.
Описание настроек
General (Общие настройки)
• Source — ценовой ряд, по которому рассчитываются обе скользящие средние (по умолчанию — цена закрытия).
Moving Average
• MA fast — период быстрой EMA (по умолчанию 50).
• MA fast line width — толщина линии быстрой EMA.
• MA slow — период медленной EMA (по умолчанию 200).
• MA slow line width — толщина линии медленной EMA.
• Bull color / Bear color — цвет каждой линии MA и заливки между ними (окрашивается в зависимости от текущего направления тренда).
Strategy
• MA Pierce Check Window (bars) — сколько последних баров проверяется на предмет реального прокола быстрой EMA перед закрытием-ретестом (по умолчанию 3).
• Swing Point Lookback (bars) — окно поиска ближайшего свинг-хая/лоу для режима стопа "Свинг", а также используется как часть "прогрева" перед тем, как индикатор начнёт оценивать сигналы (по умолчанию 10).
• Take Profit, R (risk multiple) — целевое расстояние тейк-профита, выраженное как множитель исходного риска (по умолчанию 3 = 3R).
• Max Bars in Open Setup (timeout) — если сигнал не резолвится (не задет ни стоп, ни тейк) за это количество баров, он принудительно закрывается и учитывается отдельно как тайм-аут, а не остаётся открытым бесконечно (по умолчанию 300).
• Stop Loss Calculation Method — выбор между Свинг (high/low), ATR или Процент от цены.
• ATR Length — период усреднения для расчёта ATR (по умолчанию 14).
• ATR Multiplier for Stop — множитель ATR, применяемый, когда метод стопа — ATR (по умолчанию 1.5).
• Stop, % of Entry Price — фиксированное расстояние стопа, используется только в режиме "Процент от цены" (по умолчанию 1%).
• Max Allowed Risk, % of Price — жёсткий лимит расстояния стопа, применяется независимо от выбранного режима, для защиты от аномальных свечей или сбойных тиков в данных (по умолчанию 5%).
• Also Cap Swing Stop by ATR (recommended) — дополнительный, чувствительный к волатильности предохранитель, работающий только в режиме "Свинг", теснее и отзывчивее плоского процентного лимита.
• Max Swing Stop Deviation, x ATR — множитель для указанного выше лимита (по умолчанию 3).
• Move to Breakeven, R (risk multiple) — расстояние в R, на котором рисуется линия отметки безубытка (по умолчанию 1 = 1R).
Visualization
• Show BUY/SELL Labels — вкл/выкл ярлыков сигналов на графике.
• Show SL/TP/BE Price Tags on Lines — вкл/выкл "живых" ценников у правого края каждой линии уровня.
• Fill Risk/Reward Zones — вкл/выкл закрашенных зон риска/прибыли.
• BUY Label Color / SELL Label Color — цвета ярлыков сигналов.
• Entry Line Color / Stop Loss Line Color / Take Profit Line Color / Breakeven Line Color — цвета четырёх линий уровней.
• Reward Zone Color / Risk Zone Color — цвета закрашенных зон.
• Entry/SL/TP Line Width — толщина линий уровней.
Statistics
• Show Statistics Panel — вкл/выкл таблицы статистики на графике.
• Panel Position — угол графика, в котором рисуется таблица.
• Text Size — размер шрифта таблицы.
• Statistics Period — вся история, последние N дней или с фиксированной даты.
• N Days Back — используется, если период статистики — "последние N дней".
• Start Date — используется, если период статистики — "с фиксированной даты".
Symbol Scanner
• Show Scanner for Other Symbols — вкл/выкл таблицы сканера.
• Symbol 1–5 — пять отслеживаемых активов.
• Scanner Timeframe — таймфрейм для сканирования; оставьте пустым, чтобы использовать таймфрейм текущего графика.
• Scanner Panel Position — угол графика, в котором рисуется таблица сканера.
• Scanner Panel Text Size — размер шрифта таблицы сканера.
Алерты
Индикатор включает два готовых условия для алертов — Buy signal и Sell signal — которые срабатывают один раз на закрытии бара и содержат в тексте сообщения цену входа, стоп-лосс, тейк-профит и расстояние до них в тиках, так что действовать по ним можно, не открывая график.
Отказ от ответственности
Этот индикатор — инструмент для технического анализа и планирования сделок, он не является финансовой рекомендацией, а прошлая эффективность сигналов, показанная на панели статистики, не гарантирует результатов в будущем. Всегда сочетайте его использование с собственным управлением риском и оценкой рыночного контекста.
指标

Fib Zone Screener# Fib Zone Screener — TradingView publish description
## Title
Fib Zone Screener
## Short description (one-liner)
Flags when price is inside a Fibonacci retracement zone — direction-aware, so one setup works for both longs and shorts, and built to filter across a whole watchlist in the Pine Screener.
---
## Full description
**Fib Zone Screener** answers one question, per symbol, on every scan: *has price pulled back into a Fibonacci retracement zone right now — and is it a long or a short?*
It reads pure price action (no pivots, no moving averages, no `request.security`), so it stays fast enough to run across an entire watchlist in the **Pine Screener** while still drawing clean, readable zones on a single chart.
### How it works
For the chosen **Lookback**, the script finds the window's **highest high** and **lowest low**, then decides the swing direction from **which extreme is more recent**:
- **High is more recent** → the last leg was up → **long context** (a pullback is a dip to buy).
- **Low is more recent** → the last leg was down → **short context** (a pullback is a bounce to sell).
Retrace is always measured **from that most-recent extreme back toward the origin**, so the same zone numbers describe both sides:
```
Retrace 0.0 = at the extreme (no pullback)
0.5 = halfway back
0.618 = the golden ratio
0.786 = deep pullback
1.0 = fully retraced to the origin
```
Because the measurement flips with direction, **you set the zone once and it works for longs and shorts** — you don't need a separate short version or a mirrored scale.
### Three zones, three flags
The indicator returns three yes/no values — one per zone (all boundaries are inputs):
- **In Zone 1** — default **0.5 – 0.618** (the classic golden pullback zone)
- **In Zone 2** — default **0.618 – 0.786** (deeper pullback)
- **In Zone 3** — default **0.786 – 1.0** (very deep / near full retrace)
Each is `1` when price is inside that zone, `0` otherwise.
### On-chart drawing
The selected window's zones are drawn as **outlined boxes**, labelled with their ratios and colored by direction — **teal on the long side, red on the short side** — so a screener hit looks exactly like a hand-drawn fib. The boxes extend a few bars past the current candle so the latest wicks stay visible.
### Using it in the Pine Screener
1. Save the script and add it to your chart, then **star it as a favorite** — the Pine Screener only lists favorited indicators.
2. Open the **Pine Screener**, choose your watchlist and timeframe, and select **Fib Zone Screener**.
3. Add the columns you want (Manage Columns) and filter, for example:
- **Longs in the golden zone:** `Direction == 1` and `In Zone 1 == 1`
- **Shorts in the golden zone:** `Direction == -1` and `In Zone 1 == 1`
- **Deeper pullbacks:** use `In Zone 2 == 1`
4. Change the **Lookback** or any zone's **From/To** and re-scan to look at a different horizon or depth.
"Last N bars" means N bars of the **screener's timeframe** — scan on Daily for daily swings, on 1h for intraday.
### Screener columns
- **In Zone 1 / 2 / 3** — yes/no (1/0) per zone
- **Direction** — `1` long, `-1` short, `0` none
- **Extreme / Origin** — the swing's recent extreme and its starting point, in price
- **Zone 1/2/3 from $ · to $** — the actual price boundaries of each zone, so you can place orders straight from the scan
### Inputs
- **Lookback** — bars used to define the swing (default 100)
- **Zone 1/2/3 From / To** — retrace boundaries of each zone
- **Draw Zones On Chart** and **Extend Right (bars)** — display controls
### Notes
- Swing detection uses the two extreme points of the lookback window, so it reads the dominant range rather than every minor wiggle — deliberately simple, so it behaves identically across hundreds of symbols.
- No repainting from higher-timeframe requests — everything is computed on the chart's own bars.
Open source. Feedback and suggestions welcome.
指标

SBP Sideways Range and Structure NavigatorSBP Sideways Range and Structure Navigator is a rule-based market analysis indicator designed to distinguish confirmed sideways consolidation from directional market phases while generating a single alternating sequence of BUY and SALE signals.
This script is an indicator, not a trading strategy. It does not place trades, calculate position size, manage risk, or predict future price movement. All signals should be evaluated together with market context, timeframe, liquidity, and the user's own trading plan.
Methodology
The indicator follows one integrated state-driven analytical workflow rather than combining unrelated indicators.
The sideways engine identifies genuine price compression using multiple market characteristics, including:
Range width relative to ATR
Net price displacement
Price-path choppiness
Regression slope
Directional balance
Candle overlap
Candle-body compression
ADX behaviour
EMA compression
When these conditions agree, a confirmed sideways range is displayed as a fixed yellow box that remains active until a confirmed breakout or breakdown occurs.
Sideways Bias
Each confirmed range is analysed to determine internal directional pressure using EMA alignment, EMA slope, directional movement, and price position within the range.
A bullish assessment generates Bull Bias, while a bearish assessment generates Bear Bias. Bias events must alternate, preventing repeated Bull or Bear Bias signals. Bull Bias is merged into the master BUY engine, while Bear Bias becomes part of the master SALE engine.
Trend Structure Engine
Outside confirmed sideways markets, the indicator evaluates:
Confirmed swing structure
EMA alignment and slope
ATR-normalised EMA separation
Directional movement
ADX strength
Controlled pullbacks
Pullback depth
Candle quality
Price resumption
The objective is to identify structured continuation rather than reacting to every short-term fluctuation.
Master Signal Engine
All qualified signal sources are combined into one master signal router.
BUY signals may originate from:
Bullish trend resumption
Bull Bias
SALE signals may originate from:
Bearish trend resumption
Bear Bias
The router enforces strict signal alternation:
BUY → SALE → BUY → SALE
After a BUY, additional BUY signals are ignored until a SALE occurs, and vice versa. Signal spacing is determined by market conditions rather than a fixed bar delay.
An optional Early Base Breakout BUY can be enabled to identify selected early bullish recoveries while remaining subject to the same master alternation rules.
Inputs
The indicator allows control of:
Sideways range display
Bull/Bear Bias labels
BUY/SALE labels
Label size
Range colours and transparency
Bias colours
BUY/SALE colours
Optional Early Base Breakout BUY
Usage
Yellow boxes highlight confirmed consolidation where directional movement may be limited.
BUY and SALE labels represent qualified analytical events generated by the integrated signal engine. They are informational and should not be interpreted as automatic trading instructions.
Calculation
The script uses confirmed-bar calculations and confirmed pivot information. It does not use future-data lookahead or request.security().
Limitations
Like any price-based analytical tool, performance depends on market conditions. Highly volatile markets, gaps, news events, and sudden regime changes can reduce signal quality. Strict signal alternation intentionally suppresses repeated signals in the same direction, which may omit some re-entry opportunities during strong trends.
Alerts
Short alerts are available for:
Sideways
Bull Bias
Bear Bias
Range Breakout
Range Breakdown
Bias BUY
Bias SALE
Early BUY
BUY
SALE
This indicator is intended to provide a structured visual interpretation of sideways compression, directional bias, market structure, pullbacks, and trend resumption. It is an analytical tool and does not guarantee trading performance or future market direction. 指标

U.S. Economic Calendar Master - Spectre Trades U.S. Economic Calendar Master - Spectre Trades is a chart-overlay fully customizable indicator that marks major U.S. economic releases directly on the price chart using clear, customizable labels. It includes CPI, PPI, NFP, FOMC decisions, Core PCE, GDP, JOLTS, Retail Sales, ISM reports, ADP employment, Jobless Claims, Durable Goods, Consumer Confidence, housing data, Michigan Sentiment, Import/Export Prices, and the Employment Cost Index.
The purpose of this indicator is to help traders quickly identify sessions that may experience increased volatility, wider spreads, rapid liquidity sweeps, false breakouts, or sudden directional expansion. Instead of constantly switching between the chart and an external economic calendar, traders can see the event name, date, scheduled release time, and selected time zone directly on the chart.
Each event category can be turned on or off independently, and the labels can be customized by title, subtitle, color, text color, transparency, size, placement, date format, time format, and time-zone display. This allows traders to keep the chart clean while showing only the events that are relevant to their market and trading plan.
This indicator may help traders:
Prepare for high-impact trading sessions
Avoid entering trades immediately before scheduled news
Adjust position size and risk around volatile releases
Review historical market reactions to economic events
Improve opening-range, liquidity, VWAP, and market-structure analysis
Separate normal price movement from news-driven volatility
The indicator does not predict the outcome of an economic report or the direction of price. Its purpose is to provide advance awareness and improve risk management by making important economic dates and times visible within the trader’s normal chart workflow.
Disclaimer
This indicator is provided for informational and educational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Economic release dates and times may be revised, postponed, canceled, or changed by the issuing organization. Traders should always confirm upcoming events through an official government source or a current economic calendar.
This indicator does not display actual, forecast, or previous economic data, and it does not determine whether a release is bullish or bearish. It does not guarantee increased volatility or predict how the market will react.
Trading futures, stocks, options, forex, and other leveraged products involves substantial risk. Users are solely responsible for their trading decisions, risk management, position sizing, and verification of all scheduled events. 指标

HH/LL Trendlines [twr]Automatically detects swing structure (HH/HL/LH/LL) using pivot highs/lows, labels each swing point, and — the key feature — draws trendlines connecting same-type consecutive pivots: LH→LH on the high side, HL→HL on the low side. This visualizes the two "structure lines" traders watch for trend continuation and potential breaks.
How it works
Pivot detection & classification
Uses ta.pivothigh()/ta.pivotlow() with a user-defined Swing Length (fractal-style, symmetric lookback/lookforward)
Each new swing high is compared to the prior swing high: higher → labeled HH (bullish, green), lower → labeled LH (bearish, red)
Each new swing low is compared to the prior swing low: lower → labeled LL (bearish, red), higher → labeled HL (bullish, green)
First pivot on each side gets a neutral "x" label since there's nothing to compare against yet
Trendline logic
Only connects pivots of the same classification — so a LH connects to the previous LH (skipping over any HH in between), and a HL connects to the previous HL. This produces clean descending-resistance / ascending-support structure lines rather than zigzagging between every pivot.
Lines are capped per side (Max Trend Lines Shown) using an array-based pool with oldest-first trimming, so the chart doesn't get cluttered over time
Live projection
If Project Lines Forward is enabled, each line's slope is recalculated every bar and extended to the current bar (getProjectedY()), so the structure line behaves like a live trend channel boundary rather than a static segment frozen at the two pivot points
Optional Remove Line Once Price Crosses It will auto-delete a line when price closes (or wicks, depending on Cross Source) through the projected level — useful for treating the line as an invalidated trendline break
Inputs summary
Structure: swing length, label toggle
Trend Lines: enable high/low connections independently, line width/style, max lines per side
Projection: forward extension toggle, cross-removal toggle, cross source (Close vs High/Low)
Colors: bullish/bearish color customization
指标

BarrettFVG Trendline**BarrettFVG Trendline**
BarrettFVG Trendline plots dynamic, self-adjusting liquidity trendlines from swing pivots and flags the moment price breaks structure — giving a clean visual read on trend continuation vs. exhaustion, with built-in alerts for both directions.
**How it works**
- Detects pivot highs/lows over a configurable lookback period and connects consecutive pivots into a sloped trendline (upper resistance line from lower pivots, lower support line from higher pivots).
- Lines auto-extend and re-slope each bar until price closes through them, at which point the line is invalidated and a new one begins forming from the next valid pivot sequence.
- A padded "buffer zone" (ATR-based) is plotted alongside each line and filled, giving a visual cushion rather than a single hard price level.
- When price closes through an active line, the indicator marks a breakout signal (triangle up/down) and fires an alert.
**How to use it**
- Use the trendline breaks as a read on structural shifts — a break of a rising support line can signal loss of upward momentum; a break of a falling resistance line can signal a shift toward buyers regaining control.
- Works on any timeframe and instrument; built and tested primarily on MNQ futures.
- Combine with your own bias/context tools (HTF trend, session levels, order flow) rather than trading breaks in isolation — this indicator identifies structure breaks, it does not predict direction on its own.
**Alerts**
Three alert conditions are built in — right-click the indicator → Add Alert:
- *Breaking Up* — fires when the resistance trendline is broken to the upside
- *Breaking Down* — fires when the support trendline is broken to the downside
- *Any Breakout* — fires on either signal
**Settings**
- Period — pivot lookback length
- Padding — width of the buffer zone around each trendline
- Line colors (up/down)
- Toggle for breakout markers
**Credit**
This script is built on the open-source trendline/breakout logic originally published by **StratifyTrade** ("Liquidity Trendline With Signals"), used and adapted under the terms of its **CC BY-NC-SA 4.0** license. Alert functionality and rebranding added by BarrettFVG.
---
## Disclaimer
*This script is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Trading futures and other financial instruments involves substantial risk of loss and is not suitable for all investors. Past performance, backtested results, or historical signals are not indicative of future results. Always conduct your own due diligence and consult a licensed financial professional before making trading decisions. The creator assumes no liability for any losses incurred from use of this script.*
--- 指标

指标

SMT Divergence Matrix [JOAT]════════════════════════════════
SMT DIVERGENCE MATRIX
════════════════════════════════
Smart Money Technique divergence, automated. This tool watches your chart symbol against up to two correlated reference assets and flags the moment they disagree at a swing — the classic footprint of one market failing to confirm another. When your chart carves a new low that a correlated market refuses to match, that non-confirmation is highlighted as a potential turn.
▎ WHAT IT DOES
It compares swing highs and lows on your chart to the same swings on two reference instruments and looks for SMT divergence — where the assets normally move together but split at a pivot. Each qualifying event is drawn as a connector line between the two chart pivots, tagged with a BUY or SELL pill, and paired with an optional ATR-based stop and target zone. A dashboard reports live correlation, structure, and which reference triggered.
▎ HOW IT WORKS
• Swing detection — confirmed pivot highs and lows are located on the chart using a configurable left/right pivot length . Larger values isolate more significant swings.
• Reference sync — the same high/low/close series are pulled for up to two reference assets on your chart's timeframe, guarded against invalid symbols.
• Bullish SMT — the chart prints a lower low while a correlated reference prints a higher low . That failure to confirm the downside is read as bullish non-confirmation.
• Bearish SMT — the chart prints a higher high while a correlated reference prints a lower high , reading as bearish non-confirmation.
• Either reference can trigger — a signal fires from whichever asset fails to confirm; the dashboard shows REF1, REF2, or both.
• Correlation filter — rolling correlation between chart and reference is measured over a lookback. SMT only makes sense when assets normally track together, so signals can be restricted to references whose correlation is currently at or above a minimum.
• Confirmation filter — the triggering bar can be gated by RSI momentum turning in the signal direction, by a directional candle close, by both , or by nothing.
• Cooldown — a minimum bar gap between same-direction signals prevents clustering, and the engine never fires a buy and sell on the same bar.
• Trade zones — on each signal, entry is taken at the close, stop is placed a chosen ATR multiple away, and the target is projected at your risk/reward ratio. The zones live-extend to the right each bar and freeze the moment price touches the stop or target.
▎ HOW TO USE IT
• Set Reference Asset 1 and 2 to instruments that genuinely correlate with your chart (index futures, sector peers, a lead/lag pair). The technique is only meaningful when the assets normally move together.
• A BUY pill below price marks bullish non-confirmation; a SELL pill above price marks bearish non-confirmation. The pill text names the reference that triggered.
• The divergence line connects the two chart pivots involved, so you can see the exact swings being compared.
• Treat the red zone as risk (entry-to-stop) and the blue/violet zone as reward (entry-to-target). Use them as a visual framework, not a mechanical order.
• Combine signals with your own read of market structure, session timing, and key levels rather than trading them in isolation.
▎ KEY SETTINGS
• Engine — swing pivot length, the two reference symbols and their enable toggles, and correlation lookback.
• Filters — confirmation mode (None / RSI / Candle / Both), RSI length, positive-correlation requirement with a minimum threshold, and signal cooldown.
• Trade Model — show ATR SL/TP toggle, ATR length, stop distance in ATR multiples, risk/reward target, and a cap on drawn setups for performance.
• Visuals — divergence lines, signal labels, pivot markers, label size, custom bull/bear colors, an optional candle zone-reader, and a session VWAP with ±σ bands.
• Dashboard — show toggle, position, and text size.
▎ DASHBOARD
The panel reports correlation state and value for each reference (Strong+, Positive, Weak, Negative, Strong−, or OFF), the last SMT side with the triggering reference, current market structure (HH / HL / LH / LL), running bull/bear counts , total divergences , live signal status , and current ATR .
▎ ALERTS
• Bullish SMT — chart lower low versus a correlated higher low.
• Bearish SMT — chart higher high versus a correlated lower high.
Both include ticker and interval placeholders in the message.
▎ NOTES
• Works on any symbol and any timeframe; references are read on the chart's own timeframe.
• Signals are based on confirmed pivots, which require the configured right-side bars to close before a swing is validated.
• Colored candles and VWAP bands are off by default for a clean chart, and the drawn-setup cap keeps performance stable.
• Reference data uses non-lookahead requests and tolerates invalid symbols without breaking the script.
For research and education only. This is not financial advice. No indicator predicts the future, on-chart signals and counts are illustrative of historical behavior only, and past behavior does not guarantee future results. Always manage your own risk.
Made with passion by JackOfAllTrades ⚡ 指标

Engulfing Failed Zone [8 Types]Engulfing Failed Zone
Most engulfing tools show you where a pattern formed. This one shows you where it broke.
The script finds confirmed engulfing patterns and then keeps watching them. When price later
closes back through the far side of the pattern's Base candle, the pattern is invalidated and
the area it occupied is drawn as a failed zone, from the Base candle to the exact candle that
broke it.
A failed pattern is not noise. It marks a level where one side committed, was proven wrong,
and left an area behind that price often reacts to again.
WHAT MAKES THIS DIFFERENT
1. It tracks invalidation, not formation.
A normal engulfing indicator stops working the moment the pattern prints. This script treats
the pattern as an open structure and follows it forward until something breaks it. Only the
broken ones are drawn, so the chart shows failures rather than signals.
2. Failure is defined by the close, not by a wick.
A candle may spike through the Base candle and recover. That is not a failure here. The
breaking candle has to CLOSE beyond the level, and it has to be the correct color: a Red
candle closing below the Base Low breaks a Buy Engulfing, a Green candle closing above the
Base High breaks a Sell Engulfing.
3. Failed zones are sorted into eight types, not two.
The failure inherits the identity of the pattern that failed. A liquidity sweep engulfing that
fails is a different event from a plain two candle engulfing that fails, and the script keeps
them separate so you can study or filter them independently.
4. Only the first failure is drawn.
Once a pattern breaks, it is done. Later candles closing through the same level are not drawn
again, which keeps the chart readable instead of stacking boxes on one level.
THE PATTERNS BEING TRACKED
A candle is Green when close is greater than open, Red when close is less than open, and a
Doji when close equals open. A Doji is neither. Only fully closed candles are read, and the
running candle is never used.
Regular engulfing (2 candles)
R Buy EG
Red Base candle, and the very next candle is Green and closes above the Base candle's High.
R Sell EG
Green Base candle, and the very next candle is Red and closes below the Base candle's Low.
E-Regular engulfing (3 or more candles)
ER Buy EG
Red Base candle followed by a run of consecutive Green candles. The run must contain at least
2 Green candles, and confirmation happens when one of them closes above the Base candle's
High. A single Red candle appearing before confirmation cancels the run. Doji candles are
skipped: they neither count toward the run nor break it.
ER Sell EG
Green Base candle followed by a run of at least 2 consecutive Red candles, one of which closes
below the Base candle's Low. A single Green candle cancels the run. Doji candles are skipped.
If the very first candle after the Base already closes through it, that is by definition a
Regular pattern, so E-Regular requires the second candle or later to break the level. One Base
candle can therefore never produce both a Regular and an E-Regular pattern.
Type 1: the same four patterns plus a liquidity sweep
Type 1 adds one requirement. Before the close breaks through one side of the Base candle,
price must have traded through the opposite side.
T1 R Buy EG
An R Buy EG where the Confirm candle's Low is at or below the Base candle's Low.
T1 R Sell EG
An R Sell EG where the Confirm candle's High is at or above the Base candle's High.
T1 ER Buy EG
An ER Buy EG where at least one Green candle in the run has a Low at or below the Base
candle's Low. Any candle of the run qualifies, including the Confirm candle itself.
T1 ER Sell EG
An ER Sell EG where at least one Red candle in the run has a High at or above the Base
candle's High. Any candle of the run qualifies, including the Confirm candle itself.
The sweep is always measured against the Base candle, never against another candle in the run.
WHAT COUNTS AS A FAILURE
After a pattern confirms, the script scans forward one candle at a time.
A Buy Engulfing fails when a Red candle closes strictly below the Base candle's Low.
A Sell Engulfing fails when a Green candle closes strictly above the Base candle's High.
The scan begins on the candle after the Confirm candle, so a pattern is never judged by its
own confirmation. The first candle that meets the condition becomes the Failure candle, and
the zone is drawn from the Base candle across to it. Nothing is drawn for patterns that are
still intact.
That gives eight failed zone types in total: R Buy EG Failed, R Sell EG Failed, ER Buy EG
Failed, ER Sell EG Failed, and the four Type 1 versions of the same.
READING THE CHART
Each failed pattern draws a rectangle covering the Base candle's full High to Low range,
stretched horizontally from the Base candle to the candle that broke it.
Colors follow the OUTCOME, not the original direction. This is worth reading twice:
- A Buy Engulfing that failed is drawn in the bearish color. The buyers committed and lost, so
the area above is now resistance, and its label sits above the zone.
- A Sell Engulfing that failed is drawn in the bullish color. The sellers committed and lost,
so the area is now support, and its label sits below the zone.
In other words the zone is colored by who is in control after the failure, which is the
information you actually trade from.
The border tells you which pattern failed:
Solid border: a Regular pattern, confirmed by the very next candle
Dashed border: an E-Regular pattern, confirmation was delayed over several candles
Thin, softened border: a plain pattern, no sweep
Thick, crisp border: Type 1, a liquidity sweep occurred before confirmation
Type 1 zones are also filled more solidly, so the stronger patterns stand out when several
zones sit close together.
A separate line marks the broken edge of the Base candle: the Low for a failed Buy Engulfing,
the High for a failed Sell Engulfing. This shows at a glance which side of the pattern gave
way, and it is the level price most often returns to.
Each zone carries a label with its pattern tag, pointing at its own zone, so it is always
clear which label belongs to which rectangle.
A summary table in the corner counts how many of each type were found in the current scan
window, split into Buy EG and Sell EG columns. The counts include types that are currently
hidden, so the table always reflects what the market actually printed rather than what is
switched on.
SETTINGS
Scan
- Scan Length: how many closed candles are scanned backwards from the latest bar. The running
candle is always excluded.
Pattern Types
- An individual on and off switch for each of the eight failed zone types.
Zone Style
- Buy EG Failed Zone and Sell EG Failed Zone: the two zone colors. Defaults follow the outcome
logic described above.
- Zone Transparency: fill transparency of a plain Regular or E-Regular failed zone.
- Type 1 Extra Opacity: how much more solid Type 1 zones are filled compared to the value
above.
- Highlight Broken Edge, and its color: marks the side of the Base candle price closed
through.
Labels
- Show Labels, Label Size, and Label Distance from Zone as a percentage of the Base candle
height. Increase the distance on noisy charts so labels clear the candles.
Summary Table
- Show, position, and size of the corner table.
ALERTS
Eight alert conditions are available, one per failed zone type:
R Buy EG Failed, R Sell EG Failed, T1 R Buy EG Failed, T1 R Sell EG Failed, ER Buy EG Failed,
ER Sell EG Failed, T1 ER Buy EG Failed, T1 ER Sell EG Failed.
An alert fires on the candle that completes the failure. Each message carries the pattern tag,
the symbol, the timeframe and the closing price. The script also sends the same messages
through the alert function, so the "Any alert() function call" alert type can deliver every
failure through a single alert.
All alerts are evaluated only after a candle has fully closed.
Internally, every confirmed engulfing is held in a list and each closed candle is checked
against that list. This is what allows a failure to be reported the moment it happens, without
rescanning the whole history on every bar.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The scan starts one bar behind the latest bar, so
the candle that is still forming is never part of any calculation.
- Every alert signal is written so that it can only become true once a candle has finished.
Price moving inside an open candle cannot make a signal appear and then disappear.
- Zones are rebuilt on the last bar using confirmed history. A drawn zone does not move,
change color or change type afterwards. It only leaves the chart when it falls outside the
Scan Length window.
When you create an alert, TradingView may show a caution banner saying the indicator can
repaint. That banner appears automatically for any script that uses the built in bar state
variables, no matter how they are used, because the platform cannot check the intent behind
them. This script uses them for the opposite purpose: one of them is what restricts every
signal to bar close, and the other is what redraws the zones efficiently on the final bar.
Choosing "Once Per Bar Close" when creating the alert is still recommended.
NOTES AND LIMITATIONS
- Nothing is drawn for a pattern that has not failed. An empty chart means the engulfing
patterns in that window are all still intact, which is information in itself.
- Increasing Scan Length raises the number of drawing objects. TradingView caps these at 500
boxes, 500 labels and 500 lines, and the oldest objects are dropped once a cap is reached.
The default value is chosen to stay well inside those limits on normal charts.
- A very short Scan Length can hide zones whose Base candle sits outside the window even
though the failure is recent. If failures seem to be missing, raise the Scan Length.
- For alerts, the number of patterns tracked at once is capped, and the oldest are released
first. In practice patterns fail or age out long before this matters.
- Detection is purely structural. It reports where a pattern broke and nothing more. It does
not rank failures by quality, measure what happened afterwards, or produce entries, targets
or stops.
- Doji candles are treated as neutral by design. They never act as a Base candle and never
break an E-Regular run. On symbols and timeframes that print many Doji candles this makes
runs slightly more tolerant than a strict same color rule would be.
HOW TO USE IT
A failed engulfing zone marks a level where one side of the market committed and was proven
wrong. Traders commonly watch these areas for:
- Broken supply and demand zones that price returns to and respects from the other side
- Areas where a reversal attempt was flushed out before the move continued
- Momentum shifts, since a failed reversal often precedes a strong continuation
Type 1 failed zones are worth separating out. There the pattern first grabbed liquidity, then
confirmed, and then still failed, which is a different story from a clean pattern simply being
overrun.
These zones are reference areas, not entry signals on their own. Use them alongside higher
timeframe structure, your own support and resistance mapping, and proper risk management.
DISCLAIMER
This indicator is a pattern detection tool. It is not financial advice and it makes no claim
about profitability. Trading involves risk. Always apply your own analysis and risk management. 指标
