مؤشر

AVIXZGROUP - Agente Sinais PRO | S/R e Anti-SpikeDescrição:
Este é o Agente Sinais PRO da AVIXZGROUP. Desenvolvemos este indicador para limpar o ruído do mercado e focar apenas nas zonas de preço onde o dinheiro institucional realmente atua.
Ideal para quem não pode passar o dia inteiro na frente do gráfico e precisa de um rastreador automático, confiável e com gestão de risco visual. Ele não desenha dezenas de linhas confusas na sua tela; ele entrega apenas as fronteiras finais de negociação.
⚙️ Como Funciona?
O Agente mapeia o gráfico buscando pontos fortes de reversão (Topos e Fundos) em tempos gráficos maiores (Radar) e agrupa níveis próximos para formar zonas sólidas de Suporte (Chão) e Resistência (Teto).
No gráfico, você verá apenas as zonas ativas mais próximas do preço atual, com um histórico limpo de apenas 7 dias para trás e 1 dia projetado para frente.
🎯 Principais Funcionalidades
Linhas Distais (Sólidas): As linhas vermelhas (Teto) e verdes (Chão) representam o extremo da zona de briga. É o ponto exato para avaliar a sua entrada.
Gatilho Anti-Spike (Tracejadas): A grande proteção do indicador. As linhas tracejadas marcam o seu limite de risco. Se o preço romper a zona de forma violenta (além da linha tracejada), o Agente classifica como rompimento real e não emite o sinal, protegendo você de pegar a "faca caindo".
Filtro de Volume Institucional (Opcional): No painel de configurações, você pode exigir que o indicador só plote zonas ou emita sinais se houver um pico de volume financeiro confirmando o movimento.
Congelamento Diário (Cache 24h): As zonas são recalculadas apenas na virada do dia (00:00). Isso impede que as suas marcações fiquem piscando ou mudando de lugar durante as suas operações diárias.
📲 Como configurar os Alertas (Telegram/App)
Este indicador está 100% pronto para enviar alertas estruturados direto para o seu celular via Webhook.
Adicione o indicador ao gráfico e ajuste as configurações (Tempo gráfico, Agrupamento e Volume) na engrenagem.
Clique em Criar Alerta no TradingView.
Na Condição, selecione AVIXZGROUP - Agente Sinais PRO.
Escolha a opção "Qualquer chamada da função de alerta" (Any alert() function call). Isso é obrigatório.
Na aba Notificações, insira a URL do seu Webhook e salve.
O script cuidará de formatar a mensagem com o nome do ativo, preço atual e a zona exata de defesa. Bons trades! مؤشر

Reaction Zone Ledger [JOAT]Reaction Zone Ledger is an open-source Pine Script v6 overlay that creates pivot-based support and resistance reaction zones, tracks signed volume pressure inside those zones, merges nearby zones, and displays compact statistics directly beside each active area.
The script is built for traders who want reaction zones to contain more information than a simple box. Each zone stores pressure, net impulse, touch count, state, and a dashed midpoint. The dashboard summarizes the broader signed-volume ledger and the nearest active zone.
Core Concepts
1. Signed Volume Proxy
Each bar receives a signed volume estimate from candle body bias and close location. This is not true buyer/seller volume; it is a transparent approximation from OHLCV data.
bodyBias = barRange > 0.0 ? (close - open) / barRange : 0.0
closeBias = barRange > 0.0 ? (((close - low) / barRange) - 0.5) * 2.0 : 0.0
signedVolume = volume * clamp(bodyBias * 0.62 + closeBias * 0.38, -1.0, 1.0)
2. Pivot Reaction Zones
Confirmed pivot highs create resistance-style zones. Confirmed pivot lows create support-style zones. The width is based on ATR so the zones scale with current chart volatility.
3. Merge Logic
When a new zone is close to an existing zone on the same side, the script merges them rather than stacking overlapping boxes. This keeps the chart cleaner and improves object efficiency.
4. Zone Ledger Statistics
Each zone tracks buy pressure, sell pressure, hit count, net impulse, and state. A small outside stats box displays the current pressure reading and net value.
5. Dashboard Summary
The dashboard shows overall ledger pressure, net impulse, nearest zone type, and nearest zone state.
Features
Pivot support and resistance zones: Zones are created from confirmed pivots
ATR-based width: Zone size adapts to volatility
Merge system: Nearby same-side zones combine into larger active areas
Signed-volume ledger: Tracks directional pressure using a transparent OHLCV proxy
Stats boxes: Pressure percentage, net impulse, and state displayed beside zones
Dashed midlines: Each zone has a center reference line
Dashboard: Shows active zone count and nearest zone context
Alerts: Support reaction, resistance reaction, and zone break
Input Parameters
Visuals:
Palette: Selects color pair
Show Dashboard: Toggles the top-right dashboard
Zones:
Pivot Left Bars / Pivot Right Bars: Pivot confirmation settings
Range Length: ATR length for zone sizing
Zone Half-Width ATR: Controls box thickness
Merge Distance ATR: Controls when nearby zones merge
Maximum Zones: Limits active object count
Forward Extension: Bars each zone extends forward
Ledger Impulse Length: Lookback for dashboard impulse stats
How to Use This Indicator
Step 1: Locate Active Zones
Green-style zones represent support reactions. Red-style zones represent resistance reactions.
Step 2: Read the Stats Box
The outside box shows whether the zone is testing, holding, cleared, lost, or mixed, along with its pressure value.
Step 3: Watch Break Alerts
A break alert means price closed beyond the zone boundary after previously trading around it.
Step 4: Use Nearest Zone Context
The dashboard helps identify whether price is closest to support or resistance and what state that zone is in.
Indicator Limitations
Signed volume is an approximation from OHLCV data
Pivot zones appear only after pivot confirmation
Merged zones can become wide during repeated tests
Zone pressure can change quickly when high-volume bars touch the zone
Originality Statement
Reaction Zone Ledger is original in its combination of confirmed pivot zones, merge logic, signed-volume accounting, outside stats boxes, and nearest-zone dashboard. It is original Pine v6 code and does not reuse another author's indicator source.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Reaction zones can fail, widen, or become less useful in fast markets. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
مؤشر

ICT Daily & Weekly Liquidity LevelsThis TradingView indicator plots ICT-style higher-timeframe liquidity levels directly on your chart, including previous day high/low, current session high/low, previous week high/low, current week open, and previous week close. It uses daily and weekly data to calculate those levels, then draws horizontal rays from the candle where each level originated and extends them to the right. It also adds right-side labels with the level name and exact price, while allowing you to toggle each level, customize colors, adjust label spacing, and merge labels when multiple levels are close together. In simple terms, it gives you a clean map of major daily and weekly liquidity reference points for intraday trading. مؤشر

Liquidity Sweep Probability [JOAT]Liquidity Sweep Probability is an open-source Pine Script v6 overlay that maps equal highs and equal lows, tracks sweeps through those levels, detects reclaim behavior, and records simple continuation samples after reclaim events. It is designed for traders who want a clean way to observe where price has built nearby liquidity and how price behaves after that liquidity is tested.
The script does not claim that a sweep must reverse price. Instead, it separates equal-level creation, sweep, reclaim, break, and continuation outcomes. The dashboard shows the most recent event, the side involved, sample counts, and an adaptive probability-style reading derived from the script's own observed samples.
Core Concepts
1. Equal High and Equal Low Detection
Confirmed pivots are compared against the previous pivot on the same side. If two pivot highs or lows are within an ATR-based tolerance, a liquidity zone is created.
pivotHigh = ta.pivothigh(high, pivotLength, pivotLength)
if not na(lastHighPivot) and math.abs(pivotHigh - lastHighPivot) <= equalTolerance
zoneTop = math.max(pivotHigh, lastHighPivot) + zonePadding
zoneBottom = math.min(pivotHigh, lastHighPivot) - zonePadding
2. Sweep State
A high-side sweep occurs when price trades beyond the equal high zone but closes back below the zone top. A low-side sweep occurs when price trades below the equal low zone but closes back above the zone bottom.
3. Reclaim State
After a sweep, the script watches a configurable reclaim window. A high-side reclaim requires price to close back below the lower boundary of the swept high zone. A low-side reclaim requires price to close back above the upper boundary of the swept low zone.
4. Continuation Sampling
After reclaim, the script stores a target distance based on ATR and tracks whether price reaches it within the outcome window. These counts are displayed as samples. They are descriptive statistics from the chart, not a prediction.
5. Probability Panel
The probability-style score blends observed sample rate, sweep distance, zone age, and reclaim status. It gives a compact read of the current event context.
sampleRate = total > 0 ? (wins * 100.0) / total : 50.0
score = clamp(sampleRate * 0.62 + 19.0 + distanceBoost + ageBoost + reclaimBoost, 5.0, 95.0)
Features
Equal high and equal low zones: ATR tolerance avoids exact-price-only matching
Sweep detection: Tracks confirmed high-side and low-side liquidity sweeps
Reclaim detection: Separates immediate breaks from reclaim behavior
Continuation samples: Counts historical reclaim outcomes within the active chart sample
Dashed midlines: Each zone includes a center reference line
Stateful labels: Zones update from Equal High/Low to Sweep, Reclaimed, or Broken
Probability panel: Shows side, status, chance value, samples, and age
Alerts: Sweep, reclaim, and zone break conditions
Input Parameters
Swings:
Swing Pivot Length: Pivot sensitivity for equal-level detection
Equal-Level Tolerance: ATR fraction used to compare pivots
Zone Padding: ATR fraction added around the equal level
ATR Length: Volatility length for tolerance and padding
Behavior:
Reclaim Window: Bars allowed for reclaim after sweep
Continuation Window: Bars allowed for measuring post-reclaim continuation
Continuation Distance: ATR target used for sample tracking
Maximum Zones Per Side: Object cap for high and low zones
Visual:
Palette: Selects bull and bear colors
Zone Extension Bars: Forward extension for boxes and midlines
Probability Panel: Shows or hides the dashboard
How to Use This Indicator
Step 1: Identify Equal-Level Zones
Equal highs can act as high-side liquidity references. Equal lows can act as low-side liquidity references.
Step 2: Watch for Sweep and Reclaim
A sweep alone is not enough. Reclaim behavior shows that price tested outside the zone and then closed back through the zone boundary.
Step 3: Read the Sample Count
The sample row shows how many observed reclaim events reached their ATR target on the current chart sample. A small sample should be treated carefully.
Step 4: Use Zones as Context
Use the zones to frame liquidity behavior, then combine the context with your own entry trigger and risk plan.
Indicator Limitations
Equal-level zones are based on confirmed pivots, so they appear after the pivot confirmation window
The probability value is descriptive and chart-dependent
A small number of samples should not be treated as statistically strong
Fast markets may sweep, reclaim, and break multiple zones quickly
Object limits require the script to delete older zones when caps are reached
Originality Statement
Liquidity Sweep Probability is original in its state machine for equal-level zones, sweep/reclaim/break classification, and live sample tracking. It uses public Pine v6 mechanics to build a self-contained liquidity map without copying another indicator's source.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Liquidity sweeps can continue, reverse, or fail without warning. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
مؤشر

Kalman Auction Ribbon [JOAT]Kalman Auction Ribbon is an open-source Pine Script v6 overlay that builds a six-layer adaptive ribbon from a zero-lag source and Kalman-style velocity smoothing. The goal is to show trend alignment, slope strength, deviation zones, and confirmed retest behavior in one restrained chart layer.
The script focuses on auction behavior around a dynamic ribbon. When the ribbon layers align and slope together, the state becomes directional. When price stretches beyond the deviation envelope and then returns, the script can mark supply or demand zones for later retests.
Core Concepts
1. Zero-Lag Source
The source is adjusted by comparing current price with a half-length historical value. This produces a more responsive input for the ribbon calculations.
zeroLagOffset = math.max(1, int(math.round(baseLength * 0.50)))
zeroLagSource = src + (src - nz(src , src))
2. Kalman-Style Velocity Estimate
Each ribbon layer uses a compact velocity smoother that maintains an estimate and speed component. The speed term helps the estimate respond to directional movement without relying on future bars.
prior = na(estimate ) ? value : estimate + nz(speed ) * gain
error = value - prior
speed := nz(speed ) * (1.0 - alpha * 0.50) + error * alpha * gain
estimate := prior + error * alpha
3. Six-Layer Ribbon Alignment
The script calculates six different ribbon lengths. Alignment and slope scores are combined into a trend score from -100 to +100. This score controls the ribbon color and dashboard power reading.
4. Deviation Zones
Upper and lower deviation levels are built around the ribbon midpoint using ATR. If price pushes beyond a deviation level and closes back inside, the script creates a compact supply or demand zone.
5. Retest Logic
Retest signals occur when price interacts with a live zone or the ribbon itself while the ribbon state remains directional. These signals are confirmed on closed bars.
Features
Six-layer adaptive ribbon: Multiple Kalman-style layers reveal alignment and spread
Velocity weighting: Gain input changes how aggressively the smoother responds
Deviation envelope: ATR-based upper and lower zones around the ribbon midpoint
Soft supply and demand boxes: Created only on confirmed deviation rejection behavior, with overlap suppression so the chart does not stack redundant boxes
Labeled deviation boxes: Supply and Demand Deviation boxes include midpoint guide lines and fade after invalidation
Confirmed buy/sell markers: Compact BUY and SELL dots appear only after confirmed ribbon or zone retest behavior
Trend-state candles: Optional bar coloring by ribbon state
Dashboard: Shows state, power, distance, and retest status
Alerts: Confirmed buy, confirmed sell, lower deviation zone, and upper deviation zone
Input Parameters
Core:
Source: Price source used by the ribbon
Base Length: Main length from which all ribbon layers are derived
Velocity Weight: Strength of the speed component
Deviation ATR Length: ATR length for deviation zones
Deviation Width: ATR multiplier for the envelope
Zones:
Show Deviation Zones: Toggles supply and demand boxes
Zone Extension Bars: How far active boxes extend to the right
Maximum Zones Per Side: Caps active supply and demand boxes
Signals:
Show Confirmed Buy/Sell: Toggles compact confirmed signal dots
Signal Spacing Bars: Minimum spacing between signal markers
Zone Extension Bars: Forward box extension length
Maximum Zones Per Side: Object cap for zone storage
Visual:
Palette: Selects the color pair
Show Ribbon: Toggles ribbon plots and fill
Trend-State Candles: Enables candle coloring
Dashboard: Shows the top-right panel
How to Use This Indicator
Step 1: Read Ribbon Alignment
A strongly stacked ribbon with a high dashboard power value indicates directional alignment. A mixed ribbon shows a less decisive state.
Step 2: Watch Deviation Zones
Zones are created when price rejects beyond an ATR deviation envelope. These boxes represent areas where price stretched away from the ribbon and returned.
Step 3: Use Retests With Context
Retest dots identify confirmed interactions with the ribbon or zones. They should be evaluated with trend state, market structure, and risk placement.
Indicator Limitations
Kalman-style smoothing is reactive and does not know future price direction
Strong news bars can move through deviation zones without meaningful retests
Object limits require older zones to be removed when the maximum is exceeded
The ribbon can compress during range conditions and produce mixed readings
Originality Statement
Kalman Auction Ribbon is original in its combination of zero-lag preprocessing, six independent Kalman-style layers, ATR deviation boxes, and confirmed retest tracking. It uses public Pine primitives in a custom structure and does not paste or disguise another author's source.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Ribbon states and zones can fail during unusual volatility or thin liquidity. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
مؤشر

مؤشر

Multi-Session LevelsMulti-Session Levels is a clean, all-in-one levels and sessions tool. It plots the key higher-timeframe reference levels — previous day, week and month highs and lows — alongside live session ranges with gradient fills, and summarises everything in a dashboard that shows your distance to each level at a glance.
- Built to stay readable
The aim is a chart that gives context without clutter. Levels are drawn as single labelled lines colour-coded by period, the session ranges use soft gradient fills rather than hard boxes, and the numeric detail lives in one compact dashboard instead of being scattered across the chart. Price-scale markers mirror each level on the axis, so you can still see where they sit even when scrolled away from the labels.
-Reference levels (previous day / week / month)
The script tracks the running high and low of the current day, week and month, and when each period rolls over it locks the completed range as the "previous" level:
- Previous day high/low (PDH/PDL), previous week high/low (PWH/PWL), previous month high/low (PMH/PML).
- The daily boundary rolls at 22:00 GMT (around the New York close / forex day boundary), so "previous day" reflects the prior trading day rather than the calendar midnight.
- Each level extends to the right by a configurable number of bars and is labelled with its price; line colour, style and width are set per period.
-Equilibrium lines (optional)
For each period the script can plot the 50% midpoint between its high and low — the equilibrium — a level many traders watch for mean reversion or as a decision point inside the range.
-Session ranges with gradient fill
Four sessions are tracked by GMT time windows — Sydney, Tokyo, London and New York — each drawn as a high/low band with labels. The band is shaded with a gradient fill so you can watch a session's range build as it progresses and tell sessions apart at a glance:
- Vertical mode tints the band with your chosen bullish colour toward the top and bearish colour toward the bottom.
- Horizontal mode tints the fill by short-term momentum, using a smoothed measure of candle direction, so the session shades toward green while price is pushing up and red while it is pushing down.
To keep charts responsive, the gradient fill is limited to roughly the last 35 days of data; the lines and labels for the active sessions remain.
-Dashboard
A compact table (position and text size configurable) shows, for every reference level, its price and your current distance to it. Distance can be displayed as a percentage, in pips (with automatic handling of 5-digit and 3-digit JPY pricing) or in ticks. It also shows the current active session and highlights the single nearest level, with an arrow indicating whether each level sits above or below the current price. Ten colour themes are included.
-How to use it
These are reference and context levels, not entry signals — the levels mark where reactions are likely, and you bring your own entry trigger and risk management. Some common approaches:
Reversion at a level. Previous day, week and month highs and lows often act as support and resistance, especially the first time price reaches them. A move into a level that then stalls and prints a rejection (a reaction candle, or a shift in structure on a lower timeframe) is a fade back toward the middle of the range. Risk sits just beyond the level; the opposite level or the equilibrium is a natural target.
Breakout and retest. When price closes decisively through a level, that level often flips role — a broken high becomes support, a broken low becomes resistance. Rather than chasing the break, many traders wait for price to come back and retest the level from the other side, then enter in the breakout direction with risk on the wrong side of the level. The six break alerts are designed for exactly this: they tell you the moment a level gives way so you can watch for the retest.
Equilibrium as a bias line. The 50% midpoint of a period's range splits it into a premium half and a discount half. Trading in the upper half leans bullish for that period and the lower half bearish; some traders only look for longs while price holds above equilibrium and shorts below it, using the line as a simple filter.
Session framing. Use the session ranges to read the rhythm of the day. A common pattern is the Asian range setting the boundaries, then London or New York expanding out of it — watch whether a session breaks the prior session's high or low and holds, or sweeps it and reverses back inside. The gradient fill makes the direction of the active session easy to read at a glance.
Confluence. The strongest reactions tend to come where more than one thing lines up — for example, a previous week high meeting the top of the London range, or a daily level sitting right at equilibrium. Use the dashboard's distance readouts to see how close price is to the nearest level before you commit, so you are trading into a level rather than into open space.
Whatever the approach, the levels define where to be interested; your own confirmation defines when to act.
-Alerts
Six separate, individually-selectable alerts fire when price closes across a level: previous day high or low, previous week high or low, and previous month high or low. Set them to "Once Per Bar Close" so they match the close-based logic.
-Credits
The gradient session colouring was inspired by Session Streaks , an open-source script where I first came across the idea of shading sessions by their bullish or bearish bias. The gradient fill here is built with Pine Script's standard fill() and color.from_gradient() functions, and the rest of the script — level tracking, session ranges, dashboard and alerts — is my own work. Credit and thanks to LuxAlgo.
-Inputs
Previous Day / Week / Month (show toggles, colours, line style, width), Extend lines, Equilibrium Lines (per period), Session Ranges (show toggles and colours per session, line width), Session Style (gradient colours, transparency, direction), and Dashboard (show, position, text size, colour theme, distance format).
-Disclaimer
This indicator is for educational and informational purposes only and is not financial or investment advice. Past performance does not guarantee future results. Always do your own analysis and manage your own risk.
مؤشر

مؤشر

Shift Structure Cloud [JOAT]Shift Structure Cloud is an open-source Pine Script v6 overlay that converts confirmed swing structure into a clean adaptive trend cloud. It tracks pivot highs and pivot lows, separates continuation breaks from character shifts, and uses the active structure range to build a dynamic average and multi-layer cloud around price.
The problem it solves is structural context. Many trend tools react only to moving averages or oscillator thresholds. This script anchors its visual state to confirmed market structure first, then uses an adaptive cloud to show whether price is trading above, below, or inside the current structural center. The result is a chart layer that can help separate continuation from transition without relying on future bars.
Core Concepts
1. Confirmed Pivot Structure
The script uses ta.pivothigh() and ta.pivotlow() to confirm swing highs and lows. A pivot is only accepted after the configured right-side confirmation window closes, which means the level is delayed by design but does not depend on unconfirmed future plotting.
pivotHigh = ta.pivothigh(high, pivotLeft, pivotRight)
pivotLow = ta.pivotlow(low, pivotLeft, pivotRight)
if not na(pivotHigh)
structureHigh := pivotHigh
2. BOS and CHoCH Logic
The current structure high and low become break reference levels. A bullish break occurs when price closes above the prior structure high. A bearish break occurs when price closes below the prior structure low. If the break happens against the previous side, it is classified as CHoCH; otherwise it is a continuation BOS.
bullBreakRaw = barstate.isconfirmed and not na(priorHigh) and close > priorHigh and priorClose <= priorHigh
bearBreakRaw = barstate.isconfirmed and not na(priorLow) and close < priorLow and priorClose >= priorLow
bullChoCh = bullBreak and trendSide == -1
bearChoCh = bearBreak and trendSide == 1
3. Adaptive Structure Average
Instead of plotting only fixed swing levels, the script calculates the midpoint between the active structure high and low. The midpoint is then smoothed with an adaptive alpha. When price moves far from the structural center, the average becomes more responsive; when price is balanced, it becomes slower.
structureMid = (activeHigh + activeLow) * 0.5
structureDrift = f_clamp(math.abs(close - structureMid) / legSize, 0.0, 1.0)
adaptAlpha = slowAlpha + (fastAlpha - slowAlpha) * structureDrift
structureAverage := structureAverage + adaptAlpha * (structureMid - structureAverage )
4. Multi-Layer Cloud
The cloud is built from ATR-adjusted bands around the adaptive structure average. Inner, middle, and outer layers give a visual read of compression, transition, and extended distance from structure.
5. Strength-Based Candle Coloring
When enabled, candles are repainted with a gradient based on distance from the structure average. The candle color is informational only; it does not change the underlying chart data.
Features
Confirmed BOS and CHoCH detection: Structural events are gated with barstate.isconfirmed
Adaptive structure average: A dynamic centerline based on active swing range and price drift
Layered trend cloud: Inner, middle, and outer ATR bands visualize distance from structure
Structure high and low levels: Current confirmed swing levels can be shown as reference lines
Gradient candle mode: Optional candle coloring by structural distance
Compact dashboard: Shows side, last shift, strength, bars since shift, and active range
Palette presets: Aqua Rose, Neon Desk, Mint Pulse, and VWAP Field
Alert conditions: Separate alerts for bullish BOS, bearish BOS, bullish CHoCH, and bearish CHoCH
Input Parameters
Visual System:
Palette Preset: Selects the bull and bear color pair
Color Candles: Enables structural candle coloring
Dashboard: Shows or hides the top-right dashboard
Pivot Dots: Shows confirmed pivot dots
Structure Engine:
Pivot Left / Pivot Right: Controls swing confirmation sensitivity
Fast Adapt Length: Fast smoothing response for the adaptive average
Slow Adapt Length: Slow smoothing response for balanced conditions
Cloud ATR Length: ATR length used for cloud width
Cloud Width: Multiplier applied to the cloud distance
BOS and CHoCH Marks: Shows structural event markers
Structure Levels: Shows active swing high and low reference lines
How to Use This Indicator
Step 1: Read the Cloud Side
If price is above the adaptive structure average and the cloud is colored bullish, the current structural state favors upside continuation. If price is below and the cloud is bearish, the state favors downside continuation.
Step 2: Watch CHoCH Events
CHoCH labels mark breaks against the previous structural side. They are useful as transition warnings, not automatic entries.
Step 3: Use the Structure Levels
The active high and low lines show where the next confirmed break could occur. These are the levels the script uses for BOS and CHoCH classification.
Step 4: Combine with Your Own Trigger
This script is designed as a structure and context layer. Use it with your own entry model, risk plan, and market selection process.
Indicator Limitations
Pivot levels confirm after the right-side pivot window closes, so they are intentionally delayed
A fast reversal can occur before a new pivot is confirmed
Cloud distance is ATR-based, so very low volatility markets can compress the visual bands
The script classifies structure; it does not predict future price movement
Originality Statement
Shift Structure Cloud combines confirmed BOS/CHoCH logic, an adaptive structure midpoint, ATR cloud geometry, and strength-colored candles in one original Pine v6 implementation. The script is not a pasted source clone. It rebuilds structure analysis from public Pine mechanics and adds a distinct visual model around the current swing range.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Signals and structure readings are based on historical chart data and can be wrong in live market conditions. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
مؤشر

Smart Range ProjectionSmart Range Projection — Daily High/Low Forecast from Opening Volatility
OVERVIEW
This indicator projects the likely shape of the trading day early in the session, anchoring everything to the day's opening price. It plots the expected daily range envelope, an expansion range for potential trend day extension, and reversal zones near the projected extremes where
price often exhausts or turns.
The projection is built from a blend of four independent volatility inputs: daily ATR, opening volatility, CPR width, and an optional VIX multiplier. Once the opening window completes, the levels lock in for the rest of the session and do not shift.
HOW IT WORKS
1. Daily ATR Baseline
The previous day's confirmed ATR sets the expected full-day travel.
A user-defined multiplier (default 1.0x) converts this into the projected day range.
2. Opening Volatility Factor
The indicator measures the high-low range of the first N bars after the session opens (default 3 bars) and compares it to a rolling 20-day average of opening ranges. An unusually wide opening stretches the projection. An unusually narrow opening tightens it. The influence is
user-controlled (default 0.5).
3. CPR Width Lean
Central Pivot Range width is calculated from the previous day's high, low, and close. The current day's CPR width is compared to its 20-day average. A narrow CPR (relative to history) widens the projection because narrow CPRs statistically precede trending or expansion days.
A wide CPR tightens the projection.
4. VIX Multiplier (Optional)
An optional volatility-index input scales the entire projection based on the regime. Above the user-defined neutral level, the range widens.
Below it, the range tightens. Disabled by default. Enable only if your local volatility index is available on TradingView.
5. Reversal and Expansion Zones
- Projected High and Projected Low: the expected daily range envelope
- Expansion High and Low: dashed lines beyond the normal range, marking trend day extension targets
- Reversal Zones: shaded bands just inside the projected extremes where price often exhausts on normal days
- Expansion Zones: shaded bands between the normal envelope and expansion lines, highlighting trend day extension territory
NON-REPAINTING DESIGN
- Prior-day values use historical offset with lookahead_off
- Day open is tracked locally via session change detection
- Projection levels lock once the opening window completes and remain fixed for the rest of the session
- No future data access, no lookahead leak
INPUTS
- Daily ATR length and base range multiplier
- Expansion multiplier and reversal zone percentage
- Opening window bars and volatility influence
- Optional VIX symbol, neutral level, and toggle
- CPR lean toggle, dashboard toggle, level rounding toggle
- Color customization for all elements
DASHBOARD
A status panel shows projected high and low, expansion high and low, day lean classification (Trend or Range bias from CPR width), measured opening volatility, and the active VIX multiplier.
ALERTS
Four alert conditions are available:
- Price reached projected day high
- Price reached projected day low
- Price hit expansion high (trend day extension)
- Price hit expansion low (trend day extension)
HOW TO USE
The projected high and low serve as the day's expected range boundaries.
Price reaching these zones early often coincides with exhaustion on range days. The expansion lines act as continuation targets when strong directional moves break the normal range envelope.
The day lean classification in the dashboard helps set expectations.
A Trend lean (narrow CPR) suggests price is more likely to reach the expansion lines. A Range lean (wide CPR) suggests price is more likely to oscillate within the normal envelope and reverse at the extremes.
This indicator works on intraday timeframes where multiple bars fit within a session. It is most effective on actively traded instruments with reliable opening sessions.
NOTES
This is a technical analysis tool intended for educational and informational purposes. Volatility projections are statistical estimates based on historical patterns and do not guarantee price will reach the projected levels. Always apply proper risk management and combine with
your own trading methodology.
CREDITS
Original implementation. Uses TradingView built-in ATR, security, and array functions combined with original opening volatility and CPR width lean methodology. مؤشر

Elaris Auto Trend Fibonacci ProElaris Auto Trend Fibonacci Pro
Overview
Elaris Auto Trend Fibonacci Pro is an advanced market structure and Fibonacci analysis tool designed to automatically identify directional trends, detect significant swing points, and project professional-grade Fibonacci retracement and extension levels directly on the chart.
Unlike manual Fibonacci drawing tools that require traders to constantly adjust anchor points, this indicator continuously analyzes confirmed swing structure and automatically maps the most relevant Fibonacci framework based on the current market trend.
The goal is to help traders quickly identify potential pullback zones, trend continuation areas, profit targets, and key reaction levels without manually redrawing Fibonacci levels throughout the trading session.
---
How The Indicator Works
1. Swing Structure Detection
The indicator first identifies confirmed swing highs and swing lows using a configurable pivot confirmation algorithm.
A swing is only considered valid after confirmation, which helps eliminate many false or premature swing points that often appear during volatile market conditions.
The minimum swing size can also be filtered using ATR-based validation, ensuring that insignificant market fluctuations are ignored.
---
2. Trend Identification
After detecting valid market structure, the indicator determines the dominant directional trend.
Bullish trends are identified when recent confirmed swing lows lead into higher confirmed swing highs.
Bearish trends are identified when recent confirmed swing highs lead into lower confirmed swing lows.
An optional EMA trend filter can be enabled to require alignment between price structure and moving average direction.
This additional layer helps reduce counter-trend Fibonacci projections.
---
3. Automatic Fibonacci Mapping
Once a valid trend is detected, Fibonacci levels are automatically projected between the most relevant confirmed swing points.
The indicator plots:
• 0.236 Retracement
• 0.382 Retracement
• 0.500 Midpoint
• 0.618 Golden Ratio
• 0.786 Deep Retracement
• 1.000 Retracement
These levels represent areas where pullbacks, reactions, trend continuations, or reversals may occur.
---
4. Golden Zone Highlighting
The area between the 50% and 61.8% retracement levels is automatically highlighted as the Golden Zone.
Many traders monitor this region because it often represents an area where institutional participants may re-enter an existing trend after a pullback.
The highlighted zone provides a quick visual reference for potential trend continuation opportunities.
---
5. Extension Targets
The indicator can optionally project Fibonacci extension levels beyond the current trend.
Available extension targets include:
• 1.272 Extension
• 1.618 Extension
• 2.000 Extension
These levels can be used as potential profit-taking areas, trend continuation objectives, or future reaction zones.
---
6. Trend Dashboard
A built-in dashboard provides real-time information including:
• Current trend direction
• Swing strength relative to ATR
• Fibonacci anchor direction
• Golden zone status
• Indicator operating mode
The dashboard helps traders evaluate current market conditions without needing additional analysis tools.
---
How To Use
Trend Continuation
1. Wait for a confirmed bullish or bearish trend.
2. Allow price to retrace toward the highlighted Fibonacci levels.
3. Monitor the Golden Zone for potential continuation setups.
4. Use extension levels as potential target areas.
Pullback Analysis
The 38.2%, 50%, and 61.8% retracement levels can help identify areas where temporary corrections may end and the primary trend may resume.
Target Projection
The Fibonacci extensions can be used to estimate possible future trend objectives after a successful continuation move.
---
Important Notes
• The indicator uses confirmed swing points and does not rely on future-looking calculations after confirmation.
• Fibonacci levels automatically update when a new confirmed market structure is established.
• The indicator is designed for trending markets and may generate fewer meaningful projections during prolonged ranging conditions.
• This tool is intended for technical analysis and should not be used as a standalone trading system.
---
Best Markets
The indicator can be applied to:
• Cryptocurrency Markets
• Forex Markets
• Stock Markets
• Index Markets
• Commodity Markets
It is particularly effective on higher liquidity instruments where market structure tends to be more consistent.
---
Best Timeframes
Recommended timeframes:
• 15 Minutes
• 1 Hour
• 4 Hours
• Daily
Higher timeframes generally produce more reliable market structure and Fibonacci projections.
---
Alerts
The indicator includes alerts for:
• Trend direction changes
• Golden Zone interactions
• Key Fibonacci level breaks
These alerts can be integrated into trading workflows for additional monitoring and confirmation.
---
Thank you for using Elaris Auto Trend Fibonacci Pro.
مؤشر

Fibonacci Touch HeatmapFibonacci Touch Heatmap
Fibonacci Touch Heatmap is an advanced Fibonacci channel indicator that dynamically builds a full upper and lower Fibonacci structure over a user-defined lookback window, then scores each level by how many times price has genuinely touched or respected it. The result is a ranked, color-coded map of the most statistically significant support and resistance zones on your chart — updated automatically on every bar.
What Problem This Solves
Standard Fibonacci tools require manual swing selection and draw static levels with no feedback on whether price actually reacted to them. This indicator eliminates both limitations: it auto-detects the range, draws all 14 Fibonacci levels (7 upper + 7 lower), and continuously counts how many times each level has been touched — giving traders an objective, data-driven view of which levels the market genuinely respects.
How It Works — Technical Details
Range Detection:
The indicator uses ta.highest(high, lookback) and ta.lowest(low, lookback) to identify the high and low of the most recent N bars (default: 300). The midpoint is calculated as the arithmetic average of these two values.
Fibonacci Level Construction:
Seven standard Fibonacci ratios (0.0, 0.236, 0.382, 0.500, 0.618, 0.786, 1.0) are applied symmetrically from the midpoint — upward toward the range high (upper channel) and downward toward the range low (lower channel) — producing 14 distinct price levels in total.
Touch Counting Algorithm:
On the final bar (barstate.islast), the script iterates backward through every bar in the lookback window. For each bar, it checks whether the high or low came within a user-defined sensitivity threshold of any Fibonacci level. The threshold is calculated as a percentage of the level price (default: 0.2%), making it adaptive across different asset classes and price scales. Each qualifying bar increments that level's touch counter.
Gradient Coloring:
A custom gradColor() function interpolates RGB values across three anchor colors — bottom (green), mid (yellow), top (red) — based on the level's vertical position within the channel. This creates a smooth visual gradient that immediately communicates zone type: green = support territory, red = resistance territory.
Touch Heatmap:
Line opacity and the color in the top-right table are determined by each level's touch count relative to the maximum touch count across all 14 levels, using the touchColor() function. Levels with more touches render with warmer, more opaque colors.
Background Zones:
The channel is divided into 9 equal vertical slices, each rendered as a semi-transparent colored box, creating a heat gradient background that visually reinforces price zone significance.
Multi-Timeframe Panel
Two additional timeframes (default: 1H and 4H, fully customizable) are analyzed via request.security(). For each external timeframe, the script independently fetches the 500-bar high/low range, builds the complete Fibonacci channel, runs the touch-counting algorithm, and identifies the top 2 most-touched levels. These are displayed in the bottom-right table, color-coded by timeframe (blue = TF1, purple = TF2), allowing traders to instantly identify cross-timeframe Fibonacci confluences.
Top-Right Table — Most Touched Fib Levels
Displays the top 4 most-touched Fibonacci levels from the current chart timeframe, ranked using a bubble sort across all 14 levels. Each row shows:
Fib ratio with direction arrow (↑ upper channel / ↓ lower channel)
Exact price of the level
Touch count (colored from blue → red based on relative touch frequency)
Zone — Upper (resistance side) or Lower (support side)
How To Use
Set Lookback Bars to define the range of history to analyze. Higher values (500+) reveal macro structure; lower values (50–150) focus on recent structure.
Identify high-touch levels from the top-right table — these are the levels price has tested most frequently and are the strongest candidate zones for future reactions.
Use the multi-TF table to find confluences: when the same Fibonacci level appears as most-touched on both TF1 and TF2 simultaneously, it indicates a high-probability reaction zone.
Adjust Touch Sensitivity (%) based on asset volatility:
Crypto: 0.2–0.5% recommended
Forex: 0.05–0.15% recommended
Equities: 0.1–0.3% recommended
Color gradient gives immediate visual context — price trading near red zones suggests resistance pressure; near green zones suggests support.
Inputs Summary
InputDefaultDescriptionLookback Bars300Number of bars used for range and touch detectionTouch Sensitivity (%)0.002Tolerance for a bar high/low to qualify as a touchFib Line Width1Visual thickness of dashed level linesTop / Mid / Bottom ColorRed / Yellow / GreenGradient anchor colorsTimeframe 160 (1H)First external TF for multi-TF panelTimeframe 2240 (4H)Second external TF for multi-TF panel
Originality
This script is an original work combining automatic range-based Fibonacci channel construction with a bar-by-bar touch counting algorithm and multi-timeframe confluence detection. While Fibonacci retracement is a widely used concept, the specific implementation — symmetric dual-channel construction from a dynamic midpoint, percentage-adaptive touch sensitivity, RGB gradient heatmap coloring, bubble-sort level ranking, and simultaneous multi-timeframe touch analysis via request.security() — represents the author's own methodology for transforming static Fibonacci levels into a dynamic, data-scored support/resistance framework.
Disclaimer
This indicator is intended for educational and analytical purposes only. No indicator can predict future price movements with certainty. Always combine multiple forms of analysis and apply proper risk management before making any trading decisions.
Short Description:
Automatically builds a dual Fibonacci channel from the N-bar range high/low, counts how many times price has touched each of the 14 levels, and ranks them by touch frequency. Includes a multi-timeframe panel showing the most-respected Fibonacci levels across two additional timeframes for confluence analysis. مؤشر

ZigZag Confluence [Probalist Essentials]ZigZag Confluence draws swing structure with a clear line between what is settled and what is still moving. A confirmed leg is solid and does not redraw once it forms; the developing leg is dashed and labelled, so you can tell the fixed structure from the live edge at a glance. It is non-repainting where it counts: the part that genuinely cannot be final yet is shown as provisional, not dressed up as done. Every confirmed pivot carries a two-line balloon (the signed %-change of the leg and the pivot price) plus a weighted dot sized by how big the completing leg was relative to history. An optional marker shows the bar each pivot actually confirmed, so the confirmation lag — the cost of not repainting — is there to see rather than hidden.
And it keeps score. Over a fixed window after each confirmed pivot it records three things per direction: the favorable run (MFE — how far the move travelled your way), the adverse heat (MAE — how far it went against you first), and the net return at the end of the window. The run and heat percentiles project forward from the live pivot as stop/target rails — the favorable target in the leg's colour, the stop in the opposite — and the favorable-run distribution is drawn as a bell to the right of the chart. The edge verdict is judged separately, on the net follow-through: was it reliably positive on this chart's own history, with a Wilson-bounded win rate? Description, not prediction — and the code is open, so you can count it yourself.
🟡 WHY THIS VERSION
Most ZigZag indicators redraw their last leg silently — they look perfectly timed in hindsight because they were. This one doesn't: confirmed pivots are frozen the moment they form and never move, the developing leg is dashed with the lag spelled out, and an optional ✓ marker shows the exact bar each pivot became actionable. The other thing worth having is that it keeps score where it matters for a swing tool. Instead of a static pivot count, it measures — over a real holding window — how far past legs ran in your favour, how much heat they took first, and whether the net follow-through actually held. You get stop/target rails sized from that history and an honest edge read: a range and a verdict, not a guarantee. And the confirmation timeframes and the HTF overlay derive from your chart, so the multi-timeframe confluence means something on a 5-minute chart as much as on a daily.
🟡 HOW IT WORKS
The pivot detection uses a scale-free ATR threshold: price must reverse from a running extreme by at least k × ATR(14) before the extreme is frozen as a confirmed pivot. A fixed-percentage threshold breaks on low-priced assets and behaves differently in high-volatility regimes; the ATR multiple adjusts naturally. A minimum 'depth' in bars adds a secondary filter so very brief wicks don't confirm pivots on noisy markets.
Once a pivot is confirmed, a solid coloured leg is drawn from the previous pivot (gold for up-legs, blue for down-legs), a two-line balloon labels it, and a weighted dot marks the confirmation bar. The developing leg — from the most recent confirmed pivot to the current running extreme — is drawn dashed and updated every bar. It may extend or be replaced; this is explicitly the confirmation trade-off made visible, not a repaint. The classic ZigZag's flaw is that it draws this same provisional leg as if it were final and then silently redraws it — which is exactly why it looks flawless on historical bars; separating confirmed (solid, frozen) from developing (dashed, labelled) is the honest fix.
It then keeps score over a fixed horizon after each confirmed pivot. For every signal it tracks the running favorable excursion (MFE) and adverse excursion (MAE) from the entry anchor, and the net return once the horizon completes — recorded only on closed bars, non-repainting by construction. A single ZigZag leg is monotonic, so the heat within one leg is near zero; the fixed window is what captures real adverse movement, including pivots that fail and reverse. The run and heat percentiles size the projected stop/target rails — the stop sits at the 90th-percentile heat, because the median heat is ~0 (most entries take no drawdown below them) and the real risk lives in the tail. The edge verdict is judged on the net return: the Wilson-score lower bound of the share of positive-net pivots, with the recent window catching regime shifts faster than the full history. The favorable-run distribution is drawn as a kernel-smoothed bell to the right of the chart. Two anchor modes: Confirmation (the realistic entry, with real heat) and Pivot extreme (the idealized ceiling — anchored at the exact swing, so net is positive by construction and the edge read is suppressed as not meaningful there).
🟡 KEY FEATURES
Honest two-tone rendering: confirmed legs solid and permanent, the developing leg dashed and labelled — the distinction is explicit, not hidden. An optional marker shows the exact bar each pivot confirmed (the lag = the price of not repainting).
ATR-scaled reversal threshold: scale-free across assets, adjusts to volatility regimes automatically. A depth-in-bars filter rejects brief wicks.
Per-pivot two-line balloon labels: signed %-change on top, pivot price below, leg duration in the hover tooltip.
Weighted signal dots sized by leg-size percentile (self-calibrating 60th/90th tiers), carrying an evidence glyph: ● recent net-backed · ◐ has stats but not backed · ○ gathering. A ◈ prefix marks pivots that land at a prior confirmed pivot level — a fixed, tight invalidation (geometry, not extra probability).
Excursion read per direction: over a fixed horizon after each pivot it measures the favorable run (MFE) and the adverse heat (MAE), projected forward from the live pivot as stop/target rails — favorable target in the leg's colour, the stop (90th-percentile heat) in the opposite. The favorable-run distribution is drawn as a kernel-smoothed bell with the live leg's percentile marked.
Honest net-edge verdict: judged on the net return at the horizon (not the trivially-positive run), with a Wilson-score lower bound, a recent-vs-long-run read and a dual edge-clock. Suppressed under the pivot-extreme anchor, where net is positive by construction and labelled the idealized ceiling, not an edge.
Evidence-gated alerts: standard and net-history-backed variants of bull/bear pivot confirmations, plus BOS/CHoCH and pivot-at-prior-level — all non-repainting (bar-close vs pre-fixed levels).
MTF ✓-badges with auto-derived rungs: the confirmation timeframes come from your chart (the next steps up the ladder 1·5·15·60·240·D·W·M, so a 5m chart checks 15m/1h/4h, not D/W; change the chart TF and the rungs follow). When a higher TF later confirms the same swing, the balloon is stamped (e.g. ✓4h) — confluence shown when it actually exists, never before, since a higher timeframe confirms later by construction.
Ghost pivots: faint ● dots in the accent colours (gold = a would-be swing high, blue = a would-be swing low) at superseded extremes that stood at least the confirmation depth before price pushed through — every spot where a repainting ZigZag would have printed a pivot and silently erased it. The honest counterpart of never repainting.
Market structure layer: every balloon tagged HH/HL/LH/LL, with BOS and CHoCH flagged when a bar closes beyond the last confirmed swing level — the level is fixed before the break, so the call is non-repainting by construction.
Optional HTF ZigZag overlay with the same auto-derived ladder (two rungs up the chart): a thin dotted higher-timeframe structure for context. Display only — it never filters or alters signals.
🟡 HOW TO USE
Use confirmed (solid) legs as your structure reference: they define swing highs and lows that won't move. A sequence of higher lows on solid lines is an uptrend; lower highs is a downtrend.
Treat the dashed developing leg as provisional — its endpoint updates every bar. The 'confirms X' trigger level shows the close that would confirm it; the optional confirmation-bar marker shows, after the fact, how many bars the confirmation lagged the extreme. That lag is the honest cost of non-repainting structure.
Read the stop/target rails on the active developing leg: the favorable target is the median (and 75th-percentile) run past legs made in this direction; the stop rail sits at the 90th-percentile heat — beyond where the normal adverse move stayed on ~90% of past legs. The reward:risk on the label is descriptive of this chart, not a promise.
Use the net-edge read as context, not an entry trigger. A 'net follow-through reliably positive' verdict means past pivots here held up on a Wilson-bounded majority — weigh it against fees, spread and your holding period before acting.
Check the developing leg's percentile in the favorable-run distribution: a leg already at the 85th percentile is well-extended by historical standards and may be closer to a pivot than a fresh one at the 20th.
Costs honesty: pivot signals on low timeframes can show a tiny median net (e.g. +0.10–0.30% over the horizon). On most venues that does not survive round-trip costs — use the read for directional bias and higher-timeframe confluence, not as a standalone scalp entry.
Size alerts around the evidence tier: the 'history-backed' alert variants fire only when the recent net clears the Wilson threshold; standard alerts fire on every confirmation. Use the backed variant for stronger-filter setups.
Anchor choice: keep Confirmation (default) for the tradeable read — the entry you could actually take, with its real heat. Switch to Pivot extreme only to see the idealized ceiling (full run, ~zero heat); the edge verdict is intentionally suppressed there because net is positive by construction.
Enable Show HTF ZigZag for the higher-timeframe structure as a thin dotted overlay (the timeframe auto-derives from your chart). Chart-timeframe pivots that align with an HTF leg in the same direction carry more structural weight — and the MTF ✓-badges quantify exactly that. Display only; it never filters or alters signals.
🟡 PAIRS WELL WITH
ZigZag structure tells you where the swings are but not what drives them. A momentum oscillator like RSI or MACD adds a read on whether momentum is confirming the swing — a swing low into an OS zone with divergence is a more complete setup than a pivot alone. A volume indicator helps distinguish pivots that occurred on meaningful participation from low-volume reversals. For trend bias, a moving average or Supertrend on a higher timeframe filters which pivot direction to trade with versus against. Key S/R levels (daily highs/lows, prior swing clusters) give the structural context this tool measures but doesn't assess quality-wise — a confirmed pivot at a prior level is a different read than one in open air.
ZigZag Confluence gives you swing structure you can trust: pivots that don't move after the fact, a developing leg that tells you honestly it's still forming, and an excursion read that shows what this chart has actually done after past pivots — how far they ran, how much heat they took, and whether the net follow-through held — not what a backtest on a different instrument claims. The rails and the distribution are displays, not filters; the trader reads the evidence and decides.
Open source under MPL-2.0. The probability layer describes past signals on your chart — it is a measurement, not a prediction, and nothing here is financial advice.
مؤشر

Harmonic PatternInstitutional Harmonic
PRZ Lifecycle Scanner is a harmonic pattern and price structure indicator designed to identify confirmed pivot formations, Potential Reversal Zones, pattern lifecycle states, invalidation levels, and ATR-based risk projection areas.
The indicator is built for structured chart reading. It does not predict future price movement, does not execute trades, and does not guarantee results. Its purpose is to help traders study harmonic geometry, PRZ reactions, market structure, volatility context, and risk areas in a clear visual framework.
────────────────────────────
MAIN CONCEPT
────────────────────────────
Harmonic trading is based on the relationship between price legs. A valid pattern is not only a drawing on the chart. It requires measured ratios, a defined completion area, and a clear invalidation zone.
This indicator uses confirmed pivots to build X-A-B-C-D structures and other market patterns. When a valid structure is detected, the script calculates a Potential Reversal Zone using ratio confluence and then follows the pattern through different lifecycle states.
The main idea is simple:
1. Detect a confirmed structure.
2. Measure the ratios.
3. Build the PRZ.
4. Wait for price interaction with the PRZ.
5. Track reaction, invalidation, or target progression.
────────────────────────────
WHAT THE INDICATOR CAN DISPLAY
────────────────────────────
The script can display:
* Harmonic X-A-B-C-D structures
* Potential Reversal Zones
* Pattern labels
* Pattern score
* Bullish or bearish direction
* Entry reference
* Invalidation level
* Stop area
* TP1, TP2, and TP3 projection levels
* TP zones
* Pattern lifecycle status
* Dashboard information
* Higher timeframe bias
* Volatility context
* Alert events
────────────────────────────
PATTERN LIFECYCLE
────────────────────────────
Each pattern can move through several states:
DETECTED
A valid structure has been found and measured.
PRZ TOUCHED
Price has reached the Potential Reversal Zone.
REACTION
A rejection or reaction condition has appeared after price interacts with the PRZ.
TP1 HIT
The first projected target has been reached.
TP2 HIT
The second projected target has been reached.
TP3 HIT
The third projected target has been reached.
FAILED
Price has moved beyond the invalidation area.
EXPIRED
The pattern remained active for too many bars without developing.
This lifecycle approach is designed to separate raw pattern detection from cleaner trading context.
────────────────────────────
PATTERNS INCLUDED
────────────────────────────
The indicator can detect several harmonic and structural formations, depending on the active settings:
* Gartley
* Bat
* Alternate Bat
* Butterfly
* Crab
* Deep Crab
* Cypher
* 5-0
* AB=CD
* Three Drives
* Double Top
* Double Bottom
* Triple Top
* Triple Bottom
* Head and Shoulders
* Inverse Head and Shoulders
* Triangle
* Wedge
Each pattern type can be enabled or disabled from the settings.
────────────────────────────
INPUTS EXPLAINED
────────────────────────────
ENGINE SETTINGS
Pivot Depth
Controls how many bars are used to confirm a pivot high or pivot low. A lower value detects more structures but can create more noise. A higher value detects fewer structures but usually produces cleaner formations.
Ratio Tolerance
Defines how much deviation is allowed around the expected Fibonacci or structural ratio. Lower tolerance is stricter. Higher tolerance allows more patterns.
Minimum XA Size
Filters out very small patterns. This helps avoid structures that are too small compared to current volatility.
Minimum Score
Defines the minimum quality score required before a pattern can be displayed. A higher score means fewer but more selective patterns.
Pattern Expiration Bars
Defines how long an active pattern can remain valid before it is considered expired.
────────────────────────────
PATTERN SETTINGS
Enable Gartley
Turns Gartley pattern detection on or off.
Enable Bat
Turns Bat pattern detection on or off.
Enable Alternate Bat
Turns Alternate Bat pattern detection on or off.
Enable Butterfly
Turns Butterfly pattern detection on or off.
Enable Crab
Turns Crab pattern detection on or off.
Enable Deep Crab
Turns Deep Crab pattern detection on or off.
Enable Cypher
Turns Cypher pattern detection on or off.
Enable 5-0
Turns 5-0 pattern detection on or off.
Enable AB=CD
Turns AB=CD pattern detection on or off.
Enable Three Drives
Turns Three Drives detection on or off.
Enable Double Top / Bottom
Turns Double Top and Double Bottom detection on or off.
Enable Triple Top / Bottom
Turns Triple Top and Triple Bottom detection on or off.
Enable Head and Shoulders
Turns Head and Shoulders detection on or off.
Enable Inverse Head and Shoulders
Turns Inverse Head and Shoulders detection on or off.
Enable Triangle
Turns triangle structure detection on or off.
Enable Wedge
Turns wedge structure detection on or off.
────────────────────────────
PRZ SETTINGS
Show Institutional PRZ
Shows or hides the Potential Reversal Zone.
Auto-Extend PRZ Only
Extends active PRZ zones automatically as new bars appear.
Max Active PRZ Zones
Limits how many PRZ zones can stay visible on the chart.
PRZ Width / Confluence Sensitivity
Controls how tight or wide the PRZ can be around the calculated confluence area. A tighter setting is more selective. A wider setting is more visual and easier to see.
Show PRZ Labels
Shows or hides labels linked to the PRZ and pattern state.
────────────────────────────
RISK MODEL SETTINGS
Show Entry / SL / TP
Shows or hides the risk projection model.
Auto-Extend RM Lines / Labels
Extends Entry, SL, TP, and label positions automatically as new bars appear.
Show TP Zones
Shows or hides the colored target zones.
Auto-Extend TP Zones
Extends TP zone backgrounds automatically as new bars appear.
Max Active Risk Models
Limits the number of visible risk models.
Max Active TP Zone Sets
Limits the number of visible TP zone groups.
Level Projection Bars
Controls how far Entry, SL, TP, PRZ, and target zone objects are projected to the right side of the chart.
ATR Stop Multiplier
Controls the distance of the invalidation or stop reference using ATR.
TP1 Multiplier
Controls the first target projection.
TP2 Multiplier
Controls the second target projection.
TP3 Multiplier
Controls the third target projection.
Show TP3
Shows or hides the third target.
────────────────────────────
VISUAL SETTINGS
Show Connectors
Shows or hides the internal pattern connector lines.
Show Pattern Labels
Shows or hides the pattern name labels.
Show Ratio Labels
Shows or hides ratio information on the chart.
Neutral Color Theme
Uses a cleaner chart style with more neutral colors.
Bullish Color
Controls the color used for bullish structures.
Bearish Color
Controls the color used for bearish structures.
PRZ Color
Controls the color used for Potential Reversal Zones.
Risk Color
Controls the color used for invalidation or stop areas.
Target Color
Controls the color used for target zones.
────────────────────────────
DASHBOARD SETTINGS
Show Dashboard
Shows or hides the information panel.
Dashboard Position
Moves the panel to the selected chart corner.
Dashboard Detail Mode
Controls how much information appears inside the dashboard.
The dashboard can show:
* Last detected pattern
* Direction
* Score
* Status
* PRZ range
* Entry reference
* Invalidation level
* TP1, TP2, TP3
* Higher timeframe bias
* ATR regime
* Active PRZ count
* Active risk model count
* Extension status
────────────────────────────
CONTEXT SETTINGS
Use Higher Timeframe Bias
Adds a higher timeframe trend context to the dashboard or scoring logic.
Higher Timeframe
Selects the timeframe used for higher timeframe bias.
HTF EMA Fast
Defines the fast EMA used for higher timeframe trend reading.
HTF EMA Slow
Defines the slow EMA used for higher timeframe trend reading.
Use VWAP Context
Adds VWAP context when available on the chart.
Use ATR Regime
Adds volatility regime information based on ATR behavior.
────────────────────────────
ALERT SETTINGS
Alert New Pattern
Triggers an alert when a new valid pattern is detected. This is useful for scanning, but it should not be treated as a trade entry by itself.
Alert PRZ Touch
Triggers an alert when price reaches the PRZ.
Alert Confirmed Reaction
Triggers an alert when price reacts after interacting with the PRZ.
Alert High Score Only
Filters alerts so that only patterns above a selected score can trigger.
Alert Minimum Score
Sets the minimum score required for high-score alerts.
Alert TP Hits
Triggers alerts when TP1, TP2, or TP3 is reached.
Alert Failed Pattern
Triggers an alert when a pattern is invalidated.
Webhook Alert Mode
Allows dynamic alert messages to be used for automation workflows.
For cleaner alerts, it is generally better to focus on confirmed reaction alerts instead of raw new pattern alerts.
────────────────────────────
MINI TUTORIAL FOR BEGINNERS
────────────────────────────
1. Add the indicator to the chart.
2. Start with default settings.
3. Look for a clean pattern label and PRZ zone.
4. Do not treat a new pattern as an entry by itself. First, wait for price to reach or interact with the PRZ.
5. Check the pattern status:
* DETECTED means the structure exists.
* PRZ TOUCHED means price reached the reaction area.
* REACTION means the script detected a reaction condition.
* FAILED means the setup is invalidated.
* TP1, TP2, or TP3 means projected target areas were reached.
6. Check the dashboard:
* Pattern name
* Direction
* Score
* Status
* PRZ
* Invalidation
* Higher timeframe bias
* Volatility context
7. Compare the setup with your own chart reading:
* Is price near support or resistance?
* Is there liquidity nearby?
* Is the market trending or ranging?
* Is the pattern aligned with the higher timeframe?
* Is the invalidation distance acceptable?
8. Use alerts carefully. For cleaner signals, use confirmed reaction alerts rather than raw detection alerts.
────────────────────────────
EXAMPLE USE CASES
────────────────────────────
Example 1: Bullish harmonic reaction
A bullish harmonic pattern appears near a previous support area. Price enters the PRZ and prints a rejection reaction. The lifecycle status changes from DETECTED to PRZ TOUCHED, then to REACTION. The trader can use the PRZ, invalidation, and target levels as visual references for further analysis.
Example 2: Bearish pattern near resistance
A bearish pattern forms near a previous resistance area. Price reaches the PRZ and fails to continue upward. If a reaction is detected, the dashboard updates the status and shows the bearish context, invalidation level, and projected targets.
Example 3: Pattern invalidation
A pattern is detected, but price moves beyond the invalidation level. The script marks the pattern as FAILED. This helps separate invalidated setups from still-active ones.
Example 4: Scanning mode
A trader can enable alerts for new patterns to monitor multiple charts. In this mode, new pattern alerts are used only as early notifications. A second check is still needed before making any decision.
Example 5: Cleaner alert mode
A trader who wants fewer alerts can disable New Pattern and PRZ Touch alerts, then keep only Confirmed Reaction, TP Hits, and Failed Pattern alerts active.
────────────────────────────
BEST PRACTICES
────────────────────────────
Use lower tolerance for stricter pattern detection.
Use higher pivot depth to reduce noise.
Use the dashboard to confirm the pattern state before focusing on the setup.
Use confirmed reaction alerts for cleaner notifications.
Avoid using the indicator alone. Combine it with market structure, support and resistance, liquidity areas, session context, and personal risk management.
Test the indicator on different symbols and timeframes before relying on it for live decisions.
────────────────────────────
LIMITATIONS
────────────────────────────
This script is an indicator, not a strategy.
It does not place orders.
It does not provide financial advice.
It does not guarantee profitable results.
Patterns can fail.
Alerts depend on the user’s TradingView alert settings.
Pivot-based tools confirm structures after enough bars have passed, so they should be understood as confirmation tools, not instant prediction tools.
Signals may be less reliable during low liquidity, high spread, major news, or highly erratic market conditions.
مؤشر

مؤشر

Key LevelsHere's a publication description you can drop into TradingView:
---
**Key Levels + Battle Line**
A clean intraday levels indicator that maps the day's most-watched price reference points and identifies the central level bulls and bears are fighting over.
At the 9:30 cash open, the script locks in and plots seven key levels, each extending fully across the chart:
- **Premarket High / Low** — the range built before the open
- **Yesterday's High / Low / Close** — prior-session reference points
- **Premarket Mid** and **Yesterday Mid** — the equilibrium of each range
It then calculates a **Battle Line** — the central pivot of the whole structure. You can set this to either the *range equilibrium* (midpoint between the highest and lowest key level) or a *5-level average* (mean of premarket high/low and yesterday's high/low/close), which behaves more like a center-of-gravity pivot. The idea is simple: price tends to chop around this line while neither side has control, and a decisive break tends to resolve in that direction.
When price closes through the Battle Line, the indicator marks the break with an arrow and flips the directional bias — close above for bullish, close below for bearish. By default, breaks are confirmed on the bar **close** rather than wicks, so you're reacting to commitment rather than noise. An optional background shade colors the session by current bias, and built-in alerts fire on each break.
**Settings**
- Fully adjustable premarket and regular session times plus timezone (default 9:30 = US cash open)
- Toggle any level on or off
- Custom colors, line widths, and label offset
- Choose the Battle Line basis and switch break confirmation between close and wick
- Optional break arrows and bias background shading
**Notes**
- Designed for intraday timeframes; built and tested on 15-minute charts
- Yesterday's values are pulled from the daily timeframe
- Levels anchor at the open, so load a recent regular-session day to see them
This is an analysis tool, not financial advice. Always confirm setups with your own plan and risk management. مؤشر

Daily Cloud Roadmap by TenAMTraderDaily Cloud Roadmap by TenAMTrader
The Daily Cloud Roadmap is a multi-layer EMA cloud indicator designed to help intraday traders navigate price action using daily exponential moving average structure. Rather than plotting single EMA lines, each cloud is formed by a pair of EMAs, giving you a zone of confluence instead of a hard line — making it easier to read where price is relative to key daily levels, regardless of what timeframe you're trading on.
Five cloud layers are included by default:
Cloud 1: 8/9 EMA (short-term momentum)
Cloud 2: 13/14 EMA (near-term trend)
Cloud 3: 20/21 EMA (intermediate trend)
Cloud 4: 34/35 EMA (medium-term structure)
Cloud 5: 48/55 EMA (longer-term structure)
Each cloud changes color dynamically based on whether the shorter EMA is above or below the longer EMA, giving an at-a-glance read on the trend state of each layer. All periods, colors, and timeframes are fully customizable.
Additional features include:
Configurable EMA source and timeframe (defaults to Daily)
Optional EMA lines on top of each cloud
Optional ATR-based TP/SL bands anchored to any EMA
Optional smoothing for cleaner visuals on lower timeframes
How to use it:
Load it on any intraday chart — 1m, 5m, 15m, etc. — and the clouds will reflect the daily EMA levels, giving you a roadmap of where the significant daily structure sits as you trade intraday. Look for reactions at cloud edges, confluences between cloud layers, and color shifts as potential areas of interest.
⚠️ Disclaimer:
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any security or financial instrument. Past performance of any trading strategy or methodology is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors. You are solely responsible for your own trading decisions. TenAMTrader and the developer of this script accept no liability for any losses incurred as a result of using this indicator. Always conduct your own due diligence and consult a licensed financial advisor before making any trading decisions.
مؤشر

مؤشر

مؤشر

Market Structure (BOS / CHOCH), Advanced & ImprovedMarket Structure (BOS / CHOCH)
A clean, dual-layer market structure tool that labels Break of Structure and Change of Character from a single, internally consistent trend engine, then projects the resting liquidity those swings leave behind.
The core idea
BOS and CHOCH are the same break. What separates them is direction relative to the current trend, so this script tracks one trend state and derives the label from it:
BOS (Break of Structure) : price breaks a swing level in the direction of the trend. Continuation.
CHOCH (Change of Character) : price breaks a swing level against the trend. Reversal, and it flips the trend state.
Because both signals come from one state machine, you never get contradictory labels: a break with the trend is always BOS, a break against it is always CHOCH.
Dual-layer structure
The engine runs twice at the same time:
Swing structure (longer pivot length) : the major skeleton, drawn bold, with trailing watched-level lines and HH / HL / LH / LL swing labels.
Internal structure (shorter pivot length) : the minor continuation breaks inside each swing leg, drawn thin and faded so they read as secondary.
This lets you see a minor bullish BOS unfolding inside a major downtrend, which is the context most single-length tools miss.
Liquidity pools
Every unbroken swing high (buy-side) and swing low (sell-side) is projected to the right as a resting liquidity line, and removed the moment price wicks through it. What stays on screen is only live, untaken liquidity, the levels most likely to be targeted next.
Features
BOS / CHOCH detection with a single coherent trend state
Dual-layer swing and internal structure
Trailing lines marking the exact levels currently being watched
HH / HL / LH / LL swing labels, color coded by structural meaning
Buy-side and sell-side liquidity pools with auto removal on sweep
Top-right trend table showing the swing and internal trend state
Close or Wick break confirmation
Eight alert conditions: swing and internal, BOS and CHOCH, bullish and bearish
Inputs
Swing length and Internal length : pivot lookback for each layer. Lower values catch more structure, higher values show only major moves.
Break confirmation : Close requires a close beyond the level, Wick accepts any wick beyond it.
Toggles for BOS, CHOCH, active levels, swing labels, liquidity, internal layer and the trend table.
How to use
Trade with the swing trend, use internal CHOCH for early reversal warnings and internal BOS for continuation entries.
Watch the liquidity pools as targets, a sweep of one followed by a CHOCH in the opposite direction is a classic reversal setup.
Tune the swing length to your timeframe so the major structure matches the moves you actually trade.
Notes
Swing pivots confirm a fixed number of bars after they print, which is inherent to all structure tools and not repainting. On the live, unclosed bar a break can update until the bar closes, so set alerts to "Once Per Bar Close" for confirmed signals.
This script is a market analysis tool, not financial advice. Always do your own research and manage risk. مؤشر

مؤشر

SCALP AIThis script is a collection of various trading concepts and indicators integrated into a single Pine Script file. I would like to express my sincere gratitude to the original authors whose work, ideas, and components made this compilation possible.
Core Functionalities
Dashboard & AI Scoring System:
Features a configurable dashboard showing real-time market data.
Uses a proprietary scoring mechanism based on trend analysis (EMA 20/200), RSI, volume, VWAP, ADX, and Multi-Timeframe (MTF) alignment to output signals ("A+ SETUP" to "NO TRADE").
Trend & Filter Analysis:
Uses Exponential Moving Averages (EMA) to identify trends and simple moving averages (SMA 9, 20, 89, 200) for visual filter support.
Color-coded bar highlights based on short-term EMA 9 trends.
Session Engine:
Tracks specific market sessions (NY, London, Asia, US Pre-market) with visual markers on the chart.
Includes alerts for upcoming session starts.
Levels & Price Action:
Automatically plots Daily Open, High of Day (HOD), and Low of Day (LOD) levels with extendable lines.
Features an advanced Supply & Demand zone detection system that ranks zones based on strength, mitigates broken zones, and visualizes zone strength using bar-based meters.
Multi-Timeframe Data:
Integrates multiple daily EMAs (3, 9, 20, 50, 100, 200) to help gauge long-term momentum alongside the short-term scalping logic.
The script leverages complex array structures to manage active supply and demand zones, ensuring that invalid or "broken" zones are removed from the chart, while keeping the most relevant ones ranked by a calculated score. It also utilizes request.security for multi-timeframe data fetching to provide a broader context for the current chart timeframe. مؤشر
