volumes candlesIn volume candles, if the body is 2x, it appears in blue color; otherwise, it appears in red.”אינדיקטורמאת sudhakar_kb13
Riemannian Dreamer Manifold Engine (RDME)Riemannian Dreamer Manifold Engine (RDME) Advanced Geometric and Predictive Modeling System Where Differential Geometry and Adaptive Models Analyze Market Dynamics 🎓 THEORETICAL FOUNDATION The Riemannian Dreamer Manifold Engine (RDME) represents a paradigm shift in market analysis, modeling the market as a living, curved geometric space. It is built upon four distinct but interconnected pillars: Riemannian geometry for market state, an adaptive wave system for structural analysis, a siege engine for level interaction, and a predictive model that simulates future possibilities. 📐 PILLAR 1: RIEMANNIAN METRIC & RICCI CURVATURE Market as a Manifold: RDME conceptualizes the market not as a flat plane, but as a dynamic 3-dimensional Riemannian manifold. Each point in this space is defined by three coordinates: Pressure , Health , and Liquidity . Price travels along geodesics (the straightest possible paths) on this evolving surface. The curvature of this manifold reveals the market's underlying state and areas of stress or expansion. Ricci Curvature Calculation: The engine estimates the Ricci scalar curvature (R) to classify the market's local geometry, providing a mathematical basis for regime detection: R ≈ ∂²(vol_of_vol) / ∂t² − E Positive Curvature (R > 1.2): Spherical geometry. Indicates market contraction, stress, and high-probability reversal zones. Negative Curvature (R < -1.2): Hyperbolic geometry. Signifies market expansion, confidence, and sustainable trend continuation. Zero Curvature (R ≈ 0): Euclidean (flat) geometry. Represents a random walk or low-conviction environment. 🌊 PILLAR 2: ADAPTIVE WAVE TOKEN SYSTEM Hurst Exponent Integration: The system employs Rescaled Range (R/S) analysis to calculate the Hurst exponent (H), which dynamically modulates the pivot length for swing detection. This makes the wave analysis self-adapting to the market's "personality." H = log(R/S) / log(n) H > 0.5 (Persistent): The market is trending. The pivot length contracts to identify emerging waves quickly. H < 0.5 (Anti-persistent): The market is mean-reverting. The pivot length expands to filter out noise and focus on significant turns. Wave Token Generation: Each confirmed swing generates a ' Wave Token ,' a rich data structure containing over 18 features. This includes price/time data plus a deep analysis of the underlying order flow, such as delta efficiency , absorption rate , POC shift , value area acceptance , conviction , exhaustion , and trap risk . This tokenized data forms the basis for the Elliott Wave grammar analysis. 🏰 PILLAR 3: SIEGE ENGINE — STRUCTURAL GEOMETRY Dynamic Level Analysis: The Siege Engine identifies critical structural levels by projecting dynamic trendlines from consecutive swing points. It then scans for price interactions (sieges) within an ATR-scaled tolerance band. Siege Metrics Calculation: For each siege zone, the engine computes: Hit Count & Energy Decay: Measures how many times a level has been tested and if its strength is diminishing. Delta Alignment: Confirms if order flow supports or rejects the level. Break/Fail Probability: Calculates the likelihood of a level breaking or holding based on a combination of decay, pressure, and delta. Third-Push Detection: Identifies classical exhaustion patterns at key structures. 🤖 PILLAR 4: DREAMER ADAPTIVE WORLD MODEL Predictive World Model: The Dreamer is a linear world model that learns the market's dynamics. It predicts the next bar's manifold coordinates from the current state. ŝ(t+1) = W · s(t) + b The error between its prediction and reality drives learning, novelty detection (regime change), and plasticity (learning rate). Imagination and Policy Optimization: Imagination Rollouts: The Dreamer simulates thousands of potential future paths to evaluate the value of different actions. Group Relative Policy Optimization (GRPO): This is a policy optimization system that evaluates three action modes (Conservative, Neutral, Aggressive) by tracking the realized performance of its past trades. It learns which mode is most profitable in the current market and adjusts the signal threshold accordingly. 🔧 COMPREHENSIVE INPUT SYSTEM Core Manifold Group History Buffer (500-3000, Default: 1400): The number of bars of market data retained. Larger values provide deeper context for wave analysis at the cost of more memory. Max Wave Tokens (15-120, Default: 45): The maximum number of completed swings stored. The Elliott Wave mapper uses the last 5 tokens. Health Lookback (6-40, Default: 14): The window for calculating directional efficiency, a core component of the manifold. Liquidity Windows (Fast: 3-20, Slow: 10-80): Defines the lookback periods for short-term and long-term order flow (delta) accumulation. Z-Score Lookback (20-200, Default: 60): The normalization period for all internal features, ensuring the system is self-adapting across different assets. Hurst Period (30-200, Default: 80): The lookback for the Hurst exponent. A key parameter for adapting the swing detection to market conditions. Swing Pivots (Base: 2-20, Min: 2-20, Max: 3-40): Controls the base sensitivity and allowable range of the Hurst-modulated pivot detector. Footprint Group Ticks Per Row (Min: 1, Default: 100): Sets the tick resolution for footprint data. If footprint data is unavailable, the system falls back to an OHLCV proxy. Value Area % (1-99, Default: 70): Defines the percentage of volume to be included in the Value Area calculation. Dreamer Predictive Engine Group Base Model Threshold (Default: 2.1): The master sensitivity control. This is the minimum triadic verdict score required to register a trade, before GRPO adjustments. World Model LR (Default: 0.009): The base learning rate for the Dreamer's world model. This is internally scaled by plasticity, accelerating learning in novel market conditions. Imagination Depth (3-14, Default: 6): How many bars into the future the Dreamer simulates during its rollouts. GRPO Eval Horizon (5-50, Default: 16): The number of bars after which a registered trade job is evaluated for its profit/loss, feeding the policy optimizer. GRPO Update Frequency (1-50, Default: 9): How often the GRPO policy updates based on newly evaluated trade jobs. Max Active Jobs (1-30, Default: 12): The maximum number of concurrent trade jobs the predictive engine can track. 🎨 ADVANCED VISUAL SYSTEM Riemannian Manifold Field Visualization The core of the visual system, this multi-layered field represents the local geometry of the market. It expands in hyperbolic (trending) regimes and contracts in spherical (reversal) regimes, creating dynamic zones of potential support and resistance that are derived from the market's mathematical state. Wave Grammar & Elliott Mapper The Adaptive Wave Token system plots lines for each swing, with thickness indicating the wave's degree. When a high-probability 5-wave impulse or 3-wave correction is detected, it is automatically labeled ('1'-'5' or 'A'-'C'), providing clear structural context. Labels include critical data like ' Wave 3 Authority ' and ' Wave 5 Terminal Risk ' percentages. Siege Corridors When the Siege Engine identifies a structural test in progress, it projects a corridor onto the chart. This visualizes the dynamic trendline and its ATR-based tolerance zone, highlighting areas of intense price negotiation. Dreamer Model Projections The Dreamer visualizes its highest-conviction future path as a projection arrow, pointing from the current price to its expected location after the 'Imagination Depth' period. A cone of uncertainty visualizes the model's confidence, widening as confidence decreases. Geodesics and Parallel Transport Geodesic Paths: Dotted lines represent the 'straightest possible path' on the curved manifold, acting as a dynamic, geometrically-derived moving average. Parallel Transport Particles: Flowing particles around price provide a visual representation of market energy and directional intent on the manifold. Curvature-Driven Background The chart background subtly changes color to reflect the dominant geometric regime, providing at-a-glance context: Green (Spherical): Contracting, reversal-prone market. Red (Hyperbolic): Expanding, trending market. Blue (Corrective): A valid corrective wave structure is active. 📊 INSTITUTIONAL-GRADE DASHBOARD Manifold Field Section Primary Structure: Displays the current highest-scoring wave pattern (BULL IMPULSE, BEAR IMPULSE, CORRECTION). Score: The confidence score (0-100) of the primary structure. Terminal Risk: For impulse waves, shows the calculated risk of exhaustion in the fifth wave. Ricci & Regime: Displays the real-time Ricci curvature value and the resulting geometric regime (HYPERBOLIC, SPHERICAL, FLAT). Triadic Verdict: The combined score from the Pressure, Health, and Liquidity manifold dimensions. Dreamer Model Section WM Accuracy: The current accuracy of the Dreamer's world model in predicting market dynamics. Plasticity: How quickly the model is learning; high plasticity indicates a regime change. Policy C/N/A: Shows the GRPO-learned probabilities for Conservative, Neutral, and Aggressive action modes. Best Action: The action mode the Dreamer currently prefers based on its simulations. Threshold: The current, GRPO-adjusted threshold the triadic verdict must exceed for a signal. Token State & Footprint Section Last Token: Key metrics from the most recently completed wave, including direction and magnitude. ΔEff (Delta Efficiency): Shows how effective the order flow was in moving price during the last wave. Absorption & Exhaustion: Real-time display of absorption and exhaustion percentages within the last wave. Siege B/F: Displays the calculated Break and Fail probabilities for the structure tested in the last wave. Footprint Status: Confirms if the system is using live footprint data or the OHLCV proxy, and displays the current bar's delta. 🎯 SIGNAL GENERATION LOGIC Confluence of Pillars RDME signals are not based on a single condition but on a confluence across all four pillars , ensuring a holistic view of the market: Manifold Geometry: The underlying Ricci curvature must support the trade's direction (e.g., hyperbolic expansion for a trend-following signal). Wave Structure: The Elliott Wave mapper must identify a high-probability impulse or corrective structure that provides context for the trade. Siege Engine: The interaction with key structural levels must confirm the trade's thesis (e.g., a breakout with high break probability). Dreamer's Verdict: The world model must project a favorable future value (positive expected FV) for taking the trade, and the triadic verdict must exceed the GRPO-adjusted threshold. Signal Philosophy The system embodies a philosophy of patience and precision. It is designed to filter out low-conviction noise and highlight only those moments where the mathematical, structural, and predictive models of the market are in deep alignment. 🚀 ADVANCED TRADING STRATEGIES The Geometric Convergence Method This strategy focuses on entering trades when geometric and structural signals align. Wait for price to approach a key level identified by the Siege Engine while the manifold is in a favorable state (e.g., spherical curvature near a support level for a long). The entry is confirmed when a high-scoring Wave Token and a supportive Dreamer projection align. The Regime Transition Strategy This involves trading the shift between geometric states. An entry can be planned when the Ricci curvature crosses its threshold, indicating a shift from a flat/contracting market to an expanding (hyperbolic) one. This strategy aims to capture the beginning of new, powerful trends. The Wave Grammar Momentum Strategy Focus on high-probability impulse waves. After the system identifies a Wave 1 and a Wave 2, a trader can look to enter during Wave 3, which is often the strongest. The entry should be validated by high 'Wave 3 Authority' metrics on the dashboard, indicating strong underlying order flow. The Siege Engine Break/Fade Strategy Utilize the Siege Engine's break/fail probabilities. For a breakout trade, look for a high break probability (>70%) coupled with strong delta alignment. For a fade trade, look for a high fail probability at a key level, often confirmed by a 'third-push' exhaustion flag and high absorption in the Wave Token data. ⚖️ RESPONSIBLE USAGE AND LIMITATIONS Understanding Model Boundaries Topology Changes: Markets are complex systems. Sudden, un-modeled events can cause the manifold's geometry to "tear," leading to unpredictable behavior. No Guarantees: This is a sophisticated decision-support tool, not a crystal ball. It provides a probabilistic edge, not certainty. Data Dependency: The highest quality analysis requires footprint data. While the OHLCV proxy is robust, performance may vary. Risk Management is Paramount The mathematical sophistication of RDME is not a substitute for disciplined risk management. Always use proper position sizing, stop-loss orders, and trade within a well-defined personal trading plan. 🔮 CONCLUSION The Riemannian Dreamer Manifold Engine is more than an indicator; it is a new lens through which to view the market. It moves beyond traditional price-and-time analysis to interpret the market as a dynamic, geometric object with learnable dynamics. By unifying differential geometry, adaptive wave theory, structural analysis, and a sophisticated adaptive world model, RDME provides a comprehensive and deeply contextual view of market behavior. It translates the abstract language of advanced mathematics into intuitive visualizations and high-probability trading signals, empowering traders to navigate the complexities of modern markets with unprecedented insight. Trade with geometric context. Trade with computational foresight. Trade with the RDME. — Dskyzאינדיקטורמאת DskyzInvestments159
Session Confluence Tracker [JOAT]Session Confluence Tracker Introduction The Session Confluence Tracker is an open-source overlay indicator that monitors the Asian, London, and New York trading sessions simultaneously, tracking each session's high and low, counting consecutive bullish or bearish sessions (streaks), detecting overstretch conditions, and identifying confluence zones where multiple sessions share overlapping price levels. It gives traders a structured view of how liquidity develops across the global trading day and where institutional interest is concentrating. Built with Pine Script v6, the indicator uses custom types for session data, streak tracking, confluence zones, session momentum, session gaps, and session pivots. Why This Indicator Exists Session-based analysis is a cornerstone of institutional trading. Different sessions have distinct characteristics — the Asian session often establishes a range, London tends to break that range, and New York frequently continues or reverses the London move. However, most session indicators simply draw boxes around session times. This indicator goes further by: Streak analysis: Counts how many consecutive sessions have been bullish or bearish, revealing directional persistence that simple session boxes cannot show Overstretch detection: Compares the current session's range to its historical average. When a session extends significantly beyond its norm (configurable ratio, default 1.5x), it flags a potential exhaustion point Confluence detection: Identifies price levels where two or more sessions share overlapping highs or lows within a configurable tolerance, highlighting zones of multi-session institutional agreement Session momentum: Tracks the directional strength within each session, not just whether it closed up or down Gap detection: Monitors gaps between session closes and opens, which often act as magnets for price Core Components Explained 1. Multi-Session Tracking The indicator tracks three configurable sessions with default times aligned to major global markets: Asian Session: Default 1800-0300 (EST) — typically the lowest volatility, range-setting session London Session: Default 0300-1130 (EST) — the highest volume session, often sets the daily direction New York Session: Default 0800-1600 (EST) — overlaps with London for the most liquid period of the day Each session is tracked independently with its own high, low, open, close, and volume data. Session boundaries are drawn as colored boxes on the chart, and session highs/lows extend as horizontal lines until the next session begins. 2. Streak Analysis The streak engine counts consecutive bullish (close > open) or bearish (close < open) sessions for each market. This reveals directional persistence that is invisible on a standard chart: if sessionClose > sessionOpen streakData.bullCount += 1 streakData.bearCount := 0 else streakData.bearCount += 1 streakData.bullCount := 0 When a streak reaches the minimum threshold (default 3 consecutive sessions), it is highlighted on the chart. Long streaks in a single direction often precede reversals, while the start of a new streak can confirm a trend change. 3. Overstretch Detection Overstretch occurs when a session's range significantly exceeds its historical average. The indicator calculates the average session range over a lookback period and compares the current session's range against it: Overstretch ratio >= 1.5x: The session has extended well beyond its norm — potential exhaustion Overstretch ratio >= 2.0x: Extreme extension — high probability of mean reversion Overstretch signals are plotted as markers above or below the session, giving traders a visual warning that the session may be running out of steam. Chart showing three session boxes (Asian in purple, London in blue, New York in green) with streak counts displayed, overstretch markers on an extended London session, and confluence zones where session levels overlap 4. Confluence Zone Detection When the high or low of one session falls within a configurable ATR-based tolerance of another session's high or low, the indicator identifies a confluence zone. These zones represent price levels where multiple sessions have found significant support or resistance: tolerance = atrVal * confluenceTolerance if math.abs(session1High - session2High) < tolerance confluenceStrength += 1 Confluence zones are drawn as highlighted horizontal bands on the chart. The strength of the confluence (how many sessions agree) determines the visual intensity. A zone where all three sessions share a similar level is considered the strongest form of multi-session agreement. 5. Session Momentum and Gaps Session momentum measures the directional conviction within each session using the relationship between the close and the session's range. A session that closes near its high has strong bullish momentum; one that closes near its low has strong bearish momentum. Session gaps — the difference between one session's close and the next session's open — are tracked and visualized. These gaps often act as magnets, with price tending to fill them during the subsequent session. Visual Elements Session Boxes: Colored boxes marking each session's time range and price range Session High/Low Lines: Horizontal lines extending from each session's extremes Streak Labels: Counts displayed at session boundaries showing consecutive bullish/bearish sessions Overstretch Markers: Warning signals when a session extends beyond its historical norm Confluence Zones: Highlighted bands where multiple sessions share price levels Session Gaps: Visual markers showing gaps between session close and next session open Background Coloring: Subtle session-based background tinting Dashboard: Real-time display of each session's status, streak counts, overstretch ratios, and confluence strength Input Parameters Session Settings: Toggle each session (Asian, London, New York) independently Custom session times for each market Custom colors for each session Streak Detection: Min Streak Count (default 3): Minimum consecutive sessions to highlight Overstretch Ratio (default 1.5): Threshold for overstretch detection Confluence Detection: Confluence Tolerance (ATR-based, default 0.5): How close session levels must be to count as confluent Min Confluence Strength (default 2): Minimum number of agreeing sessions Advanced Features: Show Session Momentum, Volume Profile, Gaps, Pivots Visual Settings: Max Days Back (default 5): Limit historical session display for performance Show Session Boxes, Dashboard, Glow Effects, Pulse Effects, Gradient Fill, Confluence Animation Timezone selection How to Use This Indicator Step 1: At the start of your trading day, review the Asian session range. This range often defines the battlefield for London and New York. Note the Asian high and low as key levels. Step 2: As London opens, watch for a break of the Asian range. A decisive break with volume often sets the daily direction. Check the streak count — if London has been bullish for 4+ consecutive sessions, be cautious of a reversal. Step 3: Monitor overstretch conditions. If London extends 1.5x or more beyond its average range, the move may be exhausted. This is especially relevant if the overstretch occurs at a confluence zone. Step 4: Look for confluence zones. A price level where the Asian high aligns with a previous London low is a zone of multi-session institutional interest. These levels often produce strong reactions. Step 5: During New York, check for session gaps from the London close. Price frequently fills these gaps early in the New York session. Step 6: Use the dashboard for a quick overview of all sessions, streaks, and confluence strength. Dashboard view showing Asian, London, and New York session statistics including streak counts, overstretch ratios, momentum readings, and confluence strength score Indicator Limitations Session times are based on exchange time or a configurable timezone. Ensure your timezone setting matches your intended market hours. Streak analysis requires sufficient historical data. On newly listed instruments or very high timeframes, streak counts may be limited. Overstretch detection uses historical averages, which can be skewed by outlier sessions (e.g., major news events). Confluence zones are based on proximity of session levels, not on the reason those levels formed. Not all confluences will produce reactions. The indicator is most useful on intraday timeframes (1m to 1H) where session boundaries are meaningful. On daily or weekly charts, session tracking is less relevant. Session overlap periods (London/New York) can produce complex price action that is harder to attribute to a single session. Originality Statement This indicator is original in its multi-session analytical framework. While session boxes and session high/low indicators exist, this indicator is justified because: Streak analysis across multiple sessions provides a directional persistence metric not available in standard session tools Overstretch detection compares current session range to historical norms, adding a statistical dimension to session analysis Multi-session confluence detection identifies price levels where institutional interest from different global markets converges Session momentum tracking quantifies the directional conviction within each session, going beyond simple bullish/bearish classification Gap tracking between sessions highlights potential price magnets that standard session indicators ignore The unified dashboard presents all three sessions' metrics simultaneously for rapid cross-session analysis Disclaimer This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Session analysis is a framework for understanding market structure across time zones, not a guarantee of future price movement. Always use proper risk management. The author is not responsible for any losses incurred from using this indicator. -Made with passion by officialjackofalltrades אינדיקטורמאת officialjackofalltrades31
BSP Divergence StatsEvery candle tells two stories: what the price did, and what the volume pressure did. Most of the time they agree. When they disagree, that's the signal. The indicator splits each candle into sub-candles (1m + 2m by default) and calculates two metrics per sub-candle: Buying Pressure (BP) — how much of the move was driven by buyers, measured either as price distance (close - min(low, prev_close)) or as volume-weighted buy flow (volume × (close-low) / (high-low)). Selling Pressure (SP) — the mirror: how much selling force was present this candle. Both are smoothed with HMA(2) — fast enough to react intrabar, smooth enough to filter noise. The 4 signals 🟣 Bull Divergence — price closed higher than previous bar, but BP fell. The upward move happened without buying support. This is a weak candle — buyers are exhausting. Historically tends to precede a pullback. 🟠 Bear Divergence — price closed lower, but SP fell. The selloff lost its fuel. Sellers are giving up. Historically tends to precede a bounce. 👁 Hidden Buy — candle is red (price fell) but the DV ratio shows buyers actually dominated the volume. Smart money was accumulating into the drop. Price direction was misleading. 👁 Hidden Sell — candle is green but sellers dominated volume. Distribution into strength. The move up was absorbed by smart selling. How to read the table The table has two sections that update every tick: Current Candle shows what is happening right now inside the forming bar — the live buy/sell direction, the ratio of buying vs selling volume, whether BP and SP momentum are rising or falling, and which signal (if any) is active. Next Candle Bias is a weighted score of all 6 factors converted to a probability. A reading of 72% UP means the current conditions have historically preceded an up candle 72% of the time in the last N bars. The score bar shows the raw strength, and the driver line tells you which factor is dominating the prediction. The historical edge lines at the bottom (Bull Div hist: ↑38% ↓62%) are the most honest part of the indicator — they show the actual back-tested outcome for the exact signal currently active on this instrument and timeframe. How to use it Step 1 — Check the signal color. A purple or orange candle means pressure diverged from price. A faint green or red means hidden flow. No color means no signal — trade normally. Step 2 — Check the table. Look at the Current Candle section. Is BP rising or falling? Is there a Hidden signal active? These tell you the quality of the current move. Step 3 — Check Next Candle Bias. Only act on signals where the bias is above 60% and the historical edge confirms it. A 72% UP bias with H.Buy hist: ↑68% ↓32% is a meaningful edge. A 55% UP with LOW confidence is noise. Step 4 — Read the label. Every colored candle gets a label showing the signal type and its historical next-bar statistics. This is your quick reference without opening the table. Settings guide SettingRecommendationSub TF 1 / TF 2Should be smaller than your chart TF. On 5m chart: 1m + 2m. On 15m: 3m + 5m. On 1H: 10m + 15mLookback100 bars is a good default. Lower = more responsive to recent regime. Higher = more statistically stablePressure ModeDelta Volume is more reliable on liquid instruments with real volume data. Pressure mode works on any instrumentLabel SizeUse tiny on busy charts, small or normal when you want to read the stats clearly What it is not This is a pressure and flow indicator, not a trend indicator. It does not tell you where price is going in the big picture — only whether the current candle's internal mechanics are consistent with its direction. Use it alongside a trend filter or support/resistance levels for best results. A Hidden Buy signal in a strong downtrend is a scalp opportunity, not a reversal trade.אינדיקטורמאת RafaelZioni11102
Trade Levels - Entry, Trims & StopA clean, fully configurable trade planning overlay for scalpers, day traders, and swing traders on any instrument — Futures, Forex, Crypto, Equities, and Indices. Set your entry price, define your risk parameters, and instantly visualize every critical level on the chart before and during a trade. 🔑 Key Features Entry Line — White reference line at your exact entry price, labeled with direction (Long/Short) Stop Loss — Plots your maximum loss level at a defined distance from entry Take Profit — Plots your full target with a live R:R ratio calculated automatically 3 Independent Trim Levels — Each trim can be placed on the Profit Side OR Loss Side of your entry, allowing you to plan early exits in either direction (e.g., trimming before max loss) Zone Fills — Translucent color fills between Entry → Stop and Entry → Target for instant visual clarity Info Table — A real-time summary table (top-right corner) showing all prices and distances at a glance Full Alert Integration — alertcondition() support for all 5 levels: Stop, Take Profit, Trim 1, Trim 2, and Trim 3 ⚙️ Settings Overview Group What You Set 📍 Entry Settings Entry price, Long/Short direction, Points or Ticks mode 🔴 Stop Loss Points/Tick Distance from entry, line color 🟢 Take Profit Points/Tick Distance from entry, line color ✂️ Trim 1 / 2 / 3 Enable toggle, Profit or Loss side, Points/Tick distance, trim size %, color 🔔 Alerts Toggle alerts on/off per level ⚙️ Display Labels, R:R visibility, zone fills, table, line style, label size 📐 Points vs. Ticks Switch the Unit Mode under Entry Settings between: Points — Native price units (e.g., 10 = 10 full points on NQ) Ticks — Minimum tick increments (e.g., on NQ: 1 point = 4 ticks, so 40 ticks = 10 points) The indicator uses syminfo.mintick to auto-convert, so it works accurately on any symbol. ✂️ Loss-Side Trims Explained Most indicators only allow trims in the profit direction. This tool lets you place a trim on the Loss Side of your entry — meaning you scale out of part of your position before reaching your full stop. This is a common risk management technique used by professional futures and forex traders to reduce average loss on losing trades. To use it: enable a Trim, set Side → Loss Side, and dial in the distance. The label will display as "LOSS TRIM" to visually distinguish it from profit-side trims. 🔔 Setting Up Alerts Click the Alerts bell icon on the TradingView toolbar Click "+" → Create Alert Under Condition, select "Trade Levels — Entry, Trims & Stop" Choose a level: Stop Loss Hit, Take Profit Hit, Trim 1, Trim 2, or Trim 3 Set your notification method (popup, sound, mobile push, or webhook) Click Create 📌 Tips for Scalpers Set your entry price before you take the trade so the levels are pre-drawn when your order fills Use Loss-Side Trim 1 to take off 25–33% of your position if price moves against you early — this lowers your average loss significantly over time The live R:R ratio on the TP label updates instantly as you adjust your distances — use it to ensure you never take a sub-1:1 trade Works on all timeframes and all instruments — ES, NQ, MNQ, EUR/USD, BTC, SPY, anythingאינדיקטורמאת birdmanx158
volatility indicator This indicator uses ATR, VIX, EMA 25, along with bands and background color.אינדיקטורמאת sudhakar_kb9
Institutional Footprint Divergence Engine🔹 Introduction This indicator, the Institutional Footprint Divergence Engine, attempts to identify moments where price action and genuine order flow diverge — a condition that historically precedes reversals driven by smart money absorption and distribution. The core idea is this: if price makes a new swing high but the underlying buy-sell delta is contracting, the market is printing a higher high on less aggressive buying pressure, suggesting the move is being distributed into rather than genuinely accumulated. The inverse is equally meaningful at lows. Unlike traditional divergence indicators that use derivative oscillators like RSI or MACD as the proxy for momentum, this script uses volume delta — the direct arithmetic difference between buying and selling volume at the bar level — sourced natively from TradingView's newly released request.footprint() function where a Premium or Ultimate subscription is active. On standard charts, the indicator falls back to a tick-estimated delta approximation. The distinction matters, and I'll cover precisely why throughout this description. Every detected divergence is assigned a composite quality score from 0 to 100, computed across five weighted dimensions that assess the structural strength, volume context, cumulative delta alignment, and volatility regime at the moment of detection. Only divergences that clear a user-defined score threshold are displayed — filtering the noise that plagues most divergence tools. 🔹 The Premise — Why Delta Divergence Reveals Institutional Behavior 🔸 What volume delta actually measures Every transaction in a liquid market has a buyer and a seller. Volume delta measures the net directional aggression of those transactions: it is the sum of volume that traded at the ask (aggressive buying) minus the volume that traded at the bid (aggressive selling) within a single bar. A positive delta bar means buyers were more aggressive. A negative delta bar means sellers were more aggressive. This is categorically different from price direction. A bar can close higher while posting a negative delta — meaning price moved up, but sellers were the more aggressive counterparty throughout the move. This is the fingerprint of absorption: a large participant or group of participants quietly selling into rising price, absorbing aggressive buy orders without allowing the market to fall. They want retail to push price higher. They're using that momentum as liquidity to distribute their position. Delta divergence is the systematic detection of this condition across swing structures. 🔸 The mechanics of absorption at swing highs Assume price has been in an uptrend and just made a swing high at $4,200 with a delta of +850 contracts — strong buyer aggression confirming the high. Price retraces, then pushes up again to $4,215, printing a higher high. But this time, the delta is only +210. Price went higher. The aggressive buying volume did not. What does this tell you? The move to $4,215 required proportionally far less buyer aggression than the move to $4,200. Two possibilities explain this: either sellers are absorbing the buying (distribution), or organic buying interest is fading and the move is increasingly resting on passive limit sell orders being consumed by declining buy-side momentum. Either way, the structural message is identical — the higher high is not supported by the order flow that created it, and the probability of continuation has deteriorated meaningfully. This is the ICT and Smart Money Concepts concept of distribution rendered in order flow terms rather than price structure terms alone. 🔸 The symmetric argument at swing lows At swing lows, the bullish divergence condition is: price makes a lower low, but the negative delta at that low is less negative than the prior swing low. Less aggressive selling at a lower price. This is absorption at the demand side — large buyers accumulating into weakness, absorbing retail sell orders without allowing price to collapse further. The lower low prints because they let it — they need the price to be there to fill their orders. But the delta tells you that sellers were unable to drive the same aggression they managed at the prior low. Harris (2003), in his foundational text on market microstructure, describes this phenomenon as informed traders systematically positioning against the uninformed flow — using the uninformed participants' aggression as liquidity. Cont, Stoikov & Talreja (2010), in their research on limit order book dynamics, demonstrate empirically that large passive participants consistently exploit periods of high aggressive flow imbalance to establish positions at favorable prices. Delta divergence is not a leading indicator in the traditional sense. It is a coincident indicator of order flow context that becomes meaningful when paired with a confirmed swing structure. 🔸 Why native footprint data changes the calculus Prior to January 2026, Pine Script had no access to true intrabar volume distribution. Every "delta" calculation in TradingView scripts was an estimate — typically assigning the bar's total volume directionally based on close position within the bar's range, or using up/down tick counting approximations. These methods are reasonable proxies but they introduce systematic errors: a bar that closes at its midpoint with heavy two-way activity looks identical to a quiet, directionless bar. TradingView's request.footprint() function changes this entirely. It exposes the actual buy and sell volume recorded at each price level (row) within the bar — the genuine transaction-level data that footprint chart platforms like Sierra Chart and Bookmap have historically required separate subscriptions and data feeds to access. The delta returned by fp.delta() is not an estimate. It is the arithmetic difference between actual ask-side and bid-side transactions aggregated across the bar. This is the first time this data has been natively programmable in Pine Script, and IFDE is built specifically around it. 🔹 How It Works 🔸 Footprint Data and the Delta Fallback On a Premium or Ultimate TradingView account with a compatible symbol, request.footprint() returns a footprint object for each bar. IFDE calls fp.buy_volume() and fp.sell_volume() to get true directional volume, and fp.delta() for the bar's net delta. It also iterates every price row via fp.rows() and evaluates row.has_buy_imbalance() and row.has_sell_imbalance() — flagging bars where a disproportionate volume cluster exists at a specific price level, which often marks the precise price where institutional absorption occurred. When footprint data is unavailable (standard account or non-supported symbol), the indicator falls back to a tick-estimated delta: up-close bars assign 100% of volume to the buy side; down-close bars assign 100% to the sell side; inside bars distribute proportionally based on close position within the range. This fallback is clearly flagged in the status label as ⚠️ ESTIMATED. The divergence logic functions identically in both modes — only the precision of the underlying delta changes. The Ticks Per Footprint Row input controls the price granularity of the footprint: smaller values create more rows with finer resolution, larger values consolidate into fewer, broader rows. For index futures like ES and NQ, 4–10 ticks per row is typically appropriate. For crypto, you may need to experiment depending on the instrument's tick size. 🔸 Swing Pivot Detection The indicator uses Pine's native ta.pivothigh() and ta.pivotlow() functions to identify confirmed swing highs and lows. The Swing Pivot Length input defines the lookback and lookahead symmetry of the pivot — a value of 10 means a bar must be the highest high within 10 bars on both sides to qualify as a pivot. Higher values find more significant structural swings but introduce more lag. Lower values are more responsive but noisier. Critically, delta is sampled at the confirmed pivot bar using ta.valuewhen() — not at the current bar. This eliminates the most common repainting failure mode in divergence indicators: using the current bar's momentum reading to classify a past pivot. The delta value associated with each pivot is locked in the moment the pivot is confirmed. 🔸 Divergence Logic Each time a new pivot high is confirmed, IFDE compares it against the previous confirmed pivot high. If the current price is higher but the current delta is lower, a bearish divergence is registered. The same comparison runs at pivot lows for bullish divergence, where current price lower and current delta less negative triggers the signal. The Divergence Lookback setting controls the maximum bar distance between the two pivots being compared. Setting this too wide increases the chance of detecting structurally irrelevant comparisons — swings separated by 150 bars on a 5-minute chart may have no meaningful relationship. Setting it too tight misses legitimate multi-leg divergences. 40–60 bars is a reasonable starting point for most timeframes. 🔸 The ML Quality Score (0–100) This is the engine's core differentiating feature. Every detected divergence is not displayed by default — it must first pass a composite quality score threshold. The score is calculated across five weighted dimensions: Delta Magnitude is the most heavily weighted dimension by default (30%). It measures how extreme the opposing delta pressure is, normalised against the rolling maximum delta magnitude over the lookback window. A divergence where the delta is merely slightly less positive scores lower than one where the delta has completely reversed sign. Volume Confirmation (25%) assesses whether total bar volume at the divergence pivot is above the 14-bar average. Low-volume divergences are structurally weaker — the absorption signal requires meaningful participation to be credible. CVD Alignment (20%) checks whether the Cumulative Volume Delta — the running sum of all bar-level deltas, mean-reverted against its own moving average — is trending in the direction that supports the divergence. A bullish divergence at a price low carries far more weight when CVD has been quietly rising even as price made new lows. Price Structure (15%) scores the magnitude of the price swing itself, relative to the current ATR. A divergence across a 0.5 ATR swing scores lower than one across a 2.5 ATR swing. Trivially small swings produce trivially meaningful divergence signals. Regime Bonus (10%) applies a bonus or penalty based on the current volatility regime, described in detail below. The weights are fully user-configurable in the 🤖 ML Score Weights input group. Shifting weight toward CVD Alignment, for example, will make the score more conservative and context-dependent. Shifting weight toward Delta Magnitude makes it more responsive to extreme single-bar order flow events. The scores are normalised internally so they always sum to 100 regardless of how you distribute the weights. Only divergences scoring above the Min Quality Score threshold are displayed. The default of 55 is intentionally permissive to begin with. As you develop familiarity with the indicator on your instrument and timeframe, raising this to 65 or 70 will progressively filter toward only the highest-conviction setups. 🔸 Adaptive Regime Detection The indicator compares the current 14-period ATR against its own simple moving average over the Regime Detection Period to classify the current volatility environment into three states: HIGH VOLATILITY, NORMAL, and LOW VOLATILITY. In high volatility regimes, the score threshold is automatically scaled up by 20% — making it harder for a divergence to pass. This is because high-volatility environments produce frequent large delta swings that generate divergence signals with greater frequency but lower predictive value. The regime is tightening the filter precisely when noise is highest. In low volatility regimes, the threshold is scaled down by 15%. Quiet, low-volatility markets are where institutional accumulation and distribution most commonly occurs under the radar — smaller delta contrasts carry more informational weight when total market activity is compressed. The current regime and adjusted score floor are displayed in the status label in the top-left corner of the pane. A subtle background colour (green tint for low vol, red tint for high vol) is painted on the price chart to give continuous regime context at a glance. 🔸 The Pane Display The indicator runs in its own pane below the price chart, containing three visual elements: The delta histogram plots the smoothed EMA of bar-level delta as coloured columns — cyan for positive (net buying) and red for negative (net selling). The colour intensity scales with the magnitude of the delta relative to the recent maximum, so visually dominant bars correspond to the highest-conviction order flow readings. The CVD deviation line in yellow shows the cumulative volume delta minus its moving average baseline. This is more useful than raw CVD for divergence context because it removes the secular trend in cumulative flow and focuses on relative shifts — making it easy to spot when CVD is rising or falling against price. The zero line serves as the delta neutrality reference. Bars crossing from negative to positive delta, or vice versa, in the context of a divergence signal are particularly significant. On the price chart, divergence lines connect the two pivot points being compared, with opacity scaling to score strength — higher-scoring divergences are rendered more vividly. Labels mark each divergence with its star rating (★ for score 55–69, ★★ for 70–84, ★★★ for 85–100) and the actual score value, along with whether live footprint data or tick estimation is in use. 🔹 Settings Reference Swing Pivot Length — Controls pivot sensitivity. Lower = more signals, higher = more structural significance. Recommended: 8–15. Divergence Lookback — Maximum bars between the two pivots being compared. Recommended: 30–75. Min Quality Score — Score threshold below which divergences are hidden. Start at 55, tune upward as you calibrate to your instrument. Ticks Per Footprint Row — Footprint granularity. Only relevant with live FP data. Tighter rows = more precision, more computation. Delta Smoothing Period — EMA period applied to raw delta before divergence comparison. Smoothing reduces false triggers from single noisy bars. Recommended: 2–5. CVD Baseline Length — Period of the SMA used to mean-revert the cumulative delta. Shorter = more responsive CVD; longer = smoother trend. Alert Min Score — Score threshold for alert conditions. Set higher than the display threshold if you want alerts only for the strongest signals. 🔹 Closing Remarks Delta divergence is one of the few conditions in technical analysis that has a genuinely defensible mechanical explanation rooted in market microstructure — it is not a pattern-matching heuristic but a direct observation of the imbalance between aggressive buying and selling pressure across a swing structure. The availability of native footprint data in Pine Script for the first time makes it possible to build this kind of tool without the estimations and approximations that have historically compromised order flow analysis within TradingView. That said, this indicator is a probabilistic model, not a signal generator. A score of 90 does not mean the trade works. It means the order flow context at that divergence was unusually well-structured relative to the five dimensions measured. Markets can and do continue trending through well-formed divergences, particularly in strongly trending regimes where institutional participants are not distributing but rather re-accumulating on every pullback. The most effective use of IFDE is as a confluence filter — a condition that must be present alongside your existing structural, session, or macro framework before you engage a level. A bearish divergence at a weekly resistance level, in a high-volatility regime, scoring 82, with live footprint data showing 7 sell imbalance clusters, is a meaningfully different proposition than a 56-scoring divergence on estimated delta at a randomly selected intraday high. Use the score. Respect the regime. Verify the data source. The rest is your edge. 🔹 References Market Microstructure & Order Flow Harris, L. (2003). Trading and Exchanges: Market Microstructure for Practitioners. Oxford University Press. Cont, R., Stoikov, S., & Talreja, R. (2010). A stochastic model for order book dynamics. Operations Research, 58(3), 549–563. Volume and Delta Analysis Easley, D., & O'Hara, M. (1992). Time and the process of security price adjustment. Journal of Finance, 47(2), 577–605. Easley, D., Hvidkjaer, S., & O'Hara, M. (2002). Is information risk a determinant of asset returns? Journal of Finance, 57(5), 2185–2221. Institutional Order Flow & Smart Money Chordia, T., Roll, R., & Subrahmanyam, A. (2002). Order imbalance, liquidity, and market returns. Journal of Financial Economics, 65(1), 111–130. Grinblatt, M., & Keloharju, M. (2000). The investment behavior and performance of various investor types. Journal of Financial Economics, 55(1), 43–67.אינדיקטורמאת Resonant_Trader22202
Invention Levels- ASStocksThis Indicator Plots the important levels during the day E.g. The start the the asian Then start of the London and Then Start of the New york Session.אינדיקטורמאת ASstocks14
Rango Pre-Londres a NYMuestra el rango de las 22:00 a las 10:00 (Hora CDMX)אינדיקטורמאת CristopherGlmezמעודכן 3
SwingScan ProSwingScan Pro is a swing trade momentum scorer that rates each bar 0–100 across five factors: 1. Momentum — size of today's price move 2. Volume Surge — today's volume vs 10-bar average 3. Trend Position — where close sits in the day's range (penalises chasing) 4. Candle Quality — body/range ratio (conviction of the move) 5. R/R Setup — workability of the stop distance Signals fire when a stock scores above the minimum threshold (default 60). High confidence signals require a score of 80+. Each signal includes: - Entry zone - Stop loss (below day low) - Target 1 (2:1 R/R) - Target 2 (4:1 R/R) - Time estimate (1-3 days / 1-3 weeks / 3-8 weeks) Designed for daily timeframe swing trading. Use with TradingView Screener to scan across S&P 500 or NASDAQ for real-time setups.אינדיקטורמאת samals081812
369 Vector Equilibrium [DAFE]369 Vector Equilibrium Overview 369 Vector Equilibrium (369‑VE) is a geometric probability framework that evaluates market state through angular vector dynamics, pitchfork equilibrium structure, resonance clustering, and memory‑weighted outcome statistics. It combines four orthogonal structural factors: • 369 Angular Resonance • Gann Angle Alignment • Harmonic Pitchfork Proximity • Bubble Pressure Dynamics These factors are blended using Bayesian weighting and optionally refined by a memory‑based K‑Nearest‑Neighbor engine. The model does not predict price levels. It estimates structural alignment probability under current geometric conditions. 1. Vector Geometry Core The engine computes a directional vector from: • EMA‑based displacement • ATR‑normalized momentum • Rotational offset (Base Angle) Vector angle is normalized to 0–360° and compared against: • 369 angular divisions • User‑defined Gann spokes 369 resonance checks whether the current angle falls within harmonic bins spaced across the circle. Gann alignment measures angular proximity to evenly spaced spokes. Both are continuous confidence measures, not binary triggers. 2. Equilibrium Bubble Model The equilibrium midline is defined via EMA smoothing. Bubble width expands and contracts based on entropy and ATR: • Low entropy → compressed field • High entropy → expanded field Bubble pressure is calculated as normalized displacement relative to bubble width. This captures expansion and compression dynamics. 3. Harmonic Pitchfork Engine Three Fibonacci‑length sine‑weighted moving averages (A, B, C) construct dynamic pitchfork structures. Each pitchfork includes: • Median line • Upper / lower deviation bands Distance from price to the nearest fork line (ATR‑scaled) generates pitchfork proximity confidence. Pitchfork scoring reflects structural mean‑reversion or breakout context. 4. WPK Regime Engine (Hurst Modulation) A Hurst exponent (Rescaled Range method) classifies regime: • H > Trend Threshold → Persistent (Trending) • H < Mean‑Revert Threshold → Anti‑Persistent (Reverting) • Otherwise → Neutral Regime shifts dynamically adjust the blend between: • Real‑time probability • Memory‑based probability This prevents overfitting to historical memory during strong trends and prevents overreaction during range compression. 5. Footprint Delta Integration (Optional) When enabled: • request.footprint() delta • Value Area % • Tick aggregation are incorporated as a sixth dimension in the memory vector. If footprint data is unavailable, a Wick‑Pressure Kernel (WPK) approximation substitutes delta behavior. The engine automatically detects availability and degrades gracefully. 6. Bayesian Confluence Model Final composite confidence is: confRT = w₁·369 + w₂·Gann + w₃·Pitch + w₄·Pressure User‑defined weights control each factor’s influence. Signal gating requires: • Minimum composite confidence • Minimum dominant probability • Minimum number of active factors Dynamic penalties apply in unstable regimes (angle thrashing + low Hurst). 7. Memory KNN Engine The memory system stores past feature vectors: • 369 factor • Gann factor • Pitchfork factor • Pressure factor • Directional bias • Footprint delta Each stored state includes its forward outcome over a defined horizon. At runtime: • Lorentzian similarity measures current state vs historical states • Top‑K neighbors vote • Age‑fade weighting prevents stale bias Final probability is a blend between real‑time geometric alignment and memory‑weighted outcome probability. 8. Heatmap Engine A sparse 2D grid (Angle × Pressure bins) tracks historical confluence density. Each cell accumulates decayed weight and directional bias. The grid provides: • Localized structural probability bias • Strength of prior similar conditions Heatmap is optional for performance considerations. Signal Logic A signal requires: • Sufficient composite confluence • Probability dominance • Active factor count • Cooldown clearance Signal tiers are defined: • Tier 1 – Base • Tier 2 – Strong • Tier 3 – Elite Tier thresholds are adjustable. Important Behavior Notes Some parameters do not produce immediate visual changes because they affect: • Memory accumulation (requires horizon completion) • Heatmap decay (gradual state change) • Hurst regime estimation (requires full lookback window) • KNN similarity weighting (requires sufficient stored states) These are stateful systems and require time to adapt. All parameters are active — some influence probability blending rather than immediate drawing logic. Visual Components • Multi‑ring equilibrium bubble • Gann angular rays (optional) • Fibonacci pitchforks • Probability ribbons • Heatmap grid (optional) • Professional dashboard with regime, memory, and confluence diagnostics Important Notes • Footprint features require supported exchange data. • KNN memory requires sufficient historical bars to stabilize. • No slippage or execution modeling is included. • This script does not guarantee future performance. Past performance does not guarantee future results. — Dskyz, Trade with insight. Trade with anticipation. (Keep Trying)אינדיקטורמאת DskyzInvestments76
Regime-Adaptive kNN Breakouts + Kalman Predictor [TechnicalZen]Regime-Adaptive kNN Breakout Classifier + Kalman Price Predictor Why This Indicator Exists Most breakout indicators treat every compression pattern equally. In reality, a volatility contraction forming during a high-ADX trending environment with surging volume behaves very differently from the same pattern in a choppy, low-volume consolidation. This indicator addresses that gap by combining three distinct analytical engines: Multi-Period Compression Detection — Scans across multiple bar periods to find the tightest range relative to recent history, identifying genuine volatility contraction zones where expansion is statistically likely. Regime-Adaptive kNN Classification — A machine learning gate that evaluates the market regime surrounding each compression zone using Kalman-filtered features. Only setups with sufficient similarity to historically successful breakouts are allowed through. Kalman Price Predictor — A state-space estimator tracking price position and velocity, enabling forward projection with a widening uncertainty cone. The result is an indicator that learns which market conditions produce successful breakouts and provides a probabilistic price forecast — not just pattern detection. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HOW IT WORKS 1. Multi-Period Compression Detection The engine evaluates bar ranges across 2 to 20 periods, computing each period's range (highest high minus lowest low) and comparing it against the minimum range observed within an adaptive lookback window. When the current range is tighter than any historical range in the window, a compression zone is identified. The smallest qualifying period is selected — representing the most extreme volatility contraction. An optional Inside Bar filter adds a complementary signal when the current bar's range is entirely contained within the prior bar. 2. ADX-Adaptive Lookback Window The comparison window dynamically adjusts based on trend strength: High ADX (strong trend) — shorter lookback, more responsive to compression during momentum phases Low ADX (ranging market) — longer lookback, requiring more extreme contraction before triggering This prevents the indicator from being too sensitive in trending markets or too sluggish in ranging conditions. 3. Kalman-Filtered Feature Space Four market regime features are computed on every bar and smoothed through independent Kalman filters using a position + velocity state-space model. The Kalman filter reduces noise while tracking each feature's rate of change — achieving smoothing without the lag penalty of traditional moving averages. The kNN classifier operates entirely on these Kalman-filtered features: Relative Volume — Volume / SMA(Volume, 100) — captures participation surge or drought, Kalman-smoothed to filter out single-bar volume spikes Relative ATR — ATR(14) / SMA(ATR, 100) — captures volatility expansion vs contraction regime, Kalman-smoothed for stable regime identification ADX Normalized — ADX / 50 — measures trend strength (direction-agnostic), Kalman-smoothed to track trend momentum Distance from MA — (Close - Trend MA) / ATR — price position relative to trend, Kalman-smoothed to reduce whipsaw noise By filtering the feature space through the Kalman estimator before classification, the kNN operates on cleaner, denoised regime signals rather than raw noisy measurements. This is the critical link between the Kalman filter and the kNN — the classifier's accuracy depends on the quality of its input features. 4. kNN Breakout Classification When a compression zone triggers a breakout, the classifier: Constructs a feature vector from the four Kalman-filtered regime features Scans the history buffer using Manhattan distance to find similar past regime conditions Selects the k-nearest resolved neighbors — only TP (take-profit) and SL (stop-loss) outcomes vote; pending and time exits are excluded entirely Computes a distance-weighted classification score where closer neighbors have proportionally more influence Compares the score against the user-defined confidence threshold If the score falls below the threshold, the setup is silently skipped. The classifier has learned which combinations of volume regime, volatility regime, trend strength, and price position tend to produce winning breakouts. Key design choices: Adaptive k — k = floor(sqrt(resolved outcomes)), clamped between user-defined min/max. The number of neighbors consulted grows naturally as the classifier accumulates experience, preventing overfitting to sparse early data. Warmup phase — During the first N resolved outcomes, all setups pass through to build the training set. The classifier only begins filtering after accumulating sufficient data. Feedback loop — Every exit writes its outcome back to the history buffer. TP exits score 1.0, SL exits score 0.0. The classifier genuinely learns from the specific chart and timeframe it is applied to. Distance-weighted voting — Prevents outlier neighbors from distorting the classification. A very close TP neighbor outweighs several distant SL neighbors, producing more nuanced probability estimates. 5. Kalman Price Predictor A fifth Kalman filter runs on price itself, maintaining three estimates simultaneously: Filtered position — optimal smoothed price estimate Velocity — estimated rate of price change per bar Covariance matrix — estimation uncertainty and cross-correlations The velocity component enables forward projection: Predicted Price = Filtered Position + Velocity x Projection Bars . The uncertainty cone is scaled by ATR and widens proportionally to the square root of the projection horizon — reflecting the theoretical uncertainty growth of price over time. Projection trail: The last 5 projections are displayed with graduated transparency (50% to 90%), creating a visual history of how the forecast has evolved. A consistent, parallel trail suggests strong directional conviction; a diverging or oscillating trail signals uncertainty. 6. Trend-Aware Exit System The exit system uses four complementary mechanisms, each feeding outcomes back to the kNN: Take Profit — R-multiple target (default 2R, where R = compression zone range). Scored as 1.0 in kNN feedback. Stop Loss — Opposite side of compression zone, optionally requiring price to also be wrong-side of the Trend MA. This trend-aware condition reduces whipsaw stops in strong trends. Scored as 0.0 in kNN feedback. Trailing Stop — Activates after 1R profit, trails by ATR x multiplier. Dynamic protection that locks in gains. Time Exit — Maximum bars in trade before forced exit. Scored as 0.5 (neutral) — neither rewarding nor penalizing the kNN for inconclusive setups. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ VISUAL GUIDE Chart Elements Compression boxes — Colored zones marking detected volatility contraction (green = bullish breakout, red = bearish) Extended levels — Dotted lines projecting the high and low of each compression zone forward Entry labels — Direction and kNN confidence percentage (e.g., "Long 72.5%") Exit labels — TP / SL / T markers with R-multiple detail in tooltip Projection line — Dashed line extending forward from Kalman-filtered price Uncertainty cone — ATR-scaled filled area widening into the future Projection trail — 5 fading historical projections showing forecast evolution Kalman price line — Optional smoothed price curve (off by default) Dashboard (bottom-right) Win Rate — Percentage of resolved trades hitting TP (tinted green or red) Trades — Win / Loss count Mode — Distance-weighted classification Phase — Warmup (building data) or Active (filtering enabled) k — Current adaptive k value Score — Latest kNN confidence score History — Buffer fill level (e.g., 45/60) Projection — Predicted price with directional arrow ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SETTINGS GUIDE Detection Enable Inside Bar (default: On) — Include Inside Bar patterns alongside compression detection Adaptive kNN Enable kNN Filter (default: On) — Toggle the ML classification gate k Min / k Max (default: 2 / 10) — Bounds for adaptive k. Auto-scales with sqrt of resolved outcomes Confidence Threshold (default: 0.25) — Minimum kNN score to accept a setup. Lower values are more permissive; higher values are more selective Min Resolved to Activate (default: 15) — TP/SL outcomes needed before the classifier begins filtering History Buffer Size (default: 60) — Maximum stored breakout patterns for comparison Kalman Filter Process Noise Q (default: 0.01) — Controls how much the filter expects the underlying signal to change between bars. Higher values make the filter more responsive but noisier Measurement Noise R (default: 0.10) — Controls how much the filter distrusts each new measurement. Higher values produce smoother output with more lag Show Price Projection (default: On) — Display the forward projection line and uncertainty cone Projection Bars (default: 10) — How far forward to project price Projection Color (default: Aqua) — Color for all projection elements Show Uncertainty Cone (default: On) — Display the ATR-scaled confidence band Cone Width (default: 1.0 ATR) — Width multiplier for the uncertainty cone. Adjustable per instrument Show Kalman Price Line (default: Off) — Display the smoothed Kalman price estimate on chart Trend Filter Enable Trend Filter (default: On) — Restrict breakouts to trend-aligned direction only Trend MA Mode (default: Adaptive) — Static = fixed MA length; Adaptive = MA length scales dynamically with the compression lookback MA Type (default: EMA) — Exponential or Wilder's (RMA) moving average Adaptive Multiplier (default: 2.0) — Lookback x Multiplier = MA length in adaptive mode Static MA Length (default: 200) — Fixed MA length when in static mode Adaptive Look Back Look Back Mode (default: ADX Adaptive) — Static = fixed comparison window; ADX Adaptive = window scales with trend strength ADX Length (default: 14) — Period for ADX calculation ADX Low / High (default: 10 / 35) — ADX range mapped to lookback bounds. Higher ADX compresses the lookback LB Min / LB Max (default: 20 / 120) — Minimum and maximum lookback window size Exits TP (R-multiple target) (default: On) — Take-profit at R-multiple of compression zone range SL (opposite side) (default: On) — Stop-loss at opposite boundary of compression zone Target R (default: 2.0) — Take-profit distance as multiple of range Trend-Aware SL (default: On) — SL only triggers when price is also wrong-side of Trend MA Trailing Stop (default: On) — Trails by ATR x multiplier after 1R profit Trail ATR Multiplier (default: 1.5) — Trail distance = ATR(14) x this value Time Exit (default: On, 50 bars) — Force exit after maximum bars in trade Visual Settings Bull / Bear / Time colors — Customizable directional colors Box Fill / Border Transparency — Compression zone box appearance Extend Levels (default: 50 bars) — Forward projection distance for compression zone levels Level Width / Style — Line appearance for projected levels Max Patterns Kept (default: 120) — Maximum drawing objects maintained on chart ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ THE KALMAN-kNN PIPELINE The two ML components are not independent — they form a pipeline: Kalman filters denoise the four regime features on every bar, producing clean estimates of volume regime, volatility regime, trend strength, and price position kNN classifier operates on these Kalman-filtered features, comparing the current denoised regime against historically successful and unsuccessful breakout conditions Kalman price filter independently tracks price dynamics, projecting the estimated trajectory forward with quantified uncertainty The classifier's accuracy fundamentally depends on the quality of its input features. By feeding Kalman-filtered signals rather than raw measurements, the kNN compares regime states rather than noisy observations — producing more stable and meaningful similarity assessments. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CREDITS AND ACKNOWLEDGMENTS This indicator builds upon concepts from two published works: Smart NR2–NR20 and Inside Bar by Zeiierman — multi-period compression detection, adaptive lookback via ADX, and breakout trigger architecture kNN Market Architecture by LuxAlgo — application of k-nearest neighbors classification to filter market signals using relative volatility and volume features Original contributions in this indicator: Kalman filter state-space estimation for feature smoothing (position + velocity model with full covariance tracking) Kalman-to-kNN pipeline — classifier operates on denoised regime features, not raw measurements Regime-adaptive kNN classification with distance-weighted voting on resolved outcomes only Real-time feedback loop where exit outcomes update the kNN training data Adaptive k scaling based on accumulated classifier experience Kalman price predictor with forward projection and ATR-scaled uncertainty cone Graduated projection trail showing forecast evolution ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ This indicator is for educational and informational purposes only. It does not constitute financial advice. All investments involve risk, and past performance does not guarantee future results. The kNN classifier learns from historical patterns on the specific chart and timeframe it is applied to — its effectiveness may vary across different instruments and market conditions. Always conduct your own analysis and risk management. אינדיקטורמאת TechnicalZen112
Phase Space Orbital HUD Radar GridJust doing some toying around with non-chart based graphical dashboards, in this case using polar coordinates to map the z-score, Kurtosis, Skew and Vol data with a radar sweep showing direction and strength of the current trend. I also included a Log-Return box that tracks the tick-to-tick log returns from the security.אינדיקטורמאת TheGeeBee2212
Chat GPT 5.4 5min Swing Visualizer up down left right the data is so called self descriptive color encryption... your eyes and brain decode the encoded photo blasts enjoy at your own risk. אינדיקטורמאת sean3766מעודכן 1126
Absorption Structure Detector v2.3Absorption Structure Detector v2.3 A price-action based tool designed to identify absorption candles at key structural levels, helping traders spot potential reversals and continuation points with clarity and discipline. Overview The Absorption Structure Detector highlights candles where strong opposing pressure is absorbed by market participants, often signalling a shift in control between buyers and sellers. Rather than relying on lagging indicators, this tool focuses on pure price behaviour, combining wick structure, candle positioning, and contextual filters to identify high-probability zones. Core Logic The indicator detects absorption based on: Dominant wick structure (rejection of price) Controlled candle body size (inefficiency / absorption) Strong closing position (shift in control) Optional liquidity sweep detection (false breakouts) Optional trend filter (EMA) Optional pivot proximity filter (structure alignment) Optional RSI divergence filter (momentum confirmation) A built-in quality scoring system (1–5) ensures that only higher-confluence setups are considered when desired. How to Use This indicator is designed for higher timeframe trading, particularly: Daily (primary) 4H (secondary confirmation) Bullish Setup Price reaches a key support level Bullish absorption candle forms Enter on break of the candle high Stop below the candle low Target 2:1 or next structure level Bearish Setup Price reaches resistance Bearish absorption candle forms Enter on break of the candle low Stop above the candle high Target 2:1 or next structure level Key Features Clean visual identification of absorption candles Built-in trend alignment filter (EMA) Liquidity sweep detection for false breakout scenarios Pivot-based structure filtering Adjustable quality threshold to reduce noise Optional entry, stop, and 2R target plotting Alert conditions for bullish and bearish setups Important Notes This tool performs best when used at key structural levels It is not designed for low timeframe scalping Signals should be used with context and discipline, not in isolation Fewer, higher-quality setups are preferred over frequent trading Philosophy The Absorption Structure Detector is built around a simple idea: Markets turn when pressure is absorbed and control shifts. This tool helps visualise those moments — the rest is execution and discipline. Final Thought This is not a “signal generator” to follow blindly. It is a decision support tool designed to improve timing and clarity within a structured trading plan.אינדיקטורמאת jbsquirrell5
Esco Theory v4Esco Theory maps the hidden geometry of price action. It identifies swing structure, plots geometric rails between pivots, detects supply and demand zones, fair value gaps, liquidity pools, compression patterns, and confluence clusters. All signals are synthesized into a real-time dashboard so traders can read market structure and volatility conditions at a glance. Built for traders who study displacement, structure shifts, and the expansion–compression cycles that drive price. Features Market Structure (BOS / MSS) Automatically detects Break of Structure (BOS) and Market Structure Shifts (MSS) using configurable swing lookback. Bullish and bearish shifts are labeled directly on the chart with color-coded markers. Displacement candles (body greater than 1.5× ATR) are highlighted to confirm impulsive moves. Geometric Rails Trendlines (“rails”) are drawn between consecutive swing highs and swing lows and extended forward. Two tiers are available: Minor Rails Short-term pivots for intraday and swing geometry. Major Cycle Rails Higher-timeframe pivots that reveal broader structural channels. Cross-rails connect swing highs to swing lows using dotted diagonals, revealing convergence and divergence patterns. Cycle Fan A fan of rays projects from the deepest major swing low through each major swing high (and vice versa), mapping the angular geometry of the current market cycle. These angles often highlight reaction zones where time and price intersect. Supply & Demand Zones Zones are created at pivot candles confirmed by displacement on the following bar. Each zone tracks retests and gradually fades in transparency as it is touched. Mitigated zones are automatically removed to keep charts clean. Fair Value Gaps (FVG) & Inverted FVGs Three-candle imbalance gaps are detected and drawn as shaded boxes. When a gap fills to its midpoint it converts into an inverted FVG, which can act as a continuation or re-entry zone. Both gap types have independent color settings and optional auto-expiration. Premium / Discount Zones Using the most recent major swing high and low, price is divided into: Premium (upper 25%) Discount (lower 25%) Equilibrium (midpoint) A dotted equilibrium line marks fair value and helps filter entries. Support & Resistance Clustering All pivot prices are grouped by proximity. Levels with multiple touches are drawn as dashed horizontal lines labeled with touch count: S (3) R (4) Stronger clusters appear as thicker lines. Confluence Zones When three or more levels from different sources cluster together (pivots, S/R levels, supply and demand), a shaded confluence zone is drawn. These areas often produce the strongest market reactions. Liquidity — Equal Highs / Equal Lows Swing highs and lows within a defined tolerance are identified as EQH and EQL liquidity pools. These levels extend forward and often attract price before reversals or breakouts. Liquidity Sweeps When price wicks through an equal high or low and closes back inside the level, a sweep marker (✕) appears. Sweeps often signal liquidity grabs before reversals. Compression & Squeeze Detection Two compression signals identify volatility contraction. ATR Compression Occurs when fast ATR drops below 60% of slow ATR. Bollinger / Keltner Squeeze When Bollinger Bands contract inside Keltner Channels. When the squeeze releases, a triangle marker signals expansion. A wedge overlay connects compression pivots to visualize tightening ranges. Real-Time Dashboard A compact panel displays current market conditions. Bias Current structure trend (Bullish / Bearish / Neutral) Zone Premium, Discount, or Equilibrium Volatility Squeeze, Compression, or Expansion ATR Ratio Fast ATR vs Slow ATR BBW Bollinger Band Width percentage Wedge Active compression wedge detection FVG Active gap count Sweeps Recent liquidity sweep count Inputs & Customization Every module can be toggled independently. Key settings include: Swing Lookback (minor and major) Rail Extension length Max Cross-Rails Supply / Demand Pivot Length FVG Minimum Size and Max Age Support / Resistance Tolerance and Minimum Touches Confluence Width and Minimum Levels Equal High / Low Tolerance All colors are fully customizable. How to Use Identify bias Check the dashboard for current structure direction and premium/discount location. Find confluence Look for areas where rails, zones, gaps, and support/resistance overlap. Watch compression Squeeze diamonds and wedges signal volatility building. Trade displacement Highlighted candles confirm impulsive moves through key levels. Monitor liquidity sweeps EQH/EQL sweeps often precede reversals or expansions. Notes Overlay indicator designed for use directly on price charts. Compatible with all markets and timeframes. Lower timeframes with large bar counts may increase drawing load. Adjust lookback settings if needed. Best used alongside discretionary price action and market context.אינדיקטורמאת escobrypto78
Trader Tom Inspired Breakout Strategy v6This is just a test. More things need to be done Traders Tom is a very famous trader and always give talks to inspire the young and new traders. This is inspired from his techniqueאסטרטגייהמאת Qawiy34
Target Price With expected timeIts a very simple base on linear regresion line simple price & time projection based on school based equation y=mx+cאינדיקטורמאת SumanjitMaity51
A++ Signals [Scalping-Algo]This indicator is a high-probability trend-following system designed for scalping and intraday trading (3M, 5M, 15M). It combines volatility-based signals with institutional trend filters to maintain a high winrate. 1. How to Enter a Trade Long Entry: Wait for the green "Long" bubble. Price must be above both the Gold VWAP and the Blue EMA 13. Short Entry: Wait for the red "Short" bubble. Price must be below both the Gold VWAP and the Blue EMA 13. Trend Filter: Ensure the price is trading in the direction of the EMA 200 (thin gray line) for the highest probability of success. 2. Managing the Trade (TP/SL) Once a signal appears, the indicator draws two dynamic boxes: Green Zone (TP): Your target area. The trade is a "Win" when price hits the top of this box (marked by a purple "Long TP" bubble). Red Zone (SL): Your protection area. The trade is a "Loss" if price hits the bottom of this box (marked by a red "Long SL" bubble). The "76% Winrate" Secret: The indicator uses Asymmetric Risk. By setting a smaller Take Profit (1.0) and a wider Stop Loss (3.0), you allow the trade to "breathe" through market noise, significantly increasing the chance of hitting your profit target. 3. Using the Dashboard Win %: Displays the real-time accuracy of the strategy on your current chart. Multiplier/Period: Shows your active sensitivity settings. If the winrate drops below 70%, try increasing the Multiplier slightly to filter out more noise. 4. Pro Tips for Maximum Success Trade the "Session": The best signals occur during the London/New York crossover (active by default in the settings). Volume is King: Only take signals where the volume is high (the indicator filters this automatically, but always look for "strong" candles). Avoid Flat Markets: If the Gold VWAP and Blue EMA 13 are crossing each other frequently (moving sideways), stay out of the market until a clear trend emerges.אינדיקטורמאת A1TradingHub134
(AboBassil) Crash Radar indexCrash Radar Index its is a market risk indicator designed to monitor shifts in volatility structure, credit stress, internal market weakness, trend damage, and price pressure. The script is built to help highlight transitions from lower-risk to higher-risk market conditions through a clean visual framework. Yellow markers indicate early warning conditions. Orange markers indicate risk build-up. Red markers indicate stronger risk confirmation. This indicator is intended to be used as a market condition filter, not as a standalone trading system. It is best used together with price action, trend analysis, and risk management. ===== Crash Radar Index هو مؤشر لقياس مخاطر السوق، تم تصميمه لمراقبة تغيرات هيكل التقلب، ضغط الائتمان، ضعف السوق الداخلي، ضرر الاتجاه، والضغط السعري. يهدف المؤشر إلى المساعدة في رصد انتقال السوق من حالة أقل خطورة إلى حالة أعلى خطورة من خلال إطار بصري واضح ومباشر. العلامات الصفراء تمثل إنذارًا مبكرًا. العلامات البرتقالية تمثل تصاعد الخطر. العلامات الحمراء تمثل تأكيدًا أقوى على ارتفاع مستوى الخطر.אינדיקטורמאת AboBassilמעודכן 49
RB SCRIPT 2Calculate number of shares that are possible to buy inside Tradingview. Enter your total Capital, Risk % to get the number of shares.אינדיקטורמאת TRENDER5
Faster alerts 2.0Faster alerts so on and so forth good luck on tradingאינדיקטורמאת johnsonhealthquotes22
Faster alert With email signalQuicker alerts more volatile alerts with alerts sent to email address. אינדיקטורמאת johnsonhealthquotes19