Crypto Correlation Dashboard [StrixEDGE]Overview
A real-time Pearson correlation matrix built for crypto portfolio analysis. Tracks the statistical co-movement between up to 6 assets across selectable timeframes, using log-return correlation — not raw price correlation — to avoid the inflated readings that plague most correlation tools.
Whether you're managing a multi-asset portfolio, hunting pairs trades, or monitoring regime shifts, this dashboard tells you exactly when diversification is real and when it's an illusion.
🔍 What Makes This Different
Most correlation indicators on TradingView calculate Pearson r on raw closing prices. That's a statistical mistake: two assets trending upward will always show near-perfect correlation on price, even if their returns are completely independent. This indicator correlates **logarithmic returns**, which isolates actual co-movement from shared trend bias.
The multi-timeframe engine uses a period-scaling method through `request.security` that preserves mathematical accuracy when projecting higher-timeframe correlations onto lower-timeframe charts — consuming only 6 security calls total, leaving headroom for other indicators on your layout.
⚡ Key Features
6×6 Correlation Matrix
Full heatmap-style matrix covering all 15 unique pair combinations (C(6,2)). Color intensity maps directly to correlation strength: teal for strong positive, red for strong negative, neutral gray for uncorrelated pairs. Diagonal cells are blanked — no wasted space showing you that BTC correlates with BTC.
Multi-Timeframe Support
Select from Chart / 1H / 4H / 1D / 1W directly in settings. The lookback period auto-scales to the target timeframe resolution, so "20 periods on Daily" means 20 trading days regardless of your chart timeframe.
Rolling Correlation Chart
Select any pair (Leg A / Leg B) and track its correlation coefficient over time as a continuous line. Shaded fill between the line and zero gives an instant visual read of direction and magnitude. A dynamic label on the last bar displays the current ρ value.
Aggregate Statistics Bar
Footer row shows AVG / MIN / MAX across all 15 pairs at a glance. When the minimum correlation drops to or below your threshold, a ⚠ BREAKDOWN tag appears.
Three Independent Alert Conditions
- Pair Breakdown — fires when any single pair falls to or below your threshold
- Average Breakdown — fires when the market-wide average correlation collapses
- Rolling Crossunder — fires when your selected pair crosses under the threshold
📐 How to Use
Portfolio Diversification Check
Add your held assets as Symbols 1–6. If the matrix is mostly dark teal (all pairs > 0.7), your portfolio moves as a single block — you're concentrated, not diversified. Look for pairs with low or negative correlation to add genuine hedging value.
Regime Change Detection
Monitor the AVG stat in the footer. A sudden drop in average correlation often precedes volatility expansion, sector rotation, or flight-to-quality moves. The average breakdown alert automates this surveillance.
Pairs Trading
Identify pairs with historically high correlation (> 0.8). When their rolling correlation temporarily collapses, it may signal a mean-reversion opportunity. Use the rolling chart to time entries and the crossunder alert for notifications.
Risk Management
During market stress, correlations tend to spike toward 1.0 across the board ("correlation breakdown to the upside"). When the matrix turns uniformly teal, portfolio risk is higher than position sizing alone suggests.
⚙️ Settings
| Parameter | Default | Description |
|---|---|---|
| Symbols 1–6 | BTC, ETH, SOL, BNB, XRP, ADA | Any tradable asset — crypto, forex, equities, commodities |
| Lookback Period | 20 | Number of target-TF bars for Pearson calculation |
| Timeframe | Chart | Correlation resolution: Chart / 1H / 4H / 1D / 1W |
| Breakdown Alert ≤ | 0.30 | Threshold for all three alert conditions |
| Rolling Pair | 1 × 2 | Which pair (by index) to plot on the rolling chart |
| Matrix Position | Top Right | Table placement on the pane |
| Colors | Brand defaults | Full control over positive, negative, neutral, header, and accent colors |
🧠 Technical Notes
- Log returns `ln(close / close )` are used instead of simple returns for better statistical properties (additivity, normality approximation).
- TF scaling: When the selected timeframe exceeds the chart timeframe, the lookback is multiplied by the bar ratio. Pearson r is invariant under uniform observation duplication, so accuracy is preserved.
- Security calls: 6 total (one per symbol), well within Pine's 40-call limit.
- Symbol parsing: Automatically strips exchange prefixes (Binance, Bybit, Coinbase, OKX, etc.) and quote currencies (USDT, USD, BUSD, USDC) for clean matrix labels.
- Works on any asset class — not limited to crypto despite the default symbols.
⚠️ Limitations
- Selecting a timeframe **lower** than your chart TF (e.g., "1H" on a Daily chart) will not produce hourly-resolution correlation. The multiplier floors at 1 and you get chart-TF correlation. For true 1H correlation, view on a 1H chart.
- Pearson correlation measures **linear** relationships. Non-linear dependencies (tail risk, asymmetric co-movement during crashes) require different tools.
- Past correlation does not guarantee future correlation. Regime shifts can invalidate historical readings without warning — which is exactly why the breakdown alerts exist. Indicador

Multi Timeframe State Dashboard [Pineify]Multi Timeframe State Dashboard
Overview
This confirmation-aware TradingView dashboard condenses six reference timeframes into one matrix. Each row pairs the last closed state with the forming state and shows its trend, RSI, and ATR-percentile evidence.
Problem Definition
A basic multi-timeframe table colors each timeframe from its latest value. It hides whether a higher-timeframe bar has closed, so apparent agreement can disappear before confirmation. It also treats quiet drift and high-volatility impulse alike. Duplicate inputs overweight one horizon, while a reference below the chart requires a different sampling method. The script separates these cases.
Design Rationale
EMA slope is normalized by ATR so direction is comparable across price and volatility scales. RSI adds bounded momentum around 50; ATR percentile labels energy without choosing direction. A weighted score replaces unrelated votes, while strong trend/RSI opposition becomes CONFLICT rather than false neutrality. The matrix sacrifices each component's full path for scan speed. Pairing confirmed and live states preserves the compact view while making temporal uncertainty observable.
Key Features
Six slots with duplicate and lower-timeframe diagnostics.
CONFIRMED and LIVE states with visible drift.
Impulse, directional, bias, quiet, neutral, and conflict classes.
Closed-bar consensus, optional background, and alignment alerts.
How It Works
Each slot makes a live request with lookahead disabled and a prior-bar request for confirmed higher-timeframe data. When a slot equals the chart timeframe, its current value is confirmed only after that chart bar closes.
EMA change over the slope lookback is divided by ATR and a scale, then clipped to -1 through +1. RSI is centered at 50, divided by 25, and clipped likewise. ATR receives a 0-100 percentile rank. Direction is 55% trend and 45% momentum. Strong opposite components produce CONFLICT. Thresholds create bias or direction. Hot direction becomes IMPULSE; a small quiet score becomes QUIET.
Consensus counts only enabled, unique references equal to or higher than the chart. ALL BULLISH or ALL BEARISH requires every valid confirmed state to share direction. DRIFT counts live states that differ from confirmed partners. WARM-UP remains visible until all rolling histories exist; missing values are not replaced with zero.
How Multiple Indicators Work Together
EMA slope supplies persistent direction, RSI tests momentum support, and ATR percentile separates low-energy drift from expansion. Without slope, brief momentum could define trend; without RSI, a slow average could ignore opposition; without volatility, quiet and impulse states would share a label. The sequence is direction, agreement, then energy. Confirmed/live pairing adds time status, not another signal.
Trading Ideas and Insights
Use confirmed consensus as context for a separate setup. A lower-chart process can ask whether higher horizons are bullish, bearish, or mixed. More DRIFT rows show forming bars challenging closed evidence, not a confirmed reversal. QUIET describes low-energy alignment; IMPULSE describes high ATR rank. Price structure, execution, and risk still need independent rules.
Unique Aspects
The contribution is a confirmation-aware state lattice, not adjacent indicator readings. Every row preserves closed and forming versions of one state, flags their difference, and removes duplicate or lower references from consensus. Volatility changes the class but cannot select bullish or bearish direction. Agreement is therefore auditable as confirmed evidence, developing drift, warm-up, or invalid configuration. The implementation is independent.
How to Use
Set enabled references equal to or higher than the chart timeframe.
Read CONFIRMED for stable context and LIVE for the forming bar.
Check TREND, RSI, and ATR % before interpreting color.
Treat LOWER TF, DUPLICATE, and WARM-UP as diagnostics.
Combine alerts with separate entry, exit, sizing, and invalidation rules.
Disable unused rows so the consensus denominator stays intentional.
Customization
EMA length and slope lookback control directional memory; ATR slope scale controls normalization. RSI length changes momentum response. ATR length and percentile lookback define volatility context. Direction and conflict thresholds set classification strictness. Quiet percentile must remain below hot percentile. Timeframe inputs set horizon coverage. Display controls cover numeric suffixes, table corner, dashboard, and chart background.
Assumptions and Limitations
EMA, RSI, and ATR lag and are parameter-sensitive. ATR percentile is relative, not an absolute risk forecast. LIVE can change on every update; CONFIRMED waits for completed reference bars and adds delay. A newly closed higher-timeframe value appears when the next chart bar exposes it. Data gaps or limited history can distort ranks. Lower references are rejected. It does not model execution, risk, performance, or future prices. Alerts report alignment only.
Conclusion
Only valid, unique, closed-bar states determine consensus; live states explain drift. This invariant keeps six horizons readable while exposing calculations, confirmation status, and failure conditions instead of hiding them behind one color.
Indicador

Regime Gated Confluence Score [Pineify]Regime Gated Confluence Score
Overview
This pane indicator combines trend, momentum, and volume after a four-state gate selects meaning and weight. The main score and dashboard reconcile signed contributions.
Problem Definition
Fixed-weight confluence hides a regime error. Positive RSI may confirm a trend but mark extension in a range. EMA separation can persist after efficient travel ends. Relative volume shows participation, not acceptance. A permanent sum can stay strong when path efficiency is low, factors disagree, or ATR leaves its baseline, so users cannot tell whether magnitude reflects agreement or one dominant input.
Design Rationale
ATR-normalized EMA separation and slope measure trend across price scales. Centered RSI supplies momentum; RANGE reverses it to express a fade. Volume pressure combines capped relative volume with close location without claiming aggressor flow. EMA spread and path efficiency classify structure; ATR versus baseline identifies displacement. Lower hold thresholds add hysteresis. A trained model would add hidden data assumptions, while fixed weights preserve the failure. Explicit rules accept sensitivity and lag for auditability.
Key Features
Four regimes with hysteresis.
Standardized trend, RSI, and participation factors.
Regime weights, range inversion, missing-volume renormalization, conflict attenuation, exact contribution totals, and confirmed alerts.
How It Works
EMA spread and fast-EMA change are normalized by ATR, blended 65/35, and clipped to -1 through +1. RSI is centered at 50, divided by 25, and clipped. Volume multiplies close location inside the bar by relative volume capped at 2.5 times baseline, then smooths it. If fewer than 80% of volume-window bars are usable, volume is omitted.
Trend strength is absolute normalized EMA spread. Path efficiency divides net movement by total one-bar movement. ATR relative to baseline measures displacement. VOLATILE has priority until its lower hold level clears. Otherwise, strong separation and efficiency enter TREND, weak evidence enters RANGE, and unresolved evidence is TRANSITION.
Trend/momentum/volume weights are 55/30/15 in TREND, 15/60/25 in RANGE, 40/35/25 in VOLATILE, and 35/40/25 in TRANSITION. RANGE reverses only RSI. Missing volume removes its weight and renormalizes the others. Agreement divides absolute net contribution by total absolute contribution and sets a 0.55-to-1 gate; VOLATILE adds an ATR penalty. Gated components sum to the score. Warm-up or invalid threshold and EMA ordering blocks output with a diagnostic.
How Multiple Indicators Work Together
Trend estimates structure, momentum locates bounded pressure, and volume tests participation plus bar acceptance. The regime interprets them before combination. Without range inversion, extension becomes a continuation vote; without trend, brief momentum can dominate; without volume, weights must be renormalized. Agreement converts remaining conflict into lower magnitude rather than hiding it.
Trading Ideas and Insights
Use the score as context, not an order. A confirmed threshold cross during TREND identifies aligned conditions. In RANGE, check whether trend or volume opposes inverted momentum before considering a fade. In VOLATILE, a compressed gate shows ATR displacement discounting the raw sum. A strong component beside a modest total indicates conflict.
Unique Aspects
The contribution is the sequence of classification, interpretation change, weighting, and attenuation. RANGE reverses momentum while other factors can veto it; hysteresis separates trend entry from persistence; missing volume is removed; and agreement scales every component so the ledger equals the score. The halo shows magnitude, the background shows regime, and the table exposes construction.
How to Use
Start with defaults and compare the regime label with visible path behavior. Wait for warm-up. Keep the ledger visible to see whether structure, oscillator pressure, or participation drives direction. Use confirmed alerts when closing-state transitions matter. Contribution lines are diagnostic; the halo and background form the primary view. Omitted volume means a disclosed two-factor score.
Customization
EMA lengths and slope lookback control structural response; RSI length controls momentum sensitivity. Volume baseline and smoothing trade speed for stability. Regime length changes path efficiency and the ATR baseline. Entry thresholds must exceed hold thresholds. Raising the score threshold reduces alert frequency but does not establish better forecasting. Visual switches change display only.
Assumptions and Limitations
The script uses chart OHLC and reported volume. Exchange, tick, and absent volume differ; close-location volume is only a proxy. EMA, ATR, RSI, and rolling baselines lag. RANGE can fade a breakout, hysteresis can delay exits, and attenuation can suppress an early shock.
Realtime factors, regime, colors, and score can change before close; alerts require confirmation. No request calls, future data, pivots, or negative offsets are used. The script does not model liquidity, news, sizing, entries, stops, or exits. Thresholds do not establish expected return. Sparse bars and unreliable volume can distort evidence.
Conclusion
This replaces a fixed sum with an inspectable state process. The score and ledger show weights, conflict attenuation, and missing-data effects. Keep separate risk and execution rules.
.
Indicador

Cross Asset Relative Strength Matrix [Pineify]Cross Asset Relative Strength Matrix
Overview
This indicator compares up to eight markets through a bounded relative-strength heatmap, consistency-weighted ranks, and one focus history. Every row states whether its snapshot is LIVE or STALE.
Problem Definition
Raw performance tables rank endpoint percentage change but ignore its path. A smooth advance and a violent round trip can end equally, while high-volatility assets can dominate. Mixed quote currencies and asynchronous sessions further break comparability. The useful question is which asset has the strongest normalized move, how coherently it formed, and whether its source has updated recently.
Design Rationale
Log returns add across a shared window. Window return divided by root-sum-square one-bar returns measures displacement against path energy, then a bounded transform limits extremes. A price z-score was rejected because it measures local-mean distance rather than shared-window performance. Cells show standardized differences while rank discounts reversal-heavy paths. Currency normalization aligns price basis. Source timestamps commit snapshots only when markets advance; the stale threshold labels rather than erases an old snapshot.
Key Features
Eight symbols and optional currency normalization.
Pairwise heatmap with consistency-aware intensity.
Cached last-valid snapshots with LIVE or STALE status.
Consistency rank, focus line, halo, rail, and gated alerts.
How It Works
Each symbol uses the chart timeframe and lookahead off. A source timestamp change commits its cached score.
Optional daily rates convert the declared quote currency; a missing rate prevents a valid snapshot.
Window log return divided by one-bar return energy is bounded from -100 to +100.
Path efficiency and directional agreement form a 55/45 consistency score.
Each cell is row score minus column score. Teal leads, magenta lags, and reliability controls intensity.
Rank applies consistency; the focus line subtracts basket mean quality. STALE values remain visible with dimmed heat and explicit text.
Warm-up needs the full window and a valid source update. Too few cached assets suppress output. Alerts require the configured minimum number of current assets plus a current focus asset.
How Multiple Indicators Work Together
The components form one chain. Currency defines price basis; energy scaling creates comparable returns; path statistics describe formation; subtraction identifies leadership; timestamp caching preserves the last cross-section while exposing age. Without energy, volatility dominates; without consistency, smooth and reversal-heavy paths look alike; without LIVE/STALE labels, asynchronous times are hidden. Heatmap, rank, and focus line are views of this chain.
Trading Ideas and Insights
Use an economically related basket such as regions, sectors, macro proxies, commodities, or major crypto assets. Positive cells across a row describe relative leadership; high rank with low consistency describes a noisy advantage. A focus move above zero or into the top two can prompt chart review, not an automatic entry. Treat STALE rows as historical context, and keep structure, liquidity, and risk decisions separate.
Unique Aspects
The contribution is separating comparison value, path confidence, and timestamp state. Common heatmaps sort one raw return, then silently fill or erase unavailable rows. Here, cells retain bounded return-energy differences, rank applies consistency, and source-driven snapshots freeze between actual updates. The table distinguishes magnitude, path quality, and whether data is current.
How to Use
Choose two to eight related symbols; the intended range is 4H to 1W. Set one lookback and focus slot. For mixed currencies, enable conversion and declare each quote correctly. Read across rows for leadership, use RANK / DATA to distinguish LIVE from STALE, and use the focus line for history. Amber means the focus reading is stale or below the consistency floor; the table identifies the data state.
Customization
Short windows react faster but are endpoint-sensitive; long windows adapt later. Minimum active assets controls coverage. Maximum stale bars controls when a cached row changes from LIVE to STALE; it does not delete the snapshot. The consistency floor changes the amber state. Focus slot changes the history and alerts, not the matrix. Matrix, halo, background, and rail remain independent visual switches.
Assumptions and Limitations
Daily FX rates and asset prices may update on different schedules; wrong declarations mislead. A confirmed snapshot remains visible after its market closes and becomes STALE after the threshold. It still affects the descriptive matrix and rank, so asynchronous baskets can compare different observation times; dimmed cells and text disclose this limitation. Alerts require a completed bar, current focus, and enough current assets. Scaling is not beta adjustment, correlation control, forecasting, or optimization. The basket is equal-observation, not capitalization weighted. Permissions, invalid symbols, illiquidity, corporate actions, rolls, and holidays can distort coverage. Current-bar values may change intrabar. No future data or lookahead is used.
Conclusion
The matrix reports standardized differences, consistency ranks, snapshot age, and focus history—not prediction. Use a coherent basket and correct currencies; STALE means last confirmed, not live.
Indicador

Multi Symbol Participation Pulse [Pineify]Multi Symbol Participation Pulse
Overview
Multi Symbol Participation Pulse tests whether a chart move has broad support across a custom basket. Its pulse combines return breadth, EMA trend breadth, dispersion, and data coverage. It describes participation, not a forecast or trade signal.
Problem Definition
A simple advance ratio can hide synchronized movement, a few extreme outliers, or a thin sample caused by closed sessions. A one-bar vote also misses established trend position. This script keeps only valid observations in the denominator, separates fast return and slower trend votes, and lowers confidence when votes disagree, dispersion rises, or coverage falls. It measures a finite equal-weight basket, not official exchange breadth.
Design Rationale
Symbols are requested on the chart timeframe with gaps exposed and lookahead disabled. One-bar return direction supplies the fast vote; close versus a configurable EMA supplies slower context. Return dispersion is divided by its rolling EMA, so fragmentation is judged against the basket's recent scale instead of a fixed percentage. Coverage and vote agreement modulate amplitude. This structure suppresses incomplete or internally split evidence even when the raw advance ratio looks decisive.
Key Features
Ten configurable symbol slots with missing and invalid-symbol handling.
Return breadth, trend breadth, coverage, and normalized dispersion.
Confirmed broad-positive, broad-negative, fragmented, and neutral states.
Optional components, halo, rail, divergence markers, dashboard, and alerts.
How It Works
For each valid symbol, the script calculates one-bar return and tests whether close is above its EMA. Positive-return count gives fast participation; above-EMA count gives trend participation. Both ratios are mapped from 0–100% into -100 to +100.
Cross-sectional return standard deviation is divided by its rolling EMA to measure unusual dispersion. Coverage, agreement between the two votes, and dispersion-derived coherence form a bounded confidence term. The pulse blends return and trend votes 55/45 and reduces amplitude when evidence is weak. High relative dispersion also widens the halo.
States update only on confirmed bars. Broad states require the pulse threshold and both votes on the same side of 50%; hysteresis limits threshold chatter. Too few active symbols, low coverage, or warm-up produces no pulse. Invalid symbols return missing data rather than terminating the script. A lower rail maps dispersion into a fixed visual zone.
How Multiple Indicators Work Together
The components form one causal chain. Return breadth detects current participation but can chatter. Trend breadth adds persistence but lags. Dispersion reveals whether votes are compact or split by outliers. Coverage tests whether the sample is representative. Removing a component could make the result lag, overreact, hide fragmentation, or overstate a thin sample; their roles are not interchangeable.
Trading Ideas and Insights
Use the pulse as context, not an entry command. Broad states test whether a move is shared by selected proxies. Fragmentation flags disagreement between headline direction and internal distribution. Fixed-window divergence markers identify price/pulse disagreement for review, not a promised reversal. Compare similar sessions and build the basket around one coherent question.
Unique Aspects
Common breadth plots stop at an advance percentage or advance-decline difference. Here, fast and slow votes remain visible, dispersion is normalized to the basket's history, missing coverage reduces confidence, and confirmed hysteresis limits threshold chatter. Halo width exposes dispersion instead of hiding uncertainty behind the composite line, while the lower rail keeps fragmentation in a stable visual location.
How to Use
Choose a coherent basket and disable unused slots.
Check active coverage before interpreting the pulse.
Read sign and state color, then inspect component separation and halo width.
Use confirmed alerts beside price structure, liquidity, and risk controls.
The default US ETF basket is only an example.
Customization
EMA length controls the slower vote, while the dispersion baseline defines ordinary spread. Minimum active symbols and coverage set the evidence floor. Broad threshold and hysteresis balance sensitivity against stability. Fragmentation and agreement settings govern conflict states. Divergence settings control markers. Visual layers can be hidden without changing calculations.
Assumptions and Limitations
Every enabled symbol receives one vote; there are no constituent weights, official breadth, order flow, or membership data. Sessions, holidays, stale markets, delayed feeds, and permissions can reduce coverage or desynchronize timestamps. Gaps are exposed, so the active subset may change. EMA and dispersion baselines lag and depend on parameters. Pulse, halo, and divergence can change intrabar; states and alerts confirm at bar close. Fixed-window divergence is descriptive, not a reversal prediction. The script does not estimate probability, expected return, sizing, execution, or profitability.
Conclusion
Multi Symbol Participation Pulse turns a custom basket into an auditable breadth portrait. It separates fast and trend participation, dispersion, and coverage, then displays direction and uncertainty together. Use it while respecting asynchronous equal-weight data limits.
Indicador

Indicador

Trend Quality Index [StrixEDGE]📊 WHAT IT DOES
StrixEDGE Trend Quality Index answers the question most trend indicators ignore: not just whether a trend exists, but how good it is. It produces a 0-100 composite score measuring trend quality across four dimensions — velocity, strength, clarity, and multi-timeframe agreement.
🔬 WHY IT'S DIFFERENT
ADX tells you trend strength. Supertrend tells you direction. Neither tells you the complete quality picture. TQI combines four independent metrics: LSMA velocity (how fast the trend moves), ADX with DI gap analysis (how strong and directionally clear), Vortex Indicator separation (how unambiguous the direction), and triple Supertrend agreement (how many timeframe perspectives agree). A trend scoring 90+ on all four dimensions is far more tradeable than one scoring well on just one.
⚙️ HOW IT WORKS
Four scores, each 0-25 points, summed and smoothed:
• LSMA Velocity: Linear regression slope speed, normalized by ATR. Faster trends score higher.
• ADX Strength: ADX value mapped to 0-20, plus a bonus for wide DI+/DI- gap (clearer direction).
• Vortex Clarity: Distance between VI+ and VI- lines. Wider = more decisive trend.
• Supertrend Agreement: Three Supertrends (fast/medium/slow) — all aligned = 25, two = 15, split = 5.
📈 HOW TO USE
• TQI 80-100: EXCELLENT — aggressive trend-following, wide targets
• TQI 60-80: GOOD — standard trend trades, normal position sizing
• TQI 40-60: FAIR — cautious entries, tight stops, reduced size
• TQI below 40: POOR — avoid trend strategies, consider range setups instead
• Direction arrows show which way the quality trend points
🎛️ INPUTS & DEFAULTS
LSMA: 20/5 | ADX: 14 | Vortex: 14 | Supertrend: 7/2, 10/3, 14/4 | Smooth: 3
═══════════════════════════════════════════════════════
🔧 CUSTOMIZATION
All parameters are fully adjustable through the indicator settings panel. Inputs are grouped logically:
• ⚙️ Core Parameters — main calculation settings
• 📊 Table Settings — table size (Tiny to Huge), position (4 corners), visibility toggle
• 🎨 Visual Settings — colors, show/hide elements
• 🔔 Alert Settings — threshold values for notifications
📊 DATA TABLE
A built-in data table displays all key metrics in real-time. Adjust the table size from Tiny to Huge to match your chart layout. Position it in any corner. Toggle visibility on/off.
🔔 ALERTS
Pre-built alert conditions for all major signals. Set up alerts via TradingView's alert dialog — select this indicator and choose from the available conditions.
⏱️ RECOMMENDED TIMEFRAMES
Works on all timeframes. Recommended: 1H, 4H, Daily for best signal quality. Lower timeframes produce more signals but with higher noise. Weekly/Monthly for position trading context.
✅ COMPLIANCE
• No repainting — all signals based on confirmed bar close data
• No future data references
• Open-source code — verify the logic yourself
⚠️ DISCLAIMER
This indicator is a technical analysis tool, not financial advice. It does not predict future price movements. Past patterns and signals do not guarantee future results. Trading involves substantial risk of loss. Always use proper risk management, including stop losses and appropriate position sizing. Never risk more than you can afford to lose. Indicador

Universal Trend Continuation ProbabilityTradingView publication description
Universal Trend Continuation Probability
This open-source indicator estimates whether the chart's **current structural
direction state** is likely to remain active after a completed bar. It is a
trend-survival model, not a price-target or profit-probability model.
The dashboard provides two coherent forecasts:
- **Next 1 bar (P1):** probability that the active UP or DOWN state remains
active on the next completed bar.
- **Next 2 bars (P2):** probability that the same state remains active on both
next completed bars.
P2 is calculated with the probability chain rule:
`P2 = P1 × P(second bar survives | first bar survives)`
Therefore `0 ≤ P2 ≤ P1 ≤ 1` by construction. The dashboard's main score is
`+100 × P2` for UP, `−100 × P2` for DOWN, and `0` when the direction engine is
neutral.
How the model works
The direction engine combines normalized HMA20 slope, DMI balance, and
regression slope. A fixed regularized logistic ensemble then evaluates 33
completed-bar, direction-relative features covering direction strength,
momentum change, MACD histogram, RSI state, regression quality, price pressure,
ATR regime, range expansion, pullback clustering, and episode age.
The model does not use the symbol name, absolute price, clock, session,
timezone, or chart timeframe as an input. It uses no future bar, future label,
or `request.security` look-ahead. On an unfinished real-time bar, the displayed
values stay frozen at the previous completed bar and update only at bar close.
Interface
- English is the default language.
- Choose `Türkçe` under `Language / Dil` for the Turkish dashboard.
- Blue/orange/gray colors are chosen for color-blind accessibility.
- Only a centered dashboard is drawn on the main price chart. The indicator
creates no separate pane, plotted score line, horizontal levels, or chart
shading.
- The limitation warning is displayed in a readable row below the dashboard.
- The dashboard shows direction, P1, P2, the `CONTINUES / DOES NOT CONTINUE`
decision, and the signed main score.
- The fixed decision threshold is 50%.
- Optional alerts fire on completed-bar decision-state changes.
Reference historical cross-market evaluation
The frozen V5 selection and calibration process used chronological XU030
development blocks. A historical cross-market evaluation contained 112,590
completed directional events across these standard time-based OHLC series:
| Series | Timeframe | Data range (UTC dates) |
|---|---:|---:|
| FDXM | 1D | 2015-10-26 to 2026-08-10 |
| ES | 1D | 2013-11-27 to 2026-08-10 |
| RTY | 1D | 2017-07-10 to 2026-08-10 |
| FESX | 1D | 2014-03-25 to 2026-08-10 |
| NK225M | 1D | 2013-01-16 to 2026-08-10 |
| NQ | 15m | 2024-10-31 to 2026-07-31 |
| RTY | 15m | 2024-10-31 to 2026-08-10 |
| RTY | 3m | 2026-04-05 to 2026-08-10 |
| ES | 3m | 2026-04-05 to 2026-08-10 |
| Horizon | Correct / total | Accuracy | Error rate |
|---|---:|---:|---:|
| 1 bar | 106,458 / 112,590 | 94.55% | 5.45% |
| 2 bars | 99,752 / 112,590 | 88.60% | 11.40% |
“Correct” means that the model's 50% `CONTINUES / DOES NOT CONTINUE` decision
matched whether the existing direction engine remained active over the stated
horizon. It does **not** mean that price moved favorably or that a trade was
profitable.
In a separate NQ 15-minute diagnostic with 25,808 forecasts, most errors were
neutralization-timing errors rather than direct reversals. Of 1,396 one-bar
errors, 934 (66.9%) were `CONTINUES → NEUTRAL`, 456 (32.7%) were early
`DOES NOT CONTINUE` warnings followed by continuation, and only 6 (0.4%) were
direct reversals of the direction engine.
These figures are historical Python research results, not current-chart
performance. They do not guarantee future performance or exact results on
another symbol, timeframe, session, or data feed. Some foreign instruments had
been reviewed in earlier V1–V4 research; the results are therefore presented as
a historical cross-market evaluation relative to the frozen V5 selection
process, not as a permanently untouched blind universe.
Important limitations
- The foreign-market price-only AUC was approximately 0.49. A high survival
score is not evidence of positive return, favorable MFE, or a safe new entry.
- `DOES NOT CONTINUE` means the current state may neutralize or reverse; it does
not specifically predict the opposite direction.
- A low probability is better treated as structural end-risk information. It
has not been validated as an automatic exit rule.
- V6's analogue catalogue could rank neutralization risk, but its direct
probability override reduced correct forecasts in locked/blind tests and is
intentionally excluded from this Pine decision engine.
- Data differences in continuous futures adjustment, sessions, or bar
construction can change results.
- Use standard time-based OHLC candles. Heikin Ashi, Renko, Kagi, Point &
Figure, and Range chart results have not been validated.
Before public publication, the source should be compiled as a private
TradingView draft and checked against the included NQ reference using a
TradingView CSV export. This hosted-runtime parity step is separate from the
completed Python/formula validation.
Research indicator only. Not an execution strategy or investment advice.
Historical results do not guarantee future performance.
---
Universal Trend Continuation Probability
Bu açık kaynak indikatör, kapanmış bir bardan sonra grafikteki **mevcut yapısal
yön durumunun** aktif kalıp kalmayacağını tahmin eder. Fiyat hedefi veya kâr
olasılığı modeli değil, trend/yön devam modelidir.
Tablo birbiriyle tutarlı iki tahmin gösterir:
- **Sonraki 1 bar (P1):** aktif YUKARI veya AŞAĞI durumunun sonraki kapanmış
barda devam etme olasılığı.
- **Sonraki 2 bar (P2):** aynı durumun sonraki iki kapanmış barın ikisinde de
devam etme olasılığı.
P2, olasılık zinciriyle hesaplanır:
`P2 = P1 × P(ilk bar sürdüyse ikinci barın da sürmesi)`
Bu nedenle yapı gereği `0 ≤ P2 ≤ P1 ≤ 1` olur. Tablodaki ana skor YUKARI
durumda `+100 × P2`, AŞAĞI durumda `−100 × P2`, yön motoru nötrken `0`dır.
Modelin çalışma biçimi
Yön motoru normalize HMA20 eğimi, DMI dengesi ve regresyon eğimini birleştirir.
Sabitlenmiş düzenlileştirilmiş lojistik topluluk modeli daha sonra yalnız
kapanmış barlardan üretilen 33 yön-göreli özelliği değerlendirir. Bu özellikler
yön gücü, momentum değişimi, MACD histogramı, RSI durumu, regresyon kalitesi,
fiyat baskısı, ATR rejimi, range genişlemesi, geri çekilme kümelenmesi ve yön
yaşını kapsar.
Model; sembol adı, mutlak fiyat, saat, seans, saat dilimi veya grafik zaman
dilimini girdi olarak kullanmaz. Gelecek bar, gelecek hedef etiketi veya
`request.security` look-ahead kullanılmaz. Açık gerçek zamanlı barda görünen
değerler önceki kapanmış barda sabit kalır ve yalnız bar kapanınca güncellenir.
Arayüz
- Varsayılan dil İngilizcedir.
- Türkçe tablo için `Language / Dil` ayarından `Türkçe` seçilir.
- Mavi/turuncu/gri renkler renk körlüğüne uygun seçilmiştir.
- Ana fiyat grafiğinin ortasında yalnız bilgi tablosu çizilir. Gösterge ayrı alt
panel, skor çizgisi, yatay seviye veya grafik gölgelemesi oluşturmaz.
- Sınırlama uyarısı tablonun altında okunaklı bir satırda gösterilir.
- Tablo; yönü, P1 ve P2 olasılıklarını, `SÜRER / SÜRMEZ` tahminini ve ana
işaretli skoru gösterir.
- Karar eşiği %50 olarak sabittir.
- İsteğe bağlı alarmlar yalnız kapanmış barlarda karar durumu değiştiğinde
çalışır.
Referans tarihsel çapraz-piyasa değerlendirmesi
Sabitlenmiş V5 seçim ve kalibrasyon sürecinde kronolojik XU030 geliştirme
blokları kullanılmıştır. Tarihsel çapraz-piyasa değerlendirmesi, aşağıdaki
standart zaman bazlı OHLC serilerinde 112.590 kapanmış yönlü olay içerir:
| Seri | Zaman dilimi | Veri aralığı (UTC tarihleri) |
|---|---:|---:|
| FDXM | 1G | 2015-10-26 – 2026-08-10 |
| ES | 1G | 2013-11-27 – 2026-08-10 |
| RTY | 1G | 2017-07-10 – 2026-08-10 |
| FESX | 1G | 2014-03-25 – 2026-08-10 |
| NK225M | 1G | 2013-01-16 – 2026-08-10 |
| NQ | 15 dk | 2024-10-31 – 2026-07-31 |
| RTY | 15 dk | 2024-10-31 – 2026-08-10 |
| RTY | 3 dk | 2026-04-05 – 2026-08-10 |
| ES | 3 dk | 2026-04-05 – 2026-08-10 |
| Ufuk | Doğru / toplam | Doğruluk | Hata oranı |
|---|---:|---:|---:|
| 1 bar | 106.458 / 112.590 | %94,55 | %5,45 |
| 2 bar | 99.752 / 112.590 | %88,60 | %11,40 |
“Doğru”; modelin %50 eşiğindeki `SÜRER / SÜRMEZ` kararının mevcut yön motorunun
belirtilen ufukta aktif kalıp kalmamasıyla eşleşmesi demektir. Fiyatın olumlu
yönde hareket ettiği veya işlemin kârlı olduğu anlamına gelmez.
25.808 tahmin içeren ayrı NQ 15 dakika tanı testinde hataların çoğu doğrudan
ters dönüş değil, nötrleşme zamanlaması hatasıdır. 1.396 bir barlık hatanın
934'ü (%66,9) `SÜRER → NÖTR`, 456'sı (%32,7) erken `SÜRMEZ` uyarısından sonra
devam, yalnız 6'sı (%0,4) yön motorunun doğrudan ters yöne dönmesidir.
Bu rakamlar tarihsel Python araştırma sonuçlarıdır; mevcut grafiğin performansı
değildir. Gelecekteki performansı veya başka sembol, zaman dilimi, seans ya da
veri akışında aynı sonucu garanti etmez. Bazı yabancı araçlar V1–V4
araştırmasında daha önce incelenmiştir; bu nedenle rakamlar tamamen
dokunulmamış kör evren değil, sabit V5 seçim sürecine göre tarihsel
çapraz-piyasa değerlendirmesi olarak sunulmaktadır.
Önemli sınırlamalar
- Yabancı piyasalarda fiyat-only AUC yaklaşık 0,49'dur. Yüksek devam skoru;
pozitif getiri, olumlu MFE veya güvenli yeni giriş kanıtı değildir.
- `SÜRMEZ`, mevcut durumun nötrleşebileceği veya tersine dönebileceği anlamına
gelir; özellikle karşı yönü tahmin etmez.
- Düşük olasılık yapısal bitiş riski bilgisi olarak ele alınmalıdır. Otomatik
çıkış kuralı olarak doğrulanmamıştır.
- V6 analog kataloğu nötrleşme riskini sıralayabilmiştir; fakat doğrudan
olasılık düzeltmesi kilitli/kör testlerde doğru tahmin sayısını düşürdüğü için
Pine karar motoruna bilerek eklenmemiştir.
- Sürekli vade düzeltmesi, seans veya bar üretimindeki veri farkları sonucu
değiştirebilir.
- Standart zaman bazlı OHLC mumları kullanılmalıdır. Heikin Ashi, Renko, Kagi,
Point & Figure ve Range grafik sonuçları doğrulanmamıştır.
Public yayından önce kaynak private TradingView taslağında derlenmeli ve
TradingView CSV ihracıyla paketteki NQ referansına karşı kontrol edilmelidir.
Bu gerçek platform paritesi adımı, tamamlanmış Python/formül doğrulamasından
ayrıdır.
Yalnız araştırma indikatörüdür. İşlem stratejisi veya yatırım tavsiyesi
değildir. Geçmiş sonuçlar gelecekteki performansı garanti etmez.
Indicador

Percentile Momentum Rotation [Pineify]Percentile Momentum Rotation
Overview
Percentile Momentum Rotation is a Pine Script v6 oscillator that converts fast, medium, and slow rate of change into a comparable spectrum. It shows a centered score, horizon coherence, a fast-slow wave, and a dashboard for momentum context rather than prediction.
Problem Definition
Raw ROC is a percentage return over one window. An 8-bar ROC has a different range from a 55-bar ROC, and the same value can be ordinary in a volatile regime but unusual in a quiet one. Averaging raw readings lets the largest horizon dominate, while fixed thresholds change meaning with the distribution. The design must retain each horizon's information but remove its local scale before combination.
Design Rationale
Each ROC is ranked against its own history and centered from -100 to +100, avoiding an assumption of normal returns. A z-score was rejected because outliers can distort its mean and deviation; a raw blend was rejected because it keeps the scale mismatch. The centroid is discounted when horizon polarities disagree or ranks spread apart. This favors coherent states but reacts less to an early one-window turn. The visual hierarchy follows these variables: primary score first, explanatory layers second.
Key Features
Three independently normalized ROC percentile streams.
A coherence-weighted composite and fast-slow rotation wave.
A state-colored spectrum, horizon fan, confirmed alerts, and dashboard.
Balanced, fast-focus, and slow-focus weighting.
How It Works
The script calculates percentage ROC over fast, medium, and slow lengths. ta.percentrank compares each current ROC with its configured history. Percentile 50 maps to zero, 100 to +100, and 0 to -100. Positive therefore means high versus that horizon's recent distribution; it does not guarantee a positive raw return.
The centered ranks form a weighted centroid; the three profiles shift emphasis across horizons. Polarity checks whether ranks share a side outside the dead zone, while compactness measures dispersion. Their 0-to-1 coherence controls a 0.55-to-1.00 consistency factor applied to the score.
The wave is half the fast-minus-slow rank difference. Color encodes score direction, halo intensity encodes coherence, and fan width shows dispersion. Output remains empty through warm-up. Visuals update intrabar; diamonds and alerts require bar close.
How Multiple Indicators Work Together
This is one pipeline, not a mashup. ROC supplies horizon change; percentile rank removes local scale; the centroid summarizes location; polarity and dispersion test coherence; and the consistency factor forms the score. The wave exposes lead-lag behavior that the centroid hides, while the fan visualizes disagreement. Removing a stage either removes momentum, restores the comparability problem, or hides confidence.
Trading Ideas and Insights
Upper and lower states organize review of relative momentum expansion. Synchronization means all horizons are unusual versus their own histories, not that a trade must follow. The wave reveals whether fast momentum leads or lags the slow horizon; repeated zero crossings describe unstable context. Confirm with independent structure and risk controls.
Unique Aspects
ROC and percentile rank are standard; the contribution is their information architecture. Each horizon is normalized against itself, then the composite is discounted by both side agreement and compactness. It separates historical location, synchronization, and lead-lag rotation; the same variables control halo, fan, and wave. No retrieved code is reproduced.
How to Use
Allow the slow ROC plus percentile history to warm up.
Start with Balanced and read score, coherence, and wave together.
Treat synchronization as context, then assess price structure and risk separately.
Use confirmed alerts; current-bar plots may move before close.
Disable secondary layers for a cleaner chart.
Customization
Short ROC windows react faster but rotate more often; long windows add persistence and lag. Longer percentile history provides broader context but adapts more slowly after regime shifts. The dead zone sets how much near-median movement is directionless. Rotation thresholds define context and extremes; Synchronization Threshold sets required agreement. Weight profiles change the analytical question, so comparisons should keep settings consistent.
Assumptions and Limitations
The source and available history must be representative enough for ranking. Percentiles are relative: a high rank can occur while raw returns are negative if the decline is milder than recent declines. Results depend on lengths, lookback, and structural breaks. It is lagging and omits volume, execution, fundamentals, and structure. Visuals can change before close; alerts wait for confirmation. No future values or external data are used, but this does not establish performance.
Conclusion
Percentile Momentum Rotation turns incompatible ROC scales into an auditable spectrum. It keeps relative location, coherence, and lead-lag rotation distinct but connected, helping diagnose momentum context without treating thresholds as guaranteed entries.
Indicador

HTF Swing Highs & LowsAn open-source multi-timeframe market structure indicator that automatically identifies and projects confirmed swing highs and swing lows from the Weekly, Daily, and 4-Hour timeframes onto any lower timeframe chart.
The indicator is designed to provide clean, non-repainting support and resistance levels based on confirmed market structure rather than developing pivots.
Features
- Weekly, Daily and 4H swing highs and lows
- Non-repainting confirmed pivots
- Automatic higher timeframe detection using request.security()
- Horizontal levels extended until invalidated
- Independent visibility controls for each timeframe
- Hierarchical timeframe filtering
- Custom colours and line widths for every timeframe
- Adjustable pivot strength
- Wick, Close or Never invalidation options
- Stop or Delete broken levels
- Automatic level management to prevent exceeding TradingView object limits
How it works
The script uses confirmed pivot highs and lows from higher timeframes.
Unlike developing pivots, a swing is only confirmed after the selected number of candles has formed on both sides of the pivot. Once confirmed, a horizontal level is created at the swing price and extended to the right.
Because only confirmed pivots are used, historical levels do not repaint.
Pivot Strength
Pivot Strength controls how significant a swing must be before it becomes a level.
A strength of 3 means the pivot candle must have:
- three lower highs (or higher lows) before it
- three lower highs (or higher lows) after it
Higher values filter market noise and identify more significant market structure.
They also produce fewer levels and require longer confirmation.
Lower values detect smaller swings, produce more levels, react faster.
Level Invalidation
Choose how a level is treated once price trades through it.
Wick - Invalidates when price wicks beyond the level.
Close - Invalidates only after a candle closes beyond the level.
Never - Levels remain permanently.
Broken levels can either:
- Stop extending while remaining visible
- Be deleted completely
Hierarchical Visibility
The indicator can automatically display only relevant higher timeframe levels.
For example:
- Weekly levels appear on Weekly and all lower timeframes.
- Daily levels appear on Daily and all lower timeframes.
- 4H levels appear on 4H and lower charts.
This helps reduce clutter when analysing higher timeframe charts.
Notes
- Uses confirmed higher timeframe pivots only.
- Levels are anchored to the original swing candle.
- Designed for support and resistance, market structure, liquidity analysis, and confluence with other tools.
- Works on all symbols and asset classes supported by TradingView. Indicador

Multi-Timeframe Trend & Consolidation Table### Overview
The **Multi-Timeframe Trend & Consolidation Table** is a lightweight dashboard indicator designed to give traders a quick, multi-timeframe overview of the market trend and consolidation status directly on their chart.
Instead of switching between multiple timeframes or cluttering your chart with dozens of moving averages, this tool consolidates trend data across 10 different timeframes into a clean, customizable table.
---
### Key Features
* **Multi-Timeframe Analysis:** Monitors **1m, 3m, 5m, 10m, 15m, 1h, 4h, 1D, 1W, and 1M** timeframes simultaneously.
* **Customizable EMA Periods:** Set unique Exponential Moving Average (EMA) lengths for every individual timeframe (e.g., EMA 10 for 1m, EMA 50 for 1h, EMA 200 for 1D).
* **Consolidation Detection:** Built-in threshold logic identifies when price is hovering extremely close to the EMA line, signaling potential range-bound/chop market conditions.
* **Dynamic Table UI:** Displays the specific EMA length assigned to each timeframe directly inside the table for clear tracking. Fully customizable position (Top Right, Bottom Left, etc.) and text sizes.
---
### How It Works
The indicator compares the price of each timeframe against its assigned EMA line:
1. **BULLISH 🟢:** Current close price is above the timeframe's EMA (outside the consolidation zone).
2. **BEARISH 🔴:** Current close price is below the timeframe's EMA (outside the consolidation zone).
3. **RANGE 🟡:** Price percentage difference from the EMA is smaller than the set threshold (e.g., within 0.15%), indicating market consolidation or flat movement.
---
### How to Use
1. **Trend Alignment:** Look for timeframes aligning in the same direction (e.g., 1h, 4h, and 1D all green) to trade with the macro trend.
2. **Avoiding Chop:** When lower timeframes show `RANGE 🟡`, it indicates low volatility or moving average compression, warning you to avoid breakout trades or wait for confirmation.
3. **Execution Timeframes:** Tune lower timeframes (1m, 3m, 5m) to fast EMAs for scalp setups, while keeping higher timeframes (1D, 1W) on key levels like the 200 EMA.
---
### Settings & Inputs
* **EMA Lengths per Timeframe:** Set custom EMA periods for all 10 available timeframes.
* **Enable Consolidation Detection:** Toggle range detection on or off based on your strategy preference.
* **Consolidation Threshold (%):** Adjust the distance percentage between close price and EMA to define a range zone (default is 0.15%).
* **Table Display:** Adjust table placement on your screen and text font size. Indicador

Funding Rate & OI Radar [StrixEDGE]What It Does
Funding Rate & OI Radar is a multi-symbol derivatives dashboard that consolidates funding rate intensity, open interest momentum across three timeframes, and price-OI divergence signals into a single on-chart table. It is designed for perpetual futures traders who need to read market positioning at a glance — without switching tabs or charts.
The indicator tracks up to 5 perpetual contract symbols simultaneously, surfaces extreme funding conditions as they develop, and flags structurally weak rallies or drops where price and open interest are moving in opposite directions.
Core Features
Funding Rate with Color Intensity
Funding rate values are color-graded by severity — from dim neutral tones near zero, through elevated orange, to extreme red (longs paying) or bright green (shorts paying). Extreme readings trigger a highlighted cell background so they stand out immediately during fast-moving markets.
Open Interest Change — 1H / 4H / 24H
Three separate OI delta columns show how positioning is shifting across intraday, swing, and daily windows. Each cell includes a directional arrow (▲ ▼ ►) and percentage change, color-coded against your configured alert threshold. This gives you a layered read: is OI building across all timeframes, or only spiking on the short window?
Price-OI Divergence Detection
The SIGNAL column cross-references 24H price change against 24H OI change and classifies the move:
- WEAK▲ — Price rising but OI declining. Rally lacks new capital commitment. Potential short squeeze or exhaustion move.
- WEAK▼ — Price falling but OI rising. New positions opening into the drop. Potential capitulation trap or forced selling.
- STRONG▲ — Price and OI both rising. New money entering on the long side. Structurally supported move.
- STRONG▼ — Price and OI both falling. Positions closing out. Orderly deleveraging.
- NEUTRAL — No meaningful divergence.
Weak signals receive a highlighted background row to ensure they are not missed.
Multi-Symbol Table
Monitor BTC, ETH, SOL, and two custom perpetual contracts of your choice — all rendered in a single dashboard. The table includes configurable column visibility, so you can strip it down to just FR + divergence, or run the full 8-column view.
Aggregate Sentiment Footer
The bottom row averages funding rates across all active symbols and classifies the overall market into one of seven sentiment tiers — from 🟢 EXTREME FEAR through ⚪ NEUTRAL to 🔴 EXTREME GREED. A fast, blunt read on whether the derivatives market is skewing overleveraged in either direction.
Alerts
Four built-in alert conditions, all routed through TradingView's native alert system:
- Extreme Funding Rate — Any tracked symbol's absolute FR exceeds your configured threshold (default: 0.05%/8h).
- OI Surge — Any symbol's 1H OI change exceeds your OI alert threshold (default: 5%).
- OI-Price Divergence — A WEAK▲ or WEAK▼ signal fires on any tracked symbol.
- Sentiment Extreme — Aggregate average FR across all symbols reaches the extreme zone.
Data Sources & Configuration
The indicator supports two modes for funding rate data:
- Ticker Mode (default) — Pulls funding rate from your exchange's dedicated FR data feed using a configurable ticker suffix (default: `_FR`). Requires the exchange to publish FR data through TradingView.
- Basis Proxy Mode — Estimates the implied 8-hour funding rate from the perpetual-spot price spread: `(Perp − Spot) / Spot / 3`. Useful when direct FR tickers are unavailable. Note: this is an approximation, not the actual settlement rate.
Open interest data is fetched via configurable OI ticker suffix (default: `_OI`).
Important: Ticker formats vary across exchanges and TradingView data providers. If columns display "N/A", adjust the OI/FR suffix inputs under 🔌 Data Sources to match your exchange's naming convention. Consult your exchange's TradingView symbol search for the correct format.
Settings Overview
📊 Symbols — Exchange selector, 3 default symbols (BTC/ETH/SOL perpetuals), 2 optional custom slots.
🔌 Data Sources — OI suffix, FR suffix, FR method toggle, spot suffix override for basis proxy.
🚨 Thresholds — Extreme FR level, elevated FR level, OI alert percentage. These control both color intensity breakpoints and alert trigger levels.
🎨 Display — Table position (8 positions), text size (Tiny / Small / Normal / Large).
📋 Columns — Individual toggles for Price, Price Δ24H, Funding Rate, OI Δ1H, OI Δ4H, OI Δ24H, Divergence Signal, and Sentiment Footer. Disable any column you don't need to keep the table compact.
Technical Notes
- Uses 25 `request.security()` calls across 5 symbols (well within Pine Script's 40-call limit).
- OI changes are calculated from actual multi-timeframe requests (60min, 240min, Daily) — not bar-count estimates — so they remain accurate regardless of your chart's timeframe.
- Table renders only on the last bar (`barstate.islast`) for performance.
- Inactive custom symbol slots (left blank) fall back to the primary ticker internally and are hidden from the table.
How to Read It
Open the indicator on any chart. The table appears as an overlay (default: top-right corner). Scan left to right:
1. Symbol — Which asset.
2. Price — Current perpetual price.
3. Δ24H — Daily price change. Green = up, red = down.
4. FR /8h — Current funding rate per 8-hour interval. Bright color = elevated. Highlighted background = extreme.
5. OI Δ1H / 4H / 24H — Open interest change with directional arrows. Look for alignment across timeframes (all rising = strong conviction) or divergence (1H spiking, 24H flat = short-term noise).
6. SIGNAL — Divergence classification. WEAK▲ and WEAK▼ are the actionable signals — they indicate structural fragility in the current move.
7. Sentiment — Aggregate market tilt from combined funding rates.
Use Cases
- Scalpers & intraday traders — Monitor 1H OI spikes alongside funding rate to detect short-squeeze or long-squeeze setups forming in real time.
- Swing traders — Use the divergence signal column to filter entries. Avoid longing into WEAK▲ conditions; avoid shorting into WEAK▼.
- Portfolio monitors — Track funding costs across multiple positions simultaneously. Elevated aggregate sentiment warns of crowded positioning before liquidation cascades.
Complementary Tools
Designed to pair with liquidity heatmaps and liquidation level estimators. Funding rate tells you who is paying whom. OI tells you how much is at stake. Liquidity maps tell you where the pressure points are. Together, they give a full derivatives positioning read. Indicador

EMA Ribbon Trend Filter [StrixEDGE]EMA Ribbon Trend Filter is a multi-layered trend analysis system built around a triple EMA ribbon (8/21/55) enhanced with squeeze detection, a composite momentum score, multi-timeframe confluence, and dynamic slope-adaptive coloring.
This is not another moving average overlay. It is a full trend diagnostics dashboard designed to answer five questions at a glance: what is the trend, how strong is it, how long has it been running, is the ribbon compressing toward a breakout, and do higher timeframes agree.
🔹 CORE CONCEPT
Three exponential moving averages — fast (8), mid (21), and slow (55) — form a visual ribbon on the chart. When the EMAs stack in order (fast > mid > slow), the trend is bullish. When they invert, the trend is bearish. Anything else is a transitional state labeled neutral.
The ribbon is more than directional. The distance between the fastest and slowest EMA (the "spread") measures trend strength as a percentage, and the rate at which the ribbon expands or contracts reveals momentum shifts before price confirms them.
🔹 WHAT MAKES THIS DIFFERENT
Most EMA ribbons stop at direction and color. This indicator adds four analytical layers that standard ribbons lack:
▸ Ribbon Squeeze Detection
The indicator continuously measures ribbon width against its own moving average. When the three EMAs converge below a configurable threshold (default: 30% of average width), the ribbon turns yellow and the dashboard flags an active squeeze. Compression precedes expansion — a squeeze ending often marks the start of a directional move. Dedicated markers appear on the chart when a squeeze releases into a bullish or bearish trend.
▸ Composite Momentum Score (0–100)
A single number synthesizing four components, each weighted equally at 25 points:
— EMA alignment: full bullish or bearish stack scores 25, mixed scores 0
— Slope agreement: all three EMAs rising or all falling scores 25, partial agreement scores 12
— Spread strength: scaled between 0–25 based on where the current spread falls relative to the user-defined weak and strong thresholds
— Price position: price above the ribbon in a bullish trend (or below in bearish) scores 25, inside the ribbon scores 10, on the wrong side scores 0
The score is color-coded: cyan (80+), teal (60–79), orange (40–59), red (below 40).
▸ Dynamic Slope-Adaptive Colors
When enabled, each EMA line independently changes color based on its own slope — rising EMAs render green, falling EMAs render red. This provides an early visual warning when individual EMAs begin to flatten or turn, even while the overall stack remains intact. A bullish stack where the slow EMA has turned red is a qualitatively different signal than one where all three are green.
▸ Multi-Timeframe Dashboard
A built-in table displays trend state, spread, and grade across five timeframes simultaneously: the current chart timeframe plus 15-minute, 1-hour, 4-hour, and daily. The active chart timeframe is marked with ► in the MTF rows if it matches one of the fixed timeframes. A confluence row at the bottom counts how many timeframes are bullish versus bearish and outputs a directional bias: Strong Bull (4–5 aligned), Bull Lean (3), Neutral (mixed), Bear Lean (3 bearish), or Strong Bear (4–5 bearish).
🔹 CROSSOVER SIGNAL HIERARCHY
Not all EMA crossovers carry equal weight. The indicator differentiates three tiers with distinct marker sizes and shapes:
▸ Fast × Mid (tiny triangles) — Early signal. The 8 EMA crossing the 21 EMA indicates short-term momentum shift. Frequent, noisy, best used as an alert rather than a trigger.
▸ Fast × Slow (standard triangles) — Confirmation signal. The 8 EMA crossing the 55 EMA has more significance and filters out minor pullbacks.
▸ Mid × Slow (diamonds) — Trend shift signal. The 21 EMA crossing the 55 EMA typically marks a genuine change in trend direction. This is the least frequent and most reliable crossover in the set.
All crossover markers can be toggled off independently.
🔹 DASHBOARD COMPONENTS
The top-right dashboard (position and size adjustable) contains:
Row 1 — TREND: Current trend state (▲ Bullish / ▼ Bearish / ◆ Neutral) with bar count showing how long the trend has been active.
Row 2 — ZONE: Where price sits relative to the ribbon (Above / Inside / Below) alongside the momentum score out of 100.
Row 3 — SQUEEZE: Active squeeze status with a visual strength bar (██████░░░░) showing current spread intensity relative to its recent range.
Rows 4–9 — MTF OVERVIEW: Trend, spread, and grade for the current chart, 15m, 1H, 4H, and 1D timeframes.
Row 10 — BIAS: Multi-timeframe confluence verdict with bull/bear count.
🔹 SETTINGS
EMA Settings
▸ Fast / Mid / Slow EMA Period — Default 8/21/55. Periods must be in ascending order.
▸ Source — Close, Open, High, Low, HL2, HLC3, or OHLC4.
Overlay Settings
▸ Background Transparency — Controls the intensity of the trend-colored chart background (0–99).
▸ Crossover Signals — Toggle the three-tier crossover markers.
▸ Ribbon Fill — Toggle the colored fill between EMA lines. Fill turns yellow during active squeeze.
▸ Dynamic EMA Colors — Toggle slope-based EMA coloring (green = rising, red = falling).
▸ Bar Coloring — Optional candle coloring by trend state and price position. Off by default.
▸ Squeeze Detection — Toggle squeeze markers and dashboard squeeze status.
Dashboard
▸ Table Size — Tiny, Small, Normal, or Large.
▸ Table Position — 8 positions (corners, centers, sides).
Thresholds
▸ Weak/Strong spread thresholds (%) — Define what constitutes a weak, moderate, or strong trend spread. These should be adjusted per asset class (e.g., lower for forex, higher for crypto).
▸ Squeeze Lookback — Number of bars used to calculate the average ribbon width for squeeze detection.
▸ Squeeze Ratio — The compression threshold. A ribbon narrower than this ratio × average width triggers a squeeze flag.
🔹 ALERTS
Nine configurable alert conditions:
▸ Bullish / Bearish EMA Crossover (any tier)
▸ Mid × Slow Bullish / Bearish Shift
▸ Bullish / Bearish Stack Formed
▸ Squeeze Detected (compression begins)
▸ Squeeze Released (expansion starts)
▸ High Momentum (score crosses above 80)
🔹 SUGGESTED USE
This indicator works as a trend filter, not a standalone entry signal. Use it to:
▸ Confirm directional bias across timeframes before entering trades
▸ Identify compression phases where breakouts are likely
▸ Gauge trend quality and exhaustion via the momentum score and bar duration
▸ Filter crossover signals — a Fast × Mid cross during an active squeeze with MTF confluence is a higher-probability setup than the same cross in isolation
Pairs well with oscillators (RSI, Stochastic), volume-based indicators, or support/resistance tools for entry timing. Indicador

Indicador

Liquidity Sweep & Golden Zone [StrixEDGE]Overview
Liquidity Sweep & Golden Zone is a multi-timeframe structural analysis tool built for traders who use Smart Money Concepts (SMC) and ICT methodology. It identifies liquidity sweeps at confirmed swing levels, maps the Fibonacci Golden Zone (OTE), and presents a real-time confluence dashboard across 15-minute, 1-hour, 4-hour, and daily timeframes.
The indicator answers three questions at a glance: where is the liquidity?, has it been swept?, and do multiple timeframes agree on direction?
How It Works
Liquidity Sweep Detection
The engine tracks confirmed swing highs and swing lows using pivot detection. These pivots represent resting liquidity pools — areas where stop-loss orders accumulate:
- Buy-Side Liquidity (BSL) sits above swing highs, where short sellers place their stops. When price wicks above a swing high and closes back below, a BSL sweep is triggered — signaling that buy-side stops were hunted. This typically precedes bearish continuation.
- Sell-Side Liquidity (SSL) sits below swing lows, where long traders place their stops. When price wicks below a swing low and closes back above, an SSL sweep is triggered — signaling that sell-side stops were hunted. This typically precedes bullish reversal.
Each sweep event displays the estimated volume in USDT at the moment of the sweep. This is calculated as `volume × close` on the sweep bar and serves as a proxy for the magnitude of liquidations that occurred. Higher volume sweeps tend to produce stronger reversals.
After a sweep, the level is updated to the new extreme — preventing duplicate signals and establishing a fresh liquidity reference.
Support & Resistance (Pivot-Based)
Active (un-swept) pivot levels are drawn on the chart as structural Support and Resistance:
- A line extending from the bar where the pivot formed to the current price area
- A zone band (ATR × 0.15) around the level, representing the area of influence
- Origin labels showing "Buy-Side Liquidity SWEEP" or "Sell-Side Liquidity SWEEP" with the USDT volume
- Price labels on the right edge for quick reference
These levels update dynamically: when a new pivot is confirmed, the line starts from the new origin. When a sweep occurs, the level shifts to the sweep bar.
Golden Zone (Fibonacci OTE: 0.618 – 0.786)
The Golden Zone represents the Optimal Trade Entry area — the 61.8% to 78.6% Fibonacci retracement of the most recent price range. Unlike pivot-based calculations, this indicator uses a **lookback-based approach**: it finds the highest high and lowest low over a configurable number of bars, then derives the zone from that range.
The zone is visualized with:
- A filled box between the 0.618 and 0.786 levels (transparency adjustable)
- Dashed border lines at 0.618 and 0.786
- A dotted midline at the 0.702 level
- Price labels showing exact values
- A centered "GOLDEN ZONE" tag
This approach produces a stable, always-visible zone that doesn't depend on individual pivot detection, making it reliable across all market conditions.
Multi-Timeframe Heatmap
The core of this indicator is a 7-column heatmap table that evaluates market conditions across four timeframes simultaneously:
| Column | What It Shows | Bullish | Bearish |
|--------|--------------|---------|---------|
| SWEEP | Recent liquidity sweep direction | ● BULL (SSL swept) | ● BEAR (BSL swept) |
| GZ | Price position relative to Golden Zone | ▲ ABOVE | ▼ BELOW |
| S/R | Price position vs. pivot S/R midpoint | ▲ BULLISH | ▼ BEARISH |
| BIAS | EMA 21/50 trend direction | ▲ BULL | ▼ BEAR |
| RSI | RSI(14) value with decimal precision | Color-coded by zone | Color-coded by zone |
| SIGNAL | Composite of all conditions | LONG ▲ | SHORT ▼ |
Signal Logic: The SIGNAL column counts four conditions per timeframe — RSI above/below 50, price in/above the Golden Zone, price above/below the S/R midpoint, and EMA bias direction. When 3 or more conditions align bullish, the signal reads LONG. When 3 or more align bearish, it reads SHORT. Otherwise, NEUTRAL.
A confluence bar at the bottom aggregates all timeframes. When the majority of conditions across all four timeframes agree, it displays STRONG BULLISH or STRONG BEARISH CONFLUENCE.
RSI Color Coding
| RSI Range | Color | Meaning |
|-----------|-------|---------|
| > 70 | Orange | Overbought |
| 50 – 70 | Green | Bullish momentum |
| 30 – 50 | Red | Bearish momentum |
| < 30 | Blue | Oversold |
Settings
Structure Settings
| Setting | Default | Description |
|---------|---------|-------------|
| Pivot Lookback Length | 5 | Bars left and right to confirm a swing pivot. Higher values produce fewer but stronger levels |
| Sweep Active Memory | 10 | How many bars a sweep signal remains active on the heatmap after detection |
Golden Zone
| Setting | Default | Description |
|---------|---------|-------------|
| Lookback Period | 20 | Number of bars to find highest high and lowest low for Fibonacci calculation |
| Show Golden Zone | On | Toggle zone visibility on chart |
| Fill Golden Zone | On | Shade the area between 0.618 and 0.786 |
| Fill Transparency | 88 | Opacity of the filled zone (50–98) |
| Golden Zone Color | Gold | Color for all Golden Zone elements |
Support & Resistance
| Setting | Default | Description |
|---------|---------|-------------|
| Show S/R on Chart | On | Toggle S/R lines, zone bands, and labels |
| Support Color | Teal | Color for support level and SSL elements |
| Resistance Color | Red | Color for resistance level and BSL elements |
| Line Width | 2 | Thickness of S/R lines (1–4) |
| Line Style | Solid | Solid, Dashed, or Dotted |
| Show Price Labels | On | Display price values at the right edge of each level |
Sweep Event Labels
| Setting | Default | Description |
|---------|---------|-------------|
| Show Sweep Labels | On | Toggle sweep event markers on chart |
| Bullish Sweep Color | Green | Color for SSL sweep labels (bullish reversal) |
| Bearish Sweep Color | Red | Color for BSL sweep labels (bearish reversal) |
Heatmap Table
| Setting | Default | Description |
|---------|---------|-------------|
| Show Heatmap Table | On | Toggle the entire dashboard |
| Table Position | Top Right | 9 position options across the chart |
| Table Cell Size | Normal | Tiny, Small, Normal, Large, or Auto |
Alerts
Five alert conditions are built in and ready to use:
1. Bullish Liquidity Sweep — SSL swept, potential bullish reversal
2. Bearish Liquidity Sweep — BSL swept, potential bearish reversal
3. Bull Sweep + Golden Zone — SSL swept while price is inside the OTE zone (high-probability long)
4. Bear Sweep + Golden Zone — BSL swept while price is inside the OTE zone (high-probability short)
5. Price in Golden Zone — Price enters the 0.618–0.786 zone on any bar
Disclaimer
This indicator is a technical analysis tool designed to assist in identifying potential areas of interest based on market structure and liquidity concepts. It does not constitute financial advice. The USDT volume figures are approximations, not verified liquidation data. Always use proper risk management and combine this tool with your own analysis. Past performance of any signal or pattern does not guarantee future results. Trade at your own risk. Indicador

Adaptive Volume Confluence OscillatorWhat it is
One pane that fuses seven different reads of the bar into a single 0–100 confluence score, gates that score by a trend-vs-chop regime filter, confirms it against an auto-mapped higher timeframe, and — most importantly — forward-calibrates its own Buy/Sell signals against an unconditional base rate, so you can see whether the construction actually carries an edge on your instrument.
The seven votes: momentum sign · momentum vs its signal · money flow · trend structure (MA fan) · price location vs VWAP · trend slope · higher-timeframe bias.
The displayed wave is a volume-flow ribbon; the votes drive the score, the signals and the verdict. A plain-language verdict and a subtle pane tint make it readable at a glance (Simple view); a full analytic layer is available for advanced users (Pro view).
Why these are combined (mashup rationale)
A single oscillator whipsaws and a single signal over-fires. Combining helps only when the inputs key on different quantities and their agreement is checked. Each vote reads a different thing — momentum, momentum-vs-signal, volume flow, multi-MA structure, location vs a session mean, slope, and a higher-timeframe read — so the count that agrees carries more information than any one of them alone. A Kaufman Efficiency-Ratio regime gate suppresses conviction in chop, and a forward-calibration harness ties the whole construction back to realised forward outcomes.
An honest caveat, stated up front: the votes are not statistically independent. The oscillator itself embeds money flow, and vote 2 is derived from vote 1's series. Treat the score as a weight-of-evidence read, not as seven independent confirmations. The harness exists precisely so you can check whether the construction earns its keep on your instrument rather than taking the claim on faith.
How it works
Score — how many of the seven votes are bullish, scaled 0–100.
Regime — Kaufman Efficiency Ratio. Below the chop threshold, conviction dims, signals are withheld, and the verdict reads "WAIT – choppy".
HTF — the chart timeframe auto-maps to a confirming higher timeframe (~4–6×), requested with lookahead_off and offset by one bar while the live bar forms.
Signals — Buy/Sell fire only when the oscillator crosses its signal at a statistical OB/OS extreme and the score agrees and the regime isn't choppy and the visible wave isn't already at the opposite extreme.
Climax — a volume spike at an OB/OS extreme prints a Possible Bottom/Top exhaustion mark.
Divergence (Pro) — regular + hidden, from confirmed pivots on the momentum oscillator.
Calibration — each Buy/Sell is queued and resolved a fixed horizon later, then compared with the unconditional same-horizon base rate. The dashboard shows, per side: Hit %, Edge = Hit − Base, sample size, and a Wilson-gated star.
How to use it
Read the verdict and the score. Above the gate = bullish weight of evidence; below = bearish; in between, or in chop, the tool says WAIT — and it means it.
Treat Buy/Sell marks as context, not triggers. They already require the score, the regime and the wave to agree, but they remain a description of conditions — not a recommendation.
Read the Edge row before you weight any signal. If Buy/Sell Edge isn't clearly positive with an adequate sample and a star, this construction is not carrying an edge on this instrument — weight it down or ignore it. Do not tune the parameters until the Edge turns green: that is curve-fitting, and the harness is there to catch it, not to be defeated.
Combine with your own levels, structure and risk rules.
Universal across markets
Price / high / low are inputs, so the engine runs on any symbol or timeframe. The volume votes (money flow, climax, VWAP location) need real volume — prefer a futures contract or a stock. On a symbol with no volume the tool degrades gracefully: money flow is neutralised, the score falls back to the price-only votes, and the dashboard says "NO VOLUME", so you're never misled by a blank or a phantom reading.
Non-repainting
Votes read confirmed closes. The HTF series uses lookahead_off and is offset by one bar while the live bar forms. Divergences come from ta.pivot* and confirm a few bars after the pivot; once printed they don't move. The calibration harness logs and resolves only on confirmed bars, so its statistics never inflate intrabar. The live oscillator updates each bar, like any oscillator.
Concept credits
Super Smoother and Ultimate Smoother low-lag filters — John Ehlers. Chebyshev Type-I filter — classical DSP. Recursive (Kalman) smoothing — R. E. Kalman. Volume Zone Oscillator — Walid Khalil & David Steckler. Accumulation/Distribution money-flow multiplier — Marc Chaikin. Efficiency Ratio — Perry J. Kaufman. ATR — J. Welles Wilder. Wilson score interval — Edwin B. Wilson. VWAP, Hull MA and percentile rank — standard public methods.
Original implementation; not affiliated with, nor endorsed by, any third party. No third-party code is reused.
Honest limits
The score is context, not a guarantee, and the votes are correlated (see the caveat above). The Edge figures are in-sample, close-to-close, with overlapping forward windows and no costs — descriptive context, not a verified backtest. An Edge near zero, negative, or unstable across timeframes is the harness honestly telling you the signal has no reliable edge on that instrument. Nothing here predicts price.
Disclaimer
Research and educational tool only. Not financial advice and no guarantee of profitability or accuracy. Indicators describe past behaviour; they do not predict the future. Trading carries risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use of this script. Indicador

Helix Lucky MTF Bias and Breakout DashboardHelix Lucky MTF Trend and Breakout Dashboard
📊 Overview
Helix Lucky MTF Trend and Breakout Dashboard is an overlay indicator designed to organize trend, momentum, breakout context, key levels, and multi-timeframe alignment into one chart-based dashboard.
The purpose of the script is not to combine unrelated indicators into a single display. The script separates market analysis into distinct layers so each component has a specific role:
1. Trend structure
2. Momentum confirmation
3. Breakout context
4. Multi-timeframe alignment
5. Key level awareness
6. Setup scoring
7. Optional visual confirmation tools
The result is a confluence-based workflow that helps traders review whether multiple independent conditions are aligned before making a trading decision.
🧩 How the Main Components Work Together
The script uses moving averages, VWAP, MACD, ZLSMA, UT Bot logic, Supertrend, ADX, RSI, and Opening Range Breakout logic as separate inputs within the same framework.
The moving average group provides basic trend structure by comparing shorter-term and longer-term averages. The default structure uses a fast EMA, medium EMA, and long SMA, but users can configure the moving average types and lengths.
VWAP provides session or higher-period price-location context. It can be anchored to the session, day, week, month, quarter, or year and may be displayed with standard deviation or percentage-based bands.
MACD is used as a momentum confirmation layer. The script includes a minimum separation filter so very small MACD differences can be filtered out instead of being treated the same as stronger momentum shifts.
ZLSMA is optional and can be used as an additional trend-direction filter.
The UT Bot component is used as the primary chart label engine. It uses an ATR-based adaptive trailing stop. The script adjusts the trailing distance using volatility, momentum, and volume conditions, then produces Buy or Sell labels when price crosses the trailing stop and the configured filters allow the signal.
Supertrend provides a separate trend-regime layer. This gives the user a second way to compare the UT Bot label against a broader trend condition.
ADX is used to evaluate whether trend strength is above the user-selected threshold. RSI can be used either in a classic 30/70 bias mode or with custom pullback zones.
The Opening Range Breakout component tracks whether price is above, below, or inside the selected opening range window. This helps separate trend-following conditions from range-bound conditions.
🧠 Why This Is More Than a Simple Mashup
Each component is assigned a different purpose. The script is designed so the same tools are not all treated as equal standalone signals.
Trend tools identify direction.
Momentum tools evaluate confirmation.
Volume and relative volume help evaluate participation.
Opening Range Breakout logic identifies range expansion.
The Bias Table compares selected conditions across multiple timeframes.
The Price Point Dashboard displays important reference levels and live context.
The scoring layer organizes these conditions into a rule-based summary.
This structure allows the script to reduce chart clutter while still showing how the underlying conditions agree or disagree.
🕒 Multi-Timeframe Bias Table
The Multi-Timeframe Bias Table displays up to eight selectable timeframes, including 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, and Daily.
Each row evaluates one condition, such as moving average structure, price relative to VWAP, MACD alignment, Supertrend direction, ZLSMA slope, RSI condition, ADX threshold, Opening Range Breakout status, and longer-period bias.
The table also includes an average agreement reading. This reading is not a prediction and does not represent a win rate. It simply shows how many selected conditions are aligned across the active timeframes.
By default, the script can hide timeframes below the current chart timeframe. This is intended to reduce lower-timeframe noise when viewing higher-timeframe charts.
📍 Price Point Dashboard
The Price Point Dashboard displays reference levels and market context in one location. These can include prior day high, prior day low, prior day close, pivot levels, moving averages, 52-week high, Fibonacci reference levels, VWAP information, Opening Range Breakout status, ATR, gap percentage, relative volume, and other selected dashboard fields.
The dashboard is intended to help users see where price is trading relative to important reference levels without manually adding each level to the chart.
📈 Trend Strength Score
The Trend Strength Score is a rule-based 0 to 100 score that measures how strongly the current bar aligns with selected bullish trend conditions.
The score uses five weighted components:
- EMA alignment
- VWAP location
- MACD alignment
- Supertrend direction
- ADX strength
The score is a summary of internal conditions only. It does not predict future price movement.
🎯 Trade Probability Score
The Trade Probability Score is a rule-based 0 to 100 setup-quality score. It is calculated from twelve weighted factors:
- Multi-timeframe alignment
- EMA stack
- VWAP location
- Price relative to the 200-period moving average
- MACD alignment
- Supertrend direction
- ADX strength
- Relative volume
- Opening Range Breakout status
- Relative strength versus a selected benchmark
- Volatility state
- Position relative to key levels
The score is intended to summarize confluence. A higher score means more of the script’s internal conditions are aligned. It does not mean that a trade will be profitable, and it should not be interpreted as a guaranteed probability of success.
💧 Liquidity Sweep Detection
The script can detect liquidity sweep conditions by checking whether price moves beyond a recent swing high or swing low and then closes back inside that level.
A Sweep High label indicates that price moved above a recent high and then closed back below that level.
A Sweep Low label indicates that price moved below a recent low and then closed back above that level.
These labels are intended to identify possible rejection behavior around recent swing points. They should be used as context, not as standalone trade signals.
⚖️ Relative Strength
The script includes relative strength comparison against configurable benchmark symbols. The default benchmarks are QQQ and SPY.
Relative strength is calculated by comparing the current symbol’s intraday return against the benchmark’s intraday return. A positive value means the current symbol is outperforming the benchmark over that comparison period. A negative value means it is underperforming.
🌡️ Volatility State
The Volatility State feature classifies the current volatility environment as Squeeze, Normal, or Expansion.
This is based on Bollinger Band width compared with Keltner Channel width and recent volatility behavior.
Squeeze indicates compressed volatility.
Normal indicates a standard volatility environment.
Expansion indicates that volatility has increased relative to recent conditions.
This feature is included to help users understand whether price is consolidating, behaving normally, or expanding in volatility.
🕯️ Candlestick Pattern Labels
The script includes optional candlestick pattern labels. These patterns are detected on the same timeframe as the chart. They are not calculated from a separate hidden timeframe.
Optional labels include:
- Bullish Engulfing
- Bearish Engulfing
- Hammer
- Shooting Star
- Morning Star
- Evening Star
- Inside Bar
- Tweezer Top
- Tweezer Bottom
- Doji
- Dragonfly Doji
- Gravestone Doji
- Sweep High
- Sweep Low
These labels are intended as additional context. They should not be treated as standalone entries without reviewing trend, momentum, volatility, and key-level context.
🛑 Suggested Stop Loss and Take Profit Reference Lines
The script can plot suggested stop loss and take profit reference lines after a UT Bot label appears.
The stop line is calculated from internal structure such as the UT Bot stop, Supertrend, VWAP, moving average, Donchian floor, and a minimum ATR-based risk floor depending on settings and context.
Take profit reference lines are based on R-multiple distances from the suggested stop. These are visual planning tools only. They do not place trades, manage positions, or execute orders.
🧭 How to Use the Script
A typical workflow is:
1. Select the chart timeframe and market being reviewed.
2. Review the Multi-Timeframe Bias Table to understand directional alignment.
3. Check whether the chart is trending, ranging, breaking out, or consolidating.
4. Review the Price Point Dashboard for key levels and market context.
5. Watch for a UT Bot Buy or Sell label if labels are enabled.
6. Compare the label direction with Supertrend, MACD, VWAP, ADX, and the Bias Table.
7. Review the Trend Strength Score and Trade Probability Score as confluence summaries.
8. Use the suggested stop and take profit reference lines only as visual planning tools.
9. Apply independent risk management and confirm the setup with your own analysis.
🌍 Timeframes and Markets
The script can be applied to different chart timeframes and TradingView-supported markets. Lower timeframes may produce more signals and more noise. Higher timeframes may produce fewer signals but can provide broader context.
The Multi-Timeframe Bias Table is intended to help users avoid looking at a single timeframe in isolation.
⚠️ Important Limitations
This script is an indicator, not a strategy. It does not place trades, backtest trades, manage orders, or connect to a brokerage account.
The scoring systems are rule-based summaries of current chart conditions. They are not win-rate models, machine-learning predictions, or guarantees of future results.
Signals, labels, and dashboard values can vary by symbol, timeframe, liquidity, volatility, and user settings.
The Bias Table is a live context dashboard and may update while the current bar is forming. This is expected behavior because some values are based on developing bar data.
The “Draw visuals only on bar close” setting gates the UT Bot entry visuals and suggested stop/take-profit drawings to confirmed bars. It does not freeze every live dashboard value while a bar is developing.
Liquidity Sweep labels can be gated to bar close using the Bar Close Only setting.
The script is designed for standard chart analysis. Signals on non-standard chart types may behave differently because those chart types can use synthetic price construction.
No signal, score, table reading, or label should be used as a guarantee of future price movement. Users should apply their own analysis and risk management.
🧾 Credits and Inspiration
This script was inspired by the concept of combining a multi-timeframe bias table, trend labels, and a price-level dashboard into one overlay.
The current script is a ground-up Pine Script v6 implementation with additional architecture, including the rule-based Trade Probability Score, Trend Strength Score, liquidity sweep detection, relative strength comparison, volatility state classification, configurable dashboards, candlestick pattern labels, and suggested risk-reference lines.
The script also uses common technical analysis concepts such as moving averages, VWAP, MACD, RSI, ADX, ATR, Supertrend-style trend logic, and Opening Range Breakout logic. These common concepts are organized into a single decision-support framework rather than presented as separate standalone indicators. Indicador

NSE/BSE Key Support & Resistance | MTF Pro-3.1Advanced pivot-based Support & Resistance with multi-timeframe confluence, strength scoring, volume-confirmed breaks, and adaptive zone visuals — built specifically for Indian stock market (NSE/BSE).
Overview
Most S&R indicators draw every pivot as an equal horizontal line and extend it infinitely to the right — creating cluttered, unreadable charts. This indicator solves that by scoring every level based on how strongly price rejected it , merging overlapping levels from different timeframes into a single confluence zone, and only showing the levels that actually matter.
Built and tuned specifically for NSE and BSE stocks, indices (Nifty 50, Bank Nifty, Sensex), and F&O instruments.
Key Features
🔷 Multi-Timeframe Support (4 TFs)
Enable up to 4 independent timeframes simultaneously. Each timeframe's pivots are detected separately and tagged in the label — , , , . You choose which timeframes to activate.
🔷 Cross-TF Confluence Merge
When two different timeframes produce a pivot at nearly the same price (within ATR proximity), they automatically merge into a single stronger zone instead of drawing two overlapping boxes. The label shows both sources — — and the level receives a confluence strength bonus. These merged zones are your highest-priority trade levels.
🔷 Advanced Strength Scoring
Every level carries a live strength score (★) that accumulates over time. Each touch is scored individually based on:
Wick size relative to candle range (how strongly price rejected)
Distance of close from the level (how convincingly price pulled back)
Whether volume was above average on that candle
Whether a strong body / engulfing candle formed
A barely touching wick scores ~0.5. A high-volume hammer rejection scores ~5–6. The score drives both zone opacity and zone width — strong levels appear bold and wide, weak levels fade visually.
🔷 Volume-Based Break Filter
A level is only invalidated when price closes beyond it and volume meets a configurable threshold (default: 1× average volume). Low-volume spikes through a level are ignored as false breakouts — the zone remains valid. Break alerts include the volume ratio so you know the conviction behind the move.
🔷 Adaptive Zone Visuals
No right extension — zones terminate at the current bar (valid) or the break bar (broken). No infinite lines cluttering the right side of your chart.
Opacity scales with strength — strongest levels are most visible, weakest levels are nearly transparent.
Zone width scales with strength — high-confidence zones are wider, giving a visual sense of the price area's importance.
🔷 Clean Labels
Each label shows the full picture at a glance:
21450.00 ★6.5 ×3
Timeframe source | Price | Strength score | Touch count
Settings Guide
SettingWhat it doesPivot LengthBars each side to confirm a pivot. Higher = fewer, stronger levelsMin StrengthHide levels below this score. Raise to show only confirmed levelsATR Merge DistanceHow close two levels must be to merge into oneInvalidationClose-based (reliable) or Wick-based (faster) break detectionVolume Break FilterRequire above-average volume to confirm a breakoutMin Volume MultiplierHow many times average volume needed to confirm a breakMax Active LevelsCap total zones shown on chartStrength → Zone OpacityToggle adaptive opacity based on strength score
How to Use
Bounce trades — price enters a green (support) zone → wait for a rejection candle with volume → enter above the rejection candle high, SL below zone bottom.
Rejection trades — price enters a red (resistance) zone → wait for a bearish candle with volume → enter below candle low, SL above zone top.
Breakout trades — price closes beyond a zone with high volume (break alert fires) → wait for pullback to the broken level → trade in the direction of the break.
Highest priority setups — zones tagged or with ★ score above 5 and multiple touches. These are the levels institutional money respects.
Alerts
The indicator fires alert() calls for:
Break confirmed — includes ticker, price, and volume ratio
Retest — includes ticker, price, and touch quality score
Set alert condition to "Any alert() function call" in TradingView's alert dialog.
Notes
Designed and tested on NSE/BSE equities and F&O stocks
Works on any timeframe from 1 minute to Weekly
All calculations are original — pivot detection, strength engine, confluence merge, and volume filter are built from scratch in Pine Script v6 Indicador

Auction Regime Router Entropy Gate & Hurst MemoryAuction Regime Router — Entropy Gate & Hurst Memory
What it is
Every structure playbook fails in the wrong regime. Fading the value-area edge works when price is anti-persistent (stretches snap back); riding a breakout works when price is persistent (moves feed on themselves); and nothing structural works when the tape is noise. This tool measures two things — how much structure exists, and what kind it is — and routes to a plain-language answer: FADES VIABLE / BREAKOUTS VIABLE / STAND ASIDE. It decides which of your tools to trust, never buy or sell.
The two measurements (and how they work together)
Permutation entropy (Bandt–Pompe 2002) — the gate. It measures how disordered the recent price sequence is from the frequencies of ordinal patterns (which of the 6 orderings each price triplet takes). High entropy = all patterns equally likely = noise = no structural edge. The gate is self-calibrated: entropy is ranked against its own recent history, so "noisy" means noisy for this symbol and timeframe.
Hurst exponent (Hurst 1951; Mandelbrot) — the router. Memory via diffusion scaling: how the dispersion of K-bar returns grows with K. H > 0.5 = persistent → continuation regime; H < 0.5 = anti-persistent → reversion regime. Research supports the routing: mean reversion is empirically more probable and faster during anti-persistent periods.
The mashup logic is a hierarchy, not a mixture: the entropy gate overrides the Hurst read. If the tape is noise, the router says STAND ASIDE regardless of what H says — because a memory estimate on noise is meaningless.
The honesty steps
A dead zone around H = 0.5 (default 0.45–0.55): near a random walk the memory read is unreliable, so the router says MIXED rather than pretending. Practitioners commonly require a margin before activating a playbook; both thresholds are inputs.
A minimum-dwell filter (the standard anti-chattering design from switched-systems control): a new regime is announced only after it survives a set number of confirmed bars, so the read doesn't flip-flop bar to bar. The cost is that many bars of lag — stated, and adjustable.
Estimates are proxies from bar data with overlapping windows — descriptive of the recent past, not a prediction. The dashboard shows the state, how long it has persisted (regime age), how dominant it has been recently (stability %), and any pending regime with a countdown — nothing more.
How to use it
Add to any liquid symbol/timeframe; defaults suit intraday index futures. The script requests no external data of any kind, so it runs on every plan and every symbol.
Glance at the regime lane — the thin colored strip at the bottom of the pane: blue = continuation, violet = reversion, amber = noise, gray = mixed. The palette is deliberately direction-neutral — no green or red anywhere in regime coding, so nothing can be misread as a buy or sell.
The HTF STACK row shows the raw regime on three higher timeframes derived as multiples of the chart (defaults 3×, 5×, 15× — so a 5m chart reads 15m/25m/75m automatically, adapting to any chart). A ✓ in green = every timeframe agrees on the same actionable regime (strongest context). A ⚠ in amber = a higher timeframe reads NOISE or the opposite regime while the chart claims a playbook (weakest — reduce or wait).
Read the dashboard for detail: REVERSION → your value-area fade / band-reversion tools are in their element; CONTINUATION → your breakout / drive tools are; NOISE → the gate is closed, stand aside; MIXED → no clear routing, reduce. STABILITY shows how settled the read is; PENDING shows a forming regime with a countdown.
Regime-change tags print only on announced (dwell-confirmed) changes; alerts fire on entering each state.
Best used as the selector above your structure toolkit rather than as a standalone display.
What makes it original
Hurst and entropy oscillators exist. What this adds: (1) the hierarchy — a self-calibrated entropy gate that can veto the memory read, instead of two numbers side by side; (2) routing to auction playbooks in plain language (fade vs breakout viability), not a raw statistic; (3) honest dead zones, a minimum-dwell announcement filter, and stability/pending context instead of a binary flip at H = 0.500. It is a decision-hygiene tool for structure traders.
Concept credits
Ordinal-pattern (permutation) entropy — C. Bandt & B. Pompe (2002). Long-memory / rescaled-range analysis — H. E. Hurst (1951); fractal market framing — B. Mandelbrot. Regime-gated strategy selection — standard quantitative practice. Implementation and charting design are the author's own.
Important disclaimer
Research and education only. Not financial advice, not a signal service, not a guarantee of future results. Regime labels are descriptive statistics of recent bars; regimes change without warning and estimates are proxies. Validate independently and manage your own risk. Indicador

Skew Divergence OscillatorSkew Divergence Oscillator
A bounded oscillator built from the rolling skewness (asymmetry) of returns — whether recent moves lean toward big up-days or big down-days — with a divergence engine that compares that asymmetry against price. The read most tools miss: when price makes a new high but return skew is turning down (large down-moves creeping in), the advance is quietly losing its character before price confirms it. It estimates skew from higher-resolution realized data, confirms divergences on a higher timeframe, and forward-calibrates whether they pay on the chart you're viewing — in plain language.
Why these parts are combined (not a mashup for show). Each fixes a flaw in the previous one. Skewness is a distributional read price action alone doesn't show — it captures which tail is getting heavier, a leading change in market character. Realized estimation measures skew from intrabar returns instead of one value per bar, so short-window skew isn't jumpy — the standard approach in modern risk research. Divergence relates that asymmetry back to price, turning a statistic into a timing read. Higher-timeframe confirmation and forward calibration remove single-timeframe noise and blind faith respectively. Together they form one coherent tool.
How it works. Returns feed a rolling third standardized moment (skew = m3/sd³). With realized estimation on, skew is computed from a lower-timeframe return stream (confirmed only). It's standardized and soft-bounded to ±100. Divergence is detected from confirmed price pivots versus the skew line (regular and optional hidden); with MTF on, it counts only if the higher timeframe agrees. Each signal is labelled by a triple barrier — a profit target and equal stop in ATR units plus a time limit — split into in-sample and recent out-of-sample, with a confidence interval and a multiple-testing check.
How to use. Read the Verdict (Bull/Bear skew divergence confirmed, unconfirmed, or Wait) and the Conviction, which reads "High" only when that divergence type shows a positive edge that survives the test on this symbol — otherwise it openly says "context only" or "no proven edge here." A skew divergence is an early character warning, not a trend signal — pair it with your own entry trigger and risk plan.
What's original. The realized-skew engine as a divergence source, the higher-timeframe confirmation layer, the triple-barrier forward calibration with an out-of-sample split, and a conviction read that admits when an apparent edge isn't statistically real.
Honesty & limitations. Skew from short windows is noisy. Edge figures are computed on this chart's own history with overlapping windows and no costs — context, not a guaranteed backtest; past behaviour doesn't predict the future. Non-repainting: pivots confirm late and never move; realized and HTF reads use confirmed data only.
Disclaimer: for research and education only. Not financial advice. Trading carries risk of loss; manage your own positions. Indicador

Mean-Deviation Divergence OscillatorMean-Deviation Divergence Oscillator
A bounded oscillator that measures how far the typical price has stretched from its own recent mean, scaled by how much it normally deviates — so a reading tells you "how unusual is this move," not just "how big." That normalization makes its swings comparable across calm and volatile regimes and well suited to divergence. It adds higher-timeframe confirmation and a plain-language forward-calibration layer, so you can see at a glance whether a divergence is corroborated and whether it has actually paid on this symbol.
Why this construction (not a mashup for show). Each part fixes a flaw in naive divergence. Raw distance-from-mean isn't comparable across regimes — dividing by the average absolute deviation (with the conventional 0.015 scaling, chosen so that roughly 70–80% of readings fall within ±100) makes the oscillator regime-comparable, which is the whole reason it's a good divergence base. Higher-timeframe confirmation removes single-timeframe noise. Forward calibration removes blind faith: instead of assuming a divergence "should" reverse price, it measures whether it actually has, with realistic profit/stop outcomes. The normalized oscillator, the divergence engine, the MTF check and the calibration form one coherent tool.
How it works. Oscillator = (typical price − its moving average) ÷ (0.015 × mean absolute deviation), soft-bounded to a clean ±100 pane that auto-fits its own recent magnitude. Divergence is detected from confirmed price pivots versus the oscillator (regular and optional hidden). With MTF confirmation on, a divergence counts only if a same-direction divergence is also present on the chosen higher timeframe. Each signal is then labelled by a triple barrier — a profit target and equal stop in ATR units plus a time limit — split into in-sample and recent out-of-sample, with a confidence interval and a multiple-testing check.
How to use. Read the Verdict row (Bull/Bear divergence confirmed, "unconfirmed," or Wait) and the Conviction row, which reads "High" only when that divergence type shows a positive edge that survives the test on this symbol. A divergence is a reversal warning, not a trend signal — pair it with your own entry trigger and risk plan.
What's original. Higher-timeframe divergence confirmation on a mean-deviation normalized oscillator, the forward triple-barrier calibration with an out-of-sample split, and a conviction read that openly admits when there's no proven edge.
Inputs. Price/High/Low sources (change them for any market), reading mode (Simple/Pro), engine length and deviation scale, divergence and HTF-confirm controls, full calibration settings, and an auto-adapting dashboard legible on dark or light charts. Defaults are tuned for NSE:NIFTY1! intraday.
Honesty & limitations. Edge figures are computed on this chart's own history with overlapping windows and no costs — context, not a guaranteed backtest; past behaviour doesn't predict the future. Divergence is inherently early and can persist before price turns.
Disclaimer: for research and education only. Not financial advice. Trading carries risk of loss; manage your own positions. Indicador

Smoothed Momentum Divergence OscillatorSmoothed Momentum Divergence Oscillator
A bounded momentum oscillator whose momentum is double-smoothed — once on the price change and once on its size — which makes its swings unusually clean and well suited to divergence. It adds higher-timeframe confirmation and a plain-language forward-calibration layer, so you can see at a glance whether a divergence is corroborated and whether it has actually paid on this symbol.
Why this construction (not a mashup for show). Each part removes a weakness of raw divergence. Raw momentum is jagged, so single-pass divergence is noisy — smoothing the price change twice (and dividing by the twice-smoothed size of the change) produces a clean bounded line whose pivots are stable, which is the core reason this construction suits divergence at all. Higher-timeframe confirmation removes single-timeframe noise: a divergence that also shows on a higher timeframe is far less likely to be a fluke. Forward calibration removes blind faith: instead of assuming a divergence "should" reverse price, it measures whether it actually has, with realistic profit/stop outcomes. The smoothed oscillator, the divergence engine, the MTF check and the calibration form one coherent tool.
How it works. Momentum = double-smoothed price change ÷ double-smoothed absolute price change, scaled to a bounded line with a signal average. Divergence is detected from confirmed price pivots versus the oscillator (regular and optional hidden). With MTF confirmation on, a divergence counts only if a same-direction divergence is also present on the chosen higher timeframe. Each signal is then labelled by a triple barrier — a profit target and equal stop in ATR units plus a time limit — split into in-sample and recent out-of-sample, with a confidence interval and a multiple-testing check.
How to use. Read the Verdict row (Bull/Bear divergence confirmed, "unconfirmed," or Wait) and the Conviction row, which reads "High" only when that divergence type shows a positive edge that survives the test on this symbol. A divergence is a reversal warning, not a trend signal — pair it with your own entry trigger and risk plan.
What's original. Higher-timeframe divergence confirmation on a double-smoothed oscillator, the forward triple-barrier calibration with an out-of-sample split, and a conviction read that openly admits when there's no proven edge.
Inputs. Price/High/Low sources (change them for any market), reading mode (Simple/Pro), momentum windows, divergence and HTF-confirm controls, full calibration settings, and an auto-adapting dashboard legible on dark or light charts. Defaults are tuned for NSE:NIFTY1! intraday.
Honesty & limitations. Edge figures are computed on this chart's own history with overlapping windows and no costs — context, not a guaranteed backtest; past behaviour doesn't predict the future. Divergence is inherently early and can persist before price turns.
Disclaimer: for research and education only. Not financial advice. Trading carries risk of loss; manage your own positions. Indicador

Multi-Period Divergence OscillatorMulti-Period Divergence Oscillator
A bounded buying-pressure oscillator built to expose divergences that are corroborated across multiple measurement windows at once — and, optionally, across timeframes — then scores its own divergences forward on your chart in plain language so you can see at a glance whether to act or wait.
Why this construction (not a mashup for show). Single-window oscillators throw frequent, fragile divergences. The fix, by design, is to measure buying pressure over three windows (fast, medium, slow) and weight them into one line, so a divergence only forms when short-, medium- and long-horizon pressure agree. This tool layers two further filters that each remove a class of false signal: higher-timeframe confirmation (a divergence that also shows on a higher timeframe is far less likely to be noise), and forward calibration (instead of assuming a divergence "should" reverse price, it measures whether it actually has, on this symbol, with realistic profit/stop outcomes). The oscillator, the divergence engine, the MTF check and the calibration form one coherent tool — none alone is sufficient, which is why they're combined.
How it works. Buying pressure = close − min(low, prior close); true range = max(high, prior close) − min(low, prior close). The oscillator weights their sums over three windows (default 7/14/28). Divergence is detected from confirmed price pivots versus the oscillator (regular and optional hidden). With HTF confirmation on, a signal counts only if a same-direction divergence is also present on the chosen higher timeframe. Each signal is then labelled by a triple barrier — a profit target and equal stop in ATR units plus a time limit — split into in-sample and recent out-of-sample, with a confidence interval and a multiple-testing check.
How to use. Read the Verdict row (Bull/Bear divergence confirmed, "unconfirmed," or Wait) and the Conviction row, which reads "High" only when that divergence type shows a positive edge that survives the test on this symbol. A divergence is a reversal warning, not a trend signal — pair it with your own entry trigger and risk plan. Best used alongside structure, not alone.
What's original. Higher-timeframe divergence confirmation on a multi-window oscillator, the forward triple-barrier calibration with an out-of-sample split, and a conviction read that openly admits when there's no proven edge.
Inputs. High/Low/Close sources (change them for any market), reading mode (Simple/Pro), oscillator windows, divergence and HTF-confirm controls, full calibration settings, and an auto-adapting dashboard legible on dark or light charts. Defaults are tuned for NSE:NIFTY1! intraday.
Honesty & limitations. Edge figures are computed on this chart's own history with overlapping windows and no costs — context, not a guaranteed backtest; past behaviour doesn't predict the future. Divergence is inherently early and can persist before price turns.
Disclaimer: for research and education only. Not financial advice. Trading carries risk of loss; manage your own positions. Indicador
