HTF-MTF DirectionThis indicator helps a bit with determining the direction in HTF and MTF for those who trade in LTF without having to change timeframes.Indicateur Pine Script®par rainerluis330
ATR/Tick Based Contract Size CalculatorContract size calculator with custom inputs for ATR based stops with multiplier or hard tick based calculations for stop size.Indicateur Pine Script®par sajoseph11Mis à jour 1112
Multi Moving AveragesThis indicator plots five moving averages using user-defined lengths Each moving average is calculated on the selected price source (default: close) with an internal standard deviation context, similar to Bollinger-basis behavior, ensuring visual consistency with advanced MA configurations. Features Five customizable MA lengths (default: 14, 21, 50, 200, 300) Uses chart timeframe (no higher/lower TF distortion) Configurable source, standard deviation, and offset Clean overlay designed for trend structure and bias analysis Use Case Identify short-, mid-, and long-term trend alignment Track dynamic support and resistance Useful for intraday, swing, and higher-timeframe biasIndicateur Pine Script®par OxAzan1
Gamma Hedging Pressure Gamma Hedging Pressure (Proxy) – Market Maker Gamma Exposure Estimator This open-source, non-overlay indicator provides a **proxy** for dealer/market-maker gamma hedging pressure using only standard OHLCV data — no options chain or implied volatility required. Core Concept In options markets, gamma measures how much delta changes with price movement. When dealers are **net short gamma** (negative gamma), they must hedge aggressively in the direction of the move → this amplifies trends and breakouts. When **net long gamma** (positive gamma), they hedge against the move → this creates mean-reversion and pinning behavior. Because true gamma exposure is hidden (dealer books are private), this script estimates hedging pressure indirectly by combining: - Volatility expansion (normalized range) - Price acceleration (second derivative) - Abnormal volume participation High positive values → likely negative gamma regime (trend acceleration) High negative values → likely positive gamma regime (reversion pressure) Near zero → neutral/chop Why this proxy is useful True gamma dashboards require Level 2 options data and are often delayed or paid. This lightweight version: - Works on any instrument with volume (stocks, futures, forex proxies, crypto) - Updates in real time - Helps traders anticipate whether the current move is likely to accelerate (negative gamma) or fade (positive gamma) - Useful as a regime filter alongside support/resistance, order flow, or momentum tools How It Works – Step by Step 1. Volatility Expansion - Normalized range = (high - low) / ATR(14) 2. Price Acceleration - First difference: close - close - Second difference (acceleration): diff - diff 3. Volume Participation - Normalized volume = volume / SMA(volume, 20) 4. Raw Pressure - rawPressure = normalized range × acceleration × normalized volume 5. Smoothed Gamma Pressure - gammaPressure = EMA(rawPressure, 5) // short smoothing for responsiveness 6. Optional Daily Reset - If enabled, resets to 0 at the start of each new day (useful for intraday) 7. Regime Classification - Negative Gamma (red): gammaPressure > +threshold (default 0.5) → trend/breakout likely - Positive Gamma (green): gammaPressure < -threshold → mean-reversion likely - Neutral (gray): within ±threshold → chop/consolidation Visual Output - Histogram: colored by regime (red = negative gamma / trend accel, green = positive gamma / reversion, gray = neutral) - Zero line reference - Background tint: red/green during strong regimes - Last-bar label: "NEGATIVE GAMMA – Trend / Breakout", "POSITIVE GAMMA – Mean Reversion", or "NEUTRAL" How to Use - Best on intraday timeframes (5m–1h) for futures (NQ, ES, GC), indices, or high-volume stocks - Daily/4h for swing context on liquid names - Interpretation examples: → Red histogram + rising pressure → dealers likely short gamma → expect trend continuation or acceleration → Green histogram + falling pressure → dealers long gamma → expect fading moves, pinning near strikes, or reversion → Gray/neutral → low gamma pressure → range-bound or low-conviction market - Combine with: - Key levels (VWAP, previous highs/lows) - Volume profile or order flow - Options-related news (expiration days, gamma flips) - Threshold tuning: 0.3–0.8 depending on instrument volatility (lower for crypto, higher for forex) Inputs - ATR Length: default 14 - Volume MA Length: default 20 - Gamma Threshold: default 0.5 (sensitivity for regime coloring) - Reset on New Session: true = daily reset (recommended for intraday) Publishing Recommendation - Publish with a clean chart (e.g., 15m–1h NQ1!, ES1!, or SPY) - Show a trending period (red histogram) and a ranging/consolidation period (green/gray) - No extra indicators/drawings needed for basic interpretation This is an **educational proxy** — not a direct measure of actual dealer gamma. It approximates pressure from observable market behavior. Trading involves significant risk of loss. Use discretion and proper risk management. Feedback welcome — especially threshold or smoothing suggestions for different markets!Indicateur Pine Script®par uzair2join8
Capital Rotational Event CRE As A Multi Pair ScannerCapital Rotational Event (CRE) – Multi Pair Rotation Scanner This open-source, non-overlay indicator scans for **capital rotation signals** across one lead/benchmark asset and up to four receiver/target assets simultaneously. It detects when capital appears to be rotating **into** one or more of the receiver assets relative to the lead asset — a classic macro/rotation concept used in intermarket analysis. Core Concept In regime-shifting or macro-driven markets, money flows between asset classes or correlated instruments (risk-on → risk-off, equities → bonds, growth → value, etc.). When one asset class starts consistently outperforming another — and that outperformance is accelerating — it can signal a change in investor preference, risk appetite, or sector leadership. This scanner visualizes that rotation in real time by calculating relative strength + momentum for multiple pairs at once. How It Works 1. User selects: - One Lead/ Benchmark asset (default: SPY – equities proxy) - Up to four Receiver assets (defaults: GLD, TLT, USO, XLE) 2. For each receiver pair: - Relative Strength (RS) = SMA( Receiver Close / Lead Close , RS Length ) - RS Momentum = SMA( change(RS) , Momentum Length ) 3. Rotation Signal per pair: - Bullish CRE (+1): RS > its own SMA **and** RS momentum > 0 → Receiver outperforming Lead **and** the outperformance is accelerating - Bearish CRE (-1): RS < its own SMA **and** RS momentum < 0 → Receiver underperforming Lead **and** the underperformance is accelerating - Neutral (0): otherwise 4. Visual Output: - Four separate lines (green, blue, orange, purple) showing CRE signal for each receiver → +1 = bullish rotation into that asset → -1 = bearish rotation away from that asset → 0 = no clear rotation - Background tint: light green when **at least one** receiver shows bullish CRE (+1) Why this multi-pair scanner? - Single-pair RS tools only show one relationship at a time. - Monitoring multiple receivers simultaneously reveals **which** asset class or sector is currently receiving capital flows — very useful for macro traders, sector rotation strategies, or risk-on/off positioning. - The momentum filter reduces lag and false signals compared to raw RS crossovers alone. Typical Use Cases - Risk-on/Risk-off: SPY (lead) vs GLD + TLT + USO (safe havens/commodities) - Sector leadership: SPY vs XLE (energy) + XLK (tech) + XLV (healthcare) + XLF (financials) - Macro themes: SPY vs TLT (equities vs bonds), DXY vs GLD, etc. - Timeframes: Daily/weekly for macro swings, 4h/1h for tactical rotations How to Use 1. Apply to any chart (timeframe of your choice — the indicator is timeframe-agnostic). 2. Set your preferred Lead asset and up to 4 Receivers in the inputs. 3. Adjust RS Length (default 14) and Momentum Length (default 9) to match your horizon. 4. Interpretation: - Green line above zero → capital rotating into that receiver - Multiple green lines rising → strong multi-sector rotation - Light green background → at least one bullish rotation detected - Use in combination with price action on the actual assets — this is a relative bias tool, not a direct trade signal. 5. Best in trending or regime-shifting markets; less useful when all assets move in strong correlation. Inputs - Lead Asset: benchmark (default SPY) - Receiver 1–4: assets to monitor rotation into (defaults GLD, TLT, USO, XLE) - RS Length: smoothing for relative strength (default 14) - Momentum Length: smoothing for RS change (default 9) Publishing Recommendation - Publish with a clean chart (e.g., daily or 4h SPY, or any index/ETF) - The indicator is non-overlay — it plots in a separate pane below price - No other indicators needed for basic use This script is fully open-source for transparency and learning. It highlights relative rotation patterns — not guaranteed future performance. Trading and investing involve significant risk of loss. Feedback welcome — especially suggestions for other useful receiver pairs!Indicateur Pine Script®par uzair2join2
TDL Adaptive Session Zones Pro🔷 What This Indicator Does TDL Adaptive Session Zones Pro maps high-probability reaction areas where price is statistically more likely to pause, reverse, or accelerate — based on real historical session data, not arbitrary levels. Unlike static support and resistance tools, these zones automatically adapt to changing market volatility every session. When volatility contracts, zones tighten. When it expands, zones widen. The result is a dynamic framework that reflects how the market is actually behaving right now. This indicator is built for intraday traders who want structure and context — not signals. 🔷 Core Components 1️⃣ Adaptive Percentile Zones (Session-Based S/R) The engine of this indicator. It works by: • Collecting historical intraday session ranges over a configurable lookback period (default 20 sessions) • Calculating percentile distances (25th, 50th, 75th, 100th by default) from that data • Projecting those distances symmetrically above and below the current session open • Resetting and recalculating every session automatically 🟩 Lower zones → Statistically derived support reaction areas 🟥 Upper zones → Statistically derived resistance reaction areas Outer zones (higher percentile) represent more extreme price extensions and carry greater significance when tested. Inner zones represent typical intraday range behavior. The key insight: instead of drawing arbitrary lines, these zones tell you where price has historically found the edges of its range — adjusted for current conditions. 2️⃣ Strike / Round Number Levels (Liquidity Reference) Plots round-number price levels at configurable intervals (50, 100, etc.) from the session open. These levels frequently act as liquidity concentration areas in index futures and options markets. • Configurable interval spacing • Min/Max distance controls • Optional mid-strike gap levels (dotted) • Session-bounded display Useful for NQ, ES, and index derivatives where options strike prices create natural liquidity clusters. 3️⃣ Previous Day OHLC Reference Plots Previous Day Open, High, Low, and Close as intraday reference levels — widely observed by both retail and institutional participants. • All four levels with distinct color coding • Configurable line style (solid, dashed, dotted) • Clean labels for quick identification 4️⃣ Opening Range Breakout (ORB) Captures the high and low of the first N minutes of the session (configurable: 5 to 60 minutes). The opening range provides useful context when combined with the adaptive percentile zones. • Configurable time window • Filled range visualization • Session-bounded display 🔷 Optional Validation Filters All filters are off by default and designed to help observe cleaner price behavior near important zones. 🔹 Candle Structure Validation Filters out candles with excessive range (ATR multiple), small bodies (body/range %), or extreme wick imbalance. Helps isolate price action reflecting healthy market participation near key levels. 🔹 Rejection Wick Detection Identifies candles with significant wick-to-body ratios (hammer-type structure), independent of candle color. Useful for spotting potential rejection behavior when price interacts with zone boundaries. 🔹 Volume Participation Filter Highlights periods where volume exceeds the average by a configurable multiplier. Includes a confirmation window (number of bars following the spike) to allow for delayed reaction observation. 🔹 Daily Pivot Classic pivot point (H+L+C)/3 plotted as a session-fixed reference level for additional market structure context. 🔹 Higher Timeframe Trend Background color overlay based on a configurable HTF moving average. Supports SMA, EMA, WMA, and VWMA. Provides directional context without enforcing bias on the intraday analysis. 🔷 Confluence Highlight System When price arrives near any key zone (percentile, strike, OHLC, ORB, or pivot) AND all enabled validation filters align on the same candle, that candle is highlighted in yellow. ⚠️ The yellow highlight is NOT a buy or sell signal. It indicates that price behavior appears structurally meaningful at an important market location based on your selected filter combination. Three alertcondition() calls are included: Bullish confluence, Bearish confluence, and Any confluence — ready for TradingView alerts. 🔷 Session Volatility Gauge Real-time dashboard (table overlay) showing what percentage of the median daily range has been consumed in the current session. States: • LOW (< 40%) — Session range is compressed relative to history • BUILDING (40-70%) — Range is developing, room for expansion • HEALTHY (70-100%) — Normal range consumption • EXTENDED (> 100%) — Session exceeds typical range, potential exhaustion This helps gauge whether the session still has room to move or is approaching statistical limits. 🔷 Zone Touch Tracker Counts fresh touches on each percentile zone during the current session. A "touch" is registered when price enters a zone's proximity after being outside it. More touches on a zone suggest greater significance. Displayed as a table overlay with per-zone counts for both resistance and support zones. Resets automatically each session. 🔷 Recommended Settings NQ / ES Futures (5m–15m): • Session: 0930-1600, Timezone: America/New_York • Percentiles: 25 / 50 / 75 / 100 (default) • Strike Interval: 100 • ORB: 15 minutes Stocks (5m–15m): • Strike Interval: 5 or 10 • Consider tightening percentiles (20 / 45 / 65 / 85) for lower-volatility names Gold Futures (5m): • Strike Interval: 10 or 25 • Adjust session window to your active trading hours 🔷 How To Use 1. Apply to an intraday chart (1m to 15m recommended) 2. Observe where price interacts with the adaptive percentile zones 3. Optionally enable one or more validation filters to highlight structurally clean candles at key zones 4. Use the Session Volatility Gauge to assess how much range has been consumed 5. Enable the Zone Touch Tracker to identify high-significance levels 6. Apply your own analysis, execution method, and risk management This is a context and structure tool. It shows you WHERE you are within the session's statistical range — the trading decisions are yours. 🔷 Technical Notes • Works on any intraday timeframe; designed for 1m to 15m • Requires sufficient historical data for percentile calculations (minimum ~5 sessions) • Session detection works correctly with extended hours both on and off • All zone levels are session-bounded and reset automatically • Open source — inspect, learn from, or adapt the code as you see fit ⚠️ Disclaimer This script is provided for educational and informational purposes only. It does not generate buy or sell signals and does not constitute financial advice. Past performance of any trading methodology is not indicative of future results. Always apply independent analysis and proper risk management. Indicateur Pine Script®par TDecisionslab7
Macro Regime Dashboard HOW TO READ THE MACRO REGIME DASHBOARD Think of this as a weather report for markets, not a trade signal generator. 1 START WITH THE REGIME (TOP ROW) MACRO REGIME RISK-ON → tailwinds for equities & beta MIXED → chop, fakeouts, smaller size RISK-OFF → capital preservation first This answers: “Should I be pressing risk right now?” Rule of thumb Stay aligned with the regime Don’t fight it with individual stock ideas 2 THE SCORE (SECOND ROW) Regime Score Range: roughly –5 to +5 +3 to +5 → strong risk-on +1 to +2 → mild tailwind –1 to +1 → transition / no edge –2 to –5 → defensive environment This answers: “How confident is this environment?” Position sizing rule |Score| ≥ 3 → full size allowed |Score| = 1–2 → reduced size |Score| = 0 → mostly wait 3 EQUITIES ROW (SPY vs MA) Equities Risk+ → SPY above trend MA Risk- → SPY below trend MA This is your market participation check. Interpretation Risk-ON + Equities Risk+ = trends work Risk-OFF + Equities Risk- = avoid longs Mixed + Equities flipping = chop zone 4 CREDIT ROW (HYG / IEF) Credit Risk+ → credit spreads tightening Risk- → credit stress building This is the canary in the coal mine. Very important rule If Credit = Risk-, be skeptical of rallies Credit usually breaks before equities 5 VOLATILITY ROW (VIX) Volatility Low → trend-following works High → mean reversion, hedging, patience This answers: “Is the market calm or nervous?” Trade adjustment Low vol → options selling, swing trades High vol → smaller size, wider stops, hedges 6 RATES ROW (10Y YIELD) Rates Risk+ → yields falling Risk- → yields rising This tells you who wins inside equities. Mapping Falling rates → tech, growth, duration Rising rates → value, energy, financials 7 USD ROW (DXY) USD Risk+ → USD weakening Risk- → USD strengthening This controls global liquidity. Mapping Weak USD → commodities, EM, gold Strong USD → US assets outperform, EM struggles 8 200 MA CONTEXT (LONG TREND) Bull / Bear Context Bull → regime shifts resolve upward Bear → rallies fail more often This is your macro gravity. Rule In Bear context → be quicker to de-risk In Bull context → give trades more room 9 TILT (BOTTOM ROW) Tilt This is your portfolio bias, not a trade. Examples: Growth / Equities / EM Cash / Defensives / Hedges Reduce size / wait This answers: “What should my book look like this week?” EXAMPLE: STRONG RISK-ON Regime: RISK-ON Score: +4 Credit: Risk+ Vol: Low Action Full size allowed Favor trend trades Reduce hedges EXAMPLE: RISK-OFF Regime: RISK-OFF Score: –3 Credit: Risk- Vol: High Action Raise cash Defensive ETFs Avoid dip-buying EXAMPLE: MIXED / TRANSITION Score near 0 Credit flat Vol rising Action Smaller size Pairs trades Wait for confirmationIndicateur Pine Script®par mspdx1
Institutional MA Bounce & Support Screener. Description The Philosophy Top-tier traders don’t just buy stocks because they are up; they buy them because they show signs of institutional accumulation. This indicator is designed to find "High-Quality Support" signals—instances where a stock in a primary uptrend pulls back to a key moving average (10 SMA, 21 EMA, or 50 SMA) and is met with aggressive buying that drives the price to close near the daily highs. Key Components * Trend Alignment: Automatically filters out "laggards" by only flagging setups when price is above the 50 SMA. * Proximity-Based Bouncing: Unlike rigid indicators that require a "perfect" touch, this uses an editable Buffer %. It catches those high-conviction "front-runs" where price reverses just before hitting the line. * Volume Conviction: Integrates Relative Volume (RVOL). It ensures you aren't looking at a dead-cat bounce, but a high-volume reversal backed by institutional participation. * Daily Closing Range (DCR): The final confirmation. It measures the finishing position of the day. A high DCR (>85%) at an MA is a primary signal of "support found." How to Use with the TradingView Screener (Beta) This script is optimized with "bundled security calls" to avoid errors in the new TradingView Screener. * Add the script to your chart. * Open the Stock Screener (Beta). * Add columns for Bounce 10SMA, Bounce 21EMA, or Bounce 50SMA. * Filter for Equals 1 to find stocks currently tagging those levels. * Combine with the Daily Closing Range filter (> 90) for the ultimate "Power Setup." Technical Settings * RelVol Lookback: Compare today's volume against the 20, 50, or 200-day average. * RelVol Threshold: Set the multiplier (e.g., 1.5x) to find true volume surges. * Bounce Buffer: Adjust from 0.5% (strict) to 2.0% (loose) depending on market volatility. A Pro-Tip for your users: The best setups often occur when the Relative Volume is > 1.2 and the Daily Closing Range is > 90% on the day of the bounce. This indicates that institutions didn't just defend the level—they overwhelmed the sellers by the closing bell. Would you like me to help you draft the "Release Notes" for when you update this script with the Gemini Confluence Trigger features we discussed?Indicateur Pine Script®par phonzietrade3
All-in-One SMC ProAll-in-One SMC Pro: CHOCH • BOS • FVG • Order Blocks • Liquidity + Discount/Premium This open-source overlay indicator combines the five most widely used Smart Money / ICT (Inner Circle Trader) concepts into a single, customizable tool: - Break of Structure (BOS) - Change of Character (CHOCH) - Fair Value Gaps (FVG) - Order Blocks (mitigation blocks) - Liquidity grabs (equal highs/lows) - Discount / Premium zones Why this combination? SMC traders rarely use these concepts in isolation. A complete workflow typically involves: 1. Identifying market structure direction (BOS) or reversal (CHOCH) 2. Locating high-probability entry zones (Order Blocks, FVGs) 3. Confirming institutional manipulation (liquidity grabs of equal highs/lows) 4. Understanding price positioning relative to value (discount = buy bias, premium = sell bias) Putting them all in one script reduces chart clutter, improves confluence visibility, and helps newer SMC users see how the pieces connect — without needing 5–7 separate indicators. Core Concepts & Detection Logic 1. Break of Structure (BOS) - Bullish BOS: price closes above previous swing high - Bearish BOS: price closes below previous swing low - Swing points detected with user-defined lookback (default 5 bars left/right) 2. Change of Character (CHOCH) - Bullish CHOCH: price makes lower low but closes above previous swing high (bearish structure broken → bullish reversal signal) - Bearish CHOCH: price makes higher high but closes below previous swing low (bullish structure broken → bearish reversal signal) 3. Fair Value Gaps (FVG) - Bullish FVG: gap up after a bearish candle (low > high ) - Bearish FVG: gap down after a bullish candle (high < low ) - Sensitivity controlled via ATR multiplier (default 0.1 × ATR(14)) - Dashed horizontal lines mark the gap boundaries 4. Order Blocks - Bullish OB: previous swing low after bullish BOS (potential demand zone) - Bearish OB: previous swing high after bearish BOS (potential supply zone) - Drawn as semi-transparent boxes extending rightward (lookback period adjustable) 5. Liquidity Grabs - Detects clusters of equal highs/lows (default 3-bar lookback) - Labels appear when price reverses after touching equal levels (classic stop-hunt / liquidity raid) 6. Discount / Premium Zones - Equilibrium proxy = (H + L + C) / 3 - Discount: price below ~0.5% of equilibrium (green tint – buy bias area) - Premium: price above ~0.5% of equilibrium (red tint – sell bias area) Visual Customization - Toggle each element independently (BOS, CHOCH, FVG, OB, Liquidity, Disc/Prem) - Separate bullish/bearish colors + dedicated FVG/OB/Liquidity colors - Max lines/labels set high (500) to handle longer histories Alerts (built-in conditions) - Bullish / Bearish BOS - Bullish / Bearish CHOCH - Bullish / Bearish FVG formation How to Use - Best on 5m–4h timeframes for forex, indices, crypto, gold (high-liquidity instruments) - Typical SMC workflow example: 1. Look for CHOCH → potential trend reversal 2. Wait for BOS in new direction → structure confirmation 3. Seek entry at Order Block or FVG mitigation in discount/premium zone 4. Liquidity grabs near swing extremes often precede strong moves - Combine with session times, news events, or higher-timeframe bias — never trade signals in isolation - Adjust swingLen (3–10) for sensitivity: lower = more signals, higher = cleaner structure Publishing Recommendation - Publish with a clean chart (recommended: 15m–1h EURUSD, XAUUSD, BTCUSD, or NQ1!) - Show a recent CHOCH → BOS → OB/FVG confluence sequence - Remove all other indicators, drawings, and unnecessary gridlines Always use discretion, proper risk management, and backtest thoroughly. Feedback welcome — especially on FVG sensitivity or OB refinement ideas!Indicateur Pine Script®par uzair2join25
Bank CRE Stress & Short Risk Overlay + Dashboard🏦 Bank CRE Stress & Short Risk Overlay + Dashboard This open-source indicator overlays risk visualization and a fixed dashboard specifically for **U.S. regional bank stocks** exposed to Commercial Real Estate (CRE) lending stress (as observed in 2023–2026 cycles). It combines: - Static CRE exposure tiers (critical/high/elevated/short-bias/failed) based on latest known CRE loan-to-capital ratios and provisions data (sourced from FDIC Call Reports, FAU studies, FFIEC filings ~Q3/Q4 2025) - Real-time price stress detection (EMA200 breakdown + 20-bar range low breach) - Visual alerts (background coloring + per-bar risk labels) - Top-right summary dashboard Purpose & Why This Combination? Regional banks with heavy CRE concentration became focal points during rising office/vacancy stress, higher provisions, deposit outflows, and equity pressure. This tool helps traders quickly: - Identify which tickers carry elevated CRE risk - See when technical breakdown aligns with fundamental vulnerability (potential short setups or high-risk avoidance zones) - Monitor a static watchlist without needing external spreadsheets The mashup is useful because raw fundamentals change quarterly, while price action provides real-time confirmation of stress transmission to equity. Dashboard + overlay gives instant context on any bank chart. How It Works 1. Ticker Classification (static – update manually when new Call Reports released) - 🔴 Critical / Short Bias: >~500% CRE exposure or high-conviction short candidates - 🟠 High: ~375–480% - 🟡 Elevated: ~300–350% - ❌ Failed: Known FDIC receivership cases - 🟢 Low/None: not in list 2. Price Stress Trigger - Below 200 EMA (major trend break) - Below 20-bar lowest low (range breakdown) - (Optional stricter filter: ATR expansion – commented out by default) 3. Visuals - Background tint: black (failed), red (critical/short + stress), orange (high + stress), yellow (elevated + stress) - Per-bar label above candle: risk category + warning text (only shown for relevant banks) - EMA50 (gray) & EMA200 (white) plotted for reference 4. Dashboard (top-right, updates on last bar) - Current ticker risk level + color coding - Price stress status - EMA200 position - Static high-risk watchlist - Data freshness & disclaimer note Alerts - "Critical/Short Bias Breakdown" when stress triggers on red/orange tickers - "Failed Bank Symbol" on known failed tickers How to Use - Apply to **regional bank stocks** (DCOM, EGBN, OZK, LOB, VLY, FLG, ZION, WAL, SNV, RF, CMA, TFC, etc.) - Best on daily or 4h charts for swing/position trading context - Use as a **filter / watchlist aid**: → Red/orange background + stress label → heightened short risk or avoidance → Yellow → monitor for provisioning news or CRE delinquency spikes → Black → avoid (historical failures) - Update the arrays quarterly when new FDIC data drops (Q1/Q2/Q3/Q4 Call Reports) - Combine with volume, news, sector ETFs (KRE), or broader CRE indices Inputs & Customization - No user inputs — risk tiers are hardcoded for simplicity & consistency - To add/remove banks: edit the array.from() lines directly Publishing Notes - Publish with a clean chart (e.g., DCOM, EGBN or VLY daily/4h) - Remove unnecessary drawings/indicators - Screenshot showing dashboard + stress label during a breakdown period is ideal Important Disclaimers - Data is **static** and approximate (based on public reports up to ~Q3/Q4 2025) - Must be manually updated — not real-time fundamental feed - This is **not financial advice**, not investment research, and carries no accuracy guarantee - Regional bank equities are extremely volatile — especially under CRE stress - Trading or shorting involves substantial risk of loss Open-source for transparency & educational use. Feedback welcome — especially updated CRE tier suggestions.Indicateur Pine Script®par uzair2join1
1S1K - NQ RangeOne Shot · One Kill is a structured breakout strategy designed for the New York open, built for traders who understand that consistency does not come from trading more, but from trading better.Indicateur Pine Script®par Pedrobdtrader21
5m, 10m, 60m 200 SMA - Black Optimized200SMA for 5 minute, 10 minute, and 60 minute charts mapped on any timeframe. Useful for local supports and resistance on day and swing trades, or pinpointing entries and exits. Indicateur Pine Script®par TheChartDaddy5
Daily & Weekly Closing Range % (Screener Compatible)Overview This indicator calculates the Daily Closing Range (DCR) and Weekly Closing Range (WCR) as a percentage. It measures where the price finishes relative to the session's high and low. This is a staple metric for trend followers and "CANSLIM" style traders (popularized by platforms like Deepvue and MarketSmith) to identify institutional support. A high closing range (e.g., >80%) indicates that despite intraday volatility, buyers were aggressive enough to hold price near the highs. Key Features Screener Integration : Designed specifically to work with the TradingView Stock Screener (Beta). You can now filter your universe for stocks closing in the top 10% or 25% of their range. Clean Visuals : Includes a histogram at the bottom of your chart for quick visual confirmation of price "tightness." How to use for Screening: Add this script to your chart. Open the Stock Screener (Beta). Add a filter and search for "Closing Range Tracker". Select Daily Closing Range and set the value to Greater than 90 to find stocks finishing at the dead-highs.Indicateur Pine Script®par phonzietrade2
Daily & Weekly Closing Range % (Screener Compatible)Overview This indicator calculates the Daily Closing Range (DCR) and Weekly Closing Range (WCR) as a percentage. It measures where the price finishes relative to the session's high and low. This is a staple metric for trend followers and "CANSLIM" style traders (popularized by platforms like Deepvue and MarketSmith) to identify institutional support. A high closing range (e.g., >80%) indicates that despite intraday volatility, buyers were aggressive enough to hold price near the highs. Key Features Screener Integration: Designed specifically to work with the TradingView Stock Screener (Beta). You can now filter your universe for stocks closing in the top 10% or 25% of their range. Dual Timeframe: Pulls both Daily and Weekly data regardless of the timeframe you are currently viewing. Clean Visuals: Includes a histogram at the bottom of your chart for quick visual confirmation of price "tightness." How to use for Screening: Add this script to your chart. Open the Stock Screener (Beta). Add a filter and search for "Closing Range Tracker". Select Daily Closing Range and set the value to Greater than 90 to find stocks finishing at the dead-highs.Indicateur Pine Script®par phonzietrade1
Breakout Setup Volume Dry UpThis screener is designed to identify Mark Minervini–style breakout candidates—stocks exhibiting strong institutional accumulation, tight price action, and leadership characteristics. It focuses on high-relative-strength stocks that are trading above rising key moving averages (50/150/200) and consolidating near highs in low-volatility bases. The scan looks for price breakouts above well-defined resistance accompanied by expanding volume, signaling potential entry points aligned with Minervini’s SEPA (Specific Entry Point Analysis) methodology. These conditions aim to surface stocks transitioning from consolidation to expansion, where risk can be tightly controlled and upside momentum is beginning to accelerate..Indicateur Pine Script®par callumblunt0
Capital Rotational Event (CRE)Capital Rotational Event (CRE) – Inter-Asset Rotation Detector This open-source, non-overlay indicator identifies potential **capital rotation events** between two user-selected assets by combining: 1. Relative Strength (RS) — measures how one asset is performing compared to another 2. Momentum of that RS line — detects acceleration or deceleration in the relative outperformance The goal is to highlight periods when capital appears to be rotating **into** or **out of** the second asset (e.g., from stocks → gold, equities → bonds, risk-on → risk-off, etc.). Core Concept In macro-driven or rotational markets, money often flows between asset classes or correlated instruments. When one asset starts consistently outperforming another (and the outperformance is accelerating), it can signal a shift in investor preference, risk appetite, or sector leadership. This script uses a smoothed relative strength ratio + its momentum to create a simple, objective filter for these rotational shifts. How It Works 1. Fetches closing prices of two symbols: - Asset #1 (lead/default: SPY) – the reference/benchmark - Asset #2 (rotate into/default: GLD) – the asset being evaluated 2. Calculates Relative Strength line: RS = SMA( (close₂ / close₁) × 100 , length ) → Values > 50 = Asset 2 outperforming Asset 1 → Values < 50 = Asset 1 outperforming Asset 2 3. Computes momentum of the RS line: Mom(RS) = SMA( change(RS) , momentum length ) 4. Generates CRE signal: - Bullish CRE (+1): RS > its own SMA **and** RS momentum > 0 → Asset 2 is outperforming **and** the outperformance is accelerating - Bearish CRE (-1): RS < its own SMA **and** RS momentum < 0 → Asset 2 is underperforming **and** the underperformance is accelerating - Neutral (0): otherwise Visual Output - Blue line: Relative Strength (Asset 2 vs Asset 1, scaled around 100) - Gray hline at 50: Neutral level - Orange line: Momentum of RS (oscillates around zero) - Green upward triangles (bottom): Bullish Capital Rotation Event - Red downward triangles (top): Bearish Capital Rotation Event - Background coloring: light green (bullish rotation), light red (bearish rotation) Why this combination? - Raw RS ratio shows **who is stronger**, but can be slow-moving or noisy. - Adding momentum of RS filters for **dynamic shifts** — catching the moments when rotation is actually gaining steam rather than just drifting. - The dual-condition logic (RS above/below average + positive/negative momentum) reduces false signals and focuses on meaningful acceleration in relative performance. Typical Use Cases - Macro rotation: SPY vs GLD (risk-on vs safe-haven), SPY vs TLT (equities vs bonds), QQQ vs XLF (tech vs financials) - Sector rotation: XLE vs XLU (energy vs utilities), XLK vs XLV (tech vs healthcare) - Currency pairs or crypto: BTCUSD vs ETHUSD, USD vs gold, etc. - Timeframes: Daily/weekly for macro swings, 4h/1h for shorter tactical rotations How to Use 1. Apply to any chart (timeframe of your choice). 2. Set Asset #1 (benchmark) and Asset #2 (target) via inputs. 3. Adjust RS Length (default 14) and Momentum Length (default 9) to match your timeframe. 4. Watch for triangle signals + background color change as early clues of rotation. 5. Combine with price action on the actual assets — CRE is a relative bias tool, not a direct buy/sell signal. 6. Best in trending or regime-shifting markets; less useful in strong correlated moves. Inputs - Asset #1 (lead): default SPY - Asset #2 (rotate into): default GLD - RS Length: smoothing period for relative strength (default 14) - Momentum Length: smoothing period for RS change (default 9) Publishing Notes - Publish with a clean chart (only this indicator active). - Recommended example setup: daily or 4h chart with SPY + GLD (or your preferred pair). - No other overlays/indicators needed for basic interpretation. This script is fully open-source for learning and transparency. It is an educational tool — not a guaranteed predictor of market direction. Trading and investing involve significant risk of loss. Feedback welcome — happy rotating!Indicateur Pine Script®par uzair2join3
Apex / ChartFanatics Bubbles + Clusters + SweepsApex / ChartFanatics Bubbles + Clusters + Sweeps This open-source indicator combines four visual elements — Volume Bubbles, Volume Clusters, Liquidity Sweep Markers, and Dynamic Supply/Demand Zones — into a single overlay tool. The goal is to provide traders with a unified view of volume intensity, aggressive price action, and key institutional reference levels on any timeframe or instrument. Why this combination? Many volume and structure tools exist separately, but combining them creates synergy: - Volume Bubbles highlight relative volume strength instantly (quick glance at participation level). - Volume Clusters emphasize high-volume bars as potential support/resistance areas. - Liquidity Sweep markers flag classic "fakeout" or stop-hunt behavior (aggressive wicks that fail to sustain). - Supply/Demand zones provide context for where price is likely to react after sweeps or clusters form. Together, these elements help traders spot: - Areas of high institutional interest (clusters + zones) - Potential reversals after liquidity grabs (sweeps + zones) - Confirmation of momentum via volume size and candle direction (bubbles + clusters) This mashup is not random — it follows a logical Smart-Money / Order-Flow inspired workflow: detect volume → identify aggressive liquidity raids → map reaction zones → visualize everything for fast decision-making. Core Features & How They Work 1. Volume Bubbles (Quantile-Based) - Volume is ranked against a rolling lookback (default 200 bars). - Dynamic quantiles divide the volume range into buckets (default 10 levels). - Bubble size scales with quantile rank (tiny → huge). - Color: bright green (bullish close) or bright red (bearish close), with adjustable opacity. - Only shown when volume exceeds 1.2× the lookback minimum (avoids noise). - Tooltip shows exact volume, delta (close-open), and quantile position. 2. Volume Clusters - Draws semi-transparent boxes around bars exceeding a user-defined minimum volume. - Width adjustable (default 4 bars forward) to highlight clusters visually. - Same bullish/bearish coloring as bubbles for consistency. 3. Liquidity Sweeps - Detects classic sweep patterns on the previous bar: → Bullish sweep: high > previous high, but close < previous high AND bearish candle → Bearish sweep: low < previous low, but close > previous low AND bullish candle - Marked with a bright yellow star (★) label + tooltip. - Useful for identifying potential stop hunts or failed breakouts. 4. Supply & Demand Zones - Uses pivot high/low (default lookback 20 left/right) to detect swing points. - Supply zone: from pivot high downward by 2× ATR(14). - Demand zone: from pivot low upward by 2× ATR(14). - Zones extend rightward dynamically (up to +30 bars) and remain visible until new pivots form. - Brownish for supply (resistance), greenish for demand (support). Inputs & Customization - Bubble Quantiles (3–15): more levels = finer volume grading - Bubble Opacity: controls transparency - Volume Lookback: historical window for quantile calculation - Cluster settings: toggle, min volume, width - Sweeps & Zones: individual toggles - Zone Pivot Lookback: sensitivity of swing detection How to Use - Best on lower timeframes (1m–15m) for scalping/day trading or higher (1h–4h) for swing setups. - Look for confluence: → Large green bubble + cluster + demand zone + bullish sweep = strong support area → Large red bubble + cluster + supply zone + bearish sweep = strong resistance area - Use sweeps as early warning of potential reversal when price approaches a zone. - Combine with your own price action or structure analysis — this is a visual aid, not a signal generator. - Keep chart clean: toggle off unused features if cluttered. Publishing Notes - Publish with a clean chart (only this indicator active, no other overlays/drawings). - Recommended symbols: volatile instruments (forex majors, indices, crypto, gold). - Max labels/boxes set high (500) to handle long histories — reduce if performance issues occur. This script is fully open-source for transparency and learning. It is provided for educational purposes — no guarantees of profitability. Trading involves risk. Feedback welcome — happy charting!Indicateur Pine Script®par uzair2join42
Delta Hedging PressureDelta Hedging Pressure – Cumulative Volume Delta Proxy This open-source indicator calculates and displays a simple proxy for **net hedging / directional pressure** using volume-weighted candle direction (often called cumulative delta or cumulative volume delta in order-flow analysis). Core Concept In many markets (especially futures, forex, crypto, indices), large players (institutions, market makers, hedgers) tend to accumulate directional exposure over time. When aggressive buying or selling occurs, it often shows up as sustained volume in one direction. This script approximates that pressure by: - Assigning +volume to bullish candles (close > open) - Assigning –volume to bearish candles (close < open) - Neutral (0) for doji-type bars - Cumulatively summing this "delta" over a user-defined lookback or since the start of each trading day The result is a running total line that drifts up during net buying pressure (potential bullish bias / short covering / hedging demand) and down during net selling pressure (potential bearish bias / long liquidation / hedging supply). Why this is useful - Acts as a **sentiment / bias filter** — helps traders see whether underlying participation supports the current price move. - Session reset option (default: true) makes it particularly effective on intraday charts (1m–1h), where daily resets align with institutional session flows (e.g., Asian, London, NY). - Background coloring (green/red/gray) provides instant visual context for current net pressure without cluttering the price chart. - Zero-line crossovers and divergence from price can highlight exhaustion or absorption points. Calculation Details 1. Per-bar delta = volume × direction direction = +1 (green candle), –1 (red candle), 0 (doji) 2. Cumulative sum (cumHedge): - Resets to current bar's delta on new day if "Reset on New Day" is enabled - Otherwise runs continuously across all history 3. Sentiment label (last bar only): - Bullish if cumHedge > 0 - Bearish if cumHedge < 0 - Neutral if exactly 0 Key Features - Cumulative Hedge Pressure line (blue) — main plot - Zero line (gray) — reference for net buying vs selling - Optional background coloring (green = bullish bias, red = bearish, gray = neutral) - Last-bar label showing current "Hedge Bias" (Bullish / Bearish / Neutral) How to Use - Best on lower timeframes (1m–15m) for intraday bias or higher (1h–4h) for swing context. - Keep "Reset on New Day" enabled for daily institutional reset alignment (most common use case). - Interpretation examples: → Rising cumulative delta + rising price = strong bullish participation (healthy uptrend) → Falling cumulative delta + rising price = bearish divergence (possible distribution / weak rally) → Cumulative delta near zero = balanced / choppy market → Strong divergence near extremes often precedes reversals or absorption - Combine with price action, support/resistance, or volume profile — never use in isolation. - Toggle background off if it distracts from price reading. Inputs - Cumulative Length: controls smoothing / memory when reset is disabled (default 50) - Reset on New Day: true = daily reset (recommended for intraday), false = continuous - Show Background Bias: toggle green/red/gray session coloring Publishing Recommendation - Apply to a clean chart (no other indicators needed for basic use). - Recommended symbols: futures (ES, NQ, GC), forex majors, BTC/USD, XAUUSD — any instrument with reliable volume data. - Use default settings for initial testing. This is a lightweight, educational tool built for transparency — fully open-source. It is not a standalone signal generator and does not predict price direction with certainty. Trading involves significant risk. Feedback welcome — happy charting!Indicateur Pine Script®par uzair2join7
Market Structure Dashboard | Flux ChartsGENERAL OVERVIEW Market Structure Dashboard is a multi-timeframe market structure analysis indicator. It combines EMA trend detection, swing high/low tracking, market structure labels, Order Block detection, Fair Value Gap detection, liquidity sweep detection, volume analysis, volatility analysis, trading sessions, ICT killzones, a weighted trend bias system, and HTF levels into one unified dashboard. Each component is calculated independently across up to 7 configurable timeframes and displayed together in a single organized view. (Screenshot: Full dashboard overview - all sections visible) (Screenshot: Dashboard on a busy chart showing OB/FVG boxes, swing labels, HTF lines) WHAT IS THE THEORY BEHIND THIS INDICATOR? The core idea is that a trade setup becomes more reliable when multiple timeframes agree on direction. A bullish signal on a 5-minute chart carries more weight when the 15-minute, 1-hour, and daily timeframes also show bullish conditions. Analyzing each timeframe separately is both time-consuming and prone to error. The Market Structure Dashboard automates this process by calculating key metrics across all enabled timeframes and presenting them side by side. The indicator draws from two established trading methodologies. Smart Money Concepts (SMC) focuses on identifying institutional footprints in price action through patterns like Order Blocks, Fair Value Gaps, and liquidity sweeps. Inner Circle Trader (ICT) methodology emphasizes time-based analysis through specific trading windows called killzones and the importance of previous day, week, and month highs and lows. Rather than treating these concepts in isolation, the dashboard organizes them into a layered framework. Structure shows where the market has been. Zones show where it may react. Sessions and killzones show when activity tends to increase. The trend bias system combines all factors into a single weighted score, giving traders a quick read on overall market sentiment across timeframes. The purpose of the Market Structure Dashboard is to present the current market activity across multiple timeframes and how these conditions relate to earlier market structure, volume, and timing. (Screenshot: Multi-timeframe confluence example - all TFs showing bearish alignment) (Screenshot: Multi-timeframe disagreement example - mixed signals across TFs) MARKET STRUCTURE DASHBOARD FEATURES The Market Structure Dashboard indicator includes 14 main features: EMA Trend Detection Swing High/Low Tracking Market Structure Labels (HH/HL/LH/LL) Order Block Detection Fair Value Gap Detection Liquidity Sweep & Reclaim Detection Volume Analysis Volatility Analysis Trading Sessions ICT Killzones Trend Bias System HTF Levels (PDH/L, PWH/L, PMH/L) Visual Overlays Dashboard Customization Each component operates independently while sharing the same underlying market structure logic. All features are calculated across up to 7 user-configurable timeframes and displayed in a unified dashboard. Detailed explanations for each component are provided in the sections that follow. EMA TREND DETECTION 🔹 What is an EMA? An Exponential Moving Average (EMA) is a type of moving average that gives more weight to recent price data. Unlike a Simple Moving Average that weights all prices equally, the EMA responds faster to recent price changes while still considering historical data. Traders use EMAs to identify trend direction and dynamic support/resistance levels. When price trades above the EMA, the short-term trend is considered bullish. When price trades below the EMA, the short-term trend is considered bearish. The distance between price and EMA can indicate trend strength, with larger distances suggesting stronger momentum. 🔹 How the Indicator Uses EMA The dashboard calculates a 9-period EMA (configurable) for each enabled timeframe. The EMA Trend column displays both direction and distance. ◇ Direction is shown with an up arrow (↑) when price is above EMA, or a down arrow (↓) when price is below EMA. ◇ Distance is displayed as percentage, price, or pips based on the Distance Display setting. For example, "+0.45% ↑" means price is 0.45% above the EMA on that timeframe. ◇ Color coding shows green when price is above EMA (bullish) and red when price is below EMA (bearish). The EMA can optionally be plotted as a visual overlay on the chart. It can also be included as a factor in the Trend Bias calculation, where each timeframe's EMA direction contributes to the overall bias score. (Screenshot: EMA column showing bearish readings - red, ↓) SWING HIGH/LOW TRACKING 🔹 What are Swing Highs and Lows? A swing high is a price peak where a candle's high is higher than the highs of surrounding candles. A swing low is a price trough where a candle's low is lower than the lows of surrounding candles. These points represent short-term reversals and define the boundaries of price movement. Swing points are foundational to market structure analysis. Breaking a swing high suggests bullish momentum. Breaking a swing low suggests bearish momentum. The sequence of swing points creates market structure patterns that reveal trend direction. 🔹 How the Indicator Tracks Swing Highs/Lows? The indicator detects swing points using a configurable Swing Length parameter (default: 5). A swing high is confirmed when a candle's high is higher than the specified number of candles on both sides. A swing low is confirmed when a candle's low is lower than the specified number of candles on both sides. This confirmation requirement means swing points are identified with a delay, ensuring they are valid pivots rather than temporary spikes. This same Swing Length setting is also used by Order Block detection and Market Structure labels, so adjusting it affects all three features. ◇ The Swing H/L column displays a visual position indicator showing where price sits within the current swing range. A dot moves along a bar between L (swing low) and H (swing high) to show exact position. ◇ When price breaks outside the range, arrows indicate the direction. An up arrow (↑) appears when price breaks above the swing high. A swing high break indicates that buyers have pushed price beyond the previous peak, suggesting bullish momentum and a potential continuation higher. (Screenshot: Price above Swing High) A down arrow (↓) appears when price breaks below the swing low. A swing low break indicates that sellers have pushed price beyond the previous trough, suggesting bearish momentum and a potential continuation lower (Screenshot: Price breaks Swing Low) When a liquidity sweep occurs (price breaks a level then reclaims it), special arrows appear: ⤴ for a swept and reclaimed low, ⤵ for a swept and reclaimed high. A swept and reclaimed swing means price broke beyond the level, likely triggering stop-loss orders resting beyond it, but then reversed back inside the range. This suggests the breakout was a false move and the opposite direction may follow. Liquidity sweeps are explained in detail in the Liquidity Sweep & Reclaim Detection section below. ◇ Color coding shows green when price is in the lower half of the range or breaks above the swing high, and red when price is in the upper half or breaks below the swing low. (Screenshot) ◇ Tooltips provide additional context when hovering over any Swing H/L cell, such as "Price is nearing swing low on 15M" or "Price above swing high on 1H - swing high broken." MARKET STRUCTURE LABELS (HH/HL/LH/LL) 🔹 What is Market Structure? Market structure refers to the pattern of swing highs and swing lows that price creates over time. By comparing consecutive swing points, each new swing can be classified into one of four types. ◇ HH (Higher High): A swing high that is higher than the previous swing high, indicating bullish momentum. ◇ HL (Higher Low): A swing low that is higher than the previous swing low, indicating bullish momentum. ◇ LH (Lower High): A swing high that is lower than the previous swing high, indicating bearish momentum. ◇ LL (Lower Low): A swing low that is lower than the previous swing low, indicating bearish momentum. (Screenshot: Bullish and Bearish Swing Points) Bullish structure consists of HH and HL patterns, where price makes higher highs and higher lows. Bearish structure consists of LH and LL patterns, where price makes lower highs and lower lows. Mixed structure contains conflicting patterns and indicates consolidation or potential trend change. 🔹 How the Indicator Displays Market Structure The Structure column shows the last three structure labels in sequence along with an overall bias arrow. ◇ "LL-LH-HL →" indicates mixed structure with no clear direction. ◇ "HH-HL-HH ↑" indicates bullish structure with higher highs and higher lows. ◇ "LH-LL-LH ↓" indicates bearish structure with lower highs and lower lows. (Screenshot: Dashboard showing neutral, bearish and bullish indication across different timeframes) The indicator tracks each new swing point as it forms, compares it to the previous swing of the same type, and assigns the appropriate label. Market Structure labels use the same Swing Length setting as Swing High/Low tracking, so both features stay synchronized. Structure bias is determined by the most recent high type and low type combined. If the last swing high was HH and the last swing low was HL, bias is bullish. If the last swing high was LH and the last swing low was LL, bias is bearish. Any other combination shows neutral. Color coding shows green for bullish structure, red for bearish structure, and gray for mixed or neutral structure. ORDER BLOCK DETECTION 🔹 What is an Order Block? An Order Block is a concept from Smart Money analysis representing a candle or consolidation area where institutional orders may have been placed. In SMC methodology, Order Blocks are identified as the last opposing candle before a significant price move that breaks market structure. ◇ A Bullish Order Block is the last bearish candle before a rally that breaks a swing high. When price returns to this zone, it may find support. ◇ A Bearish Order Block is the last bullish candle before a drop that breaks a swing low. When price returns to this zone, it may find resistance. Order Blocks are considered "mitigated" when price trades completely through them, suggesting the institutional orders have been filled. 🔹 How the Indicator Detects Order Blocks The detection algorithm follows a specific sequence to identify valid Order Blocks. ◇ Step 1: The indicator tracks swing highs and swing lows using the configured Swing Length setting (shared with Swing High/Low tracking and Market Structure labels). ◇ Step 2: When price breaks above a swing high, the indicator identifies a bullish breakout. When price breaks below a swing low, it identifies a bearish breakout. ◇ Step 3: For a bullish Order Block, the indicator finds the candle with the lowest low between the broken swing high and the current bar. For a bearish Order Block, it finds the candle with the highest high between the broken swing low and the current bar. ◇ Step 4: The Order Block zone is created spanning from that candle's low to its high. ◇ Step 5: Mitigation is applied when price closes through the Order Block. Bullish OBs are mitigated when price closes below the zone. Bearish OBs are mitigated when price closes above the zone. The Order Block column shows the nearest unmitigated Order Block for each timeframe. "IN BULL OB ↑" means price is currently inside a bullish Order Block. "BULL OB (5.4%) ↑" means the nearest OB is bullish and 5.5% away. "NONE" means no unmitigated Order Blocks exist on that timeframe. (Screenshot: Nearest order block is Bull OB) (Screenshot: Price in Bear OB) FAIR VALUE GAP DETECTION 🔹What is a Fair Value Gap? A Fair Value Gap (FVG), also called an imbalance, is a three-candle pattern where a gap exists between the first and third candle that the middle candle did not fill. This gap represents an area where price moved quickly, creating an imbalance in the market. ◇ A Bullish FVG forms when the first candle's high is lower than the third candle's low, creating an upward gap. When price returns to this gap, it may find support. ◇ A Bearish FVG forms when the first candle's low is higher than the third candle's high, creating a downward gap. When price returns to this gap, it may find resistance. FVGs are considered mitigated when price wicks into the gap, filling the inefficiency. 🔹 How the Indicator Detects FVGs The detection logic checks for the three-candle gap pattern with specific conditions. ◇ For a Bullish FVG, the current candle's low must be above the candle from three bars ago's high (gap exists), and the middle candle must be bullish (displacement candle). ◇ For a Bearish FVG, the current candle's high must be below the candle from three bars ago's low (gap exists), and the middle candle must be bearish (displacement candle). ◇ The FVG zone spans from the gap's bottom to its top. ◇ Mitigation occurs when price wicks below the gap bottom for bullish FVGs, or above the gap top for bearish FVGs. Note that FVG mitigation is more sensitive than Order Block mitigation. FVGs only need a wick to touch them, while Order Blocks require a close through them. The FVG column displays similarly to Order Blocks. "IN BULL FVG ↑" means price is inside a bullish Fair Value Gap. "BULL FVG (0.2%) ↑" means the nearest FVG is bullish and 0.2% away. "NONE" means no unmitigated FVGs exist on that timeframe. (Screenshot: Price in Bull FVG) (Screenshot: Bear FVG +3.4% away) LIQUIDITY SWEEP & RECLAIM DETECTION 🔹 What is a Liquidity Sweep? Liquidity refers to resting orders in the market, particularly stop-loss orders. Traders commonly place stops just beyond swing highs and swing lows, creating pools of liquidity at these levels. A liquidity sweep occurs when price breaks beyond a swing point, potentially triggering stops, but then reverses and closes back inside the range. ◇ A Bullish Liquidity Sweep occurs when price breaks below a swing low, then reverses and closes back above it. This pattern suggests potential buying interest after weak hands have been stopped out. ◇ A Bearish Liquidity Sweep occurs when price breaks above a swing high, then reverses and closes back below it. This pattern suggests potential selling interest after weak hands have been stopped out. 🔹 How the Indicator Detects Liquidity Sweeps The indicator tracks whether each swing level has been broken and then reclaimed. ◇ A swing low is marked as broken when price trades below it. A swing high is marked as broken when price trades above it. ◇ A reclaim is detected when price closes back above a broken swing low (bullish) or back below a broken swing high (bearish). ◇ The break and reclaim flags reset when a new swing point forms, ensuring fresh detection for each level. When a liquidity sweep is detected, the Swing H/L column displays special indicators. The ⤴ symbol indicates a bullish liquidity sweep where price swept the low and reclaimed. The ⤵ symbol indicates a bearish liquidity sweep where price swept the high and reclaimed. Tooltips provide additional context such as "Liquidity sweep - price swept swing low and reclaimed on 15M." (Screenshot: Swing High Swept) (Screenshot: Previous Month Low Swept) VOLUME ANALYSIS 🔹 What is Volume Analysis? Volume represents the number of shares, contracts, or units traded during a given period. High volume suggests strong interest and participation behind a price move. Low volume suggests weak interest and moves may lack follow-through. Comparing current volume to average volume helps identify unusual activity. 🔹 How the Indicator Analyzes Volume The dashboard calculates current volume as a percentage of its 20-period simple moving average. ◇ The Volume column displays a visual bar using filled and empty blocks to represent volume level relative to average. ◇ Volume states are classified as EXTREME (over 200% of average), HIGH (over 120%), NORMAL (over 80%), LOW (over 50%), or VERY LOW (50% or less). (Screenshot: Extreme Volume) ◇ Color coding shows yellow for extreme volume, orange for high volume, and gray for normal, low, and very low. ◇ Tooltips show the exact percentage, such as "Volume is currently at 145% of average." VOLATILITY ANALYSIS 🔹 What is Volatility? Volatility measures how much price fluctuates over a given period. High volatility means large price swings. Low volatility means small price movements. The Average True Range (ATR) is a common volatility measure that calculates the average of true ranges over a period. 🔹 How the Indicator Measures Volatility The dashboard calculates a 14-period ATR and compares it to its own 20-period average (configurable). ◇ The Volatility column displays the current state as HIGH (ATR over 130% of average), NORMAL (ATR between 70-130% of average), or LOW (ATR under 70% of average). ◇ Color coding shows red for high volatility, gray for normal, and green for low volatility. ◇ Tooltips provide context such as "Volatility is currently high" or "Volatility is currently low." Low volatility often precedes significant moves, making it a useful setup indicator when combined with price at key levels. (Screenshot: High Volatility) TRADING SESSIONS 🔹 What are Trading Sessions? Financial markets have varying activity levels throughout the day. Trading is typically divided into three major sessions based on which financial centers are open. ◇ Asian Session runs from 7:00 PM to 3:00 AM EST. It is characterized by generally lower volatility and ranging price action ◇ London Session runs from 3:00 AM to 12:00 PM EST. It is characterized by higher volatility and trending moves ◇ New York Session runs from 8:00 AM to 5:00 PM EST. It has high volatility especially during the London overlap from 8:00 AM to 12:00 PM EST, affecting USD pairs and all majors. 🔹 How the Indicator Displays Sessions The Session column shows the current session name in the first row as ASIAN, LONDON, NEW YORK, or OFF HOURS (between sessions from 5:00 PM to 7:00 PM EST). ◇ The second row shows a progress bar that fills as the session advances, with each block representing approximately one hour. ◇ Sessions are color-coded as blue for Asian, green for London, orange for New York, and gray for off hours. These colors can be customized in the settings ◇ The indicator uses New York (EST) timezone for all session calculations and includes replay mode support. (Asian Session and Killzone) ICT KILLZONES 🔹 What are Killzones? Killzones are specific time windows within each trading session when market activity tends to be higher. These windows are derived from ICT (Inner Circle Trader) methodology and represent times when significant moves are more likely to occur. ◇ Asian Killzone runs from 8:00 PM to 12:00 AM EST and often sets the initial range for the day. ◇ London Killzone runs from 2:00 AM to 5:00 AM EST and covers the London open when major moves are common. ◇ New York AM Killzone runs from 9:30 AM to 11:00 AM EST and covers the NYSE open, a high volume period. ◇ New York Lunch runs from 12:00 PM to 1:00 PM EST and typically has lower activity and consolidation. ◇ New York PM Killzone runs from 1:30 PM to 4:00 PM EST when afternoon continuation moves occur. 🔹 How the Indicator Displays Killzones The Killzone column shows the current killzone in the first row as ASIAN KZ, LONDON KZ, NY AM KZ, NY LUNCH, NY PM KZ, or NO KILLZONE when outside all killzones. ◇ When outside a killzone, the second row shows a countdown to the next killzone, such as "NY AM KZ in 2h:15m." ◇ Killzones are color-coded as blue for Asian, green for London, orange for NY AM, gray for NY Lunch, and purple for NY PM. These colors can be customized in the settings TREND BIAS SYSTEM 🔹 What is Trend Bias? The Trend Bias System aggregates multiple factors across all enabled timeframes to produce a single directional bias score. Instead of analyzing each factor and timeframe separately, this system provides a weighted summary of overall market sentiment. 🔹 How the Indicator Calculates Trend Bias The calculation involves three components working together. (Screenshot: BTC Bearish Trend) ◇ Factors determine what contributes to bias. Users can enable or disable Structure (market structure bias), Order Block (direction of nearest OB), FVG (direction of nearest FVG), EMA Trend (price position relative to EMA), and Swing Position (where price sits in the swing range). Each enabled factor contributes +1 for bullish, -1 for bearish, or 0 for neutral per timeframe. ◇ Weights determine how much each timeframe matters. Each timeframe has a configurable weight from 0 to 10. Default weights are 1 for 1M and 5M, 2 for 15M, 1H, and 4H, 3 for Daily, and 4 for Weekly. Higher weights mean that timeframe contributes more to the final score. (Screenshot: Gold Bullish Trend) ◇ Score Calculation combines factors and weights. For each active timeframe, the sum of factor scores is multiplied by the timeframe's weight. The total score is the sum of all timeframe scores. The maximum possible score is the sum of each weight multiplied by the number of enabled factors. The bias percentage equals the total score divided by the maximum possible score, multiplied by 100. ◇ Bias Labels are assigned based on percentage. Over 50% shows BULLISH ↑. Between 20% and 50% shows LEAN BULL ↑. Between -20% and 20% shows NEUTRAL →. Between -50% and -20% shows LEAN BEAR ↓. Below -50% shows BEARISH ↓. The Trend Bias column displays the bias label in the first row and the raw score in the second row, such as "+22/60" meaning 22 points out of 60 possible. HTF LEVELS (PDH/L, PWH/L, PMH/L) 🔹 What are HTF Levels? Higher Timeframe (HTF) Levels are significant price points from previous completed periods. These levels represent clear, objective reference points that many traders watch. ◇ PDH/PDL (Previous Day High/Low) are the high and low of the previous completed trading day and act as intraday support and resistance. ◇ PWH/PWL (Previous Week High/Low) are the high and low of the previous completed week and are significant levels for swing trading. ◇ PMH/PML (Previous Month High/Low) are the high and low of the previous completed month and are major levels for position trading. 🔹 How the Indicator Displays HTF Levels The HTF Levels Dashboard section (optional) shows a swing-style position bar for each enabled level, displaying where price sits within the previous day, week, or month range. ◇ The same liquidity sweep detection applies to HTF levels. If price sweeps PDL and reclaims, the ⤴ indicator appears. (Screenshot: Previous Week Low Swept) ◇ Visual overlays can plot HTF level lines on the chart with customizable colors and line styles. ◇ When multiple levels are close together, labels automatically combine. For example, "PDH/PWH" appears when both levels are at similar prices, or "PDL/PWL/PML" when all three lows align. (Screenshot: PWH/PMH labels combined when Previous Week Low and Previous Month Low align) VISUAL OVERLAYS Beyond the dashboard, the indicator offers optional visual overlays that plot directly on the price chart. 🔹 Order Block Zones When enabled, Order Blocks appear as semi-transparent rectangular boxes. Green boxes represent bullish Order Blocks and red boxes represent bearish Order Blocks. Boxes span from the OB candle's low to its high and extend forward based on the Extend setting. Optional labels show "OB ↑" or "OB ↓" inside the zones. 🔹 FVG Zones Fair Value Gaps appear as boxes with dashed borders to distinguish them from Order Blocks. Green dashed boxes represent bullish FVGs and red dashed boxes represent bearish FVGs. They share the same extend and label options as Order Blocks. (Order Blocks & Fair Value Gaps) 🔹 Swing Labels HH, HL, LH, and LL labels can be plotted directly at each swing point on the chart. Labels appear above swing highs and below swing lows. Green labels indicate bullish structure (HH, HL) and red labels indicate bearish structure (LH, LL). The Show Last setting controls how many labels appear. 🔹 Swing Lines Horizontal lines can be drawn at the current swing high and swing low. A red line appears at the swing high and a green line at the swing low. Line styles are customizable as solid, dashed, or dotted. (Swing Labels & Swing Lines) 🔹 HTF Level Lines Horizontal lines can be plotted at Previous Day, Week, and Month highs and lows. Each level has a separate enable toggle with customizable colors and line styles. Labels auto-combine when levels are close together. 🔹 EMA Line A standard EMA line can be plotted on the chart using the same EMA Length setting as the dashboard with customizable color. DASHBOARD CUSTOMIZATION: The dashboard is highly customizable to fit different trading styles and screen setups. 🔹Dashboard Position Choose from 9 dashboard positions including top left, top center, top right, middle left, middle center, middle right, bottom left, bottom center, and bottom right. 🔹Dashboard Colors Two color themes are available. Dark Mode has dark backgrounds with light text and is the default. Light Mode has light backgrounds with dark text. 🔹Column Toggles Enable or disable individual columns in each dashboard section to show only the information needed. The Market Structure Dashboard section can toggle EMA Trend, Swing H/L, Structure, Order Block, and FVG columns. The Current Timeframe Dashboard section can toggle Volume, Swing H/L, and Volatility columns. The Market Context Dashboard section can toggle Session, Killzone, and Trend Bias columns. The HTF Levels Dashboard section can toggle PDH/L, PWH/L, and PMH/L levels. 🔹Color Settings Customize colors for trend colors (bull, bear, neutral), session colors (Asian, London, NY), and killzone colors (Asian KZ, London KZ, NY AM, Lunch, PM). 🔹Distance Display Choose how distances are shown. Percent shows values like "0.45%" and is the default. Price shows raw values like "45.50". Pips shows values like "45 pips" and is useful for forex. SETTINGS: 🔹 Timeframes Configure which timeframes are analyzed in the dashboard. Enable toggles turn each of the 7 timeframes on or off. Timeframe selection sets the specific timeframe for each slot (1M, 5M, 15M, 1H, 4H, D, W, M, or custom). Trend weight controls how much each timeframe contributes to the overall bias calculation (0-10), with higher values giving that timeframe more influence. 🔹 Market Structure Dashboard Controls the main multi-timeframe dashboard section. The enable toggle turns the entire section on or off. Column toggles allow you to show or hide individual columns: EMA Trend, Swing H/L, Structure, Order Block, and FVG. Disabling columns you don't need reduces visual clutter and focuses the dashboard on the information most relevant to your trading style. 🔹 Current Timeframe Dashboard Controls the current chart timeframe section that displays volume, swing position, and volatility data. The enable toggle turns the entire section on or off. Column toggles allow you to show or hide individual columns: Volume, Swing H/L, and Volatility. 🔹 Market Context Dashboard Controls the market context section that displays session, killzone, and trend bias information. The enable toggle turns the entire section on or off. Column toggles allow you to show or hide individual columns: Session, Killzone, and Trend Bias. 🔹 HTF Levels Dashboard Controls the higher timeframe levels section that displays previous day, week, and month high/low data. The enable toggle turns the entire section on or off. Level toggles allow you to show or hide individual levels: PDH/L, PWH/L, and PMH/L. 🔹 Trend Bias Settings Controls which factors contribute to the trend bias calculation. Factor toggles allow you to include or exclude Structure, Order Block, FVG, EMA Trend, and Swing H/L from the bias score. Disabling factors you don't find relevant customizes how the overall bias is determined. 🔹 Visual Overlays Controls what is plotted directly on the price chart. Order Blocks and FVGs each have an enable toggle, bull/bear colors, show last count (how many zones to display), extend bars (how far zones project forward), and labels toggle. Swing Labels have an enable toggle, bull/bear colors, and show last count. Swing Lines have an enable toggle, high/low colors, line style (solid, dashed, dotted), and extend bars. HTF Level Lines for Previous Day, Week, and Month highs/lows each have an enable toggle, colors, and line style, with a shared extend setting for all HTF lines. EMA has an enable toggle and color setting. 🔹 General Settings Core indicator parameters. EMA Length sets the period for EMA calculation (default 9). Swing Length sets how many bars are required to confirm a pivot and is used for Swing Point detection, Order Block detection, and Market Structure labels (default 5). Volatility Lookback sets the period for ATR averaging (default 20). Distance Display controls how distances are shown: Percent, Price, or Pips. Dashboard Position sets where the dashboard appears on the chart (9 options). Dashboard Theme switches between Dark Mode and Light Mode. Color settings allow customization of trend colors (bull, bear, neutral), session colors (Asian, London, NY), and killzone colors (Asian KZ, London KZ, NY AM, Lunch, PM). (Full Dashboard) (Customized Display) UNIQUENESS: The Market Structure Dashboard focuses on multi-timeframe confluence by calculating and displaying the same analytical components across up to 7 timeframes simultaneously. Unlike indicators that show one timeframe at a time, each row in the dashboard represents a complete analysis of that timeframe's structure, zones, and trend state. This allows traders to observe alignment, disagreement, and transitions across timeframes within a single view. The weighted Trend Bias System combines structure, zones, EMA, and swing position into a single score that accounts for timeframe importance. Higher timeframes can be weighted more heavily, reflecting their greater significance in establishing overall market direction. The dashboard also integrates time-based context through session and killzone tracking, helping traders identify when market conditions align with historically active trading windows. All components coexist without overriding each other, providing a comprehensive framework for multi-timeframe market structure analysis.Indicateur Pine Script®par fluxchartMis à jour 1414 2.1 K
Metals Auction NY Opening Range (Anchored + Extensions)Plots the 8:20 EST open for Metals, followed by the highs and lows of the first hour. Then plots the mid range as well as extensions (50%, 100%, 150%, and 200%). Indicateur Pine Script®par cloudhidden12
Liquidity Sweeps + MSS (Valid / Ignored)//@version=5 indicator("Liquidity Sweeps + MSS (Valid / Ignored)", overlay=true, max_labels_count=200, max_lines_count=200) //────────────────────────────────────────────────────────────── // Inputs structureLookback = input.int(20, "Structure Lookback (recent highs/lows)", minval=10) rangeLookback = input.int(80, "Range Lookback (to define extremes)", minval=30) extremeZonePct = input.float(0.25, "Extreme Zone % (0.25 = top/bottom 25%)", minval=0.05, maxval=0.45, step=0.05) useCloseReentry = input.bool(true, "Require close back inside level (reentry)") // MSS / Swings pivotLeft = input.int(3, "Swing Pivot Left", minval=1) pivotRight = input.int(3, "Swing Pivot Right", minval=1) mssMode = input.string("Close", "MSS Break uses", options= ) // Close = stricter useImpulseFilter = input.bool(true, "Filter strong impulse candles") impulseATRmult = input.float(1.0, "Max body size (ATR multiple)", minval=0.3, maxval=3.0, step=0.1) atrLen = input.int(14, "ATR Length", minval=5) showOnlyValid = input.bool(true, "Show only VALID signals") showPending = input.bool(true, "Show PENDING label") plotStructureLvls = input.bool(false, "Plot recent structure levels") plotMssLevel = input.bool(true, "Plot MSS level while pending") //────────────────────────────────────────────────────────────── // Helpers atr = ta.atr(atrLen) body = math.abs(close - open) // Recent structure (dynamic) recentHigh = ta.highest(high, structureLookback) recentLow = ta.lowest(low, structureLookback) // Bigger “range” to determine if we are at extremes vs middle rngHigh = ta.highest(high, rangeLookback) rngLow = ta.lowest(low, rangeLookback) rng = math.max(rngHigh - rngLow, syminfo.mintick) pos = (close - rngLow) / rng // 0..1 isTopExtreme = pos >= (1.0 - extremeZonePct) isBotExtreme = pos <= extremeZonePct impulseOk = not useImpulseFilter or (body <= atr * impulseATRmult) //────────────────────────────────────────────────────────────── // Swings for MSS (pivot-based) ph = ta.pivothigh(high, pivotLeft, pivotRight) pl = ta.pivotlow(low, pivotLeft, pivotRight) var float lastSwingHigh = na var float lastSwingLow = na // Update latest confirmed swing points (they appear pivotRight bars late, that's fine) if not na(ph) lastSwingHigh := ph if not na(pl) lastSwingLow := pl // Optional: plot structure levels plot(plotStructureLvls ? recentHigh : na, "Recent High", color=color.new(color.red, 70), style=plot.style_linebr, linewidth=2) plot(plotStructureLvls ? recentLow : na, "Recent Low", color=color.new(color.lime,70), style=plot.style_linebr, linewidth=2) //────────────────────────────────────────────────────────────── // Raw sweeps (wick through recent level + optional close reentry) rawSweepHigh = high > recentHigh and (useCloseReentry ? close < recentHigh : true) rawSweepLow = low < recentLow and (useCloseReentry ? close > recentLow : true) // Location filter preValidHigh = rawSweepHigh and isTopExtreme and impulseOk preValidLow = rawSweepLow and isBotExtreme and impulseOk //────────────────────────────────────────────────────────────── // State machine: PENDING → VALID/IGNORED based on MSS break var int pendingDir = 0 // 1 = high sweep pending, -1 = low sweep pending, 0 = none var int pendingStartBar = na var float pendingMssLevel = na var label pendingLabel = na // MSS break condition breakDown = mssMode == "Close" ? close < pendingMssLevel : low < pendingMssLevel breakUp = mssMode == "Close" ? close > pendingMssLevel : high > pendingMssLevel confirmMSSHigh = pendingDir == 1 and not na(pendingMssLevel) and breakDown confirmMSSLow = pendingDir == -1 and not na(pendingMssLevel) and breakUp // If no MSS level exists at sweep time, we will ignore (strict = fewer signals) noMssLevel = pendingDir != 0 and na(pendingMssLevel) // Pending visualization of MSS level plot(plotMssLevel and pendingDir != 0 ? pendingMssLevel : na, "Pending MSS Level", color=color.new(color.yellow, 0), style=plot.style_linebr, linewidth=2) //────────────────────────────────────────────────────────────── // Label helpers makeIgnoredLabel(_isHigh, _reason) => if not showOnlyValid float y = _isHigh ? high : low labelStyle = _isHigh ? label.style_label_down : label.style_label_up label.new(bar_index, y, "SWEEP IGNORED " + _reason, style=labelStyle, color=color.new(color.gray, 0), textcolor=color.white) makePendingLabel(_isHigh, _mss) => if showPending float y = _isHigh ? high : low labelStyle = _isHigh ? label.style_label_down : label.style_label_up string txt = "SWEEP PENDING MSS: " + (na(_mss) ? "na" : str.tostring(_mss, format.mintick)) label.new(bar_index, y, txt, style=labelStyle, color=color.new(color.orange, 0), textcolor=color.white) else na setValidLabel(_lbl, _isHigh) => if not na(_lbl) label.set_text(_lbl, "SWEEP VALID (MSS)") label.set_color(_lbl, _isHigh ? color.new(color.red, 0) : color.new(color.lime, 0)) label.set_textcolor(_lbl, color.white) //────────────────────────────────────────────────────────────── // Main flow if pendingDir == 0 // New HIGH sweep candidate if rawSweepHigh if preValidHigh pendingDir := 1 pendingStartBar := bar_index // MSS level for HIGH sweep = lastSwingLow (the low we want to break) pendingMssLevel := lastSwingLow pendingLabel := makePendingLabel(true, pendingMssLevel) // If we cannot define MSS level => ignore (strict) if na(pendingMssLevel) makeIgnoredLabel(true, "no swing low (MSS) yet") if not na(pendingLabel) label.delete(pendingLabel) pendingDir := 0 pendingStartBar := na pendingMssLevel := na pendingLabel := na else makeIgnoredLabel(true, "filters (location/impulse/reentry)") // New LOW sweep candidate (only if no pending created above) if rawSweepLow and pendingDir == 0 if preValidLow pendingDir := -1 pendingStartBar := bar_index // MSS level for LOW sweep = lastSwingHigh (the high we want to break) pendingMssLevel := lastSwingHigh pendingLabel := makePendingLabel(false, pendingMssLevel) if na(pendingMssLevel) makeIgnoredLabel(false, "no swing high (MSS) yet") if not na(pendingLabel) label.delete(pendingLabel) pendingDir := 0 pendingStartBar := na pendingMssLevel := na pendingLabel := na else makeIgnoredLabel(false, "filters (location/impulse/reentry)") else // Pending: confirm with MSS if confirmMSSHigh setValidLabel(pendingLabel, true) // Reset pendingDir := 0 pendingStartBar := na pendingMssLevel := na pendingLabel := na else if confirmMSSLow setValidLabel(pendingLabel, false) // Reset pendingDir := 0 pendingStartBar := na pendingMssLevel := na pendingLabel := na // Alerts only on VALID MSS alertcondition(confirmMSSHigh, "Sweep VALID High (MSS)", "VALID liquidity sweep HIGH confirmed by MSS") alertcondition(confirmMSSLow, "Sweep VALID Low (MSS)", "VALID liquidity sweep LOW confirmed by MSS")Indicateur Pine Script®par harderwijksay33
4 in 1 - MA, MACD, Stochastic and RSIIt consolidates four of the most popular technical analysis tools into a single script. It displays the Moving Averages on the main chart (Overlay) and stacks the MACD, Stochastic, and RSI into a single bottom panel using vertical offsets. This script uses Vertical Offsets to prevent the lines from overlapping: RSI lives at 0 - 100. Stochastic lives at 120 - 220 (It adds +120 to the values). MACD lives around 300 (It adds +300 to the values). Note: Do not rely on the specific numbers on the far right Y-axis for the MACD or Stochastic, as they have been artificially shifted up. Rely on the visual crossovers and the relative position of the lines.Indicateur Pine Script®par win_online13
Silver Bullet: ATR Sniper & Volatility EngineProfessional Execution & Risk Manager for SIL Strike with Precision in the World's Most Volatile Metal Silver is known as "The Devil's Metal" for a reason—it hunts stops and moves faster than almost any other commodity. Silver Bullet V26 is not just an indicator; it is a complete trade management system built to survive and thrive in high-volatility environments. By combining Liquidity Sweep detection with ATR-calculated risk, this script identifies high-probability "Sniper" entries and manages the trade until the target is hit. Key Features Dual-Mode Entry Engine: Sniper Mode: Detects "Deep Sweeps"—when Silver wicks below support to grab liquidity before a massive reversal. Trend Mode: Identifies momentum breakouts when Silver is riding the EMA with strength. Institutional Trend Filtering: A built-in 30-minute EMA filter ensures you are never "swimming against the tide." It only looks for long setups when the higher timeframe bias is confirmed bullish. Silver-Optimized ATR Stops: Standard stop losses get hunted. Silver Bullet uses Average True Range (ATR) multipliers to set "breathable" stop losses that account for Silver's natural volatility. Automated Trade Management: Once a signal triggers, the script draws your Stop Loss (SL) and Take Profit (TP) levels directly on the chart. It tracks the trade in real-time and labels the exact moment of exit (SIL TP ✔ or SIL EXIT ✘). Volatility Dashboard: A real-time HUD tracks current ATR values and Trend Filter status, giving you a "pre-flight" check before every candle close. Anti-Signal Spam: Built-in "Cooldown" logic prevents multiple entries on the same move, keeping your overtrading habits in check. Why This Is Different Most indicators fail on Silver because they are too "stiff." Silver Bullet is adaptive. By using the ta.lowest lookback for sweeps and ta.atr for exits, it breathes with the market. It treats Silver like the wild horse it is, giving it room to move while still locking in a 2.5:1 Reward-to-Risk ratio. Best Used For: Asset: Silver (/SIL, XAGUSD, PSLV). Timeframe: 5-Minute or 15-Minute. Style: Aggressive Scalping and Day-Swing Trading.Indicateur Pine Script®par chyg882321