Support & Resistance Confluence Levels, Hold Record & ReversalOVERVIEW
Four lines. Two above price, two below. That is the whole chart.
Every other support/resistance tool has the opposite problem. It finds forty levels and leaves you to work out which two matter. Forty levels is not information, it is wallpaper — and a level you have to hunt for is a level you will not trade.
So this tool inverts the design. It does not ask "where are the levels?" It asks:
WHICH LEVEL WOULD I ACTUALLY TRADE, RIGHT NOW, AND WHY SHOULD I BELIEVE IT?
A price is only promoted to a level when SEVERAL INDEPENDENT METHODS AGREE ON IT. One method finding a level proves nothing — every method finds levels everywhere. The signal is AGREEMENT.
This is a research and framing tool. It is NOT a strategy, NOT a signal service, and NOT a validated edge.
THE SIX VOICES — four propose, two confirm
PROPOSERS. Each nominates candidate prices, independently:
◆ SWING PIVOT the classic. Where price actually turned.
~ KERNEL EXTREMUM the turning point of the SMOOTHED price (Nadaraya-Watson), which is the shape
rather than the noise. This is Lo, Mamaysky and Wang's method, and it finds
structurally different levels from a raw pivot. That independence is exactly
what makes agreement between the two worth something. Agreement between two
methods that make the same mistakes is worth nothing at all.
⇈ HIGHER TIMEFRAME a swing on the HTF. The level a bigger participant is watching.
▣ PRIOR PERIOD yesterday's high and low. Last week's high and low. The most watched prices on
any chart — and missing from almost every auto-S/R script on PulseWire.
CONFIRMERS. They do not nominate, they vouch:
▪ VOLUME NODE the level sits where volume actually transacted. Real business was done here,
not merely a turning point.
○ ROUND NUMBER the psychological grid.
Candidates within an ATR tolerance merge, and the merged level inherits every voice that spoke for it. A level needs MIN VOICES to exist at all. Everything below that is DISCARDED, not hidden. Then only the nearest two above and two below are drawn.
The label tells you why the level is there: "◆~▣▪ 4v held 3/4 24,247.00" — four independent voices, tested four times, held three.
AND THEN THE PART NOBODY DOES: WE TEST WHETHER CONFLUENCE ACTUALLY RANKS
"Levels are stronger when several methods agree" is one of the most repeated claims in technical analysis and almost nobody has ever checked it. It is checkable. So the panel reports:
High confluence (3+) +0.24R n=61 PROVEN
Low confluence -0.03R n=88
Control (unconditional) +0.02R n=240
DOES CONFLUENCE RANK? YES — more voices IS better
And the control is DIRECTION-MATCHED. Reversals at support are overwhelmingly LONG on a drifting index — and a long-biased event set compared against a 50/50 control is handed the drift for free and calls it an edge. Longs are compared only with control longs, shorts only with control shorts, and the control is then blended back using the events' OWN direction mix. It is a subtle trap and it will manufacture an edge out of nothing if you let it.
And the verdict is a TEST, not a comparison. High confluence is measured against low confluence with a Welch t-test, and the difference must clear |t| > 1.96 before it is allowed to be a finding. Below that, the panel prints the least satisfying answer there is — NO DIFFERENCE — because that is the honest one. A tool that reports a 0.02R gap as a verdict is not measuring anything, it is decorating.
If the extra voices do not rank on your instrument, then on your instrument they do not rank, and no amount of agreement between methods will change that. That row is the reason this script exists.
THE HOLD RECORD — and why "held 3/4" is not what most scripts mean by it
A TEST IS AN EPISODE, NOT A BAR. Price arrives at the level and the test stays OPEN until price LEAVES it — back the way it came (HELD) or straight through (BROKE). A bar that closes INSIDE the zone has resolved nothing and is counted as nothing.
Counting every touching bar as a completed test drops an entire consolidation into the denominator as failures, and manufactures hold rates near 10% that say nothing about the level and everything about the counter. An unresolved test is neither a hold nor a break, exactly as an unresolved trade is neither a win nor a loss.
AND A TEST IS AN APPROACH, NOT A BAR TOUCHING A BOX. Price exits the zone (HELD), the next bar dips straight back in — and without a re-arm rule that counts as a brand-new test. Chop sitting on a level then logs a hundred "tests" that were really one event. Measured live before this was fixed: 224 tests of a single level on a 5m chart, and hold rates that all landed between 61% and 75% no matter which level you looked at. A statistic that cannot tell any two levels apart is not measuring the levels — it is measuring the bar size. Price must now travel clear of the zone before the level can be tested again. One approach, one test.
The volume filter gates the SIGNAL and never the RECORD. A level that holds on thin volume still HELD. Quietly dropping it from the numerator while leaving it in the denominator is how a hold rate gets manufactured.
IF TWO ZONES OVERLAP, THEY ARE THE SAME LEVEL
The merge tolerance is held to at least the combined zone half-widths. Otherwise two levels a fraction of an ATR apart refuse to merge and then draw overlapping boxes anyway, and the geometry contradicts itself on the chart for anyone to see. It is a small thing that quietly tells you the tool was never looked at.
A LEVEL IS AN ANCHOR, NOT A TRAILING AVERAGE
Levels merge as new candidates arrive, and the merged price is a COUNT-WEIGHTED mean: the tenth candidate moves the level by a tenth of the gap, not half of it. This sounds like a detail. It is not. A level that moves halfway toward every new candidate will slide toward price — because price is where new candidates come from — until it is no longer an anchor at all, but a trailing average sitting in the middle of the action, "tested" on every swing. The maths here is the difference between a level and a moving average with extra steps.
Levels are retired by DISTANCE, and confluence buys REACH. A level far from price is useless however many voices it has; a level at price is what you are trading. But eviction cannot simply drop the weakest, either — every level is BORN with one voice, so a weakest-first rule kills every new level in the cradle, before it can earn a second, and the chart slowly fills with ancient far-away fossils while nothing can form where price actually is. Confluence buys a level the right to be further away. It does not buy it immortality.
THE REVERSAL TRADE — because nobody looks at a level to admire it
Price tests the level and closes back out. Entry at the CLOSE, stop beyond the level, target a fixed R multiple.
ENTRY IS THE CLOSE, for the event and for the control alike. A rejection is a SIGNAL, not a fill.
Entering at the level — a better price — while the control enters at the close hands every level a
free head start, and it would "win" without the level having done anything at all.
THE R MULTIPLE IS FIXED so that the event and the control are measured on IDENTICAL geometry. A
variable target against a fixed-target control is not a comparison: the near target is reached more
often AND resolves inside the grading horizon more often, so the two are not even being asked the
same question.
THE NEXT OPPOSING LEVEL is drawn too, and separately tested: is it reached before the stop, and HOW
FAR AWAY IS IT IN R? A hit rate with no distance attached is a fact about the distance, not about
the levels — a target half a unit of risk away being reached often proves nothing.
Signals fire only at the levels actually on screen. Every level keeps its record; only the ones you are watching can fire. You do not trade a level twelve levels away from price.
And when a level BREAKS, you are told. A level holding is the reversal; a level giving way is the other half of why anyone draws one. Breaks are marked with an x and carry their own alerts — reported as pure information, with no trade framed and no claim made, because the break is not what this engine calibrated. Saying so is cheaper than pretending otherwise.
NON-REPAINT, AND ITS HONEST COST
Pivots confirm some bars late. The kernel extremum confirms a half-window late — a centred kernel looks into the future, and we refuse to. So a level appears some bars AFTER the swing that created it. That lag is the price of not repainting and it is paid deliberately.
Levels, tests, holds, breaks, signals and every calibration event are computed on CONFIRMED bars only. The HTF read uses lookahead_off. Nothing is drawn and then moved.
DATA AND SCOPE
Any symbol, any timeframe. ATR-normalised throughout. Volume improves the score but is NOT required — without it the volume-node voice simply abstains rather than guessing.
HOW TO USE
0. Turn the KEY on once (Dashboard & theme > Show the key). It explains the six glyphs. Turn it off
again — you only need it the first time.
1. MIN VOICES is the one input that matters. 1 gives you the forty-line wallpaper every other S/R
script gives you. 2 requires agreement. 3 shows only the prices several independent methods
arrived at on their own. Raise it until the chart shows levels you would actually trade.
2. Read the hold record. "Held 3/4" tells you more than any colour ever will.
3. READ THE CONFLUENCE VERDICT BEFORE YOU WEIGHT ANY OF IT. If the voices do not rank here, a level
is a LOCATION, not a probability — treat it as context, not as a signal.
4. Wait for the rejection: price into the level, close back out, on real volume.
5. Entry, stop and target are drawn. They are arithmetic, not advice.
ALERTS
Support held · Resistance held · Any rejection · Support broke · Resistance broke
EXPORTS (Data Window — consume from other scripts via input.source())
EXP_Sup1, EXP_Sup2, EXP_Res1, EXP_Res2, EXP_SupVoices, EXP_ResVoices, EXP_Signal, EXP_Entry, EXP_Stop, EXP_Target, EXP_ConfluenceEdge
CONCEPT CREDIT
Support/resistance and polarity are long-standing public trading concepts with no single author; the written tradition runs through Charles Dow, Richard Wyckoff and Edwards & Magee.
The TRADING-RANGE BREAK — the formal S/R rule — was first tested at scale by William Brock, Josef Lakonishok and Blake LeBaron, "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns", Journal of Finance 47(5), 1992. Their findings were later shown to be vulnerable to data-snooping (Sullivan, Timmermann and White, 1999) — which is precisely why this tool MEASURES the rule on your instrument instead of asserting it.
Nonparametric kernel regression for level detection is from Andrew W. Lo, Harry Mamaysky and Jiang Wang, Journal of Finance 55(4), 2000; the Nadaraya-Watson estimator is due to Nadaraya and Watson (1964). ATR — J. Welles Wilder. Triple-barrier forward labelling — Marcos Lopez de Prado. Welch's t-test — B. L. Welch.
The confluence gate, the voice model, the episode-based hold record, the confluence-ranking test and the direction-matched control are the author's own. Clean-room implementation; no third-party Pine code is reused. Not affiliated with, nor endorsed by, any of the above.
HONESTY AND LIMITATIONS
Calibration is IN-SAMPLE, with no costs or slippage, and uses overlapping windows. A proven in-sample edge is NOT a guarantee out-of-sample. Real fills, spreads and commissions will reduce it.
The confluence gate is one rule among many — a different tolerance gives different levels.
Confluence is TESTED here, not assumed. If the panel says the extra voices do not rank, then on this instrument they do not, and no amount of agreement between methods will change that.
Both barriers on one bar: the STOP is assumed first — conservative, and the only assumption that cannot flatter the result. Unresolved trades at the horizon are marked to market, not booked as losses. Nothing is marked PROVEN below t = 1.96, and nothing is rated at all below the minimum sample.
Nothing in this script predicts price.
DISCLAIMER
Research and educational tool only. NOT financial advice, NOT a recommendation, and NO guarantee of results. Entry, stop and target output is arithmetic, not advice. Trading carries risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use. Indicator

Futures Sessions with NY Opening Range, Levels, FVGs, & HolidaysThis is a session-anchored intraday framework for futures. Every element on the chart is derived from the same session definitions, so the tools stay consistent with each other: the sessions paint the ranges, the completed ranges leave behind levels, the level lifecycle is tied to the session clock, the NY Opening Range anchors the morning, fair value gaps give context inside the ranges, and holiday markers explain the days when sessions are missing or shortened.
Session Ranges
Each market session is defined using IANA names (America/New_York, Asia/Tokyo) – never fixed UTC offsets. The indicator renders identically no matter what timezone your chart is set to (Exchange, New York, etc). Daylight saving is handled automatically: New York flips between EST and EDT on its own, and Tokyo has no DST, so its position against the New York clock simply shifts with the US clock changes (Tokyo's 9:00 open lands at 20:00 New York in summer, 19:00 in winter).
Each session is a shaded fill: Asia in red, London in yellow, New York in blue as defaults.
NY Pre-Open: a dotted range tracks the morning trade from the ORB open at 8:00 America/New_York until the session fill starts at 9:30. It is derived from the ORB input, so moving the ORB moves it too.
Globex Open: the CME futures trading day opens at 18:00 America/New_York (17:00 Chicago), indicated by the pre-open dotted range before the session fill starts at Tokyo open when volume comes in.
New York Opening Range (ORB)
The ORB captures the range of the America/New_York 8:00–8:15 candle, shown as a box with a dashed midline in maroon. It is visible on all smaller timeframes and up to 1h. The ORB ends on the last candle of the New York session — the end time is derived from the NY session input, so the two can never drift apart.
If the ORB range is oversized (18 or more points, configurable), the box is flagged with a red "ORB INVALID" label and shows the range in points.
Sessions Levels (Untested Highs and Lows)
When a session completes, its final highs (black) and lows (teal) are drawn from the candle and extend to the right indefinitely until a level is tested on its first touch. You can configure whether a test means a wick touch (ICT/liquidity style, the default) or a candle close beyond the level (support/resistance style).
Tested levels stay on the chart until the session running at the time of the test ends, so you can use them as points of reference until then. During the London/NY overlap, New York counts as the running session. A level tested during a session gap survives the gap and is handed to the next session that opens. At the NY ORB open at 8:00, all tested levels are removed to prevent clutter.
Untested levels never expire. You can toggle the prices on the price scale on or off based on preference.
Fair Value Gaps
Classic three-candle imbalances in both directions: bullish when a candle's low is above the high from two candles back, bearish when a candle's high is below the low from two candles back. Gaps are shaded in green (by default, configurable) from the middle candle and extend to the right until price trades fully through it (bullish: a low at or below the gap bottom; bearish: a high at or above the gap top), then it is removed. Each gap can draw its Consequent Encroachment — a dashed line at the 50% of the gap, the level where a gap is commonly considered mitigated. Inputs: fill color, CE toggle and color, minimum gap size in points (useful on low timeframes), and a cap on how many gaps are kept.
Holiday Markers
US (NYSE) holidays: a dotted vertical line and a Statue of Liberty marker anchored to the ORB's first candle. Detection is fully rule-based — weekday-observance rules for every holiday, and Good Friday computed from the Easter algorithm (Butcher's computus), so nothing is hardcoded and no yearly maintenance is needed.
Note: NYSE does not observe New Year's on the prior Friday when January 1 falls on a Saturday, and holidays observed on a Friday/Monday (like July 4 on a weekend) are marked on the actual closure day.
Japanese holidays: a dotted vertical line and a shrine marker anchored to the Tokyo session's first candle. Covers the fixed-date holidays, the Happy Monday holidays, both equinox holidays (astronomical formulas, valid through 2150), Monday substitute holidays, the occasional Silver Week citizens' holiday, and the TSE year-end closures (Dec 31, Jan 2, Jan 3).
Markers sit at the bottom of the pane. Days when CME is fully closed have no bars, so there is nothing to mark — markers appear on holidays with shortened or normal trading.
Alert
One built-in alert condition: Tokyo Range Break — fires when price closes outside the completed Tokyo session range, active from the Tokyo close until 11:30 New York time.
How to Use
Built for intraday charts of 1h and below (it draws nothing on higher timeframes). The ORB needs a 15-minute chart or lower to line up with whole candles. Defaults are tuned for CME index futures (ES/MES); the session inputs work on any symbol with continuous futures-style hours. Old drawings persist until Pine's 500-object limits trim the oldest.
These tools are combined because each one feeds the next: the sessions define the ranges, the completed ranges produce the levels, the level lifecycle runs on the session clock and the ORB open, the pre-open dotted ranges share the same derived timings, and the holiday markers explain the days when the rest of the framework is dark. Changing one session input moves everything that depends on it, consistently. Indicator

[MAD] SMC1. OVERVIEW
SMC Event Markers is a complete Smart-Money-Concepts toolkit that draws every major institutional footprint on the chart — and then ranks every zone by relevance so you instantly see which ones actually matter.
Most SMC indicators have the same problem: they paint dozens of FVGs, order blocks, and liquidity lines, and leave you to decide what to trade. After ten zones the chart looks like a dropped Lego set. This indicator solves that. Every active zone is scored 0–100 against five independent factors. Low-scoring zones fade or disappear automatically. A compact dashboard pins the top-ranked setups to a chart corner so you always know where the high-probability opportunities are.
The indicator detects 14+ SMC event types — FVG, IFVG, Order Blocks, Breaker Blocks, BSL/SSL, BPR, EQH/EQL, BOS/CHoCH, Sweep, IDM, Reversal Confirmed, Premium/Discount/Equilibrium, OTE, Volume Imbalance, SMT Divergence, PDH/PDL/PWH/PWL/PMH/PML, and ICT killzones. Every zone is ranked 0–100 by a relevance score built from five factors; opacity scales with that score so the eye is drawn to the bright zones while weak ones recede, and a threshold filter deletes the weakest zones entirely to free chart drawing budget. A top-N dashboard ranks the strongest setups by price, direction, age, and score. Three colour schemas — Default (customizable), Dark, and Light — are switchable globally, with all 22 default colours exposed as individual inputs. Per-type drawing caps and an FVG merge engine keep performance steady on busy timeframes.
2. HOW IT WORKS
SMC Event Detection
The script identifies institutional footprints in real time. Every event has its own creation logic and mitigation logic — once price returns and fills the inefficiency, the zone is removed from the chart.
Fair Value Gaps are 3-bar imbalances where the wicks don't touch, rendered as semi-transparent boxes with a centre-line at the consequent encroachment (CE). Order Blocks are the last opposite-coloured candle before a structure break, gated by minimum displacement (× ATR). Breaker Blocks are Order Blocks that flip side after price violates them, indicating role reversal. Liquidity (BSL / SSL) lines mark confirmed swing highs and lows where retail stops cluster, while BPR (Balanced Price Range) zones are detected as overlaps between opposing FVGs — high-probability institutional pivots.
EQH / EQL marks equal highs and lows within an ATR tolerance, identifying magnet liquidity. BOS / CHoCH distinguishes Break of Structure (continuation) from Change of Character (reversal); when a CHoCH prints shortly after a liquidity sweep, it is auto-tagged as Reversal Confirmed . The script also detects Sweep , IDM (Inducement) , and SMT divergence against a configurable reference symbol, and shades Killzones for the Asia, London, NY-AM, and NY-PM sessions in the timezone of your choice.
Confluence Scoring
For every active zone, the script counts how many other zones overlap its price range within an ATR-based tolerance. Confluence between an Order Block, a Fair Value Gap, and a previous-day high is the textbook setup smart-money traders look for — this metric quantifies it.
Composite Relevance Score
Each zone is scored 0–100 from five normalised factors with user-editable weights: Confluence (default 30%) measuring how many other zones overlap, Freshness (20%) decaying exponentially with bars since creation, Displacement (20%) capturing the size of the impulse that created the zone divided by ATR, Trend Alignment (15%) rewarding zones that match the current swing-structure direction, and Proximity (15%) favouring zones near current price normalised by ATR reach. Weights don't have to sum to 100 — normalisation happens internally. The score recalculates every bar, so as price moves the proximity factor updates and the ranking shifts in real time.
Visual Hierarchy
Opacity scales with score — a zone at score 90 is vivid; at score 35 it's nearly transparent. Same colours, different volume. The threshold filter takes this further: anything below a configurable score (default 30) is deleted, not just dimmed — this frees drawing slots and prevents drawing-limit overflow on busy charts. Every zone label optionally appends its score, e.g. "Bull OB 82".
Dashboard Panel
On the last bar, a compact table renders in the chart corner showing the top N zones ranked by score. Each row displays rank, type, price, direction, age in bars, and score with star rating and tier colour (≥80 green, ≥60 teal, ≥40 amber, <40 grey). The table updates with every new bar.
3. HOW TO USE
The Dashboard Workflow
Glance at the dashboard. The top 2–3 zones are your high-probability watchlist for this chart — combine the price level shown with the type and direction to plan your entries. If nothing has a score above 60, the market isn't offering quality setups; wait.
Trading Reversals
Look for this sequence on the chart. First, price sweeps a BSL or SSL line and a sweep label appears. Within a few bars, CHoCH prints — a close back through the opposing swing — and a Reversal Confirmed label fires at that CHoCH point. From there, look for a fresh Order Block or FVG in the direction of the new bias, ideally inside the Discount or Premium zone or the OTE. Enter on retracement to that zone, place your stop beyond the swept extreme, and target the opposite liquidity pool (the BSL or SSL on the other side).
Trading Continuations
After a BOS in the direction of the current trend, the OB or FVG that produced the break becomes a high-probability retracement entry. The dashboard will surface it automatically if its score is in the top tier.
Decluttering for Clarity
The Threshold input is your declutter dial. On a busy 1H chart with 50+ historical zones, set it to 60 — only the cream stays visible. On a clean 15m intraday, set it to 30 to keep more context. At 0, every detected zone is drawn (legacy mode).
Combine With Other Confluence
The scoring system already integrates intra-indicator confluence. For external confluence, overlay your higher-timeframe levels, a volume profile, or session VWAPs — anything that aligns with a high-score zone is a stronger setup.
4. SETTINGS
Settings are organised into logical groups in the dialog.
Structure: swing and internal pivot lengths, BOS / CHoCH toggles, HH/HL/LH/LL labels
Liquidity: BSL/SSL/INT_LQ toggles, sweep window, IDM, Reversal Confirmed
Order Blocks: minimum displacement (× ATR), Breaker conversion on violation
EQH / EQL: ATR tolerance for equal levels
Fair Value Gap: small-gap filter, extension bars, mitigation-on-close, BPR detection
FVG Merge: consolidates old overlapping FVGs by age and ATR tolerance
Volume Imbalance: body-to-body gap detection
Premium / Discount: range plot and OTE zone (62–79% retrace)
Previous H/L: PDH/PDL, PWH/PWL, PMH/PML toggles
SMT: divergence reference symbol (default NQ futures)
Killzones: session backgrounds in selectable timezone
Drawing Limits: per-type caps to control total draw count
Scoring: confluence tolerance, freshness decay, proximity reach, five weights, threshold, opacity toggle, score-in-label toggle
Dashboard: show / rows / position / cell size
Colors: schema enum (Default / Dark / Light) plus 22 individual colour inputs
Style: label size, extension bars, all event label text
5. DESIGN DECISIONS
This indicator was built around three principles.
Decluttering is more valuable than detection. Anyone can detect an FVG — the hard part is knowing which of the twelve currently on screen is the one you should care about. The scoring system exists because the trader's biggest enemy is signal-to-noise, not missing signals.
Every zone should justify its space. Opacity scaling and the threshold-delete behaviour mean that low-conviction zones don't merely fade — they're erased from the drawing pool, so the chart stays performant even on minute-tick instruments with thousands of bars of history. The drawing-limit caps (configurable per event type) reinforce this.
Customisation should be opt-in. The Default schema is the production-ready palette. Most traders won't touch the 22 colour inputs. But for designers who care, every base colour is individually editable. Dark and Light schemas exist as one-click presets for OLED users and light-theme users respectively.
6. CREDITS AND ATTRIBUTION
The Smart Money Concepts framework is a community-developed body of knowledge built on the work of Richard Wyckoff (1930s — accumulation / distribution cycles, composite-man theory), Charles Dow (higher-highs / higher-lows market structure), Michael J. Huddleston / ICT (modern SMC terminology — BOS, CHoCH, Liquidity, Breaker, FVG, OTE, Killzones), and the wider SMC trading community that refined, tested, and disseminated these ideas.
7. DISCLAIMER
For educational and informational purposes only — not financial advice. Past performance does not guarantee future results, and all trading decisions are made at your own risk. The author accepts no liability for any loss arising from use of or reliance on this script. Indicator

Trendline Break Detector [TBD]# Trendline Break Detector
A structural analysis indicator that identifies pivot trendline breaks across three independent pivot tiers (Fast / Medium / Slow) and rates every break with a single 0–12 Break Strength score. The score summarises both the quality of the break itself and the broader trend context surrounding it.
This is a structural analysis tool, not a signal generator. It marks where pivot structures break and how cleanly. It does not place trades or suggest entries, exits, targets, stops, or position sizes. The arrows are descriptive annotations of market structure.
────────────────────────────────────
WHAT THE INDICATOR DRAWS
────────────────────────────────────
• Swing trendlines built from pivot points, at three configurable timescales (Fast / Medium / Slow tiers, default lengths 8 / 21 / 34) drawn simultaneously
• Direction arrow labels at the exact bar where each pivot trendline is broken, showing:
- The tier's pivot length (e.g. 21)
- The direction arrow (▲ upward break / ▼ downward break)
- The Break Strength score (e.g. ·9) in the range 0–12
• Confluence S/R zones (optional) — coloured boxes showing where multiple support/resistance sources cluster together, scored 0–10
• Status Panel — a compact 5-row overlay summarising active tiers, the most recent break, its score, current trend context (VWAP, ER, HTF), and how many filter gates are active
────────────────────────────────────
WHY FIBONACCI PIVOT LENGTHS (8 / 21 / 34)?
────────────────────────────────────
The three default tier lengths are not arbitrary — they are consecutive terms from the Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 ...). Three properties of the Fibonacci sequence make it especially well suited to a multi-tier pivot indicator:
1. The ratio between consecutive terms approaches the golden ratio (φ ≈ 1.618).
8 → 21 is roughly 2.6× (skipping a term gives the φ² ratio of ~2.618), and 21 → 34 is roughly 1.62× (φ itself). This means each tier is meaningfully separated from the next on a logarithmic scale, so the three tiers detect genuinely different timescales of structure rather than near-duplicates. If you used 8 / 10 / 12 instead, all three tiers would fire on essentially the same pivots.
2. Fibonacci-spaced lookbacks produce naturally diverse signals.
A pivot of length N requires N bars on each side without a higher high (or lower low). Fibonacci spacing ensures that the bar requirement at each tier grows non-linearly: the Fast tier (8) reacts to short-term swings, the Medium tier (21) to swings roughly half an hour to a few hours apart on intraday charts, and the Slow tier (34) to the major intraday or multi-session structure.
3. Fibonacci numbers and ratios are deeply established in technical analysis literature.
Pivot lengths drawn from Fibonacci values are widely used because they produce repeatable, recognisable swing structures across many instruments. The 8 / 21 / 34 choice is a balanced midpoint of the sequence — small enough to catch intraday structure, large enough to filter out tick-level noise.
You can override the defaults. All three tier lengths are exposed as inputs (Pivot Lengths group). If you prefer Wilder's classic 14, a tighter set like 5 / 13 / 21, or a slower set like 13 / 34 / 89, simply change them.
────────────────────────────────────
MULTI-INSTANCE TECHNIQUE FOR HIGHER-TIMEFRAME CONTEXT
(RECOMMENDED FOR LOW TIMEFRAMES)
────────────────────────────────────
The indicator's three tiers cover roughly one decade of timescale separation (8 → 34 is ~4×). On very low timeframes — 1m, 3m, 5m — that single decade often is not enough to see the whole structural picture. The Fast tier (length 8 on 1m = ~8 minutes) and the Slow tier (length 34 on 1m = ~34 minutes) both live inside what a 15m or 1H trader would consider a single bar.
The cleanest way to get true multi-timeframe context without changing chart is to apply the indicator multiple times to the same chart with different pivot length sets, like this:
| Instance | Fast | Medium | Slow | What it captures (on a 1-minute chart) |
|---|---|---|---|---|
| 1 — Local | 8 | 21 | 34 | Sub-minute to ~30-minute structure |
| 2 — Intermediate | 21 | 34 | 55 | ~20-minute to ~1-hour structure |
| 3 — Context | 34 | 89 | 144 | ~30-minute to ~2.5-hour structure |
All three instances run on the same 1-minute chart, but each one sees a different timescale of structure. The lengths share consecutive Fibonacci values across instances (34 appears in all three; 21 in two; 55 in two), so the tiers chain together coherently rather than fighting each other.
How to read the stacked instances:
• When a high-score break fires on Instance 3 (slowest), you are seeing a major structural event on a higher timeframe — the kind of break that typically initiates trends.
• When a high-score break on Instance 1 (fastest) lines up with the direction of recent Instance 2 / Instance 3 breaks, the smaller break is occurring with-trend on the higher timeframe.
• When Instance 1 breaks against the established Instance 3 direction, treat it as a counter-trend or mean-reversion event.
Practical setup tips:
• Disable the Status Panel on two of the three instances (Settings → Status Panel → Show Status Panel) to avoid stacked panels. Keep it visible only on the most-watched instance.
• Use the Style settings to give each instance a slightly different colour so the labels remain distinguishable on the chart.
• Disable trendline drawing on the faster instances if the chart gets cluttered (Trendlines → Show Trendlines off) — you can still see the break arrows.
This stacking technique gives you genuine higher-timeframe structural context without ever switching timeframes, which is particularly useful for scalpers and intraday traders who want to read the higher-TF tape while watching execution-grade bars.
────────────────────────────────────
HOW TO INTERPRET THE BREAK STRENGTH SCORE (0–12)
────────────────────────────────────
The score is a descriptive summary of structural properties, not a probability of profit or a recommendation. Higher scores indicate that the break occurred with more of the supporting structural conditions in place (and earlier in the broader trend). They do not guarantee the move continues.
A useful way to read the score band by band:
| Score | Band | What it means structurally |
|---|---|---|
| 0–3 | Very Low | The break occurred without most supporting conditions — small magnitude, low volume, weak pivot, or strong intrabar rejection. Often these are wicks, false breaks, or last-leg moves in already-extended trends. Treat with caution. |
| 4–6 | Low | Some quality conditions met but several are missing. The break is real but unremarkable. Common in chop or transitional regimes. |
| 7–8 | Medium | The break meets most of the structural quality criteria — meaningful magnitude, decent participation, reasonable pivot height. The trend context is mixed (not strongly established yet, not absent). These are the bread-and-butter breaks. |
| 9–10 | High | Most Break Quality criteria are met AND the break occurs ahead of (or at) a structural inflection rather than late in an established trend. These tend to be the cleanest setups the indicator flags. |
| 11–12 | Very High | All-or-near-all Break Quality criteria fire AND the broader trend is not yet established in the break direction — i.e., the break itself is the structural turn. Rare. |
Important nuances about the score:
1. The score is path-dependent on which filter gates you have active.
If you turn off every filter, you will see every break the engine detects regardless of score. If you turn on stringent filters (Adaptive Trail Strict, VWAP Require-strong-aligned, Confluence Zone gate), you will only see breaks that already pass those gates, and the displayed scores will tend to skew higher. Pick a filter configuration and stick with it so the scores remain comparable across your charts.
2. Higher score ≠ better trade.
A high score means the break occurred with strong structural properties. Whether that creates a tradeable opportunity depends entirely on your strategy, risk management, position sizing, and the current market regime. A score of 10 in a choppy range is still a break in a choppy range.
3. The (5 − Trend Context) inversion deliberately penalises late breaks.
A perfectly clean break in an already-established trend will score lower than the same clean break at a fresh turning point. This is intentional: the indicator's design thesis is that quality breaks occur AT structural inflection points, not after them. If you prefer with-trend breakouts to count fully, disable the Trend Context component in the inputs and the score will become Break Quality alone (range 0–7).
4. The score is computed on bar close.
Mid-bar values shown intrabar may revise before close. Treat the displayed score as final only after the bar closes.
5. Compare scores within the same symbol and timeframe.
Because ATR and volume have different magnitudes across symbols and timeframes, comparing a score of 8 on EURUSD-1m to a score of 8 on BTCUSD-1h is not strictly apples-to-apples. The score is most informative as a relative measure within a single chart context.
6. Combine score with tier.
A score of 8 on the Slow tier represents a higher-significance structural event than a score of 8 on the Fast tier, because the Slow-tier trendline took longer to build and represents broader structure. When reading the chart, weight Slow-tier breaks more heavily than Fast-tier breaks at the same score.
7. Use the multi-instance technique to validate scores.
When using three stacked instances (as described above), the most informative situations are those where a high score on the slower instance (e.g. Context 34/89/144) lines up directionally with a high score on the faster instance (e.g. Local 8/21/34). Alignment across instances is a stronger signal than any single instance's score in isolation.
────────────────────────────────────
WHY THIS IS A MASHUP, AND WHY THE COMPONENTS BELONG TOGETHER
────────────────────────────────────
A trendline break, on its own, is a low-information event. The same break can be either a high-quality structural rupture from a long compressed base, or a meaningless poke through a noise-level pivot inside chop. To tell those apart in a reproducible way, you need to measure several independent properties of the break event AND the trend context surrounding it.
This script combines the components below for that single purpose. Each one answers a question the others cannot answer alone. Every one of them feeds into the final 0–12 Break Strength score.
1. Multi-tier swing pivot engine (three parallel tiers)
The core. Builds and tracks pivot-based trendlines at three configurable timescales simultaneously and detects when each is broken. Each tier runs an independent state machine. Three tiers exist because breaks of micro-structure, intermediate structure, and major structure carry very different meaning.
2. ATR (Average True Range)
The volatility yardstick. Used to normalise break magnitude, pivot height, and range expansion across symbols and timeframes. ATR shows up in four of the seven Break Quality components.
3. Kaufman Efficiency Ratio (ER)
Computed as:
|close − close | / sum(|close − close |, N)
Detects pre-break compression: low ER (chop) followed by rising ER (release) = coiled-spring break setup. Answers a question no other component answers — what was the market doing in the bars leading up to this break?
4. Volume vs 20-bar SMA
Confirms participation at the break. A break with above-average volume is structurally different from a break on dead volume.
5. Session VWAP gradient
Standard session-anchored VWAP, plus the slope of VWAP normalised to ATR units. A pivot break aligned with a strongly trending VWAP is occurring within an established VWAP-axis trend; one against it is counter-trend.
6. Adaptive trailing stop, multi-timeframe composite bias
An adaptive trailing stop whose ATR length is dynamically set using Kaufman's Efficiency Ratio (the same adaptation mechanism used in KAMA). The stop is computed on chart, 3×, 5×, and 15× timeframes; each contributes a weighted ±1 to a composite directional score in the range −10 to +10. One number summarises whether four timeframes agree.
7. Chandelier-style trailing stop, multi-timeframe convergence
A second, independent multi-timeframe trend check. Standard Chandelier stops on chart / 3× / 5× / 15× are computed; the standard deviation of those four stop prices is measured and normalised to ATR. Low dispersion = all timeframes agree. The adaptive composite (#6) and the Chandelier convergence (#7) cross-check the same question via two different mechanisms.
8. Higher-timeframe pivot structure (HH+HL / LH+LL on 3×, 5×, 15×)
Direct HTF market-structure read using ta.pivothigh / ta.pivotlow on the HTF series. Independent of any moving-average / stop / VWAP framework — purely pivot-sequence based.
9. Chart-timeframe pivot structure
The same pivot-sequence test on the chart timeframe itself, using its own configurable pivot length, independent of the trendline engine.
10. Confluence-based support/resistance zone engine
A zone builder that combines volume profile (POC, VAH, VAL), high-activity bars (top-percentile volume and range), native swing pivots, and multi-HTF pivots into clustered, scored zones. Available as a visual layer and as an optional filter gate.
────────────────────────────────────
HOW THEY COMPOSE INTO ONE NUMBER
────────────────────────────────────
Break Strength = Break Quality (0–7) + (5 − Trend Context) (0–5)
Range: 0–12
Break Quality (0–7) is the sum of seven independent properties of the break event itself:
| # | Component | What it measures |
|---|---|---|
| 1 | ER compression-then-release | Coiled-spring pre-break setup |
| 2 | Break magnitude ≥ N × ATR | Decisiveness of the break |
| 3 | Volume ≥ N × 20-bar SMA | Participation at the break |
| 4 | ≥ N bars since prior same-dir pivot | Trendline duration / base length |
| 5 | Pivot height ≥ N × ATR | Quality of the trendline being broken |
| 6 | Range expansion (TR > N×ATR, ATR rising) | Range-based expansion at break |
| 7 | Anti-Wick check | Close in favourable 30% of bar |
Trend Context (0–5) measures whether the broader trend is already established:
| # | Component | What it measures |
|---|---|---|
| 1 | Recent same-dir Slow tier signal | Slowest tier already confirmed direction |
| 2 | Adaptive Trail aligned | Multi-TF adaptive-stop framework agrees |
| 3 | VWAP gradient strongly aligned | Session VWAP slope agrees |
| 4 | Chandelier stop convergence high | All TFs agree on trend state |
| 5 | Chart-TF HH+HL aligned | Chart pivot sequence agrees |
Why Trend Context is INVERTED:
When the broader trend is already firmly established, the break is occurring late in the move and receives a lower bonus. When the context is mixed or transitioning, the bonus is higher. The thesis: quality breaks occur AT structural inflection points, not after them. If you prefer with-trend breakouts to count fully, disable Trend Context in inputs (the composite then becomes Break Quality alone, range 0–7).
────────────────────────────────────
HOW TO USE IT (PRACTICAL WORKFLOW)
────────────────────────────────────
1. Apply to any chart and timeframe.
All defaults are sensible.
2. Read the on-bar arrow labels:
Tier length + direction + Break Strength score. The Status Panel summarises the most recent break.
3. Start with default filters:
VWAP Gradient Filter ON, Adaptive / HTF / LTF / Volume / Confluence gates OFF. Add gates one at a time to suit your trading style.
4. Higher score = stronger structural break,
read alongside the score-band guide above. Do not treat any score as a buy/sell signal on its own.
5. For lower timeframes,
consider the multi-instance stacking technique described above (8/21/34, 21/34/55, 34/89/144) to add higher-TF context without leaving your execution chart.
6. Use the Confluence S/R zones (if enabled)
to see where breaks line up with major confluence levels. Breaks at strong zones behave differently from breaks in empty space.
────────────────────────────────────
FILTER GATE QUICK REFERENCE
────────────────────────────────────
| Gate | When to enable |
|---|---|
| VWAP Gradient Filter | Default ON. Suppresses breaks against a strongly trending session VWAP. |
| Adaptive Trail Bias Gate | Enable if you want to see only breaks aligned with multi-TF directional consensus. |
| HTF Anchor (HH+HL / LH+LL) | Enable to require recent pivot sequence confirmation. |
| LTF Pivot Break | Enable to require the close to clear the opposing pivot. |
| Volume Surge | Enable to require top-percentile volume on the break bar. |
| Confluence Zone Gate | Enable to require the break to occur near a strong S/R zone. |
Each filter, when enabled, suppresses arrow labels for breaks that do not meet that criterion. Filters compose multiplicatively — turning on three filters at once will significantly reduce the number of breaks displayed.
────────────────────────────────────
WHAT IS ORIGINAL ABOUT THIS INDICATOR
────────────────────────────────────
• The inverted-context composite score — Break Quality summed with (5 − Trend Context) — is the novel contribution. Most multi-component scorers reward aligned context as a bonus; this one penalises it on the explicit thesis that early breaks score higher than late breaks.
• The seven Break Quality components are designed to be independent — no component overlaps with another on the same surface, and none measures established trend (that is the job of the inverted Trend Context score).
• Three pivot tiers run in parallel with independent state machines, rather than the more common single-tier approach.
• Two independent multi-timeframe trend reads (adaptive-stop composite + Chandelier convergence) cross-check rather than relying on a single MTF mechanism.
• The confluence S/R engine combines volume profile, percentile-and-consensus-based high-activity bar detection, native pivots, and up to three HTF pivot streams into a single 0–10 zone-strength score.
────────────────────────────────────
TECHNICAL NOTES
────────────────────────────────────
• Pine Script v6
• Non-repainting: structural break events confirm at bar close
• No lookahead: barmerge.lookahead_off on all request.security calls
• HTF reads are one-way: chart-TF computations never depend on HTF state in a way that would change historical bars
• Max line / label / box counts set high to handle dense trendline tiers
• Compatible with PulseWire's House Rules and Pine publishing standards
────────────────────────────────────
IMPORTANT RISK DISCLOSURE
────────────────────────────────────
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, a trading system, or a recommendation to buy, sell, or hold any financial instrument.
Trading and investing involve substantial risk of loss, including the possible loss of all invested capital. The structural break events highlighted by this indicator are observations of market behaviour, not predictions of future price movement. The Break Strength score is a descriptive summary of structural properties, not an indication of profitability, win rate, expected return, or risk-adjusted performance.
No backtested or hypothetical performance is claimed or implied by any element of this indicator or its description. Past structural break events identified by the indicator are not indicative of future results. The arrows, scores, and zones are analytical annotations, not trade signals.
You are solely responsible for any trading decisions you make. Always conduct your own research, use appropriate risk management, size positions according to your own risk tolerance, and consider consulting a licensed financial advisor before making investment decisions. Do not trade with money you cannot afford to lose.
By using this indicator you acknowledge that the author bears no responsibility for any losses, missed gains, or other consequences arising from its use. Indicator

Periodic Anchored VWAPPeriodic Anchored VWAP
Overview
The Periodic Anchored VWAP is a professional volume-weighted average price indicator that anchors VWAP calculations to fixed calendar periods. Unlike traditional anchored VWAP tools that require manual point-and-click anchoring, this indicator automatically resets VWAP calculations at predefined interval boundaries (hourly, daily, weekly, monthly), providing a clean, systematic approach to volume-weighted support and resistance analysis.
Key Features
13 Anchor Periods: 1H, 4H, 6H, 12H, 1D, 3D, 1W, 2W, 1M, 2M, 3M, 6M, 12M
Smart Timeframe Filtering: Automatically hides VWAPs when chart timeframe equals or exceeds anchor period
Individual Period Controls: Toggle each VWAP on/off independently with custom colors
Master Toggle: Global show/hide for all VWAP lines
Dynamic Labels: Real-time price labels at the right edge of chart
Compact Settings: Streamlined input panel with inline color pickers
How It Works
The Golden Rule
VWAP is displayed ONLY when: Chart Timeframe < Anchor Period
This ensures VWAP lines always represent meaningful continuous calculations. For example:
1H VWAP appears only on timeframes smaller than 1 hour (e.g., 15min, 5min, 1min)
1D VWAP appears only on timeframes smaller than daily (e.g., 4H, 1H, 15min)
1W VWAP appears only on timeframes smaller than weekly (e.g., daily, 4H, 1H)
Anchor Logic
Each VWAP resets at its respective period boundary:
Intraday Anchors (1H, 4H, 6H, 12H): Reset at the start of each hour/4-hour/6-hour/12-hour period
Daily Anchors (1D, 3D): Reset at daily market open
Weekly Anchors (1W, 2W): Reset at weekly market open
Monthly Anchors (1M, 2M, 3M, 6M, 12M): Reset at month boundaries
Input Settings
Master Control:
VWAP Display Show / Hide Global toggle for all VWAP lines
Intraday Anchors (Default: Off):
1H => Teal => Short-term intraday reference
4H => Pink => Medium-term intraday reference
6H => Magenta => Half-day session reference
12H => Cyan => Full session reference
Anchor VWAP Periods (Default: On):
1D => Yellow/Green => Daily support/resistance
3D => Purple => Multi-day trend reference
1W => Blue => Weekly pivot levels
2W => Light Blue => Bi-weekly trend
1M => Green => Monthly support/resistance
2M => Dark Green => 2-month horizon
3M => Yellow => Quarterly reference
6M => Orange => Semi-annual trend
12M => Red => Annual benchmark
Visual Display
VWAP Lines: Colored lines plotted at 2px thickness for clear visibility:
Right-Edge Labels: Compact labels showing period and current VWAP value
Smart Label Colors: Black or white text automatically based on line color for optimal readability
Use Cases
Intraday Trading:
Use 1H, 4H, 6H, 12H VWAPs on lower timeframes (e.g., 5min, 15min) to identify intraday support/resistance levels
Multiple intraday VWAPs reveal stacked liquidity zones
Swing Trading:
1D, 3D, 1W, 2W VWAPs help identify trend direction and mean reversion levels
Weekly VWAP provides context for daily price action
Position Trading:
1M, 3M, 6M, 12M VWAPs offer long-term benchmarks for valuation assessment
Multiple monthly VWAPs show multi-year price distribution
Multi-Timeframe Analysis:
Visualize up to 13 VWAP levels simultaneously
Identify confluences where multiple VWAP periods align
Observe how price interacts with different anchored levels
Important Notes
Timeframe Limitations: VWAPs automatically hide when the chart timeframe is equal to or greater than the anchor period (prevents misleading point-to-point lines)
Intraday Anchors Disabled by Default: Enable only the periods relevant to your trading style to reduce visual clutter
Monthly Anchors: Use 30-day approximation for minute calculations; display logic ensures they only appear on daily or lower timeframes
Label Positioning: Labels appear 1-13 bars to the right of the current bar to prevent overlap with price action
Performance
Efficiently coded with looped label management
No repainting — all calculations are historical
Compatible with all markets and symbols
Version History
v.1.0 => Initial release with 13 anchor periods, timeframe validation, and dynamic labels
Start using Periodic Anchored VWAP to elevate your volume-weighted analysis across all timeframes!
Indicator

MST Medio v1.0MST Medio — 3-Phase Price Action Confirmation
MST Medio is a structured price action indicator that detects high-probability reversal entries using a 3-phase confirmation process: Break → Confirm → Retest. It waits for a confirmed Higher High / Lower Low, validates the impulse wave, then triggers only when price retests the key level.
No repainting. No lagging indicators. Pure price action logic built on swing structure.
────────────────
How It Works
Phase 1 — Break
Price forms a Higher High (HH) above the previous Swing High, or a Lower Low (LL) below the previous Swing Low. The break must pass two filters:
Break Strength — The break distance must exceed a minimum percentage of the previous swing range (configurable, default 0.25×).
Impulse Body Filter — The first candle closing beyond the old high/low must have a body ≥ 1.5× the 20-bar average body. This ensures the break is driven by momentum, not a weak drift.
The indicator then identifies the W1 impulse wave — the highest high (BUY) or lowest low (SELL) from the break candle until the first opposing candle.
Phase 2 — Confirm
After the impulse wave, price must pull back and then close beyond the W1 peak (for BUY) or below the W1 trough (for SELL). This confirms that momentum has resumed after the correction.
Invalidation rules:
Price returns to the entry level (old SH/SL) before confirmation → structure broken, cancel.
Price hits the Stop Loss level → cancel.
Phase 3 — Retest Entry
Once confirmed, the indicator waits for price to retest the original Swing High (BUY) or Swing Low (SELL). This is your entry point — buying at the old resistance turned support, or selling at the old support turned resistance.
Invalidation rules:
Price hits Stop Loss → cancel.
Price breaks below the W1 trough (BUY) or above the W1 peak (SELL) → cancel.
────────────────
Visual Elements
Entry / SL / TP lines (dashed) — Drawn at signal confirmation with labels showing levels and R:R ratio.
Risk/Reward zones — Colored boxes: red zone (Entry → SL) and green zone (Entry → TP) for instant visual assessment.
Confirm Break label — "▲ Confirm Break" / "▼ Confirm Break" at the wave confirmation candle.
Pending state — Dotted lines and phase labels ("Phase 1 BUY", "Phase 2 SELL") showing the indicator is tracking a potential setup before it triggers.
Swing markers (optional) — Small triangles at detected pivot highs and lows.
────────────────
Take Profit Logic
TP is placed at the high of the Confirm Break candle (BUY) or the low of the Confirm Break candle (SELL). This represents the point where momentum was confirmed — a natural target that aligns with the structure of the move.
────────────────
Inputs
Pivot Lookback (default: 5) — Bars left/right to confirm a swing point. Higher values = fewer but stronger pivots.
Break Strength (default: 0.25) — Break distance must be ≥ this multiple of the previous swing range. Set 0 to disable.
Impulse Body Filter (default: 1.5) — The break candle body must be ≥ this multiple of the 20-bar average body. Set 0 to disable.
Show Entry / SL / TP Lines — Toggle dashed level lines and labels.
Show Risk/Reward Zones — Toggle colored risk/reward boxes.
Show Pending State — Toggle the dotted lines and phase labels for setups being tracked.
Show Confirm Break Label — Toggle the confirmation label.
Show Swing Points — Toggle swing high/low markers on the chart.
Full color customization for all visual elements.
────────────────
Alerts
BUY Signal — Fires when Phase 3 retest is triggered on a bullish setup.
SELL Signal — Fires when Phase 3 retest is triggered on a bearish setup.
Any Signal — Fires on either direction.
────────────────
Notes
Works on all timeframes and all instruments.
Non-repainting — All signals use confirmed (closed) pivots. No lookahead.
This is a detection tool , not a strategy. Use it alongside your own risk management and confluence analysis.
Best suited for trending markets where HH/LL structures form clean impulse waves.
The 3-phase confirmation significantly reduces false signals compared to raw breakout detection.
Indicator

Bollinger Bands Delta Matrix Analytics [BDMA] Bollinger Bands Delta Matrix Analytics (BDMA) v7.0
Deep Kinetic Engine – 5x8 Volatility & Delta Decision Matrix
1. Introduction & Concept
Bollinger Bands Delta Matrix Analytics (BDMA) v7.0 is an analytical framework that merges:
- Spatial analysis via Bollinger Bands (%B location),
- with a 4-factor Deep Kinetic Engine based on:
• Total Volume
• Buy Volume
• Sell Volume
• Delta (Buy – Sell) Z-Scores
and converts them into an expanded 5×8 decision matrix that continuously tracks where price is trading and how the underlying orderflow is behaving.
BDMA is not a trading system or strategy. It does not generate entry/exit signals.
Instead, it provides a structured contextual map of volatility, volume, and delta so traders can:
- identify climactic extensions vs. fakeouts,
- distinguish strong initiative moves vs. passive absorption,
- and detect squeezes, traps, and liquidity voids with a unified visual dashboard.
2. Spatial Engine – Bollinger S-States (S1–S5)
The spatial dimension of BDMA comes from classic Bollinger Bands.
Price location is expressed as Percent B (%B) and mapped into 5 spatial states (S-States):
S1 – Hyper Extension (Above Upper Band)
Price has pushed beyond the upper Bollinger Band.
Often associated with parabolic or blow-off behavior, late-stage momentum, and elevated reversal risk.
S2 – Resistance Test (Upper Zone)
Price trades in the upper Bollinger region but remains inside the bands.
Represents a sustained test of resistance, typically within an established or emerging uptrend.
S3 – Neutral Zone (Middle)
Price hovers around the mid-band.
This is the mean reversion gravity field where the market often consolidates or transitions between regimes.
S4 – Support Test (Lower Zone)
Price trades in the lower Bollinger region but inside the bands.
Represents a sustained test of support within range or downtrend structures.
S5 – Hyper Drop (Below Lower Band)
Price extends below the lower Bollinger Band.
Often aligned with panic, forced liquidations, or capitulation-type behavior, with increased snap-back risk.
These 5 S-States define the vertical axis (rows) of the BDMA matrix.
3. Deep Kinetic Engine – 4-Factor Z-Score & D-States (D1–D8)
The Deep Kinetic Engine transforms raw volume and delta into standardized Z-Scores to measure how abnormal current activity is relative to its recent history.
For each bar:
- Raw Buy Volume is estimated from the candle’s position within its range
- Raw Sell Volume is complementary to buy volume
- Raw Delta = Buy Volume – Sell Volume
- Total Volume = Buy Volume + Sell Volume
These 4 series are then normalized using a unified Z-Score lookback to produce:
1. Z_Vol_Total – overall activity and liquidity intensity
2. Z_Vol_Buy – aggression from buyers (attack)
3. Z_Vol_Sell – aggression from sellers (defense or attack)
4. Z_Delta – net victory of one side over the other
Thresholds for Extreme, Significant, and Neutral Z-Score levels are fully configurable, allowing you to tune the sensitivity of the kinetic states.
Using Z_Vol_Total and Z_Delta (plus threshold logic), BDMA assigns one of 8 Deep Kinetic states (D-States):
D1 – Climax Buy
Extreme Total Volume + Extreme Positive Delta → Buying climax or blow-off behavior.
D2 – Strong Buy
High Volume + High Positive Delta → Confirmed bullish initiative activity.
D3 – Weak Buy / Fakeout
Low Volume + High Positive Delta → Bullish delta without commitment, low-liquidity breakout risk.
D4 – Absorption / Conflict
High Volume + Neutral Delta → Aggressive two-way trade, strong absorption, war zone behavior.
D5 – Neutral
Low Volume + Neutral Delta → Low-energy environment with low conviction.
D6 – Weak Sell / Fakeout
Low Volume + High Negative Delta → Bearish delta without commitment, low-liquidity breakdown risk.
D7 – Strong Sell
High Volume + High Negative Delta → Confirmed bearish initiative activity.
D8 – Capitulation
Extreme Volume + Extreme Negative Delta → Panic selling or capitulation regime.
These 8 D-States define the horizontal axis (columns) of the BDMA matrix.
4. The 5×8 BDMA Decision Matrix
The core of BDMA is a 5×8 matrix where:
- Rows (1–5) = Spatial S-States (S1…S5)
- Columns (1–8) = Kinetic D-States (D1…D8)
Each of the 40 possible combinations (SxDy) is pre-computed and mapped to:
- a Status or Regime Title (for example: Climax Breakout, Bear Trap Spring, Capitulation Breakdown),
- a Bias (Climactic Bull, Neutral, Strong Bear, Conflict or Reversal Risk, and similar labels),
- and a Strategic Signal or Consideration (for example: High reversal risk, Wait for confirmation, Low probability zone – avoid).
Internally, BDMA resolves all 40 regimes so the current state can be displayed on the dashboard without performance overhead.
5. Key Regime Families (How to Read the Matrix)
5.1. Breakouts and Breakdowns
Climax Breakout (Top-side)
Spatial S1 with Kinetic D1 or D2
Bias: Explosive or Extreme Bull
Signal:
- Strong or climactic upside extension with abnormal bullish orderflow.
- Trend continuation is possible, but reversal risk is extremely high after blow-off phases.
Low-Conviction Breakout (Fakeout Risk)
S1 with D3 (Weak Buy, low liquidity)
Bias: Weak Bull – Caution
Signal:
- Breakout not supported by volume.
- Elevated risk of failed auction or bull trap.
Capitulation Breakdown (Bottom-side)
Spatial S5 with Kinetic D8
Bias: Climactic Bear (panic)
Signal:
- Capitulation-type selling or forced liquidations.
- Trend can still proceed, but snap-back or violent short-covering risk is high.
Initiative Breakdown vs. Weak Breakdown
- Strong, high-volume breakdown typically corresponds to D7 (Strong Sell).
- Low-volume breakdown often corresponds to D6 (Weak Sell or Fakeout) with potential for failure.
5.2. Absorption, Traps and Springs
Absorption at Resistance (Top-side conflict)
S1 or S2 with D4 (Absorption or Conflict)
Bias: Conflict – Extreme Tension
Signal:
- Heavy two-way trade near resistance.
- Potential distribution or reversal if sellers begin to dominate.
Bull Trap or Failed Auction
Typically S1 with D6 (Weak Sell breakdown behavior after a top-side attempt)
Indicates a breakout attempt that fails and reverses, often after poor liquidity structure.
Absorption at Support and Bear Trap (Spring)
S4 or S5 with D4 or D3
Bias: Conflict or Weak Bear – Reversal Risk
Signal:
- Aggressive buying into lows (spring or shakeout behavior).
- Potential bear trap if price reclaims lost territory.
5.3. Trend Phases
Strong Uptrend Phases
Typically seen when S2–S3 combine with strong bullish kinetic behavior.
Bias: Strong or Extreme Bull
Signal:
- Pullbacks into S3 or S4 with supportive kinetic states often act as trend continuation zones.
Strong Downtrend Phases
Typically seen when S3–S4 combine with strong bearish kinetic behavior.
Bias: Strong or Extreme Bear
Signal:
- Rallies into resistance with strong bearish kinetic backing may act as continuation sell zones.
5.4. Neutral, Exhaustion and Squeeze
Exhaustion or Liquidity Void
S1 or S5 with D5 (Neutral kinetics)
Bias: Neutral or Exhaustion
Signal:
- Spatial extremes without kinetic confirmation.
- Often marks the end of a move, with poor follow-through.
Choppy, Low-Activity Range
S3 with D5
Bias: Neutral
Signal:
- Low volume, low conviction market.
- Typically a low-probability environment where standing aside can be logical.
Squeeze or High-Tension Zone
S3 with D4 or tightly clustered kinetic values
Bias: Conflict or High Tension
Signal:
- Hidden battle inside a volatility contraction.
- Often precedes large directionally-biased moves.
6. Dashboard Layout & Reading Guide
When Show Dashboard is enabled, BDMA displays:
1. Title and Status Line
Name of the current regime (for example: Climax Breakout, Bear Trap Spring, Mean Reversion).
2. Bias Line
Plain-language summary of directional context such as Climactic Bull, Strong Bear, Neutral, or Conflict and Reversal Risk.
3. Signal or Strategic Notes
Concise guidance focused on risk and context, not entries. For example:
- High reversal risk – aggressive traders only
- Wait for confirmation (break or rejection)
- Low probability zone – avoid taking new positions
4. Kinetic Profile (4-Factor Z-Score)
Shows the current Z-Scores for Total Volume (Activity), Buy Volume (Attack), Sell Volume (Defense), and Delta (Net Result).
5. Matrix Heatmap (5×8)
Visual representation of S-State vs. D-State with color coding:
- Bullish clusters in a green spectrum
- Bearish clusters in a red spectrum
- Conflict or exhaustion zones in yellow, amber, or neutral tones
The dashboard can be repositioned (top right, middle right, or bottom right) and its size can be adjusted (Tiny, Small, Normal, or Large) to fit different layouts.
7. Inputs & Customization
7.1. Core Parameters (Bollinger and Z-Score)
- Bollinger Length and Standard Deviation define the spatial engine.
- Z-Score Lookback (All Factors) defines how many bars are used to normalize volume and delta.
7.2. Deep Kinetic Thresholds
- Extreme Threshold defines what is considered climactic (D1 or D8).
- Significant Threshold distinguishes strong initiative vs. weak or fakeout behavior.
- Neutral Threshold is the band within which delta is treated as neutral.
These thresholds allow you to tune the sensitivity of the kinetic classification to fit different timeframes or instruments.
7.3. Calculation Method (Volume Delta)
Geometry (Approx)
- Fast, non-repainting approach based on candle geometry.
- Suitable for most users and real-time decision-making.
Intrabar (Precise)
- Uses lower-timeframe data for more precise volume delta estimation.
- Intrabar mode can repaint and requires compatible data and plan support on the platform.
- Best used for post-analysis or research, not blind automation.
7.4. Visuals and Interface
- Toggle Bollinger Bands visibility on or off.
- Switch between Dark and Light color themes.
- Configure dashboard visibility, matrix heatmap display, position, and size.
8. Multi-Language Semantic Engine (Asia and Middle East Focus)
BDMA v7.0 includes a fully integrated multi-language layer, targeting a wide geographic user base.
Supported Languages:
English, Türkçe, Русский, 简体中文, हिन्दी, العربية, فارسی, עברית
All dashboard labels, regime titles, bias descriptions, and signal texts are dynamically translated via an internal dictionary, while semantic meaning is kept consistent across languages.
This makes BDMA suitable for multi-language communities, study groups, and educational content across different regions.
However, due to the heavy computational load of the Deep Kinetic Engine and PulseWire’s strict Pine Script execution limits, it was not possible to expand support to additional languages. Adding more translation layers would significantly increase memory usage and exceed runtime constraints. For this reason, the current language set represents the maximum optimized configuration achievable without compromising performance or stability.
9. Practical Usage Notes
BDMA is most powerful when used as a contextual overlay on top of market structure (HH, HL, LH, LL), higher-timeframe trend, key levels, and your own execution framework.
Recommended usage:
- Identify the current regime (Status and Bias).
- Check whether price location (S-State) and kinetic behavior (D-State) agree with your trade idea.
- Be especially cautious in climactic and absorption or conflict zones, where volatility and risk can be elevated.
Avoid treating BDMA as an automatic green equals buy, red equals sell tool.
The real edge comes from understanding where you are in the volatility or kinetic spectrum, not from forcing signals out of the matrix.
10. Limitations & Important Warnings
BDMA does not predict the future.
It organizes current and recent data into a structured context.
Volume data quality depends on the underlying symbol, exchange, and broker feed.
Forex, crypto, indices, and stocks may all behave differently.
Intrabar mode can repaint and is sensitive to lower-timeframe data availability and your plan type.
Use it with extra caution and primarily for research.
No indicator can remove the need for clear trading rules, disciplined risk management, and psychological control.
11. Disclaimer
This script is provided strictly for educational and analytical purposes.
It is not a trading system, signal service, financial product, or investment advice.
Nothing in this indicator or its description should be interpreted as a recommendation to buy or sell any asset.
Past behavior of any indicator or market pattern does not guarantee future results.
Trading and investing involve significant risk, including the risk of losing more than your initial capital in leveraged products.
You are solely responsible for your own decisions, risk management, and results.
By using this script, you acknowledge that you understand these risks and agree that the author or authors and publisher or publishers are not liable for any loss or damage arising from its use. Indicator

Multiple MAsHere's a well-written description in English for your "Multiple MAs" indicator that you can use when publishing on PulseWire. It’s concise, professional, and highlights the key features of the indicator while explaining its purpose for traders.
---
### Multiple MAs Indicator
#### Overview
The **Multiple MAs** indicator is a versatile and straightforward tool designed to help traders visualize price trends using multiple Simple Moving Averages (SMAs) on a single chart. By plotting six SMAs with customizable lengths (MA5, MA10, MA20, MA50, MA100, and MA200), this indicator provides a clear view of short-term, medium-term, and long-term trends, making it ideal for trend-following strategies, crossover analysis, and identifying potential support/resistance levels.
#### Features
- **Customizable MA Lengths**: Adjust the periods of all six moving averages (MA5, MA10, MA20, MA50, MA100, MA200) to suit your trading style and timeframe.
- **Distinct Visuals**: Each MA is plotted with a unique color and line width for easy identification:
- MA5 (Dodger Blue, 1px)
- MA10 (Green, 1px)
- MA20 (Red, 2px)
- MA50 (Purple, 3px)
- MA100 (Gray, 3px)
- MA200 (White, 3px)
- **Overlay on Price Chart**: The indicator overlays directly on the price chart, allowing for seamless integration with other technical analysis tools.
- **High Precision**: Displays values with 8-decimal precision, ensuring accuracy for assets with small price movements (e.g., forex pairs or cryptocurrencies).
#### How to Use
1. **Trend Identification**: Use the longer MAs (e.g., MA100, MA200) to determine the overall trend direction. If the price is above these MAs, the trend is likely bullish; if below, it’s likely bearish.
2. **Crossover Signals**: Look for crossovers between shorter MAs (e.g., MA5 crossing MA20) for potential entry or exit signals. For example:
- A bullish signal occurs when a shorter MA crosses above a longer MA.
- A bearish signal occurs when a shorter MA crosses below a longer MA.
3. **Support and Resistance**: MAs often act as dynamic support or resistance levels. Watch for price reactions around these lines, especially the MA50, MA100, and MA200.
4. **Divergence Analysis**: Compare the slope of different MAs to identify potential trend reversals or weakening momentum.
#### Settings
- **MA5 Length**: Default is 5 bars.
- **MA10 Length**: Default is 10 bars.
- **MA20 Length**: Default is 20 bars.
- **MA50 Length**: Default is 50 bars.
- **MA100 Length**: Default is 100 bars.
- **MA200 Length**: Default is 200 bars.
#### Best Practices
- **Timeframe**: This indicator works on any timeframe but is particularly effective on daily, 4-hour, and 1-hour charts for swing trading or trend-following strategies.
- **Combine with Other Tools**: Pair the Multiple MAs with other indicators like RSI, MACD, or volume analysis to confirm signals and avoid false breakouts.
- **Adjust for Volatility**: For highly volatile assets, consider increasing the MA lengths to reduce noise and focus on broader trends.
#### Notes
- The indicator is lightweight and optimized for performance, ensuring it runs smoothly even on lower timeframes.
- Colors and line widths are pre-set for clarity but can be customized in the indicator settings if needed.
#### Credits
Created by kosar_v. Feedback and suggestions are welcome to improve this tool for the PulseWire community!
Indicator

Support & Resistance ParserI've created a user-friendly trading indicator that interprets and visually presents support and resistance levels, transforming raw data into actionable insights.
Here's a glimpse of what you might encounter:
Today's trigger points (ES)
Support: 4264.5,4220.75,4131.5,4164.5,3980.75,4182.5,4174.25,4120,4112.25,4089.25,4085.75
Resistance: 4299.75,4304.5,4316.75,4345.25,4331.75
This is how it works:
1. Copy the series of support and resistance figures, ie just the comma separated numbers
2. Paste each series into their respective setting in the indicator.
3. The indicator parses the data, understanding the sequence and importance of each figure.
4. It then draws the corresponding support and resistance lines on your trading chart.
Chart would appear similar to the following:
This tool distinguishes itself with its user-friendly features. Each line comes with adjustable labels, enabling users to personalize their visualization. This makes the data more intuitive and easier to comprehend, enhancing decision-making during trades.
Note: The indicator includes limited error handling capabilities.
Make the most out of your trading journey with this intuitive and customizable tool, specifically designed to turn raw data into valuable trading insights. Indicator

CryptoverseThis Indicator dynamically generates and charts Pivot Points, Support and Resistance Lines, Trend Channels and even Rsi Divergences in every market and every time period.
While it helps you identify your entry points, stop loss and take positions, it certainly does not include trading signals and trading strategy.
Bonus: the indicator contains ema21, ema50, ema100 and ema200 to support the lines created. If you wish, you can change the EMA values in the settings.
Recommendation: RSI is included in the indicator codes in order to detect divergences dataally, but it is not displayed on the chart. I recommend adding an additional RSI indicator to keep track of past and current potential divergences.
USER MANUAL:
----------------------------------------------
General Settings:
Pivot Period: This field determines how many candles before and after a candle should be controlled in order to be able to determine the top and bottom points on the chart.
Support and Resistance Lines and Trend Channels formed on the chart are created by calculating the Pivot points formed according to the period determined here. (Default value: 6)
Pivot Source: Determines the pivot points to be created according to the value of the relevant candle.
(Default and Recommended: closing)
----------------------------------------------
Support And Resistance Settings:
Custom Bars Back: This area allows you to specify how many pivot points from the current candle to the previous candle to create support resistance lines on the Chart. The default value is the last 500 candles.
*Note: The more old candles are checked, the more support and resistance lines will appear. This may prevent you from making sound determinations on the chart.*
Current Bar Decrease: This field works integrated with Custom Bars Back. By subtracting the current candle by the specified number, it provides the formation of lines without including those candles.
Default value: It is set to 0 to include current data.
Example: If Custom Bars Back: 500 and Current Bar Decrease: 10, Support and Resistance lines are created by considering 500 candles before the last 10 candles without including the last 10 candles on the chart.
Show S/R Lines: This field allows you to show or hide the Support and Resistance lines at any time.
Auto Simplification: This field is marked by default. It allows the Simplification Steps value to be determined automatically within the code according to the time period and current volatility of the relevant parity. (It is recommended to use the default version.)
Simplification Steps: This field allows you to get more understandable lines by simplifying the Support and Resistance lines based on Pivot points. If a simplification is not done, the lines to be formed with only the pivot points will be too many and this creates a dirty and useless appearance on the chart.
Each 1 digit you enter as a step combines the lines that are close to each other at a value of 0.01% and creates a common line.
Example: If you enter the number 10 as Steps, it will form a single common line from lines close together, starting at 0.01% respectively. It will continue to increase by 0.02%, 0.03%, 0.04% in its next steps. For the number 10, it will complete its loop by combining lines within the last remaining lines that are as close as 0.1% to each other and creating new lines from their midpoints.
The deafult value is 14. (Max. simplifies lines with closeness up to 1.4%.)
Important Note: If Auto Simplification is on, the entered value has no meaning. The Indicator performs simplification operations automatically. If you want to manage these steps manually, you can turn off Auto Simplification and enter your own value.
S/R Lines Color: Allows you to specify the color of the lines.
Label Location: Allows you to determine how many candles ahead the information label formed for each line will be positioned.
Line Label Descriptions:
Line: It is the price value that the line coincides with.*
Distance: Shows the percentage distance of the line from the current price.
▲ : Shows the percentage distance from the line above it.
▼ : Shows the percentage distance from the line below it.
Strength: Indicates the total number of steps the process has taken during the simplification process. The height of the number indicates the strength of resistance and support in the close price range.
C. Width: stands for Channel Width. It shows the percentage value between the highest price and the lowest price on the past candle as many candles specified by Custom Bars Back.
S. Steps: stands for Simplification Steps. Indicates the number of simplification steps applied. A value of 150 in the image indicates that a 1.5% simplification range has been applied.
----------------------------------------------
Trend Channels Settings:
Show All Trend Lines: Allows you to show and hide trend channels.
Hide Old Trend Lines: If you enable it, it will hide channels created in the past except for Current Trend channels.
Helper Line Format: Allows the auxiliary line that converts a trendline to a channel to be drawn based on percentage or price.
Note: There may be cases where the auxiliary lines do not provide full parallelism when using large time intervals by preferring a percentage.
Up Trend Color: Indicates the color of the Up Trend channel.
Down Trend Color: Specifies the color of the Downtrend channel.
Show Up Trend Overflow, Show Down Trend Overflow:
When the price closes above or below the trend channels, it provides awareness with the help of a text on the chart. Colors can be adjusted according to preference.
----------------------------------------------
RSI Divergences Settings:
This indicator gives you information about 4 different divergences. You can customize the divergence views with the show and hide options.
Bullish Regular, Bullish Hidden, Bearish Regular and Bearish Hidden.
Green divergences from the bottom of the graph represent bullish, and red divergences above the graph represent bearish.
Important note: Seeing a mismatch label definitely indicates that there is a mismatch between prices and rsi, but a mismatch does not always indicate a change in price.
Potential Divergence:
The indicator not only shows you past divergences, but also informs you of potential divergences based on the current status of the chart.
A potential divergence may not turn into a true one if the price flow continues to increase or decrease in the same direction. But all divergences seen in the past must have been shown as potential divergences beforehand.
Rsi Length, Rsi Source: Allows you to change settings for RSI values typically embedded within the indicator.
Note: Pivot Source and RSI Source using the same type of candle data ensures that divergences are displayed correctly.
----------------------------------------------
EMA Settings:
The indicator allows you to use 4 different EMA data in addition to Support and Resistance lines, Trend Channels and RSI divergences. By default, 21, 50, 100 and 200 are used. You can change the EMA values and colors in the Settings section, or you can use the show hide options in the Style section.
Indicator

Indicator
