Latencia Public [L1]Latencia Public ยท a minimal visual layer for reading the latency between cause and effect on any market.
What it does
Three context EMAs ยท 20, 50, 200 ยท over the candles. A subtle backdrop that marks high vs low volatility regime using ATR percentiles. A discreet Latencia mark in the lower-right corner.
The point is not the formula ยท it's the reading. EMAs ordered and well-separated speak to a trend with room. Compressed EMAs speak to indecision. The terracotta wash marks that conditional variance rose ยท the forest-green wash marks that the market is sleeping. When the regime changes, price reacts after.
How to use it
Drop it on any symbol ยท works the same on BTC, on LATAM pairs, on commodities. The volatility regime is asset-agnostic.
Timeframe ยท daily for macro ยท weekly for cycle ยท 4h for timing.
Combine with your own structure ยท this is context, not a signal.
Foundations
EMAs ยท Wilder 1978, popularized by Murphy 1999 as the standard adaptive moving averages.
ATR ยท Wilder 1978. Realized volatility is the base of any serious regime read.
Conditional regime ยท narrative economics (Shiller 2017) ยท the variance of narratives precedes the variance of price.
When NOT to use it
Ultra-illiquid markets ยท ATR percentiles are noise.
The first 200 bars of any symbol ยท EMA 200 has no history to stabilize.
Structural-break events ยท no regime detector works through discontinuities.
Latencia teaches frameworks institutional money uses to read markets, translated to LATAM Spanish. This is educational. NFA ยท DYOR.
En espaรฑol
Latencia Public ยท una capa visual mรญnima para leer la latencia entre causa y efecto en cualquier mercado.
Tres EMAs de contexto ยท 20, 50, 200 ยท sobre las velas. Un fondo sutil que marca rรฉgimen de volatilidad alta vs baja usando ATR percentiles. Marca discreta de Latencia en esquina inferior derecha.
Lo importante no es la fรณrmula ยท es la lectura. Las EMAs ordenadas y separadas hablan de tendencia con margen. Las EMAs comprimidas hablan de indecisiรณn. El fondo terracota marca que la varianza condicional subiรณ ยท el verde forestal marca que el mercado estรก dormido. Cuando el rรฉgimen cambia, el precio reacciona despuรฉs.
Cargar sobre cualquier sรญmbolo ยท funciona igual en BTC, en pares LATAM, en commodities. Marco temporal ยท diario para macro ยท semanal para ciclo ยท 4h para timing. Combinar con tu propia estructura ยท esto es contexto, no seรฑal.
Latencia enseรฑa marcos que el dinero institucional usa para leer mercados, traducidos al espaรฑol de LATAM. Esto es educativo. NFA ยท esto no es consejo financiero ยท DYOR.
Indicatore

Indicatore

Guter FVG IndikatorDieses Pine Script v6 ist ein erweiterter Fair Value Gap Indikator auf Basis des ursprรผnglichen FVG-Heatmap-Konzepts von Hash Capital Research.
Der Indikator erkennt automatisch Bullish und Bearish Fair Value Gaps, zeichnet diese direkt im Chart ein und verwaltet aktive Zonen inklusive optionaler Mitigation-Logik, Midline, Labels und Dashboard.
Was macht der Indikator?
Der Indikator sucht nach klassischen 3-Kerzen-Fair-Value-Gaps:
Bullish FVG: wenn high < low
Bearish FVG: wenn low > high
Gefundene Zonen werden als Boxen im Chart angezeigt. Optional wird zusรคtzlich die 50%-Mittellinie der FVG-Zone eingezeichnet.
Wichtige Funktionen
automatische Erkennung von Bullish und Bearish FVGs
ATR-basierter Mindestfilter fรผr Gap-Grรถรe
optionaler Prozentfilter fรผr Mindestgrรถรe des FVGs
einstellbare Mitigation-Regeln:
Full Fill
50% Fill
First Touch
optionale Entfernung gefรผllter Zonen
Midline-Anzeige fรผr die 50%-Zone
Labels fรผr neue FVGs und gefรผllte Zonen
Dashboard mit Regime-Auswertung
Alerts fรผr neue Bullish/Bearish FVGs
Neue Dashboard-Erweiterung
Zusรคtzlich zeigt das Dashboard jetzt die nรคchsten aktiven FVGs zur aktuellen Preisposition an:
Long FVG 1
Long FVG 2
Short FVG 1
Short FVG 2
Dabei werden nur aktive FVG-Zonen berรผcksichtigt.
Ein Long FVG entspricht einem Bullish FVG.
Ein Short FVG entspricht einem Bearish FVG.
Die Distanz wird immer zur Mittellinie des jeweiligen FVGs berechnet:
distanceToMidPercent = ((zone.midpoint - close) / close) * 100
Fรผr die Sortierung wird die absolute Distanz verwendet. Dadurch werden die nรคchstgelegenen FVGs unabhรคngig davon gefunden, ob sie oberhalb oder unterhalb des aktuellen Preises liegen.
Ausschlussregel fรผr sehr nahe FVGs
FVGs, deren Mittellinie bereits sehr nahe am aktuellen Preis liegt, werden nicht mehr im Dashboard angezeigt.
Wenn die Distanz zur Midline kleiner oder gleich 0.2% ist, wird diese Zone ignoriert:
math.abs(distanceToMidPercent) <= 0.2
Das soll verhindern, dass bereits fast erreichte FVGs weiterhin als relevante โnรคchsteโ Ziele angezeigt werden.
Farblogik im Dashboard
Long FVGs werden cyan/grรผnlich angezeigt
Short FVGs werden rot/pink angezeigt
FVGs nahe am Ausschlussbereich, also unter 0.5%, werden orange angezeigt
Wenn kein passendes FVG vorhanden ist, erscheint n/a
Regime Dashboard
Das Dashboard zeigt auรerdem Statistiken zur bisherigen FVG-Fรผllung:
aktuelles Marktregime
durchschnittliche Fill-Dauer
Median-Fill-Dauer
schnelle Fills
langsame Fills
Sample Size
aktive Zonen
Das Regime basiert auf der Geschwindigkeit, mit der historische FVGs gefรผllt wurden. Dadurch kann der Indikator Hinweise geben, ob der Markt eher mean-reverting, trending oder gemischt ist.
Wofรผr kann der Indikator genutzt werden?
Dieses Tool kann helfen, aktive Fair Value Gaps besser zu verfolgen und potenzielle Zielbereiche im Chart schneller zu erkennen.
Besonders nรผtzlich ist die Anzeige der nรคchsten Long- und Short-FVGs, da sie direkt zeigt, welche aktiven FVG-Midlines dem aktuellen Preis am nรคchsten liegen.
Der Indikator ist nicht als eigenstรคndiges Handelssystem gedacht, sondern als visuelles Analysewerkzeug zur Unterstรผtzung bei Marktstruktur, Liquiditรคtszonen und mรถglichen Reaktionsbereichen.
Hinweis
Dieses Skript stellt keine Finanzberatung dar. Es dient ausschlieรlich zu Analyse- und Bildungszwecken. Trading ist mit Risiko verbunden. Nutze den Indikator immer zusammen mit eigener Analyse, Risikomanagement und einem klaren Handelsplan.
Erklรคrung der Marktregime
Das Dashboard versucht anhand der historischen FVG-Fill-Geschwindigkeit einzuschรคtzen, in welchem Marktumfeld sich der Chart aktuell eher befindet.
Dabei werden drei Regime unterschieden:
1. CHOPPY / MEAN-REVERT
Dieses Regime erscheint, wenn viele FVGs relativ schnell wieder gefรผllt werden.
Das deutet hรคufig auf einen seitwรคrts laufenden, unruhigen oder stark zurรผcklaufenden Markt hin. Preisbewegungen halten in solchen Phasen oft nicht lange an, sondern kehren schnell zu vorherigen Ungleichgewichten zurรผck.
Mรถglicher Trading-Ansatz:
eher vorsichtig mit Breakout-Trades sein
FVGs kรถnnen hรคufiger als kurzfristige Ziele genutzt werden
Mean-Reversion-Setups kรถnnen besser funktionieren
Gewinne eher schneller sichern
nicht zu aggressiv auf starke Trendfortsetzung setzen
2. TRENDING / DISPLACEMENT
Dieses Regime erscheint, wenn FVGs langsamer oder seltener gefรผllt werden.
Das kann darauf hindeuten, dass der Markt stรคrker in eine Richtung lรคuft und Ungleichgewichte lรคnger offen bleiben. In solchen Phasen kann Momentum wichtiger sein als sofortige Rรผcklรคufe.
Mรถglicher Trading-Ansatz:
eher mit dem Trend arbeiten
Pullbacks in Richtung aktiver FVGs beobachten
FVGs kรถnnen als mรถgliche Re-Entry- oder Discount/Premium-Zonen dienen
nicht jedes offene FVG sofort als Fill-Ziel behandeln
laufende Trends nicht zu frรผh gegenhandeln
3. MIXED / TRANSITIONAL
Dieses Regime erscheint, wenn weder schnelle noch langsame Fills klar dominieren.
Der Markt befindet sich dann oft in einer รbergangsphase. Es kann zu Richtungswechseln, wechselnder Volatilitรคt oder unklarer Struktur kommen.
Mรถglicher Trading-Ansatz:
selektiver handeln
auf zusรคtzliche Bestรคtigung warten
kleinere Positionsgrรถรen oder konservativeres Risiko nutzen
wichtige FVGs mit Marktstruktur, Liquiditรคt und hรถheren Zeiteinheiten kombinieren
keine zu starke Annahme รผber Trend oder Mean Reversion treffen
Wichtig
Die Regime-Anzeige ist keine Kauf- oder Verkaufsempfehlung. Sie beschreibt nur, wie sich FVGs in der jรผngeren Vergangenheit verhalten haben. Am besten funktioniert sie als Kontextfilter zusammen mit Marktstruktur, Liquiditรคt, Session-Zeiten, Volumen und sauberem Risikomanagement. Indicatore

Bitcoin vs Inverted DXY Regime | Astral Vision Bitcoin vs Inverted DXY Regime | Astral Vision ๐ ๐
Inspired by: @JackGreenCrypto
This indicator plots the Z-Score of Bitcoin's log price and the inverted Z-Score of the DXY Dollar Index on the same scale, shifted forward in time by a configurable lag, to visualize the historical inverse relationship between dollar strength and Bitcoin price and to identify divergences between the two series before they resolve in price.
Calculation โ๏ธ
Both Bitcoin and DXY are first transformed by taking their natural logarithm. Working in log space is essential for two reasons: Bitcoin has moved across several orders of magnitude, so raw price differences between 2015 and 2024 are not comparable; and the inverse relationship between DXY and Bitcoin is proportional rather than linear, meaning a 10% move in DXY has a proportionally similar impact regardless of absolute price level.
The Z-Score is then computed independently for each series using the same formula: subtract the simple moving average of the log series over the lookback window from the current log value, then divide by the standard deviation of the same window. The result for each series is: Z = (log(price) - SMA(log(price), N)) / StDev(log(price), N), where N is the configurable Z-Score lookback. This expresses each series in units of standard deviations above or below its own rolling mean, making the two series directly comparable on the same scale regardless of their absolute price differences.
The DXY Z-Score is then multiplied by -1 to invert it. Since DXY and Bitcoin historically move in opposite directions, the uninverted DXY Z-Score would mirror Bitcoin rather than track it. After inversion, the two series should theoretically overlap or move together during periods of normal inverse correlation. Divergences, where Bitcoin's Z-Score moves in one direction while the inverted DXY Z-Score moves in the other, signal a breakdown in the typical relationship that has historically tended to resolve by one series catching up to the other.
The inverted DXY line is plotted with a configurable forward offset in bars. This operationalizes the observed lag between dollar index movements and their full transmission into Bitcoin price, allowing the DXY signal to be read as a leading indicator rather than a coincident one.
Plots ๐
Bitcoin log Z-Score over the configurable lookback window
Inverted DXY log Z-Score shifted forward by the configurable lag
Inputs ๐๏ธ
Z-Score Lookback: rolling window for mean and standard deviation applied to both series
DXY Lag: bars to shift the inverted DXY signal forward in time
Colors ๐จ
5 Astral Vision presets + custom override. Default: Paradiso.
Purpose ๐ฏ
Standard correlation tools between Bitcoin and DXY operate on raw prices or percentage returns, which are distorted by the enormous scale difference between the two assets and by Bitcoin's exponential growth trend. Computing both in log space and normalizing via Z-Score removes these distortions entirely, placing both series on equal statistical footing. The forward shift on the DXY line turns a coincident correlation chart into a directional leading signal: when the inverted DXY is rising ahead of Bitcoin's Z-Score, it suggests dollar weakness is building that has not yet fully priced into Bitcoin, and vice versa.
Disclaimer โญ๏ธ
This indicator is for informational and educational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making investment decisions. Indicatore

AetherEdge Volatility Regime GAN Simulator๐๏ธ Overview
AetherEdge Volatility Regime GAN Simulator is a next-generation volatility forecasting engine that encodes the current market state as a 6-dimensional feature vector, performs K-NN search against a historical database of up to 500 bars, and generates 100 Monte Carlo paths of likely future trajectories. By integrating Haar wavelet decomposition, Softmax-weighted sampling, and K-means regime clustering, it visualizes the future ฯ distribution as a complete fan chart and histogram. Inspired by Generative Adversarial Networks, it reconstructs future scenarios from historical market patterns โ an innovative simulator for the modern trader.
๐ถ Key Features
3-Scale Volatility: Short/Medium/Long ฯ (annualized)
Haar Wavelet Decomposition: high/mid/low frequency triple-scale
6D Feature Vector: ฯ-z (ร3) + VoV-z + Wavelet-z (ร2)
K-NN Analog Search: Top-K nearest historical states
Softmax-Weighted Sampling: Temperature ฯ controls similarity allocation
Monte Carlo Path Generation: 100 paths build future distribution
K-Means Regime Clustering: CALM/NORMAL/ELEVATED/STRESSED/EXTREME/CRISIS
Fan Chart Visualization: P5-P95, P25-P75, median line
Terminal Distribution Histogram: ฯ_T probability density
Complete Statistical Dashboard: E , median, CI90, skew, regime distribution
Match Quality Indicator: โจdโฉ assesses analog availability
๐ง Technical Architecture
This indicator is designed as a history-based generative model.
Feature Engineering:
Log-return ret = ln(close/close )
3-scale stdev ร โ(annFactor) for annualized ฯ
Haar wavelet: |W_s| = โ(s/2) ร |mean_recent - mean_older|
200-bar z-score normalization (outlier robust)
6D Feature Vector:
z1=ฯS, z2=ฯM, z3=ฯL, z4=VoV, z5=W_hi, z6=W_mid
K-NN Search:
Euclidean distance d = โฮฃ(z_now - z_hist)ยฒ
Top kNeighbors selected
Softmax Sampling:
w_i = exp(-d_i / ฯ) / ฮฃexp(-d_j / ฯ)
Low ฯ โ focus on closest, High ฯ โ diversify
Monte Carlo Path Generation:
Per simulation: cumulative probability samples a neighbor
ฯ-ratio projection pathVol = volS ร (histFutVol / nVol)
Innovation noise + noiseAmp ร volS ร U(-0.5, 0.5)
Quantile Computation:
P5/P25/P50/P75/P95 extracted at each time step
Fan chart + smooth polyline rendering
K-Means Clustering:
2D space (ฯ-z, VoV-z) classified into 4-6 regimes
Lloyd's algorithm for kmIters iterations
ฯ-z ascending sort (regime 0 = calmest)
Match Quality Metric:
โจdโฉ < 1.0: TIGHT (high reliability)
โจdโฉ < 2.5: LOOSE (moderate)
โจdโฉ โฅ 2.5: POOR (no analog โ warning)
โ๏ธ Recommended Settings & Tuning Guide
Crypto Defaults:
BTC (Daily): volLen=20, annFactor=365, historyLen=500
ETH (4H): volLen=14, volMed=42, kNeighbors=15
SOL (high-vol): volLen=10, nSims=200, noiseAmp=0.12
XRP (short-term): volLen=14, forecastLen=10, kNeighbors=15
History Depth:
historyLen=200: lightweight, recent only
historyLen=500: standard (recommended)
historyLen=1000+: long-term pattern reference
K-NN Settings:
kNeighbors=10: curated, sharp forecast
kNeighbors=20: standard (balanced)
kNeighbors=50: smooth, conservative
Temperature Parameter:
tempSample=0.3: elite concentration (focus on nearest)
tempSample=1.0: standard (recommended)
tempSample=3.0: diversification (high uncertainty)
Monte Carlo:
nSims=50: lightweight, low-resolution
nSims=100: standard
nSims=200+: high-resolution histogram
Noise Amplitude:
noiseAmp=0.05: conservative (history-faithful)
noiseAmp=0.08: standard
noiseAmp=0.15: exploratory (unknown scenarios)
Regime Count:
nRegimes=3: coarse (simple)
nRegimes=4: standard
nRegimes=6: granular (CALMโCRISIS)
๐ก How to Use in Practice
EXPAND forecast + STRESSED: Buy options / strengthen hedges
CONTRACT forecast + CALM: Range strategies / sell premium
Narrow CI90 + TIGHT match: High-confidence forecast, execute strategy
Wide CI90 + POOR match: Unknown territory, exercise caution
P95 > 2ร volS: Tail-risk alert, reduce position
Regime Transition Detection:
CALM โ ELEVATED: Caution mode
STRESSED โ EXTREME: Crisis approaching
EXTREME โ STRESSED: Storm passing
Skew Interpretation:
right-tail: Upside risk dominant (vol spike possible)
symmetric: Standard scenario
left-tail: Downside risk dominant (vol crash possible)
AetherEdge Synergy:
SMC AI Confidence Engine: CONTRACT forecast + high-conf zone = compression breakout setup
Self-Evolving S/R Grid: EXPAND forecast + line cluster = breakout preparation
Neural Divergence Hunter: STRESSED + divergence = elevated reversal probability
All-in-One Dashboard: Regime + direction = comprehensive judgment
โ ๏ธ Important Notes
History Dependency: Waits for bar_index > 210 to accumulate history (no early rendering)
POOR Match Warning: โจdโฉ > 3.0 indicates low forecast reliability
History-Based Prediction: Cannot handle unprecedented market events
Fan Chart Width: Wide CI90 indicates high uncertainty
Repaint Behavior: Runs only on barstate.islast, displayed at last bar
Computation Load: Large nSims ร forecastLen may slow rendering
Cluster Initialization Sensitivity: K-means convergence depends on initial values (increase kmIters for stability)
๐จ Disclaimer
This indicator is an advanced volatility-simulation tool for educational and research purposes only and does not constitute financial advice. GAN-style Monte Carlo prediction is a stochastic simulation method and does not guarantee future volatility. Historical patterns may not repeat โ particularly during unprecedented events, the forecast may fail. Use with thorough validation and proper risk management.
Indicatore

VARIS ZonesVARIS (Volume Adjusted Risk Interval Structure) is a VWAP-centered auction framework designed to identify overextended market conditions, positional stress, and volatility-driven expansion away from fair value.
Rather than functioning as a traditional overbought/oversold indicator, VARIS models how far price can efficiently expand from volume-weighted value before liquidity conditions, volatility pressure, dealer hedging flows, or mean reversion behavior begin influencing auction structure.
The framework is built around dynamic Risk Intervals projected around VWAP:
Inner Risk Interval bands (0.5 RI) represent healthy expansion and trend acceptance zones
Outer Risk Interval bands (1.0 RI) represent elevated stress, exhaustion, and unstable auction territory
VARIS is not intended to predict exact reversals or generate mechanical entries. Instead, it provides contextual insight into:
Trend health vs exhaustion
Liquidity-driven expansion
Acceptance/rejection behavior outside value
Volatility displacement
Market imbalance conditions
Positional squeeze environments
Statistical extension from fair value
In balanced market conditions, price often rotates back toward VWAP after reaching expansion extremes. In strong momentum or gamma-driven environments, price may continue riding the inner expansion bands while VWAP itself rises or falls to re-establish equilibrium.
Persistent acceptance outside the outer Risk Interval bands typically reflects abnormal market conditions such as:
Momentum cascades
Dealer hedging pressure
Short squeeze dynamics
Passive flow dominance
Liquidity vacuum expansion
VARIS is best used alongside:
Volume profile
Market internals (TICK, ADD, VOLD)
Auction market theory
Liquidity mapping
Higher timeframe structure
Dealer positioning analysis Indicatore

Strategia

Psycho Flip - Stiletto Ops - Ladies EditionTITLE: Psycho Flip - Stiletto Ops
โDESCRIPTION:
The Psycho Flip - Stiletto Ops is a technical utility script that combines volatility tracking, volume-weighted analysis, and price action filters into a single indicator. Its primary purpose is to help traders visually differentiate between low-liquidity consolidation and volume-backed momentum, while identifying structural exhaustion points.
โTo comply with script publishing guidelines, here is the explicit breakdown of the underlying calculations and methodology:
โ1. Volatility & Compression Filtering (Grey-Out Feature)
โMethodology: The script calculates a standard 14-period Average True Range (ATR) and smooths it using a 50-period Simple Moving Average (SMA). Simultaneously, it tracks standard volume against a 50-period Volume SMA.
โExecution: When the current bar's volume is below the 50-Volume SMA, AND the current 14-ATR is below the 50-ATR SMA, the script alters the bar color to grey. This visually indicates a statistically low-volatility and low-liquidity market environment.
โ2. Momentum Identification (Bounding Boxes)
โMethodology: The script scans for significant momentum expansion using a dual-condition threshold.
โExecution: A bounding box is plotted over the candles only when current volume exceeds the 50-period Volume SMA by a factor of 2.0x or higher, AND the current candle's directional body (open to close) accounts for at least 60% of its total high-low range. This isolates bars with both high participation and directional conviction.
โ3. Dynamic Anchored VWAP
โMethodology: Rather than anchoring to a fixed time or session, the script utilizes a dynamic accumulator for volume and price.
โExecution: When the Momentum Identification conditions (Step 2) are met, the script automatically resets its anchor. It plots a live Volume Weighted Average Price (VWAP) originating from that specific high-volume expansion bar, tracking the average cost-basis of the resulting price movement.
โ4. Exhaustion Detection (Text Labels)
โMethodology: The script utilizes a 5-bar lookback period (ta.highest and ta.lowest) to identify local structural extremes.
โExecution: If price forms a new local high or low, the script evaluates the candle's profile. If the candle is a Doji (where the body is less than 35% of the total range) AND the volume is below the 50-period Volume SMA, the script prints a text label above/below the bar. This highlights a structural extreme forming on below-average market participation. Note: The UI contains a thematic setting ("Queen Bee") that alters the text of these standard alerts for behavioral finance tracking.
โHOW TO USE:
โTrend Context: Utilize the Auto-Anchored VWAP line as dynamic support/resistance.
โFilter Consolidation: Use the grey-colored bars to identify periods where volatility is statistically compressed.
โExhaustion Flags: Use the text labels at local highs/lows to identify potential reversal points forming on low volume.
Indicatore

Indicatore

ICT Killzones [by fantasio]# ICT Killzones & Pivots
---
**ICT Killzones & Pivots** visualizes the main institutional trading sessions based on Michael Huddleston's ICT (Inner Circle Trader) methodology: Asia, London, NY AM, NY Lunch and NY PM.
**๐ Killzones**
Colored session boxes with customizable labels, transparency and text display.
**๐ Pivots**
High/low pivot lines per session, with optional midpoint. Extend until mitigated or past mitigation, for the most recent session or all of them. Optional price labels on left or right side of the chart.
**๐
Day / Week / Month**
Opening price lines with optional High/Low levels and period separators.
**โฐ Opening Prices & Timestamps**
Up to 8 custom opening price lines (True Day Open, etc.) and 4 vertical timestamp lines.
**๐ Range Table**
Per-session range display with configurable average length.
**โ๏ธ Settings**
Timezone, timeframe limit, line styles, label size and transparency are all fully customizable. Drawings above the selected timeframe are automatically hidden.
**๐ Alerts**
Pivot breaks and HTF High/Low breaks supported.
---
*ICT session and pivot concepts are based on the methodology developed by Michael Huddleston (Inner Circle Trader).*
Indicatore

Cloud Institutional Bands | Rainbow MatrixGENERAL OVERVIEW
The Cloud Institutional Bands is a statistical price-envelope indicator that maps institutional accumulation and exhaustion zones using deviation channels built on a Log-Normal regression anchored to a dynamic VWAP. Instead of treating the chart as a series of fixed support and resistance levels, the indicator continuously classifies the current price into one of four statistical regimes โ and colors the chart accordingly.
The main goal of this indicator is to give traders a clean, automatic read on how stretched price is relative to its own statistical baseline โ without having to manually identify trend strength, overextension, or exhaustion zones bar by bar. Every band you see on the chart represents a specific deviation from the volume-weighted regression base, and every color tells you which statistical zone is currently active.
It plots four pairs of deviation bands (eight bands in total: four above the regression base and four below), each calibrated to a Fibonacci-proportioned sigma multiplier. Combined with the dynamic VWAP and the Zone Info Panel, the indicator gives a complete read on directional bias, statistical position, and proximity to extreme zones โ all from a single visual.
This indicator was developed for traders who already understand band-based indicators (Bollinger, Keltner, Donchian) and want a statistically corrected envelope that handles asymmetric price distributions properly, particularly during volatility expansion phases.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
Most envelope indicators on TradingView โ Bollinger Bands, Keltner Channels, and their derivatives โ share a common architectural choice: they apply standard deviation directly to the price series, using a Simple Moving Average (or similar linear estimator) as the central tendency. This treats price as a symmetric variable.
The problem: price is not symmetric. Price has a hard floor at zero and unbounded upside. Its returns follow a log-normal distribution, not a normal one. Applying linear statistics to asymmetric data introduces a systematic bias โ bands that are too wide on one side and too narrow on the other, especially during volatility expansion. This bias becomes most visible at exactly the moments traders need accuracy most: trend climaxes, blow-off tops, capitulation lows.
This indicator addresses that bias by performing the regression in log space. The price series is first transformed via the natural logarithm, the linear regression is fitted on the log-prices, the standard deviation of the residuals is computed, and the resulting deviation bands are exponentiated back to price space. The math is standard โ what makes it useful is applying it to a series that actually follows the underlying distribution it assumes.
Why traders use it: each band represents a probabilistic boundary. When price sits between the regression base and the first deviation band, it is statistically inside its normal operating range โ equilibrium. When price crosses into the second band, the move has crossed into directional territory. The third band marks the threshold beyond which most of the impulse has already happened โ exhaustion. The fourth band marks the tail of the distribution โ a Black Swan event in Taleb's sense โ where less than 1% of candles reach under normal conditions.
The dynamic VWAP overlay adds a second dimension: directional bias. While the regression bands tell you how stretched price is, the VWAP tells you whether the volume-weighted average favors buyers or sellers. Together they give a two-axis read on every bar: directional bias plus statistical zone.
CLOUD INSTITUTIONAL BANDS FEATURES
The indicator includes 6 main features:
Log-Normal Regression Engine
Fibonacci-Proportioned Deviation Bands
Dynamic VWAP with Glow
Rainbow Zone Fills
Zone Info Panel (HUD)
Black Swan Alerts
Multilingual interface and full customization across all visual layers.
LOG-NORMAL REGRESSION ENGINE
๐น What It Does
The core of the indicator. Every bar, the engine performs four operations:
โ Transforms the price series (hlc3) into log space via the natural logarithm.
โ Fits a linear regression through the log-prices over the configured lookback window.
โ Computes the standard deviation of the residuals โ the gap between actual log-price and the regression line.
โ Exponentiates the regression line and the deviation bands back to price space.
The result is a statistical baseline (the Base Line) and four pairs of deviation bands that respect the asymmetric nature of price distribution.
๐น Method
The regression base is calculated using a standard linear regression on the log-price series. This is the classic least-squares fit โ every bar in the lookback window contributes equally. The result is a baseline that represents where the market would be statistically if it were tracking its own trend perfectly.
๐น Period
The Band Period input sets the rolling lookback window for both the regression and the standard deviation calculation. Larger values produce smoother, wider bands that respond slowly to new price action. Smaller values produce tighter, more reactive bands that follow recent volatility more closely. The default is 200 bars, calibrated for the 223-minute Bitcoin chart. For other instruments and timeframes, the period should be adjusted to match the natural cycle length of the asset.
FIBONACCI-PROPORTIONED DEVIATION BANDS
๐น The Four Sigma Multipliers
Instead of plotting bands at integer multiples of the standard deviation (1ฯ, 2ฯ, 3ฯ), this indicator uses Fibonacci-inspired proportions:
โ ยฑ1.50ฯ โ Breathing Zone (yellow above, green below)
โ ยฑ1.85ฯ โ Alert Zone (orange above, teal below)
โ ยฑ2.75ฯ โ Exhaustion Zone (red above, blue below)
โ ยฑ3.85ฯ โ Black Swan Zone (purple above, aqua below)
Each multiplier corresponds to a different probabilistic regime:
โ Breathing Zone: equilibrium. Most candles operate inside this range. Low conviction, no signal.
โ Alert Zone: directional move in progress. Trend is asserting itself. Watch for follow-through.
โ Exhaustion Zone: most of the impulse has already happened. Pullback probability rising. New entries in trend direction have unfavorable risk-reward.
โ Black Swan Zone: statistical extreme. Less than 1% of candles reach this band under normal market conditions. Elevated probability of either mean reversion or volatility regime change.
snapshot
DYNAMIC VWAP WITH GLOW
๐น What It Does
A Volume-Weighted Moving Average is plotted alongside the regression bands, using the same lookback window. The VWAP renders in teal when price trades above it (bullish bias) and in red when price trades below (bearish bias).
๐น Glow Effect
The VWAP line carries a proximity-based glow: the closer price gets to the VWAP, the more intense the glow becomes. This visual cue prepares the eye for proximity to a high-liquidity zone, where reactions often occur.
๐น Why It Matters
The regression bands tell you how stretched price is. The VWAP tells you what bias the volume-weighted average favors. Together they give a complete read on every bar:
โ Price above VWAP and inside Breathing Zone: healthy uptrend.
โ Price above VWAP and at +2.75ฯ: uptrend in exhaustion.
โ Price below VWAP and at -3.85ฯ: capitulation or imminent reversal.
RAINBOW ZONE FILLS
๐น What They Show
The space between adjacent deviation bands is filled with a semi-transparent color matching the zone palette. This makes the current zone immediately visible without having to read the Z-Score number โ the chart background tells you the regime at a glance.
๐น Toggleable
Fills can be turned off for traders who prefer to see only the band lines themselves. The lines alone (with the Base Line and VWAP) still provide all the information; the fills are a visual aid to make zone identification faster.
ZONE INFO PANEL (HUD)
๐น What It Shows
A compact corner panel reports three live values:
โ ZONE โ the name of the currently active zone (e.g., "ALERT โ HIGH RISK ZONE", "EQUILIBRIUM โ BASE LINE")
โ DEV. โ the current Z-Score, expressed in standard deviations (e.g., "+2.44ฯ")
โ VWAP โ the current position relative to the dynamic VWAP ("VWAP: BUY ZONE" or "VWAP: SELL ZONE")
๐น Why It Helps
The HUD removes the need to interpret colors and band positions visually. It tells you in plain language where price is, how stretched it is, and which direction the volume-weighted bias is leaning. Useful for live trading where decisions need to happen quickly.
๐น Customization
The HUD can be positioned in any of the four chart corners and rendered in any of five font sizes. The display language is controlled by the System Language input.
snapshot
BLACK SWAN ALERTS
๐น What Triggers
The indicator fires an alert when price touches the ยฑ3.85ฯ band โ the Black Swan zone. Two separate alerts are available: one for the upper extreme (potential capitulation top), one for the lower extreme (potential capitulation bottom).
๐น How They Fire
Alerts are gated by barstate.isconfirmed, which means they only trigger on the close of the bar that touched the band โ not intra-bar. This prevents false signals from wicks that get rejected before the bar closes.
๐น Frequency
Each alert uses alert.freq_once_per_bar, ensuring no duplicate firings on the same candle.
MULTILINGUAL INTERFACE
The indicator supports five languages for the HUD display and alert messages: English (default), Portuguรชs, Espaรฑol, ะ ัััะบะธะน, and ไธญๆ (Chinese). Code, comments, and configuration tooltips remain in English regardless of the selected language.
For reference, the English text of all multilingual UI strings used in the HUD and alerts:
โ BLACK SWAN โ EXTREME HIGH / BLACK SWAN โ EXTREME LOW
โ BUYING EXHAUSTION / SELLING EXHAUSTION
โ ALERT โ HIGH RISK ZONE / ALERT โ LOW RISK ZONE
โ INSTITUTIONAL BREATHING ZONE
โ EQUILIBRIUM โ BASE LINE
โ VWAP: BUY ZONE / VWAP: SELL ZONE
โ ZONE: / DEV.: / VWAP:
โ Black Swan Alert High: "Price at 4th standard deviation โ EXTREME HIGH. High probability of severe reversal."
โ Black Swan Alert Low: "Price at 4th standard deviation โ EXTREME LOW. High probability of explosive reversal."
HOW TO USE
This indicator is not a signal generator. It is a state classifier: it tells you which statistical zone the current price is in, and how that zone relates to the volume-weighted bias.
๐น Reading the Chart
โ Identify the current Z-Score from the Zone Info Panel.
โ Note the active zone color in the panel and on the chart fills.
โ Combine with VWAP position for directional context.
๐น Tactical Reading
โ Z-Score between -1.50 and +1.50: market is in equilibrium. Mean-reversion strategies have higher edge than breakout strategies.
โ Z-Score crossing ยฑ1.85: breakout in progress. Trend-following entries have higher edge than fade entries.
โ Z-Score at ยฑ2.75: trend is mature. Trailing stops should be tightened. New entries in trend direction have unfavorable risk-reward.
โ Z-Score touching ยฑ3.85: Black Swan touch. Statistically the tail. Mean reversion has elevated probability โ but Black Swans can also indicate regime change, where volatility expands and a new range opens. Use the Black Swan Alert to catch these events.
๐น Multi-Timeframe Reading
โ On lower timeframes (1m, 5m, 15m), the bands react to micro-trends and serve as dynamic support and resistance.
โ On higher timeframes (1h, 4h, daily), the bands map macro regime โ the outer bands at higher timeframes represent multi-day exhaustion zones.
INPUTS EXPLAINED
๐น System Language
Display language for the HUD and alert messages. Options: English (default), Portuguรชs, Espaรฑol, ะ ัััะบะธะน, ไธญๆ (Chinese).
๐น Band Period (bars)
Rolling lookback for the Log-Normal regression and the VWAP. Range 50โ500, default 200. Higher values produce smoother, wider bands; lower values produce tighter, more reactive bands.
๐น Show Thermal Zone Fills
Toggle for the semi-transparent rainbow fills between adjacent bands.
๐น Show Black Swan Glow (4th Std Dev)
Toggle for the glow effect on the outermost ยฑ3.85ฯ bands. The glow intensifies as price approaches the band.
๐น Show Base Line (Gravitational Center)
Toggle for the regression central line โ the statistical baseline around which the bands are computed.
๐น Show Dynamic VWAP (Macro)
Toggle for the volume-weighted reference line with proximity glow.
๐น Show Zone Info Panel
Toggle for the corner HUD reporting current zone, Z-Score, and VWAP position.
๐น Panel Position
Position of the HUD on the chart. Four corners available: Top Right (default), Top Left, Bottom Right, Bottom Left.
๐น Font Size
HUD font size. Options: Tiny (default), Small, Normal, Large, Huge.
๐น Black Swan Alert (4th Std Dev touch)
Toggle for the alerts that fire when price touches the ยฑ3.85ฯ band. Two alerts: one for the upper extreme, one for the lower extreme.
IMPORTANT NOTES
The Cloud Institutional Bands works on any timeframe. The Band Period default of 200 is calibrated for the 223-minute chart and may need adjustment for other timeframes โ a good rule of thumb is to set the period to approximately one full daily cycle for the chart timeframe (e.g., 288 bars for 5-minute charts, 96 bars for 15-minute charts).
The indicator works best on instruments with reliable volume data: crypto perpetual contracts, large-cap equities, major forex pairs. On low-volume instruments, the dynamic VWAP component becomes less reliable, though the regression bands continue to function correctly.
Alerts fire once per confirmed bar. Historical bars never repaint after they close. The live bar updates intra-bar as expected for a real-time indicator.
The four sigma multipliers (1.50, 1.85, 2.75, 3.85) are intentionally non-standard. They are Fibonacci-inspired proportions, not arbitrary choices, and they map to four behavioral regimes derived from observation rather than to integer statistical thresholds.
Pine Script v6. Open-source under Mozilla Public License 2.0.
UNIQUENESS
The Cloud Institutional Bands is unique in three ways. First, it performs the regression in log space, addressing the asymmetric nature of price distribution that linear estimators (such as the Simple Moving Average used by Bollinger Bands) fail to account for. This produces bands that behave correctly during volatility expansion phases, where standard envelopes show systematic bias. Second, it uses Fibonacci-proportioned sigma multipliers (1.50, 1.85, 2.75, 3.85) instead of integer steps, mapping the bands to four behavioral regimes โ breathing, alert, exhaustion, and Black Swan โ that correspond to observable phases of institutional order flow rather than to arbitrary thresholds. Third, it integrates a dynamic VWAP overlay with proximity-based glow alongside the regression bands, giving traders a two-axis read on every bar: how stretched price is statistically, and which direction the volume-weighted bias favors. The combination of log-space regression, Fibonacci sigma calibration, and integrated VWAP context produces a statistical envelope that behaves differently from standard band-based indicators, particularly at trend climaxes and capitulation events where standard envelopes are least reliable. Indicatore

Indicatore

Indicatore

Indicatore

Indicatore

Precision ORB FrameworkPrecision ORB Clean v17 is part of the Precision ORB Framework โ a structured futures trading model developed around opening range behavior, VWAP positioning, liquidity sweeps, market acceptance, and clean breakout confirmation.
This framework was built specifically for NQ and index futures execution, combining:
โข Opening Range Breakouts (ORB)
โข VWAP trend alignment
โข Liquidity sweep detection
โข Acceptance candle confirmation
โข Trend bias filtering
โข REV? rejection warnings
โข Dynamic TP1 / TP2 targeting
โข Price discovery grid targets
The companion โPrecision Entry Assistantโ indicator was developed alongside this framework to assist with lower timeframe execution, market state filtering, and cleaner trade timing.
This is not intended to be a prediction tool or signal-selling script. The framework is designed to help traders structure decision-making around momentum, liquidity, volatility expansion, and disciplined execution.
Indicatore

Indicatore

AetherEdge - Volatility Squeeze Breaker๐๏ธ Overview
AetherEdge Volatility Squeeze Breaker is a next-generation squeeze detection engine that visualizes the "compressed energy" building up just before explosive market moves, anticipating breakouts before they occur. Fusing 3-tier hierarchical squeeze detection (Bollinger Bands ร Keltner Channel) with a proprietary accumulated energy bar system, it quantifies both compression depth and duration. The trinity confirmation of volume, momentum, and squeeze tier extracts only the highest-conviction breakouts.
๐ถ Key Features
3-Tier Hierarchical Squeeze Detection: Visualizes Wide / Medium / Tight compression depths
Accumulated Energy Bar: Quantifies compression length ร depth on a 0โ100 scale
BB ร KC Integrated Logic: Classic yet powerful methodโBB contained within KC
LazyBear-Style Momentum: Linreg-based 4-color gradient force assessment
Volume Surge Filter: Extracts only breakouts with 1.5ร average volume
High-Conviction Signals: Special visualization for Tier 2+ post-squeeze breaks
Squeeze Dot Display: Tier-colored dots for intuitive compression awareness
Breakout Arrows: Instant marking of confirmed directional breaks
Dashboard: Integrated energy %, squeeze tier, and momentum status display
Premium Dark Mode UI: AetherEdge brand color palette
๐ง Technical Architecture
This indicator is a sophisticated engine that multi-dimensionally analyzes the "volatility contraction โ expansion cycle."
3-Tier Squeeze Formula: Simultaneously evaluates whether BB(20, 2.0) is fully contained within KC(20, tier mult) at tierWide(2.0) / tierMid(1.5) / tierTight(1.0). sqTier = sqTight ? 3 : sqMid ? 2 : sqWide ? 1 : 0 quantifies depth.
Energy Accumulation Algorithm: During squeeze, energy += (sqTier * 0.6) + compress * 2.0 accumulates. compress = max(0, 1 - bw/kw) extracts compression ratio from BB-to-KC width. Capped at 100.
Decay Logic: Post-release, energy *= 0.88 - 1 produces exponential decay, expressing energy expenditure over time.
Momentum Engine: LazyBear-style linreg of close - avg(avg(highest, lowest), sma), histogram-rendered with 4 colors for rising/falling/accelerating/decelerating force.
Breakout Confirmation Logic: โ Squeeze release (recentRelease: within last 3 bars), โกmomentum direction match, โขvolume surge, โฃBB boundary breakโall four conditions required.
High-Conviction Separation: lastTier records maximum compression depth during squeeze; only Tier 2+ post-squeeze breaks become special signals.
True Hold Duration (sqBars): Counts squeeze persistenceโlonger compression foreshadows larger explosions.
Selectable TR for KC: useTR toggle switches between True Range and High-Low basis for instrument-specific tuning.
โ๏ธ Recommended Settings & Tuning Guide
Crypto Defaults:
BTC (1Hโ4H): bbLen=20, bbMult=2.0, kcLen=20, kcMult=1.5, volMult=1.5 (standard is optimal)
ETH (15Mโ1H): bbMult=1.8, tierTight=0.9 for earlier detection
SOL (High-Vol): bbMult=2.2, volMult=2.0 for aggressive false-break filtering
XRP (Range-Heavy): tierWide=2.5, energyLen=80 to capture long-term accumulation
Tuning Guide:
Day Trading: Maintain defaults, operate on 15Mโ1H
Swing Trading: bbLen=30, kcLen=30 for daily/weekly large-scale squeezes
Scalping: bbLen=10, kcLen=10 for short-term compression capture
Low-Vol Markets: tierTight=0.8 to extract only the strictest squeezes
Trending Markets: volMult=2.0+ for genuine breakouts only
Energy Thresholds: 80+ signals major explosion, 60โ80 standard breakout readiness
๐ก How to Use in Practice
Energy 80+ with High-Conviction Arrow: Highest-conviction breakout entry
Sustained Tier 3 (Red Dot): Energy maxing out โ precursor to large trend birth
Momentum Color Flip + Squeeze Release: Moment of directional confirmationโimmediate entry candidate
Avoid Counter-Trend: Never enter early during squeeze; always wait for release confirmation
Double-Break Caution: Upward break followed by reversal break-down is a classic false breakout
Multi-Timeframe Synergy: Higher-TF Tier 3 squeeze + lower-TF breakout firing = ultimate setup
AetherEdge Synergy: Self-Evolving S/R Grid strong-line break + Squeeze Breaker high-conviction signal = ultimate dual confirmation
Energy Depletion Watch: Rapid post-break energy drop indicates explosive energy spentโevidence of trend continuation
โ ๏ธ Important Notes
No Entry During Squeeze: Direction unknown pre-release; always confirm sqReleased
False-Break-Heavy Markets: In sticky ranges, use volMult=2.0+ for strict filtering
Energy Decay Timing: Breakouts within a few bars of release are most effective; reliability drops beyond 3 bars
lastTier Reset: Resets after 2 consecutive non-squeeze bars for proper state management
Behavior in Abnormal Volatility: Risk of misjudgment during sudden expansionโhigher-TF confirmation recommended
๐จ Disclaimer
This indicator is a technical analysis tool provided for educational and research purposes only and does not constitute financial advice. Squeeze detection and breakout judgment are probabilistic evaluations based on historical price and volatility data and do not guarantee future market behavior. All trading decisions are made at your own risk and should be accompanied by proper risk management. Indicatore

Parallax Density Atlas [JOAT]Parallax Density Atlas
Introduction
Parallax Density Atlas is an open-source price-acceptance overlay that maps where the market has spent the most time doing business across a recent lookback. It combines a kernel density estimate of recent closing prices with percentile-based value rails so the user can see both the smooth acceptance curve and the practical operating envelope around it.
The problem Parallax solves is hidden value structure. Traders often know whether price is moving, but not whether that movement is taking place inside accepted value, above value, or below value. Parallax puts that information directly on the chart through a point of control, value area boundaries, rails, cloud zones, and a concise dashboard.
Core Concepts
1. Kernel density estimation
The script evaluates a Gaussian kernel across recent closes to estimate continuous price density:
densitySum += gaussianKernel((evalPrice - samplePrice) / bandwidth)
densityValue = densitySum / (array.size(closeSample) * bandwidth)
This creates a smooth value map instead of a stepped histogram alone.
2. Point of control and value area
The highest-density node becomes the point of control. From there, the script expands outward until the target percentage of total density is captured, defining the value area high and low.
3. Percentile rails
In parallel with the KDE engine, the script maintains sorted close samples and derives lower and upper rails from user-defined percentiles. Those rails create a stable operating envelope around recent value.
4. Density cloud
Only the densest accepted zones inside the value area are shaded as a cloud, keeping the display focused on high-importance price zones rather than every possible level.
5. Context and skew
The dashboard reports whether current price is accepted inside value, expanding above value, or trading below accepted value, along with skew and rail width.
Features
KDE value map: Smooth density estimate built from recent closes
Point of control: Highest-density price node marked directly on the chart
Value area boundaries: High and low edges of accepted price territory
Percentile value rails: Smoothed lower and upper rails from sorted price samples
Density cloud: Highlights only the strongest accepted zones
Right-side profile: Extends density visually to the right of current price
Optional candle tinting: Reflects where price sits inside the value structure
Top-right dashboard: Shows POC, value area, rail width, skew, and current location state
Input Parameters
Density Engine:
Lookback
Density Steps
Bandwidth Multiplier
Value Area Percent
Value Rails:
Lower Rail Percentile
Upper Rail Percentile
Rail Smoothing
Visual System:
Profile Width Bars
Cloud Threshold
Show Density Cloud
Show Right Profile
Tint Candles
Show Dashboard
How to Use This Indicator
Step 1: Start with location
Read whether price is inside value, above value, or below value. This defines whether the market is rotating in accepted territory or exploring away from it.
Step 2: Use POC as the acceptance anchor
The point of control marks the most accepted price in the sample window. Reactions around it can frame mean-reversion and acceptance behavior.
Step 3: Compare rails with value area
The rails provide a smoothed operating envelope while the value area shows the densest accepted region. Using both together gives a more complete value map.
Step 4: Monitor skew
Positive skew means the density center is leaning upward in the sample range. Negative skew means accepted value is leaning lower.
Indicator Limitations
The density map is lookback-dependent and will evolve as old data leaves the sample
KDE on closing prices is an acceptance approximation, not a full order-flow model
Strong trends can stay outside accepted value for extended periods
Originality Statement
Parallax Density Atlas is original in how it pairs a continuous KDE-based value map with percentile rails and a selective density cloud in one overlay. It is published because:
The script combines smooth value estimation with rail-based structure instead of using one method alone
It focuses the cloud only on high-density accepted regions, preserving chart cleanliness
The dashboard turns the density map into a practical location framework rather than a purely visual profile
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice and does not guarantee future market behavior. Value zones can shift as new data enters the sample, and persistent trends can stay outside accepted areas longer than expected. Always use independent judgment and proper risk management.
Indicatore

Roll Spread Estimator [forexobroker]Roll Spread Estimator implements Roll (1984) โ the bid-ask bounce induces negative serial covariance in observed returns. Spread = 2 * sqrt(-cov(r , r )) when cov is negative. Tight spread = liquid market = clean breakouts; wide spread = thin = breakouts to fade. Signals fire on EMA cross during a tight regime. Stacked-flag visual signature distinct from any other hero indicator.
๐ถ ALGORITHM
1. r0 = close - close ; r1 = close - close .
2. cov(r0, r1) = sma(r0 * r1, N) - sma(r0, N) * sma(r1, N).
3. Spread = 2 * sqrt(-cov) when cov < 0; otherwise 0.
4. Quantile q (e.g., 70th percentile) over rolling window.
5. Tight regime when spread <= q.
6. EMA cross within tight fires entries.
๐ถ SIGNAL LOGIC
- Buy: tight AND close crosses EMA up AND not already long AND cooldown elapsed AND barstate.isconfirmed.
- Sell: tight AND close crosses EMA down.
- Position-lock state machine.
๐ถ INPUTS
- Cov Window (default 40)
- Tight Spread Quantile (default 0.7)
- Pullback EMA Length (default 8)
- Cooldown Bars (default 4)
- Visual: dashboard, glow (3 stacked flags), spread channel, buy / sell colors
๐ถ ALERTS
RSE Buy, RSE Sell, RSE Any Signal, RSE Tight Start, RSE Tight End, RSE Bounce, RSE EMA Up, RSE EMA Down, RSE Webhook JSON.
๐ถ LIMITATIONS
- Roll's estimator assumes the bid-ask bounce is the dominant source of negative covariance; trend-following autocorrelation can produce positive cov, in which case the estimator is undefined and returns 0.
- Forex and equities show clear bid-ask bounces; pure spot-market crypto is less consistent.
- The stacked-flag visual uses 3 overlapping flags for a thicker appearance โ visually distinct but slightly heavier draw.
- Quantile-based threshold means tight is *relative* to recent history, not absolute.
Indicatore

Neural Confluence Engine [Quantum Algo]Neural Confluence Engine
Neural Confluence Engine is a Pine Script v6 indicator that fuses eight independent technical factors โ momentum, trend, VWAP position, RSI regime, MACD acceleration, ADX trend power, volume confirmation, and squeeze state โ into a single weighted directional strength score on a 0โ100 scale. Signals are gated by a user-configurable score threshold and an optional higher-timeframe trend filter before firing. The script is open-source. All signals are confirmed on bar close and do not repaint.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
HOW IT WORKS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. The eight factor model. Each bar, the engine evaluates eight independent factors and assigns each a normalized score between 0 and 1 based on its current state and intensity. Factors are scored separately for bullish and bearish directions.
2. WaveTrend Momentum (weight 1.5). Computes a custom oscillator from HLC3 smoothed by EMA of channel length (default 9) and signal length (default 12). Oversold reversals below -40 score 1.0; readings above zero score 0.8; positive crossovers below zero score 0.5.
3. EMA Alignment (weight 1.3). Triple EMA stack: fast (default 9) > slow (default 21) > baseline (default 50) scores 1.0 for full alignment. Fast > slow alone scores 0.6. Otherwise 0.
4. VWAP Position (weight 1.0). Price above VWAP by more than 1 ATR scores 1.0. Price above VWAP within 1 ATR scores 0.7. Below VWAP scores 0.
5. RSI Regime (weight 0.8). RSI above 60 scores 1.0. RSI between 50 and 60 scores 0.6. Below 50 scores 0.
6. MACD Histogram (weight 0.8). Rising histogram above zero scores 1.0. Positive but flat histogram scores 0.6. Negative histogram scores 0.
7. ADX Trend Power (weight 0.7). ADX above 40 scores 1.0. ADX between 25 and 40 scores 0.7. ADX below 25 scores 0.3 (penalty for chop, not zero).
8. Volume Confirmation (weight 1.0). Volume above 20-bar SMA combined with a directional candle close scores 1.0. Volume between 80% and 100% of average scores 0.4. Below scores 0.
9. Squeeze State (weight 1.2). Detects Bollinger Band compression inside Keltner Channels using length-20 standard deviation and ATR-10 envelopes. A "firing" bar (compression releases) with positive momentum scores 1.0. Compression without release scores 0.3.
10. Weighted aggregation and smoothing. Each directional factor is multiplied by its weight, summed, divided by total weight, and scaled to 0โ100. The raw score is then smoothed with a 3-bar EMA to reduce single-bar noise. Bull score and Bear score are tracked separately. The net Neural Confluence Engine score is the difference between them.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SIGNAL TIERS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The script produces two signal tiers from the same scoring engine, allowing traders to choose between sensitivity and selectivity.
Standard signals (BUY / SELL). Fire on EMA ribbon color change โ when the fast EMA crosses the slow EMA. These follow every directional shift regardless of score. Useful for systematic trend-following.
High-confluence signals (BUY+ / SELL+). Fire only when three conditions align simultaneously: an EMA cross occurs, the directional score exceeds the user-configurable threshold (default 60), and the higher-timeframe trend agrees with the signal direction. Used to filter for the most aligned setups.
Both signal tiers open trade management โ entry, stop loss, three take-profit targets, and optional trailing stop after TP1.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TRADE MANAGEMENT
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
When a signal fires, the engine computes ATR-scaled risk levels relative to entry:
Stop loss: entry minus 1.5 ร ATR (configurable multiplier 0.5โ10).
TP1: 1R target (configurable risk-reward ratio).
TP2: 2R target.
TP3: 3R target.
When TP1 is reached, the stop converts to a trailing structure: SL moves to breakeven, then advances to TP1 level when TP2 is hit, then to TP2 level when TP3 is hit. The trailing stop also follows price at 0.5 ร ATR distance after TP1. This can be disabled via the "Activate Trailing SL after TP1" toggle.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WHAT'S ACTUALLY DIFFERENT
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Eight-factor weighted composite, not a single trigger. Standard indicators fire on one condition โ an EMA cross, an RSI level, a volume spike. The Neural Confluence Engine requires multiple independent factors to agree, weights them by historical reliability, and gates signals through a configurable score threshold. The trader can dial sensitivity from 20 (sensitive) to 95 (selective) without re-tuning eight separate sub-indicators.
โ Two-tier signal architecture. Most indicators produce one stream of signals. This produces two from the same engine: standard ribbon flips for sensitive trend-following, and high-confluence variants gated by score + HTF agreement. Traders can use either tier independently or both in confluence.
โ HTF agreement is built into the signal gate, not a separate filter. The higher-timeframe trend check is computed natively via request.security, auto-detected based on the chart timeframe (15m โ 1H, 1H โ 4H, 4H โ D, D โ W) or set manually. BUY+/SELL+ signals are blocked if HTF disagrees.
โ Per-factor visibility in the dashboard. Each of the eight factors is individually viewable in real time โ traders can see exactly which factors are contributing to the current score, rather than receiving a black-box signal. This is rare in confluence-style indicators which typically hide the sub-components.
โ Trailing-stop ratcheting tied to TP hits. The trailing stop doesn't just follow ATR โ it advances in tiers tied to take-profit milestones. After TP1, stop moves to breakeven. After TP2, to TP1. After TP3, to TP2. This protects profits at structurally meaningful levels rather than purely volatility-derived ones.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RECOMMENDED SETTINGS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Forex majors (EUR/USD, GBP/USD, USD/JPY) โ 1H to 4H: Min Confluence Score 65, HTF Trend Filter on, SL Multiplier 1.5, TP R:R 1/2/3, HTF auto. Optimized for session-driven moves where structural levels respect institutional flow.
Crypto perpetuals (BTC, ETH, SOL) โ 15M to 1H: Min Confluence Score 60, HTF Trend Filter on, SL Multiplier 2.0, TP R:R 1/2/3, HTF auto. Tuned for 24/7 markets with higher noise floors; the slightly wider stop accommodates increased wick volatility.
Gold (XAUUSD) โ 1H to 4H: Min Confluence Score 70, HTF Trend Filter on, SL Multiplier 1.8, TP R:R 1/2/3.5, HTF set to Daily. Designed for the elevated wick activity around US session open and the tendency for sharp moves to develop after squeeze release.
Indices (SPX, NDX, DAX) โ 5M to 1H: Min Confluence Score 55, HTF Trend Filter on, SL Multiplier 1.2, TP R:R 1/2/3, HTF auto. Tuned for cash-session structure and typical post-open momentum continuation.
Swing trading (any market) โ 4H to Daily: Min Confluence Score 75, HTF Trend Filter on, SL Multiplier 2.5, TP R:R 1.5/3/5, HTF set to Weekly. Reduces noise to the highest-conviction setups only; wider targets to match the higher timeframe.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ALERTS & OUTPUTS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Alerts available:
BUY signal โ ribbon flipped bullish (standard sensitivity)
SELL signal โ ribbon flipped bearish (standard sensitivity)
BUY+ signal โ high-confluence bullish setup
SELL+ signal โ high-confluence bearish setup
Squeeze breakout โ volatility compression released
TP1 reached โ trailing stop activated
TP2 reached
TP3 reached
On-chart visuals:
EMA ribbon (5, 9, 13, 21, 34, 50) with fill bands colored by trend direction
VWAP plot with color reflecting price position
BUY / SELL / BUY+ / SELL+ signal labels at signal bars
Confluence score percentage label on BUY+ / SELL+ bars
Optional Entry / SL / TP1 / TP2 / TP3 horizontal lines for the most recent trade
TP-hit confirmation labels with checkmarks
Squeeze background highlight when compression is active
Diamond markers (โก) on squeeze breakout bars
Optional momentum wave background colored by net score intensity
Optional candle coloring on signal bars
Multi-row dashboard with bull/bear scores, bias classification, HTF direction, factor states, trade status, and threshold setting
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
NOTES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Pine Script version: v6.
Repainting: All signals (BUY, SELL, BUY+, SELL+, squeeze breakouts, TP/SL hits) are evaluated on confirmed bar close and do not repaint. Higher-timeframe values use lookahead=barmerge.lookahead_off so HTF readings reflect only confirmed information available at signal time.
Compatibility: Works on all symbols and timeframes available in TradingView. Tested on forex majors, crypto perpetuals, gold, and major indices. Functions on stocks but the volume confirmation factor may require threshold adjustment for low-volume tickers. Functions on continuous contracts and CFDs.
Open-source: This script is open-source. Clone, study, and modify it freely under the terms of TradingView's House Rules. Republishing the source under a different name is not permitted.
Credits: This indicator's logic is independently developed. The component oscillators (WaveTrend, RSI, MACD, ADX, Bollinger Bands, Keltner Channels, VWAP) are standard public-domain technical analysis tools. The weighted-score aggregation methodology, two-tier signal architecture, ATR-tiered trailing stop progression, and per-factor dashboard are original implementations.
Disclaimer: This indicator is provided for educational and analytical purposes. Trading involves substantial risk of loss. Past performance does not guarantee future results. Position sizing and risk management are the trader's sole responsibility. Nothing in this script or description constitutes financial advice. Indicatore

Indicatore

Indicatore
