Order Volume LiveLive order volume pulls high resolution buy and sell data from 1S chart. Great way to see spikes in volume for staying in your trades. Pine Script® indicatorby Alea_Iacta_Est_Investing0
Bob's Whale Hunter - V7 (Jorge's Algo)Trade like a whale, not the bait. The Whale Hunter V7 is a high-performance toolkit specifically engineered for traders following Smart Money Concepts (SMC) and Institutional Price Action. This indicator automates the identification of high-probability zones based on the AMD (Accumulation, Manipulation, Distribution) cycle. 🚀 Key Features: Institutional Liquidity Sweeps: Automatically detects liquidity grabs at key highs and lows. These are the exact spots where institutional "whales" enter the market by triggering retail stop losses. Dynamic Fair Value Gaps (FVG): Highlights market imbalances that act as price magnets. This allows you to time your entries during the "rebalance" with surgical precision. Multi-Timeframe Dashboard (HTF Matrix): A real-time panel showing the Macro bias (4H) versus the Entry trend (15m). Stay aligned with the higher-timeframe order flow at all times. Elite Market Structure: An institutional-grade trend filter that shifts color based on market dominance, helping you distinguish between a deep retracement and a true trend reversal. 🛠 How to Trade it (The Institutional Checklist): Macro Alignment: Check the Dashboard. If 4H is green, look for buy setups only. Never trade against the "Big Money" flow. Identify the Sweep: Wait for the triangle signal (Sweep). This confirms that liquidity has been cleared and the "Manipulation Phase" is likely complete. The Trigger (FVG): Once a Break of Structure (ChoCH) occurs after the sweep, look for entries within the highlighted FVG boxes that align with your OTE (Optimal Trade Entry) Fibonacci levels. Targeting: Aim for the opposing liquidity pools or the next institutional level identified by the script. "Trading is a game of probabilities. Follow the footprints left by the giants."Pine Script® indicatorby JorgeG25522
EMA Rebound Strategy: Stochastics & RSI Confirmation日本語解説は英文の次 Description This indicator is a robust trend-following tool designed to capture high-probability "Buy the Dip" and "Sell the Rally" opportunities. It identifies precise entry points by combining long-term trend analysis with momentum oscillators. 🟢 How it Works (Long Setup) Trend Identification: Price must be trading above the EMA 200, signaling a dominant bullish trend. Mean Reversion/Pullback: Price approaches or touches the EMA 200 (within a customizable proximity percentage). Oversold Condition: The Stochastics oscillator enters the oversold zone (<20), indicating a temporary price exhaustion. Momentum Confirmation (Trigger): The RSI crosses back above the 50 level, confirming that bullish momentum has resumed. 🔴 How it Works (Short Setup) Trend Identification: Price must be trading below the EMA 200. Pullback: Price rallies back toward the EMA 200. Overbought Condition: Stochastics enters the overbought zone (>80). Momentum Confirmation (Trigger): RSI crosses below the 50 level, confirming the resumption of bearish momentum. ⚙️ Key Parameters EMA Length: Default is 200. Defines the "Backbone" of the trend. Proximity (%): Adjusts how close the price needs to get to the EMA to validate a "touch." Stochastics & RSI: Fully customizable periods and levels to match your preferred timeframe. Lookback Period: Sets the expiration for the "touch" and "oversold/bought" conditions to ensure the signal is timely. 💡 Best Use Cases Timeframes: 15m, 1h, and 4h are recommended. Assets: High-liquidity pairs like EUR/USD, USD/JPY, and Gold (XAU/USD). Tip: For best results, ensure the EMA 200 is clearly sloped in the direction of the trade. ------------------------------------------- 解説 このインジケーターは、長期トレンドにおける「押し目買い」と「戻り売り」を的確に捉えるためのトレンドフォローツールです。EMA200をトレンドの基準(壁)とし、オシレーターで反発のタイミングを計ります。 🟢 買いサインの条件 環境認識: 価格が EMA200より上 で推移していること。 引きつけ: 価格がEMA200付近まで下落(接近・タッチ)すること。 調整確認: ストキャスティクス が売られ過ぎ水準(20以下)に到達。 反発確定: RSIが50を上抜ける 瞬間、トレンド回帰と判断しサインを表示します。 🔴 売りサインの条件 環境認識: 価格が EMA200より下 で推移していること。 引きつけ: 価格がEMA200付近まで上昇(接近・タッチ)すること。 調整確認: ストキャスティクス が買われ過ぎ水準(80以上)に到達。 反発確定: RSIが50を下抜ける 瞬間、トレンド回帰と判断しサインを表示します。 ⚙️ 主なパラメータ設定 EMAの期間: デフォルトは200。トレンドの強弱を測る基準です。 EMA接近許容範囲 (%): EMAにどこまで近づいたら有効とするか。通貨ペアのボラティリティに合わせて調整可能です。 サイン有効期限(本数): EMAにタッチ後、何本以内にRSIが50を抜ける必要があるかを設定します。 💡 推奨される活用法 推奨時間足: 15分足、1時間足、4時間足。 推奨通貨ペア: ドル円、ユーロドル、ゴールドなど流動性の高い銘柄。 コツ: EMA200にしっかりとした「傾き」がある時にエントリーすることで、勝率を高めることができます。Pine Script® indicatorby mamachi-30
BK AK-Patriot💥 Introducing BK AK-Patriot 👁️ — Regime Engine for Institutional Timing Warfare 💥 This isn’t “an ADX indicator.” This is a market-regime operating system. It does one thing ruthlessly well: it tells you what game you’re in (CHOP vs TREND), when the coil is loaded, when expansion ignites, and when momentum is dying — then it only prints triggers when the gates are cleared. No vibes. Permission → Trigger → Manage → Exit. 🧠 What this engine actually measures (the truth) ADX = strength (not direction). It tells you if the market has conviction or is just noise. +DI / -DI = direction & control (buyers vs sellers). AK-9 Bollinger Bands on ADX = regime map: ADX under lower band = CHOP / mean reversion conditions ADX above upper band = TREND / breakout conditions VWAP + deviation stretch = institutional location filter: In trend: stay on the correct side of VWAP In chop: only fade when price is stretched away from VWAP This is why it feels “institutional”: it won’t let you treat noise like trend. 🧬 Core Systems Inside BK AK-Patriot 👁️ ✅ 5-State Regime Engine (the backbone) CHOP → BUILD → TREND → EXHAUST → DECAY This is the cycle. Every decision flows from it. CHOP (🔻): low ADX regime → fades only, no chasing BUILD (🔧): strength rising, still inside bands → prep phase TREND (🚀): ADX above upper band + rising → trend permission EXHAUST (⚠️/🛑): trend had time to run, slope rolls over → risk-off DECAY (📉): strength bleeding out → chop likely next ✅ AK-9 Bands on ADX (aggression meter) Your “BB channel” isn’t on price — it’s on ADX. That means the bands define strength regimes, not price volatility. ✅ Institutional Gates (filters that kill fake signals) You have stacked “permission gates” before any trend trigger is allowed: DI Direction Gate (bull vs bear) DI Spread Gate (kills tangled DI fakeouts) VWAP Location Gate (trend must be on correct side of VWAP) HTF Permission (optional: only trade when higher timeframe agrees) Session Filter (optional: only trade RTH) Volume Confirmation Gate (optional: trend signals require real participation) ✅ Compression → First Expansion (FE) = ignition signal This is the money signal. It tracks how long ADX stayed in CHOP, then flags the first true expansion: ⚡ FE = “coil released” More compression = more stored energy = bigger directional move potential. ✅ Exhaustion Start (X) = risk-off command 🛑 X isn’t a new entry. It’s a position management event: tighten stops take partials stop adding prepare for decay/chop ✅ Advanced Intel Layer (battlefield stuff) ADX Divergence Detection (📉 / 📈): price pushing but strength not confirming → early warning DI Cross Proximity (⚠ / 🔄): “bias flip incoming” before it happens Regime Streak Heatmap: ADX line intensifies the longer a regime persists Compression Energy Score: quantifies how “loaded” the coil is Auto-Invalidation Tooltips: it literally tells you what breaks the thesis ✅ HUD Table = one-glance execution No interpretation games. It prints: regime, streak, ADX state bias, spread strength score breakdown So you can execute fast and stop “story trading.” 🧾 Signal Legend (what you’ll actually see) 🚀 TL = Trend Long trigger (all gates passed) 💀 TS = Trend Short trigger (all gates passed) ⚡ FE = First Expansion (post-compression breakout ignition) 🛑 X = Exhaustion start (tighten / harvest) ◆ CL / CS = Chop fade triggers (optional) 📉 / 📈 = ADX divergence warnings ⚠ / 🔄 = DI cross proximity / rapid convergence 🎯 How to use it (execution rules) Regime = permission CHOP: fades only (VWAP stretch), size down, quick targets TREND: trend-follow only (ride), size up when score confirms EXHAUST: stop adding risk, harvest, tighten hard FE is your highest-conviction “go” If you only trade one event: trade FE in the correct DI direction (and HTF permission if enabled). TL/TS is trend continuation TL/TS is not a prediction — it’s “the machine confirmed trend conditions.” Treat it like permission to press, not a “maybe entry.” X is a command, not a suggestion When X hits: protect. The engine is telling you momentum is rolling over. DI Spread is your lie detector If spread is weak/tangled, trend signals are usually trash. Let the gate do its job. 🔧 Settings that actually matter AK-9 Length + Std Dev → how strict TREND/CHOP classification is Min Chop Bars for FE → how “coiled” it must be before ignition Min Bars Above Upper for Exhaust → prevents premature exhaustion calls DI Spread Min + Spread SMA Len → how hard you filter fake trends VWAP Dev Mult + Dev Len → how stretched price must be for CHOP fades HTF Mode (State vs Score) → higher-timeframe permission aggressiveness Volume Gate (mult + len) → whether trend requires participation 🕯️ The Menorah Lens — Seven Lamps of Market Clarity The Menorah isn’t decoration. It’s structure: seven flames, one purpose — illumination with order. That’s what BK AK-Patriot 👁️ is built to enforce: seven lights you do not trade without. Regime (CHOP vs TREND) — the first lamp. If you don’t know the regime, you’re fighting in the dark. Strength (ADX level) — the second lamp. No strength = no follow-through. Strength above the upper band = engines online. Acceleration (ADX slope/accel) — the third lamp. A trend is alive when strength is rising, not just “high.” Direction (DI control) — the fourth lamp. Strength without direction is noise. DI tells you who has the wheel. Conviction (DI spread) — the fifth lamp. When the lines tangle, institutions aren’t committed. The gate blocks fake trends. Location (VWAP + deviation) — the sixth lamp. Even the right idea in the wrong place is a loss. VWAP keeps you on the right side of value. Timing (Compression → FE → X) — the seventh lamp. Compression loads the spring. FE is release. X is exhaustion. That’s the life cycle. When all seven lamps are lit, you don’t “hope.” You execute. Measure → Confirm → Press → Harvest. May your decisions be clean, your size be disciplined, and your timing be right. 🙏Pine Script® indicatorby Ki11a_B4
Day/Month Returns Analysis [theUltimator5]This indicator calculates the average returns for day of the week, months of the year, and each Friday of the month, then gives a visualization of the average returns in green/red bars as well as the average percentage move. You can select from (3) options. 1) Day of the week. This shows the average returns for each day of the week calculated back as far as your chart history goes. For crypto, it calculates all 7 days of the week. If not crypto, it does Monday through Friday 2) Month of the year. This shows the average returns for each month. Self explanatory 3) Friday of the month. This is a niche setting that lets you see the average returns of each Friday of the month, to track if there is any OPEX related consistency. You can also set the start date for the indicator to start calculating from in the options. If there is a certain date that a symbol starts acting differently and you want to only calculate from that point forwards, you can. The visuals appear as a table which can be repositioned to whichever section of your screen you would like. This indicator works best on the daily timeframe since lower timeframes may not have enough bars back in history to calculate enough to make an average.Pine Script® indicatorby TheUltimator53354
Eagle Algo Pro : Trend & Reversal SystemOverview Eagle Algo Pro is a comprehensive technical analysis system designed for scalping and short-term trading. It allows traders to identify high-momentum breakouts while simultaneously monitoring key structural reversal levels. By combining Trend Follow (Eagle) and Mean Reversion (S/R) logic into a single tool, this script eliminates the need for multiple indicators, offering a clean and actionable dashboard. Concepts & Underlying Calculations 1. Dynamic Channel Breakout (Eagle Logic) The core trend-following component utilizes a dynamic price channel mechanism, conceptually similar to localized Donchian Channels . Calculation: The script tracks the highest high and lowest low over a user-defined lookback period (default 20). Logic: A signal is generated when the price closes strictly outside this dynamic range. This signifies a volatility expansion and potential trend continuation, filtering out sideways noise. 2. Advanced Support & Resistance (Array-Based) Unlike standard pivot indicators that vanish after a few bars, this script uses Pine Script's Array Library to manage memory. Memory System: It identifies Pivot Highs and Lows and stores them in a memory array. These levels are projected forward as "Zones". Filtering: The script calculates the "strength" of each zone based on the number of price rejections (wicks). It dynamically updates these zones and removes invalid ones, keeping the chart clean. Reversal Confirmation: When price tests a stored Zone, the script checks for Rejection Wicks and RSI alignment (Overbought/Oversold) before suggesting a reversal. 3. Linear Regression Channel (RiViL) To visualize the current market slope and deviation: Math: It calculates the "Line of Best Fit" (Linear Regression) over 100 periods and plots Standard Deviation bands (2.0 deviation). Usage: This helps traders visually confirm if the market is overextended relative to its statistical mean. How to Use For Trend Trading: Look for the "CALL" or "PUT" text labels generated by the Eagle logic. These signals are most effective when the Linear Regression channel is sloping in the direction of the trade. For Reversal Trading: Watch for the colored Resistance (Red Zone) and Support (Green Zone) . A reversal signal is valid only if the price shows a rejection wick and RSI confirms the momentum shift. Dashboard: The on-screen panel provides real-time statistics on signal performance, distinguishing between Direct Wins and Martingale recovery sequences to help with risk management. Originality & Value This script justifies its Invite-Only status by implementing a custom Memory-Management System for Support & Resistance using arrays. Unlike public scripts that clutter charts with infinite lines, Eagle Algo Pro intelligently filters historical data to show only active, tested zones. This complex logic is protected to ensure the integrity of the algorithm. Disclaimer This tool is for educational and analytical purposes only. Past performance displayed on the dashboard does not guarantee future results. Traders should use proper risk management.Pine Script® indicatorby Eagle_Algo_Pro22
[SpaghettiForex] SFK - MACD Wave Divergences + Keltner x3SFK — MACD Wave Divergences (PRE + CONF) + Keltner x3 is a context indicator that highlights MACD histogram “wave” divergences on price, with two modes: - PRE (Turning Point): earlier, faster markers inside the current wave (may be invalidated if the wave continues). - CONF (Wave Peak): confirmed markers based on the true peak of each completed wave (typically more stable). It also plots three Keltner Channel bands to provide volatility/extension context around the same areas. This tool does not predict the market and it is not a guaranteed entry system. Divergences can fail. SFK is designed to help you spot potential momentum/structure mismatches and then decide what to do with your own process and risk management. What it shows: - PRE divergence markers (optional): triggered at the first histogram turning point inside a wave. - CONF divergence markers (optional): triggered when a wave ends and its true peak is confirmed. - Divergence lines connecting the two reference peaks (optional). - Keltner Channels x3 (optional): EMA basis + ATR bands (1x / 1.5x / 2x). ________________________________________ Screenshots (examples): Screenshot 1 — Overview (Keltner x3 + divergences) A clean chart view showing Keltner Channels and a couple of divergence examples. Use this to communicate what SFK looks like in normal use. Screenshot 2 — PRE divergence (early turning point) Example of a PRE divergence: earlier detection during the wave as the histogram turns. PRE is faster but can be invalidated if the wave continues and a stronger peak forms. Screenshot 3 — CONF divergence (wave peak confirmed) Example of a CONF divergence: the signal is generated at wave end using the confirmed wave peak. This mode is slower but generally more stable and easier to validate visually. ________________________________________ How it works (high level): 1. SFK computes the MACD histogram and splits it into “waves” based on histogram sign (positive vs negative). 2. For each wave, it tracks one peak per wave: - Positive wave → maximum histogram value + corresponding price high. - Negative wave → minimum histogram value + corresponding price low. 3. A divergence is detected when two peaks of the same colour meet classic conditions: - Bearish: price makes a higher high while histogram peak is lower. - Bullish: price makes a lower low while histogram peak is higher. 4. PRE uses an early turning point inside the current wave; CONF uses the confirmed peak when the wave ends. Practical use (context, not entries): - Use CONF for confirmed wave-peak divergences (fewer, more stable by design). - Use PRE for early turning-point alerts (faster, may be invalidated as the wave develops). - Use the Keltner bands to contextualise whether price is expanding/extended when a divergence appears. ALERTS Optional alerts are available for: - PRE bearish / PRE bullish divergences. - CONF bearish / CONF bullish divergences. If “Alert On Bar Close Only” is enabled, alerts are evaluated only on confirmed bar close. Important note: SFK is a context indicator. It does not provide financial advice or performance guarantees. Divergences can appear in strong trends and still fail. Always apply appropriate risk management and confirmation rules from your own process. Pine Script® indicatorby SpaghettiForexUpdated 10
CTR Dual Custom MAs ProI added the ability to show projection dots to help get a feel for future path. Everything else is the same as my most recent custom MAs indicator. This is the latest and greatest. Pine Script® indicatorby amatthews115
PDH & PDLDescription (Copy & Paste) Overview This is a lightweight, optimized indicator that displays the Previous Day High (PDH) and Previous Day Low (PDL) on intraday charts. These levels are critical reference points for day traders, acting as key liquidity pools where price often reacts. Whether you are trading Mean Reversion (fading the edges) or Momentum (breakouts), knowing exactly where yesterday's auction limits were is essential context. Key Features Historical Accuracy: Plots historical levels using step-line style, allowing you to backtest how price reacted to PDH/PDL in the past. Zero Clutter (V2 Optimization): Unlike standard indicators that spam labels on every bar, this version uses efficient var label logic. It maintains a single label instance that stays pinned to the current price action, keeping your chart clean. Multi-Timeframe Ready: Fetches Daily data correctly regardless of your intraday timeframe (1m, 5m, 15m, etc.). Fully Customizable: Toggle history lines or current labels on/off and adjust colors/width to fit your theme. How to Use Context: Use these levels to determine market sentiment. Opening above PDH suggests bullish imbalance; opening inside the range suggests balance/chop. Entry Triggers: Watch for "Rejection" (wicks) or "Acceptance" (strong closes) at these lines. Breakout: Price closes firmly outside the level with volume. Reversal: Price sweeps the level and immediately reclaims the range. Settings Show Historical Levels: Enable to see the levels for previous days (useful for backtesting). Show Current Labels: Enable to see the price tags on the hard right edge.Pine Script® indicatorby SealNg4
Tokyo Protocol Session Pivots PDH & PDL Overlay Tokyo Protocol: Session-Anchored Structural Overlay The Tokyo Protocol: Session PDH/PDL Overlay is a precision structural mapping tool designed for professional day traders. While most indicators use a standard "midnight" reset, this script allows you to Anchor your trading day to specific global liquidity cycles (Tokyo, London, or New York). It identifies the critical "battlefield" levels—PDH, PDL, and Institutional Pivots—relative to the session you are actually trading. The "Why" Behind the Anchor If you are trading the Tokyo Open, your "Daily" high and low shouldn't be defined by an arbitrary UTC reset. This script uses a Time-Shift Engine to recalculate the previous day's range based on your chosen session start. This provides a "True Session" perspective on where liquidity is resting. Key Tactical Features • Dynamic Session Anchoring: Choose from preset UTC anchors for Sydney, Tokyo, London, and NY, or set a Custom UTC anchor. This ensures your PDH/PDL levels align with actual market volume shifts. • Institutional Global Pivots: Includes non-repainting Traditional Pivots () pulled from Daily OHLC data (). These levels remain fixed throughout the day, providing reliable targets and bounce zones that match standard institutional floor pivots. • Zero-Lag PDH/PDL: Automatically identifies and extends the Previous Day High and Low. Unlike standard lines, these anchor to the exact timestamp the high/low occurred, providing a clear visual of the previous session's structural development. • Non-Intrusive HUD: A clean table in the top-right corner confirms your current Anchor settings, ensuring you never trade on the wrong "time map." The "Tokyo Protocol" Entry Method This overlay is designed to be the "Location Filter" for the Tokyo Protocol Regime Engine: 1. Direction (Engine): The Regime Engine gives a "GO" signal for a Long. 2. Location (Overlay): Do not buy at market. Wait for the price to pull back to the Daily Pivot (P), PDL, or an S1/S2 level as defined by this overlay. 3. Execution: Look for a candle rejection/continuation from these structural "value zones." Best Use Case • Timeframe: Optimized for 5m and 15m. • Markets: Any major forex pair, index, or commodity during session opens. • Setup: Use this in tandem with the Tokyo Protocol Regime Engine to harmonize Direction and Location. Access & Education This is an Invite-only script. We believe in providing tools to traders who are committed to a mechanical, data-driven process. To request access: 1. Subscribe to our YouTube channel: youtube.com/@ProtocolTrading 2. Follow our Live Session recordings to see how we use these levels to define 1.5:1 and 2:1 RR trades. 3. YouTube subscribers will get an invite Pine Script® indicatorby The_Tokyo_Protocol0
The Golden Pocket Master Tool: High-Probability Retracement ZoneThe Golden Pocket is one of the most powerful "hidden" zones in technical analysis. While many traders look at basic Fibonacci levels, the area between the 0.618 and 0.65 retracement levels is where the most reliable trend reversals happen. This indicator automates the entire process, identifying significant market swings and projecting high-probability Entry, Target, and Stop Loss levels directly on your chart. How It Works Auto-Swing Detection: The script identifies major "Impulse Moves" (pumps or dumps) using dynamic Pivot Highs and Lows. The Golden Pocket: It draws a highlighted "Gold Box" at the 0.618–0.65 Fibonacci zone. This is your high-probability area to Buy the Dip (in an uptrend) or Sell the Bounce (in a downtrend). Smart Targets: Unlike standard Fibonacci tools that use random extensions, this script sets realistic targets based on recent market structure (Previous Swing Highs/Lows). Key Features 📊 Real-Time Trade Dashboard: See your exact Entry Zone, Take Profit, and Stop Loss prices in a clean, top-right table. ⚖️ Risk/Reward Calculator: Automatically calculates the R/R ratio for the current setup so you only take the best trades. 🏷️ Dynamic Labels: Floating "LONG ZONE" or "SHORT ZONE" labels ensure you always know the current market bias. 🛑 Invalidation Line: Includes a red dotted line at the 0.786 Fibonacci level. If price closes past this, the trade setup is invalidated. How to Trade the Play For Longs: Wait for a Green Bias. Price should pull back into the Gold Box. Look for bullish candle confirmation and target the Blue Line. For Shorts: Wait for a Red Bias. Price should bounce up into the Gold Box. Look for bearish rejection and target the Blue Line.Pine Script® indicatorby mhpr19915
The Tokyo ProtocolThe Tokyo Protocol: Multi-Pillar Market Regime Engine The Tokyo Protocol is a high-performance trend-regime filter designed primarily for the 5-minute timeframe. Rather than providing lagging "Buy/Sell" signals, this script acts as a Mechanical Decision Engine. It synthesizes Price Action, Volatility-Adjusted Momentum, and Volume Flow to determine the "Path of Least Resistance." How It Works The script evaluates the market through four proprietary lenses to ensure you are only trading when the "environmental wind" is at your back: Structural Bias (The Foundation): Uses Yesterday’s Floor Pivots with a tick-based buffer zone to establish the Daily Regime. It requires a confirmed "Regime Shift" (user-tunable) to prevent flickering in choppy markets. Normalized Momentum (MACD Z-Score): Unlike standard MACD, this engine calculates the Standard Deviation of the MACD line. It identifies "UP_SEPARATED" (accelerating trends) versus "FLAT_HUGGING" (dangerous chop) using Z-score thresholds. Volume Flow & Profile: Integrates OBV Slope analysis and a Mechanical Volume Profile to find High-Liquidity Support/Resistance nodes. It detects if a move is being fueled by "Smart Money" or if it is an "Exhaustion" move. Divergence Hysteresis: A refined, pivot-based divergence engine (RSI & OBV) identifies "Real" vs. "False" price moves, preventing you from buying into a structural trap. The "Action" Engine: Understanding "GO" The most important feature of this script is the Action Table. GO: This is NOT a "Buy Now" signal. It is an Environment Validation. It indicates that the structural bias, volume flow, and momentum are all synchronized. Use "GO" as a green light to execute your own specific entry triggers (flags, candle patterns, etc.) with higher probability. WAIT: Indicates "Energy Loss" or "Regime Weakening." The trend may be intact, but the internal health of the move is deteriorating. REVERSAL: Triggered when the price is still above/below the pivot, but internal metrics (RSI/MACD/OBV) have aligned aggressively against the current direction. SKIP: No structural edge. Market is in a neutral squeeze. Best Use Case Timeframe: Optimized for 5m (Day Trading). How to Enter: The "Primed" Strategy IMPORTANT: This is not a "Market Order" indicator. A "GO" signal does not mean "Buy at Market." It means the market environment is primed for that direction for the remainder of the session. The Entry Blueprint: Wait for the Signal: The system identifies a LONG or SHORT bias and provides a GO status. The Pullback: Once the "GO" appears, do not chase the price. Look for a pullback to a key structural level (Daily Pivot, Fibonacci retracement, or High-Liquidity Support). The Continuation: Execute on the bounce/rejection from that level. Targets: Optimized for 1.5:1 to 2:1 Reward-to-Risk ratios. Timing Note: This engine is designed to be used after the first 15 minutes of a major market open (Tokyo, London, or New York). It uses the initial opening volatility to calibrate the regime and then capitalizes on the sustained momentum of the session. The History: From AI to Pine Script The Tokyo Protocol began as a manual process to remove the emotional "guesswork" of directional bias during the Asian Open. By using AI to review live market snapshots against parameters developed over years of trading, I found high accuracy but a "long-winded" workflow (manual calibration and constant snapshotting). After building a deterministic engine and completing over 500 backtests, I realized the logic was robust enough to be fully automated. This Pine Script is the result of that transition—taking a high-level AI analysis workflow and hard-coding it into a responsive, real-time trading tool. Backtest Insight Data indicates that trades completed within the first hour of a signal often have a lower win rate than those that develop over 2+ hours. When you see a GO signal, remember that the session is primed for that direction over the course of the session. Be patient, wait for your levels, and let the trade develop. Technical Pillars Structural Bias: Daily Floor Pivots with a tick-based hysteresis buffer. Momentum Z-Score: Normalizes MACD to distinguish between trend acceleration and "hugging" chop. Volume Flow: Integrates OBV Slope and a Mechanical Volume Profile to find "Smart Money" nodes. Divergence Engine: Refined RSI/OBV logic to filter out structural traps and exhaustion. Action Table Glossary GO: The environment is synchronized. Look for entries in the bias direction. WAIT: Energy loss or regime weakening. Sit on your hands. REVERSAL: Internal metrics have flipped against the regime. Watch for a trap. SKIP: No structural edge. Neutral/Chop. Role: Use as a "Parent Filter." If the Protocol says WAIT or SKIP, sit on your hands. If it says GO, look for entries in the indicated direction.Pine Script® indicatorby The_Tokyo_ProtocolUpdated 110
Volatility & Probability by Hour/DayVolatility & Probability by Hour/Day Analyzes historical candle data to find statistically significant time-based patterns. Tracks green candle probability, volatility, and average returns broken down by hour (UTC), day of week, and their combinations. What It Shows: Hourly Table: P(Green), edge, volatility, and average return for each hour (00:00-23:00 UTC) Day of Week Table: Same metrics aggregated by day (Sun-Sat) Top Combinations: The 5 best bullish and 5 best bearish day+hour slots ranked by edge Key Metrics: P(Grn): Historical probability the candle closes green Edge: Deviation from 50% (how tradeable the bias is) Vol%: Average candle range as percentage of price N: Sample size Use Cases: Identify optimal entry windows with statistical edge Avoid low-edge, high-volatility periods (noise) Find specific day+hour combinations with compounding edges Time trades around recurring market patterns Notes: All times in UTC Current period highlighted with ► Best results on liquid assets with sufficient history Edges are historical and not guaranteed to persistPine Script® indicatorby LEEFO9
Jays indicatorA multi timeframe emas and trends on same chart. By default the current timeframe is selected and additionally weekly ema/trend and monthly ema is added.Pine Script® indicatorby JKReddyLinUpdated 1
BOS/CHoCH Impulsive Move Detector #12.2Includes all updates. This indicator includes all BOS & CHoCH impulses and identifies impulses of greater than 5% and differentiates between longs and shorts. Pine Script® indicatorby whitebronco12
Mine Shaft + Drift + Ore Pocket Detector (Gap+Touch)Mine Shaft + Drift + Ore Pocket Detector (Gap+Touch) — Full Description (v1.6.1, Pine v6) *Experimental - *Test Phase* 1) What this indicator is intended to do This indicator attempts to algorithmically discover “mine shaft” price structure on a chart by: Collecting structural anchor points (gaps and optionally pivots), Generating candidate trend “rails” (centerline + parallel upper/lower borders) from pairs of anchors, Fitting an optimal channel width around each candidate centerline, Scoring candidates based on how well price action conforms to the channel (touches + containment), Selecting and rendering: the main shaft channel (primary), additional drifts (secondary shafts per direction), And then detecting Ore Pockets: time locations where multiple selected lines intersect (time confluence / intersection clustering). The conceptual model is: A shaft = a best-fit channel that price respects over time (the “main tunnel”). Drifts = alternate channels close in quality to the main shaft (secondary tunnels). Ore pockets = future/past time coordinates where multiple channels’ centerlines intersect densely (confluence in time, not necessarily in price). 2) What it is doing right now (current behavior) In its current form, the script does a bounded, performance-limited scan: It stores a limited number of anchor points in arrays. It only considers a bounded number of recent anchors per direction. It constructs candidate lines from anchor pairs and evaluates channel fitness using sampled bars. On the last bar, it selects top candidates per direction and draws: a “main” channel per mode (single best overall, or separate up/down), plus optional drift channels, plus ore pocket markers. It is producing meaningful channels and drifts, but it is currently more likely to lock onto a strong “local” shaft than the one macro shaft spanning the entire market structure. 3) Core mechanics (how the script finds shafts) 3.1 Anchor generation (what points it uses) Anchors are the “support points” used to build candidate shaft centerlines. Two anchor families are supported: A) Gap anchors (from your selected gap mode) These attempt to capture “displacement events” and their boundaries/mids. B) Pivot anchors (optional structural anchors) These use pivots to inject macro structure points that are not strictly gap-based. All anchors are stored as: anchorX: bar_index of anchor anchorY: price of anchor anchorD: direction flag (+1 for up, -1 for down) Anchors are capped by maxAnchors with FIFO trimming. 3.2 Candidate generation (how it produces centerlines) For each direction (+1 and -1): Collect “recent” anchors of that direction within lookbackBars (bounded to maxDirAnchors). For each pair of anchors (x1,y1) and (x2,y2) that satisfy: spacing within , slope sign consistent with direction, Construct the line equation: slope m and intercept b Fit a channel width w around that line (via width mode). Score it (touches + inside count minus width penalty). Keep the top K rails (K = driftCount+1 typically). 3.3 Scoring model (what “best” means right now) For a candidate centerline: At sampled bars (stride sampling), compute: channel top = y(x) + w channel bot = y(x) - w Evaluate: Inside: candle range fits within the channel ± tolerance Touches: high near top border, low near bottom border (within tolerance) Score formula: score = insideCount * insideWeight + touchCount * touchWeight - (w / ATR) * widthPenalty So: Higher inside and touch counts increase score Wider channels are penalized (in ATR units) to avoid “cheating” via enormous width 3.4 Width fitting (how the channel thickness is chosen) Width is either: Fit (scan widths): scans widths between a min width and a max deviation cap and selects the best scoring width. Fixed ATR Envelope: uses a fixed width derived from ATR (currently hard-coded to a 2.0 ATR envelope in your present draft). Fixed Max Deviation: width is max observed deviation from line in sampled window. This matters because “macro shaft” detection is strongly influenced by whether the width-fitting is allowed to expand enough to contain large historical moves, without being penalized into losing to a smaller local shaft. 3.5 Rendering (what gets drawn) For any selected rail, it draws: Upper border line (top rail) Lower border line (bottom rail) Optional centerline (main only) Optional fill between borders (main only) Label at current bar with touches and inside count Drifts render similarly but without main-only features (depending on flags). 3.6 Ore Pocket detection (time confluence) Ore pockets are not “price zones” directly. They are computed as follows: Collect selected centerlines (m,b) for: the main selected shaft(s), and all drift centerlines (both directions if present) For each pair of selected lines, compute intersection x-coordinate: x* = (b2 - b1) / (m1 - m2) Only keep intersections within: Cluster intersections by time proximity (clusterBars) Mark the strongest clusters (highest counts) as “Ore Pocket” vertical dotted lines with labels. Interpretation: A dense cluster indicates many selected rails converge around a similar time coordinate. It is a “time confluence” hypothesis point. 4) Full settings reference (what each setting is for) 01) Gap Anchors Gap Mode FVG (3-candle) Uses a classic 3-candle fair value gap pattern: Up gap if low > high Down gap if high < low Anchors are derived from the gap boundaries. Candle Gap (open-close) Gap based on open vs close of the same bar with a tick threshold. Candle Gap (open-prev close) Gap based on open vs close with a tick threshold. Gap Threshold (ticks) Only used for the candle gap modes. Controls the minimum gap size required to register an anchor. Anchor Price Boundary: anchors at one gap boundary (more “structural edge”) Mid: anchors at midpoint of the gap (more “center of displacement”) Include Pivot Anchors (structure) When enabled, adds pivots as additional anchors to stabilize macro detection. Pivot Length Pivot sensitivity (how many bars left/right define a pivot). Larger values = fewer, more structural pivots. 02) Channel Fit + Touch Scoring Lookback Bars The historical window used to: filter which anchors are considered “recent enough” evaluate channel fitness (sampled evaluation) Larger lookback tends to favor macro shafts, but also increases computational risk (mitigated by evalBars and stride). ATR Length ATR period used for tolerance and width penalty scaling. Tolerance (ATR mult) Defines how close price must be to a rail to count as “touch” and how strict the “inside channel” containment is. Higher tolerance = easier to score high on touch/inside. Min Border Touches (keep rail) Minimum number of border touches required before a candidate is even eligible. Score: Inside Weight Weight of inside count in score. Score: Border Touch Weight Weight of border touches in score. This is a strong driver of “shaft-like” behavior. Score: Width Penalty (in ATRs) Penalizes wide channels relative to ATR. Higher penalty biases toward narrow/local shafts. 03) Performance Controls Max Stored Anchors (global) Maximum anchor points kept in memory arrays. Too low can cause loss of macro structure; too high increases candidate noise. Max Anchors / Direction (scan) Hard cap on how many anchors are used in candidate generation per direction. Critical: this strongly influences whether macro shaft can be found, because if you only keep the most recent anchors, you lose the early-structure anchor points. Eval Bars (max) Maximum historical bars actually evaluated for scoring. Even if lookbackBars is large, evaluation is capped here. Eval Stride (sample every N bars) Sampling step for evaluation. Larger stride = faster but less accurate scoring. 04) Candidate Generation Min Anchor Spacing (bars) Minimum distance between the two anchors used to define a candidate line. Prevents micro-noise lines from being evaluated. Max Anchor Spacing (bars) Maximum distance between the two anchors used to define a candidate line. If this is too low, you cannot generate truly macro candidate lines. 05) Shaft + Drift Display Main Shaft Mode Best Overall (Single Shaft): chooses one best rail among Up/Down and draws it as main. Up Only: show only the best upward rail. Down Only: show only the best downward rail. Up + Down: show both main up rail and main down rail simultaneously. Show Ascending Shaft Toggles rendering for the “up” main shaft (when mode allows it). Show Descending Shaft Toggles rendering for the “down” main shaft (when mode allows it). Drifts per Direction Number of additional top-ranked rails to draw per direction (after the best one). Extend Lines Right: extend lines to the right only. Both: extend both left and right. Fill Main Shaft Channel Fill between upper and lower borders for main shaft. Main Shaft Fill Transparency Transparency level for main fill. Show Main Shaft Centerline Draw the dashed centerline for the main shaft. 06) Ore Pocket (Intersection-Time Confluence) Show Ore Pockets (Time Confluence) Enables ore pocket discovery and rendering. Intersection Window Forward (bars) How far into the future intersections are considered. Intersection Window Backward (bars) How far into the past intersections are considered. Cluster Radius (bars) How close in time intersections must be to merge into a cluster. Min Intersections per Cluster Minimum cluster count required before a pocket is shown. Max Pocket Markers Limit how many pocket clusters are drawn. 07) Visual Controls Show Gap Anchors Displays the gap anchor dots for debugging. Show Pivot Anchors Displays pivot anchor dots for debugging. 5) How to use it (practical workflow) Step A — Confirm anchor behavior Turn on Show Gap Anchors. Choose your Gap Mode. Verify you are seeing anchors where you expect (displacement boundaries). If anchors are sparse: Reduce gap threshold (ticks) for candle-gap modes Enable pivots to inject structure Increase lookbackBars and maxAnchors so early anchors are not dropped Step B — Get stable main shaft candidate discovery Enable Include Pivot Anchors with a medium pivotLen. Use Fit (scan widths) initially. Increase Max Anchors / Direction (scan) so you’re not only using recent anchors. Increase Max Anchor Spacing so macro pairs are eligible. If you keep getting only local shafts: That is usually because the candidate pool does not include enough old anchors, or the maxSpacing prevents long-span lines. Step C — Tune scoring so the “whole-structure” shaft wins If the script picks a small local channel instead of the macro channel: Increase insideWeight relative to touchWeight (macro channels tend to contain longer structure even with fewer perfect “touches”) Reduce widthPenalty, because macro channels may need to be wider to accommodate historical volatility Increase lookbackBars and evalBars to make “whole-structure fit” matter Step D — Drifts as secondary shafts Once main shaft is good: Increase Drifts per Direction Validate that drifts represent meaningful alternate sub-shafts rather than noisy duplicates. If drifts look too similar: This is expected if many candidates differ only slightly; future refinements should diversify drift selection (see “what still needs done”). Step E — Ore pockets interpretation Ore pockets indicate time confluence of multiple rails. Use them as: “Time windows to watch” Not as deterministic price levels Tune: clusterBars (cluster tightness) minClusterSize (signal strength) 6) What still needs done (explicit backlog) The macro “main mining shaft channel” spanning the entire market structure, and Smaller shafts/drifts nested inside the macro structure. To accomplish that, the current algorithm needs additional architecture. Concretely: A) True multi-scale / hierarchical discovery (primary missing feature) Right now: one pass, one lookback, one score objective. Still Needed: Macro pass: discover a primary shaft using a very long evaluation window and anchor set. Micro pass(es): discover drifts/secondary shafts using: residuals (distance from macro centerline), or segmented time windows (regime partitions), or anchor subsets constrained to local regions. This is the single biggest reason we are not consistently getting the full-structure shaft. B) Anchor retention strategy for macro detection Right now: anchors are FIFO capped and direction scanning uses “recent anchors only.” To reliably find 10-year shafts we need: an option to store/retain representative anchors across the entire history, not only the most recent ones. Examples of necessary improvements: “Stratified anchor sampling” across time (keep some old anchors even when maxAnchors is hit) “Macro anchor bank” (separate storage for pivots or major gaps) C) Candidate generation constraints must support macro lines If we want a shaft spanning the whole structure: maxSpacing must allow it the candidate pool must contain anchors far apart in time So the algorithm needs: better selection of anchor pairs for long-span candidates (e.g., include earliest/oldest anchors + newest anchors deliberately, not accidentally) D) Drift diversification Right now drifts are “next best by score,” which often yields near-duplicates. We want: “diverse” secondary shafts: enforce minimum angular difference, enforce minimum offset difference, or penalize candidates too similar to the already-selected shaft. E) Width fitting logic for macro channels Macro channels often require: either a higher width cap, or a different penalty profile. Current width penalty is simple and can bias against macro channels. Needed: width penalty that scales by timescale or by total evaluated bars, or separate macro/micro scoring. F) Ore pocket semantics enhancement (optional but aligned) Currently pockets are time intersections only. If you want “pocket zones,” improvements could include: projecting intersection price and drawing a zone box, clustering in (time, price) space instead of only time, adding “importance” weighting based on which lines intersect (macro line intersections weighted higher). 7) Known limitations (current version) Heavy compute only runs on last bar (good for performance), but means: changes in anchors/parameters can reselect rails abruptly Candidate set is bounded; macro shaft can be missed if not in pool Drift selection can be redundant Ore pockets are time clusters, not price clustersPine Script® indicatorby EyemaginativeUpdated 13
Yellow candleHeikin-Ashi Momentum Breakout (Yellow Candle Indicator) Overview: The Yellow Candle Indicator is a technical analysis tool designed to identify potential trend reversals or momentum shifts by combining Heikin-Ashi price action with a Simple Moving Average (SMA) and Rate of Change (ROC) filter. This script is specifically engineered to filter out market noise and highlight high-probability entry points when price action crosses its mean value under controlled volatility. Methodology: The script utilizes request.security to fetch data from a Heikin-Ashi candlestick perspective, regardless of the chart type you are using. It relies on three core conditions to plot a signal: 1. Mean Reversion Cross: It detects a crossover between the Heikin-Ashi Close and a short-term SMA. 2. Momentum Constraint: It uses the Rate of Change (ROC) to ensure the move isn't overextended. If the ROC is below the user-defined limit, it confirms a stable breakout. 3. Breakout Level: Once a "Yellow Candle" is identified, the script plots a horizontal breakout line based on the Heikin-Ashi High of that specific candle, serving as a dynamic resistance level. Key Features: • Heikin-Ashi Integration: Optimized for smoother trend identification. • Customizable Momentum Filter: Users can adjust the mom_limit to suit different market conditions. • Visual Breakout Lines: Automatically plots the breakout level for easier trade management. • Alert Ready: Includes a built-in alert condition for real-time notifications. Usage Tip: This indicator is best used on trending timeframes (15m, 1h, 4h). Traders often look for a candle close above the yellow line as a confirmation for a bullish continuation.Pine Script® indicatorby qshm20301
Adaptive Elliott Wave: Forecast + Dashboard (V.2)Title: Adaptive Elliott Wave: Forecast + Dashboard Description: Overview The Adaptive Elliott Wave: Forecast + Dashboard is a technical analysis tool designed to visualize potential Elliott Wave structures using a dynamic, multi-factor approach. Unlike static wave scripts, this indicator adapts its projections based on real-time trend context (Weighted Moving Averages) and momentum shifts (RSI). It is built to help traders identify the most likely path—Impulse or Correction—based on current market conditions. How It Works The script uses a combination of pivot-point detection and trend filtering to project future wave paths. Pivot Logic: The indicator identifies significant Highs and Lows using a sensitivity setting. These pivots form the "anchors" for the Elliott Wave count. Adaptive Engine: The "Auto-Detect" mode analyzes the relationship between the 50/200 WMA (Trend) and RSI (Momentum). In a Bull Trend: If RSI is oversold, the script anticipates a bullish "Impulse" wave. If RSI is overbought, it prepares for a "Correction." In a Bear Trend: The logic reverses to project rallies or downward impulses. Projections: It calculates Fibonacci-based targets for waves 1-5 (Impulse) or A-B-C/W-X-Y (Correction) and renders them as "ghost lines" that move with the price. Macro Outlook: For long-term context, the script includes a Macro Projection feature that uses higher-period pivots to show the possible 1-year direction. Key Features Target Table: A real-time dashboard showing exact Fibonacci target prices and the percentage distance from the current price. Corrective Channels: Automatically draws channels for wave corrections to help identify potential breakout or breakdown zones. Bullish/Bearish Extensions: Shows immediate volatility-based extensions beyond the last confirmed pivot. RSI Signals: Visual markers on the chart indicate overbought/oversold conditions that feed into the adaptive logic. How to Use Identify the Phase: Use the "AI STATUS" in the dashboard to see if the script is currently projecting an Impulse (Trend move) or a Correction (Counter-trend). Confirm with WMA: Use the 50 (Blue) and 200 (Orange) WMAs to confirm the macro trend before following a projection. Monitor Fib Targets: Watch for price reactions at the projected labels. If price breaks a target significantly, the wave count may need to be re-evaluated (re-pivot). Customize Sensitivity: For scalping, lower the "Short-Term Sensitivity." For swing trading, increase it. Disclaimer This script is for educational purposes only. Elliott Wave Theory is subjective, and projections are mathematical estimates based on historical volatility. Past performance does not guarantee future results. Always use proper risk management. Settings Guide Forecast Mode: Choose between "Auto-Detect" (Dynamic) or manually force an Impulse/Correction count. Macro Sensitivity: Controls how far back the script looks to generate the purple 1-year projection. Link Correction to Extension: A unique feature that starts the forecast from a potential extension target rather than the current live price.Pine Script® indicatorby TheTankTrades252
15m Anchor Candle Box (All TFs)Marks out rectangle on 15 min timeframe from 9:30-4:30 NYSEPine Script® indicatorby riansquires837
Elliott Wave: Pro Forecast + Dashboard (with RSI Divergence)Elliott Wave: Pro Forecast + Dashboard (with RSI Divergence) This indicator provides a dynamic, real-time projection of Elliott Wave structures, helping traders identify potential trend exhaustion and reversal targets. By combining historical pivot analysis with Fibonacci extensions, it forecasts both short-term "extensions" and long-term "macro" moves. 🚀 Key Features Automated Elliott Wave Projections: Automatically plots potential 5-wave impulse moves (bullish) and 3-wave corrective moves (ABC - bearish) based on current market volatility. RSI Divergence Integration (⚡): The script scans for discrepancies between price and momentum. If a reversal is projected while a Bullish or Bearish divergence exists, a lightning bolt icon appears, signaling a high-probability setup. Dual-Horizon Forecasting: Short-Term Extension: Projects the immediate continuation of the current trend. 1-Year Macro Projection: A "Big Picture" mode that uses high-sensitivity pivots to forecast long-term structural shifts. Dynamic Data Dashboard: An on-chart table calculates exact Fibonacci price targets and the percentage distance from the current price, allowing for precise risk/reward planning. Invalidation Logic: Clearly marks the "Invalidation Line." If price breaches this level, the current wave count is considered void. 🛠️ How to Read the Chart Historical Waves (Green/Teal): Shows the confirmed pivots that the script is using as a baseline. Extensions (Orange): The immediate predicted path if the current momentum continues. Reversals (Blue): The projected Elliott Wave path if the current pivot holds. Look for the ⚡ symbol near the Invalidation line; this indicates RSI Divergence, suggesting the reversal has strong momentum backing it. Macro Projection (Purple): Designed for swing traders and investors to see where the asset could be in a year based on larger cycle pivots. ⚙️ Settings & Customization Sensitivity: Adjust the "Short-Term" and "Macro" sensitivity to filter out market noise or capture smaller intraday cycles. Scenario Linking: You can choose to have the Reversal projection start after the Extension target is hit, or have them run independently. Visual Toggles: Enable/Disable the target table, Fibonacci grid levels, and chart labels to keep your workspace clean. Disclaimer: This indicator is a mathematical projection based on historical volatility and Elliott Wave rules. It is a tool for technical analysis and does not guarantee future results. Always use proper stop-loss management.Pine Script® indicatorby TheTankTrades83
Trend Pro + No Wick Alert[tommy]no wick ema confirmation for notifications just something simple if you want to trade imbalencePine Script® indicatorby Girlfriend_tweeking1143
[SpaghettiForex] LH - Level HeatmapLH — Level Heatmap is a context tool that builds a dynamic heatmap of price zones (support/resistance areas) and assigns each zone a strength score (0–100) based on how price interacts with it over time. LH does not predict the market and it is not a “magic levels” script. Its goal is to help you prioritise which zones are worth paying attention to, using simple, transparent rules. What it shows: - A set of horizontal zones (boxes) derived from objective sources (pivots, previous day levels, optional manual levels). - A strength score for each zone (visualised via colour/opacity). - Optional zone labels (“LH xx”) and alerts for touches and confirmed reactions. ________________________________________ Screenshots (examples): Screenshot 1 — Heatmap overview (multiple zones) A full overview showing how LH builds and extends zones to the right. Stronger zones appear with clearer colouring/visibility, weaker zones fade. Screenshot 2 — Strong zone touch Example of price entering a strong zone (high strength score). LH highlights nearby zones and displays a strength score (0–100). Higher scores indicate zones with more meaningful interactions over time. Useful to illustrate how repeated interactions can increase the zone’s relevance over time. Screenshot 3 — Reaction confirmation (strong zone) Example of a confirmed reaction after a touch (price moves away by a minimum ATR distance within a limited number of bars). After a zone touch, LH can confirm a reaction when price moves away by a minimum ATR distance within a limited number of bars. This is a context metric, not a trade entry signal. ________________________________________ HOW ZONES ARE CREATED LH can build zones from: - Pivot High / Pivot Low (swing points detected using left/right pivot settings) - Previous Day High/Low (optional) - Manual levels (CSV): comma-separated price levels (optional) Each level becomes a zone whose thickness is based on ATR: - Fixed at creation: the zone thickness is locked when created - Dynamic with ATR: thickness adapts as ATR changes Close levels can be merged to avoid clutter using a minimum separation rule (ATR-based). HOW STRENGTH IS CALCULATED (0–100) Each zone strength is a weighted mix of three components: 1. Touches - How many times price enters the zone (with an optional cooldown to avoid overcounting). 2. Reactions - A “reaction” is counted when, after a touch, price moves away from the touch price by at least a defined ATR distance within a fixed number of bars. 3. Cleanliness (touch quality) - A simple proxy that rewards cleaner touches (based on wick/body dominance), to reduce noise from messy interactions. All components are normalised and combined into a final strength score (0–100). The colour/opacity of each zone reflects this score. Display modes: - All Zones: shows every stored zone - Only Nearest Zones: shows only the N closest zones to current price (useful to keep charts clean). ALERTS LH includes optional alerts (bar-close confirmed) for: - Price entering a strong zone. - A strong-zone reaction being confirmed. - Price entering any visible zone (optional). Alerts include zone strength and centre level via hidden plot values. Important note: LH is a context and prioritisation tool. It does not provide financial advice or performance guarantees. Zones are derived from pivots and session levels, so they reflect structure after it forms (pivot logic inherently requires confirmation). Always use LH alongside your broader process and risk management.Pine Script® indicatorby SpaghettiForex14
Daily Move Percentile + StdDevDaily Move Percentile + Standard Deviation Quantifies how unusual today's price move is relative to historical norms, combining percentile ranking with standard deviation analysis. Designed for volatile assets like biotech where contextualizing moves against typical volatility is essential. How it works: Calculates daily percentage change Ranks today's move against the historical distribution (percentile) Measures how many standard deviations from the mean (z-score) Displays average volatility so you can contextualize whether a move is normal for this specific stock Color coding: Teal: 95th+ percentile up move — rare upside Red: 95th+ percentile down move — rare downside Lime: 80th-95th percentile up move — notable upside Orange: 80th-95th percentile down move — notable downside Gray: Normal volatility — nothing unusual Information table (top right): Today's move (%) Percentile rank (how unusual) Standard deviations (z-score) Average volatility (typical daily move for this stock) 1 Std Dev (baseline volatility measure) Use cases: Identify statistically significant moves worth investigating Contextualize moves against stock-specific volatility (a -5% day means different things for different stocks) Spot potential mean-reversion setups after extreme moves Monitor portfolio names for unusual activity Recommended settings: 30-60 day lookback for volatile biotech 252 day lookback for stable, large-cap names Pine Script® indicatorby AlchemistInvestor5