Sri Previous Week OHLC (-1)Previous Week's Open, High, Low, and Close For Scalping, Intraday Trading and Swing trading. Indicador Pine Script®por chartzone_sri7
High/Low Price Tracker w/L20-Table by Deepsage V1This indicator/strategy was planned, designed, and coded with guidance from Deepsage AI Mentors, but reflects my own ideas and strategies. It identifies the highest and lowest price of each candle and includes a table showing high/low price information for up to 20 candles back, providing a clear overview for analysis. It is connected to SageMaster for risk management and smart trade execution, including entering, exiting, starting, or closing positions based on TradingView alerts. Deepsage AI Mentors provide guidance only and do not offer financial advice. They are trained on public trading data from major exchanges, insights from SageMaster users, and educational content from the World of Wisdom platform, providing support and insights for strategy development. SageMaster is a trading ecosystem, not a broker or trading platform. Users retain full control of any automation, and we do not access or manage your funds. Created by Andreas, a Deepsage and SageMaster user. Disclaimer: This is not an official Deepsage, or SageMaster product. Planned Upgrades We are planning V2 and V3 of this indicator with Deepsage: V2: Adds a second table with more price-focused data points: OHLC, Range (high–low), Body Size (|close–open|), Price Change (%), Candle Type/Pattern, Volume, Relative Candle Size. Practical uses include: Trend Continuations (Potential Trade Idea): large body + above-average relative candle size + high volume + bullish/bearish pattern. Potential Reversals (Potential Trade Idea): hammer, doji, engulfing patterns confirmed by volume and relative candle size. Exhaustion Detection: long wicks, large range, small body candles. Other strategies: Sudden volatility, volatility-based stops, pattern-based stops, volume confirmation, breakout trading, swing trading, scalping. V3: Focus on total price movement (sum of all price changes within the candle, not just high–low). Provides advanced volatility analysis beyond traditional high–low measures. Designed to give additional insights while remaining practical for retail traders.Indicador Pine Script®por andreasapelseth3
Professional Signals & Overlays [R2D2]Professional Signals & Overlays: The Institutional Edge Introduction In high-frequency markets, clarity is power. The Professional Signals & Overlays Suite is an all-in-one technical architecture designed to strip away noise and present only high-probability actionable data. This is not just a signal generator; it is a complete market "Head-Up Display" (HUD). By synthesizing trend structure (Smart Trail), statistical extremes (Reversal Zones), and momentum classifications (AI Scoring), this toolkit allows you to align your execution with the dominant flow of capital—whether you are scalping volatility or riding multi-week trends. Visual Legend: How to Read the Signals We have engineered a visual hierarchy to help you gauge signal strength in milliseconds: Normal Signals (▲ / ▼) Visual: Red or Green box with a White Triangle . Meaning: A standard trend breakout has occurred. The Smart Trail has flipped, and momentum is aligning with the new direction. Strong Signals (+) Visual: Red or Green box with a White Plus (+) . Meaning: A "High Confluence" event. The breakout is backed by Volume Anomalies and RSI Momentum . These signals statistically have a higher probability of sustained follow-through. AI Classification (Optional Mode) Visual: Numbers 1, 2, 3, 4 appear instead of symbols. Meaning: 4: Strong Trend (High Volume + High Momentum). 3: Active Trend. 2: Normal/Weak Trend. 1: Contrarian/Reversal setup. Exit Signals (x) Visual: Tiny Blue or Orange "X". Meaning: Price has hit a statistical extreme (Reversal Zone). Consider taking partial profits. Core Architecture 1. The Smart Trail (Dynamic Support/Resistance) The backbone of the system. This step-line algorithm adjusts automatically to market volatility. Green Line: Hold Longs / Trailing Stop Support. Red Line: Hold Shorts / Trailing Stop Resistance. Strategy: As long as price remains above the Green Trail, the trend is bullish. Do not fight it. 2. Reversal Zones (Volatility Bands) Markets breathe. The Reversal Zones (shaded outer bands) visualize the statistical limits of standard price movement. Usage: When price pierces the Upper (Red) or Lower (Green) zones, the move is overextended. Watch for "Exit (x)" signals here to lock in gains or look for mean-reversion entries. 3. Professional Dashboard (Real-Time Telemetry) Located in the bottom corner, this panel provides a health check on the asset: Trend Strength: Momentum velocity (0-100%). >50% is Bullish control. Volatility: Annualized volatility percentage. High values = reduce position size. Squeeze: Detects when volatility is compressing (Bollinger Bands narrowing). A "True" (Red) reading warns of an explosive move imminent. Volume Sentiment: Measures the ratio of Bullish vs. Bearish volume flow over the last 14 periods. Effective Trading Strategies Strategy A: The Trend Continuation (Confirmation) Best for: Crypto Breakouts, Forex Trends, Growth Stocks Wait for a Green Box Signal (Triangle or +). Confirm that the Dashboard "Trend Strength" is Green (>50%). Confirm that "Volume Sentiment" is positive. Execute Long. Stop Loss: Place just below the Smart Trail. Trail it upwards as the line moves. Strategy B: The Squeeze Breakout Best for: Indices (SPX, NAS100) and Consolidating Coins Watch the Dashboard for the "Squeeze" metric to turn RED . This means energy is building. Wait for a "Strong Signal (+)" to print, signaling the release of that energy. Enter in the direction of the signal. These moves are often violent and fast. Settings Guide Optimal Sensitivity (Default: 12): Lower (5-8) for Scalping, Higher (14-20) for Swing Trading. Show AI Classification: Toggle this ON to see the raw strength score (1-4) instead of the geometric symbols. Signal Mode: Switch to "Contrarian" to catch reversals at the edges of the zones (best for ranging markets). Risk Disclaimer: Trading involves substantial risk. The Professional Signals & Overlays suite is a tool for technical analysis, not a guarantee of future performance. Always use stop losses and manage your risk responsibly.Indicador Pine Script®por R2D2_4Life40
MASU+ v7.2 (NW+ELM+BOS)# MASU+ v7.2 — Institutional Multi-Strategy Framework (NW + ELM + BOS) ## Overview MASU+ v7.2 is an advanced multi-strategy trading system that combines institutional-grade Smart Money Concepts (SMC), machine learning signal filtering, and adaptive risk management into a single unified framework. The strategy is designed for intraday and swing trading across forex, indices, and commodities. The core philosophy is **high-confluence entries only** — every trade must pass through multiple independent filters before execution, ensuring that only the strongest setups are taken. --- ## Key Components ### 1. Nadaraya-Watson Kernel Ribbon An 8-line non-parametric regression ribbon built on a Fibonacci bandwidth grid (3, 5, 8, 13, 21, 34, 55, 89). The ribbon acts as a dynamic trend filter with three operating modes: - **Strict** — all 8 lines must be perfectly ordered - **Relaxed** — a configurable threshold of ordered pairs (default 6/7) - **Expansion** — ribbon width is increasing in the trend direction The bandwidth can operate in **Fixed** or **Adaptive** mode. In Adaptive mode, bandwidth auto-scales based on ATR-normalized volatility, making the ribbon more responsive in volatile conditions and smoother in calm markets. ### 2. ELM Neural Filter (Extreme Learning Machine) A lightweight online-learning neural network that trains in real time on 7 normalized features: - RSI, Rate of Change, Distance from EMA 200, ADX, NW Kernel Slope, Ribbon Order Score, and Relative Volume The ELM predicts price direction over a configurable lookahead window (default: 5 bars) and outputs a probability score (0–1). Key v7.2 improvements include: - **Weight decay regularization** to prevent parameter drift - **Real-time accuracy calibration** — the ELM tracks its own prediction accuracy and adjusts its voting weight accordingly. An ELM with <50% accuracy effectively gets silenced. - The ELM can act as a soft vote (bonus confluence), a hard blocker, or influence position sizing — all configurable. ### 3. Smart Money Concepts (SMC) Full institutional order flow toolkit: - **Order Blocks** — bullish/bearish engulfing patterns with body-to-range ratio filtering - **Fair Value Gaps (FVG)** — imbalance detection with ATR-scaled minimum size - **Liquidity Sweeps** — stop hunt detection at recent swing highs/lows - **Break of Structure (BOS)** — pivot-based market structure tracking - **Demand/Supply Zones** — impulse-based zones that auto-expire when violated ### 4. BOS Immediate Entry (v7.2) A dedicated scalp-style entry that fires **immediately** when a Break of Structure is detected — no confirmation bars required. Features: - **TP = 0.75 × ATR** — tight scalp target for quick profit capture - **Aggressive trailing** — activates at just 0.1 × ATR from entry with a 0.15 × ATR offset - **Full confluence gate** — BOS entries require the same high confluence score (≥ 7.0) as all other entries, preventing low-quality breakout chasing ### 5. Multi-Timeframe (MTF) Filter Higher timeframe EMA alignment check (default: 4H). Both fast and slow EMAs on the higher timeframe must agree with the trade direction, and price must be on the correct side of the fast EMA. ### 6. Order Flow Analysis - **VWAP** with 3 standard deviation bands (±1σ, ±2σ, ±3σ) - **Cumulative Volume Delta (CVD)** — divergence detection between price and volume delta - **Volume Profile POC** — Point of Control visualization --- ## Confluence Engine (v7.2) Every entry — whether trend-following, breakout, mean-reversion, or BOS — must achieve a **minimum weighted confluence score of 7.0** (out of a maximum 7.5 with default weights). Each filter contributes a configurable weight: | Filter | Default Weight | |---|---| | MTF Alignment | 2.0 | | NW Ribbon | 1.5 | | ELM AI | 1.0 (calibration-adjusted) | | Order Flow | 1.0 | | Smart Money | 1.0 | | ADX Trend Strength | 0.5 | | NW Slope Direction | 0.5 | | **Total** | **7.5** | With the default threshold of 7.0, nearly all filters must agree before a trade is placed. This dramatically reduces noise trades and false signals. --- ## Risk Management ### Volatility Regime Adaptation The strategy classifies the market into 4 regimes and adapts SL/TP accordingly: | Regime | SL Mult | TP Mult | |---|---|---| | High Vol + Trending | 1.5× ATR | 2.5× ATR | | High Vol + Ranging | 1.2× ATR | 1.8× ATR | | Low Vol + Trending | 1.5× ATR | 2.5× ATR | | Low Vol + Ranging | 1.0× ATR | 1.5× ATR | ### Trailing Stop Configurable trailing stop that activates at 25% of the TP distance (default) with a tight 0.2 × ATR offset. Designed to lock in profits early while giving trades room to breathe. ### Kelly Criterion Sizing Position size is dynamically calculated using the Kelly formula based on real-time win rate and win/loss ratio, capped at 25% to prevent over-leverage. ### Quality-Based Sizing Signal confluence score directly affects position size: high-quality setups get full allocation, moderate setups get 80%, and weaker setups get 60%. ### Equity Guard Automatic circuit breaker that pauses trading after a configurable number of consecutive losses (default: 5) or when drawdown exceeds a threshold (default: 15%). Resumes after a cooldown period to prevent emotional revenge trading. ### Cost-Aware Filter Estimates total round-trip cost (spread + commission) and blocks entries where ATR is too small relative to trading costs. Prevents churning in low-volatility environments. --- ## Entry Types 1. **Trend Following** — EMA crossover + volume spike + bullish/bearish trend confirmation 2. **Breakout** — New high/low break + volume spike + EMA filter alignment 3. **Mean Reversion** — Bollinger Band extreme + RSI oversold/overbought + ranging regime 4. **BOS Scalp** — Immediate entry on Break of Structure with tight TP and aggressive trailing All entries require: session filter ✓ | confluence ≥ 7.0 ✓ | R:R check ✓ | cost filter ✓ | equity guard clear ✓ | ELM not blocking ✓ --- ## Dashboard A comprehensive real-time institutional dashboard displays: - Multi-timeframe trend alignment (15M / 1H / 4H) - NW Ribbon state and bandwidth scale - ELM AI probability, accuracy, and confidence weight - Volatility regime classification - Order flow and Smart Money signals - Confluence score with quality rating - Adapted SL/TP levels with regime multipliers - Kelly position sizing - Equity guard status with drawdown tracking - BOS entry status - Session detection (London / New York / Asia / Overlap) - Active demand/supply zone count --- ## What's New in v7.2 - **Confluence threshold raised to 7.0** for all entry types — only the highest-conviction trades are taken - **BOS immediate entry** — no confirmation bar delay; enters on the breakout candle itself - **BOS TP = 0.75 × ATR** — tighter scalp target optimized for quick captures with trailing doing the heavy lifting - **Unified confluence gate** — BOS entries now use the same min_confluence_score as standard entries (no separate hardcoded threshold) --- ## Recommended Settings - **Timeframe:** 1H (primary), with 4H MTF filter - **Session:** 09:00–22:00 (covers London + New York) - **Assets:** Forex majors, Gold (XAUUSD), US indices (NAS100, SPX500) - **Account:** Works with standard lot sizing; commission and spread inputs should be adjusted to your broker --- ## Disclaimer This strategy is provided for educational and research purposes. Past performance does not guarantee future results. Always backtest thoroughly and trade with proper risk management. The ELM neural component learns in real time and its accuracy varies across market conditions.Estrategia Pine Script®por Mark_Novak251
High-Conviction Swing System (EMA+RSI+MACD+Volume)Imagine this script is like a smart traffic signal for stocks. It tells you when it’s a good time to “go” (buy), “stop” (sell), or “go the other way” (short), so you don’t guess with feelings. (pepperstone.com) *** ## How it works (kid version) Think of a stock like a ball rolling up and down a hill. - **EMAs (20 & 50)**: These are like the slope of the hill. - If the ball is above two sloping-up lines, the hill is going up (uptrend). - If it’s below two sloping-down lines, the hill is going down (downtrend). (www.reddit.com) - **RSI**: This is a “tiredness meter” for the ball. - When RSI was low (ball was tired from falling) and then climbs above 50, it says, “I’m strong again, I can roll up now.” - When RSI was very high and then falls below 50, it says, “I’m tired of going up; I may roll down now.” (groww.in) - **MACD**: This is like a helper that checks if the move is really starting. - For buys: the MACD line jumps above its friend (signal line) above zero = real strength. - For sells: it drops below its friend under zero = real weakness. (www.investopedia.com) - **Volume**: This is how many kids are pushing the ball. - Big volume (1.5 times more than usual) means lots of kids push together, so the move is stronger. (pepperstone.com) - **ATR & stops**: ATR is “wiggle size” – how much the ball normally shakes up and down. - We put the safety net (stop-loss) 1.5–2 times that wiggle size away, so normal shaking doesn’t knock us out too early. (www.luxalgo.com) - **ADX (trend strength)**: This says if the hill is clearly going up/down or if it’s almost flat. - Strong trend (ADX high): we trust breakouts more. - Weak trend (ADX low): we focus on bounces (mean reversion) instead of big breakouts. (www.mindmathmoney.com) The script only shouts “Buy!” or “Short!” when many of these things line up together (4 or more good signs). That’s why it aims for high‑probability trades instead of random guesses. (www.reddit.com) *** ## What you see on the chart When you add this strategy to a stock chart: - Two lines (EMAs) follow price and show the main direction. - Little **green triangles under candles** = possible **buy** signals. - Little **red triangles above candles** = possible **short/sell** signals. - Extra lines show: - Entry price (where we got in) - Stop‑loss (safety floor or ceiling) - Target (where we’d like to take profit) The computer then simulates buying and selling to show if the rules made money in the past (backtest). That’s how you check if the “traffic signal” is any good. (www.tradingview.com) *** ## How to use it step‑by‑step 1. **Add to chart** - Open TradingView, pick a NSE stock (like RELIANCE). - Choose **Daily** timeframe. - Paste the script in Pine Editor and click “Add to chart”. (www.tradingview.com) 2. **Look for fresh signals** - Check for new green triangles (long) or red triangles (short) that appeared on yesterday’s candle. - Ignore old signals; you only care about the latest ones. 3. **Check the story quickly** - For a **long**: - Price above both EMAs (trend up). - RSI was low, now crossed above 50. - MACD cross up, above zero. - Volume bigger than usual. - For a **short**, opposite conditions. This is like checking multiple green lights before crossing the road. (pepperstone.com) 4. **Decide your trade** - Use the stop‑loss and target lines the strategy plots. - Position size is already calculated inside the script based on risk % and ATR, so you follow the suggested quantity for about 1% risk per trade. (www.gwcindia.in) 5. **Manage it simply** - Once price moves in your favour by the risk amount (1R), the script conceptually moves stop to entry and then trails using ATR, so gains are protected while giving the trade room to breathe. (www.luxalgo.com) - Close when: target is hit, stop is hit, or after about 3–10 days if nothing great happens. *** ## What this gives you (in simple words) - It tries to buy **strong stocks getting stronger** and short **weak stocks getting weaker**, not random names. (www.mindmathmoney.com) - It waits for **many signs to agree** (trend, strength, volume, and level) before giving a signal. - It always has a **seatbelt** (ATR stop) and **goal post** (profit target), so you know your risk and reward before you start. (www.gwcindia.in) Estrategia Pine Script®por ShashankCapital55116
EMA Cross with MTF Understanding EMA Crossover and Multi-Time Frame SMA Crossover in Technical Analysis Technical indicators like Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) are foundational tools for traders to identify trends, momentum shifts, and potential entry/exit points in markets such as stocks, forex, or cryptocurrencies. Crossovers—where one average line crosses another—signal changes in trend direction. Below, I'll break down EMA crossovers, then extend to multi-time frame (MTF) SMA crossovers, and explain how analyzing from a lower time frame can reveal higher time frame trends. EMA Crossover: Basics and Application An EMA crossover involves two or more EMAs of different periods intersecting on a price chart. EMAs give more weight to recent prices compared to SMAs, making them more responsive to new data and ideal for capturing short- to medium-term trends. How It Works: Typically, traders use a short-term EMA (e.g., 9-period or 12-period) and a longer-term EMA (e.g., 26-period or 50-period). Golden Cross (Bullish Signal): When the shorter EMA crosses above the longer EMA, it suggests upward momentum and a potential buy opportunity. This indicates that recent price action is stronger than the historical average. Death Cross (Bearish Signal): When the shorter EMA crosses below the longer EMA, it signals downward momentum and a potential sell or short opportunity. Example: On a daily chart, a 12-period EMA crossing above a 26-period EMA might confirm the start of an uptrend, often used in strategies like the MACD (which is derived from EMA differences). Advantages: Quick response to price changes due to exponential weighting. Reduces lag compared to SMAs, helping in volatile markets. Can be combined with volume or other indicators (e.g., RSI) to filter false signals. Limitations: Prone to whipsaws (false crossovers) in sideways or ranging markets. Best suited for trending environments; in choppy conditions, it may generate too many signals. Traders often apply EMA crossovers on single time frames, but for broader context, incorporating multi-time frame analysis enhances reliability. Multi-Time Frame SMA Crossover: Integrating Broader Perspectives Multi-time frame (MTF) analysis involves examining the same asset across different time intervals (e.g., 5-minute, 1-hour, daily) to align short-term trades with longer-term trends. Here, we focus on SMA crossovers, where SMAs—simple arithmetic averages of closing prices over a set period—are used instead of EMAs. SMAs are smoother and less reactive, making them suitable for identifying sustained trends. How It Works in MTF: Choose at least two time frames: a lower one (e.g., 15-minute for intraday trading) and a higher one (e.g., 4-hour or daily for overall trend). On each frame, plot two SMAs: a shorter one (e.g., 50-period) and a longer one (e.g., 200-period). Crossover Signals: Bullish: Shorter SMA crosses above the longer SMA. Bearish: Shorter SMA crosses below the longer SMA. In MTF, the higher time frame dictates the dominant trend, while the lower one provides precise entry timing. For instance: If the daily chart shows a bullish 50/200 SMA crossover (uptrend), look for buy entries on the 1-hour chart when its own SMA crossover aligns. This "top-down" approach ensures you're trading in the direction of the bigger picture, reducing counter-trend risks. Advantages: Filters noise: Higher time frames smooth out short-term volatility. Improves win rate by confirming trends across scales. Versatile for strategies like swing trading (daily/weekly) or scalping (5-min/15-min). Limitations: SMAs lag more than EMAs, potentially missing early trend entries. Requires monitoring multiple charts, which can be time-intensive without automation. Viewing Higher Time Frame Trends from a Lower Time Frame One of the key benefits of MTF analysis is the ability to "see" higher time frame trends directly on a lower time frame chart, without switching views constantly. This is achieved through anchored or overlaid indicators that project higher-period data onto the lower chart. How It Enables Trend Tracking: Overlay Technique: On a lower time frame (e.g., 15-minute), plot SMAs or EMAs calculated from higher time frame data. For example: Use a 50-period SMA on a daily chart, but recalculate it for the 15-minute chart by multiplying periods (since there are about 96 15-minute bars in a trading day, a daily 50-SMA might approximate to a 4800-period SMA on 15-min). Tools like TradingView allow "higher time frame" scripts to fetch and display this directly. Trend Visibility: From the lower frame, you can observe if the price is above/below the higher-frame SMA, indicating the overall trend. A crossover on the lower frame that aligns with the higher frame's direction confirms momentum. Example: On a 5-minute chart (lower TF), if the overlaid daily 200-SMA acts as support (price bounces off it), it shows the higher TF uptrend is intact, even amid intraday dips. This helps avoid selling into a pullback during a broader bull market. Practical Benefits: Early Detection: Lower TFs show granular price action, revealing how higher TF trends are forming in real-time (e.g., a building crossover on daily visible as momentum buildup on hourly). Risk Management: Use higher TF levels for stop-losses while entering on lower TF signals. Example Strategy: In forex, on a 1-hour chart, confirm the 4-hour SMA trend is bullish, then wait for a 1-hour EMA crossover for entry. This way, you're "zooming in" on the big trend without losing context.Indicador Pine Script®por akghuf19ag241117
Trend Forge Trend Forge is a fully configurable multi-trend strategy that lets you mix and match three independent trend indicators to define bullish and bearish market states. When all three trends align above price, the strategy enters long; when all three align below, it enters short. Every position is protected by an ATR-based stop loss, and trades close automatically when the trend alignment breaks down. This script was converted from the original Bear & Bull Builder indicator I published into a back testable strategy with real entries, exits, and stop loss orders. It gives you access to TradingView's full Strategy Tester including equity curves, trade lists, and performance metrics. How It Works Trend Selection: You choose three trend indicators independently, each with its own type and length: - Trend 1 (default: EMA 21) — fast trend - Trend 2 (default: EMA 55) — medium trend - Trend 3 (default: SMA 89) — slow trend Each trend slot supports five indicator types: EMA, SMA, RSI, CCI, and WaveTrend (WT). This gives you complete freedom to build a trend-following system tailored to your instrument and timeframe. Entry Logic Long Entry: Triggered on the first confirmed bar where price closes above all three trend values. The strategy enters long at market and simultaneously places an ATR-based stop loss order. Short Entry: Triggered on the first confirmed bar where price closes below all three trend values. The strategy enters short at market with an ATR-based stop loss. Stop Loss Calculation The stop loss distance is calculated as: `Stop Loss Distance = ATR(20) × Multiplier` - For longs, the stop is placed below the highest of the three trend values at entry. - For shorts, the stop is placed above the lowest of the three trend values at entry. The ATR multiplier is user-adjustable (default: 2.5), letting you widen or tighten risk per trade based on volatility. Exit Logic Positions close via market order when the trend alignment condition that triggered the entry is no longer met — i.e., when price crosses back through one or more of the trend lines. If the stop loss is hit first, the strategy exits at the stop price instead. --- Visual Features All of the original indicator's visual overlays are preserved: -Stop Loss Zones — shaded red regions between the entry level and the ATR stop loss, shown for longs and/or shorts (toggle on/off). - Trend Zones — green-shaded areas that highlight when a bullish or bearish state is active. - Signal-to-Order Fill Zones — a green zone that visualizes the one-bar delay between signal generation (bar close confirmation) and order execution (next bar open). - Entry, Stop, and Exit Labels — price labels printed on the chart at entry, stop loss, and exit points with color coding (green = entry, orange = stop, cyan = exit). Toggleable for longs and shorts independently. --- Settings Reference | Group | Setting | Default | Description | |-------|---------|---------|-------------| | First Trend** | Trend Type | EMA | Indicator type for Trend 1 | | First Trend** | Trend Length | 21 | Lookback period for Trend 1 | | Second Trend | Trend 2 | EMA | Indicator type for Trend 2 | | Second Trend | Trend Length | 55 | Lookback period for Trend 2 | | Third Trend | Trend 3 | SMA | Indicator type for Trend 3 | | Third Trend| Trend Length | 89 | Lookback period for Trend 3 | | Stop Loss | ATR Multiplier | 2.5 | Multiplied by ATR(20) to set stop distance | | Display | Long/Short Labels | Long on | Show entry, stop, and exit price labels | | Display| Stop Loss Zones | Long on | Shade the region between entry and stop | | Display | Trend Zones | Long on | Shade active bull/bear trend areas | | Display | Signal-to-Order Zones | Long on | Show the fill delay visualization | --- Strategy Properties | Property | Value | |----------|-------| | Default Qty Type | 100% of equity | | Initial Capital | 10,000 | | Pyramiding | 0 (no stacking) | | Order Fill | Next bar open | | Bar Confirmation | Orders only on confirmed bars | --- Usage Tips - Start with the default EMA 21 / EMA 55 / SMA 89 combination and adjust from there. - Pair faster trend lengths for scalping on lower timeframes, or slower lengths for swing trading on daily/weekly charts. - Increase the ATR multiplier on volatile instruments to avoid premature stop outs; decrease it on stable instruments for tighter risk control. - Use the Strategy Tester tab to compare different trend type and length combinations across your chosen symbol and timeframe. - The WaveTrend and CCI options can provide earlier signals in ranging markets but may generate more whipsaws — backtest before committing. --- Disclaimer This strategy is provided for educational and backtesting purposes only. Past performance does not guarantee future results. Always validate with out-of-sample data and proper risk management before trading live capital. Estrategia Pine Script®por Beck_Mullen75
EDGE ATLAS WHAT IS EDGE ATLAS? EDGE ATLAS is a multi-factor market environment scanner. It does not generate buy or sell signals. Instead, it answers a more fundamental question that most traders skip entirely: "Is this a good environment to trade right now — and if so, what type of strategy fits these conditions?" The indicator fuses four independent market dimensions into a single composite EDGE Score (0–100), assigns a letter grade (A through F), classifies the current regime (TREND, RANGE, or NEUTRAL), determines directional bias, and recommends a strategy type — all displayed in a compact, repositionable HUD overlay. Most indicators measure one thing. A moving average measures trend. Bollinger Bands measure volatility. Volume indicators measure participation. Each one gives you a single dimension of a multi-dimensional problem. EDGE ATLAS combines all four dimensions simultaneously so you can see the full picture before committing capital. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ THE SCORING MODEL — HOW THE EDGE SCORE IS CALCULATED The EDGE Score is a weighted composite of four independent measurements. Each component is normalized to a 0–1 scale before weighting, ensuring that no single dimension can dominate the final score regardless of instrument or timeframe. COMPONENT 1 — PLAY EDGE (45% of total score) This is the largest component because it answers the most important question: is there a strong, tradeable pattern right now? The indicator calculates two separate edge measurements and takes the larger of the two: Play Edge = max(Trend Strength, Range Fade Edge) This dual-path design means the score remains high whenever ANY strong play exists — whether the market is trending cleanly or sitting at a mean-reversion extreme. Trend Strength is itself a three-factor composite: Trend Strength = 0.45 x Efficiency Ratio + 0.35 x ADX (normalized) + 0.20 x Slope Magnitude - Efficiency Ratio (Kaufman): Measures directional efficiency of price movement over N bars. A value of 1.0 means price moved in a perfectly straight line. A value near 0 means price went nowhere despite lots of bar-to-bar movement. This is the core chop filter. - ADX (normalized): The classic Wilder Average Directional Index, normalized to a 0–1 scale where ADX below 15 maps to 0 and ADX above 35 maps to 1. Measures the strength of any directional movement regardless of direction. - Slope Magnitude: The absolute slope of the Anchor EMA, normalized by ATR. This captures how aggressively the trend center-of-gravity is moving. A flat EMA produces 0. A steeply angled EMA produces values approaching 1. Range Fade Edge measures mean-reversion opportunity: Range Fade Edge = (1 - Trend Strength) x Deviation Edge Deviation Edge activates when price deviates from the Anchor EMA by more than the ATR deviation threshold (default: 0.90 ATR). The further price stretches beyond that threshold, the higher the Range Fade Edge becomes — but only when Trend Strength is LOW. This prevents the indicator from suggesting mean-reversion trades during a strong trend. WHY THREE SUB-FACTORS FOR TREND? Using a single trend indicator creates fragility. ADX can stay high during volatile chop. Efficiency Ratio can briefly spike during a single large candle. EMA slope can lag during fast reversals. By combining all three with different weights, the Trend Strength reading becomes robust against the failure mode of any single measurement. When all three agree, you have genuine trend conviction. When they diverge, the score drops — which is exactly what should happen in ambiguous conditions. COMPONENT 2 — VOLATILITY QUALITY (20% of total score) Not all volatility is equal. This component measures whether current volatility is in a "tradeable" range by comparing the current ATR against a long-run ATR baseline (100-period EMA of ATR by default). The scoring curve works as follows: - ATR is 70%–160% of baseline: Score = 1.0 (normal, healthy volatility) - ATR is below 70% of baseline: Score decreases linearly (compressed, pre-breakout — unpredictable) - ATR is above 160% of baseline: Score decreases inversely (expanded, chaotic — hard to manage risk) This reflects a practical reality: compressed volatility often precedes explosive moves where stops get blown, and extreme volatility makes position sizing and stop placement unreliable. The best trading environments have active but not extreme price movement. COMPONENT 3 — PARTICIPATION (20% of total score) Current volume divided by its moving average, clamped to a 0–1 scale. A ratio of 2.0 (double the average volume) maps to a perfect score of 1.0. Average volume maps to 0.5. Below-average volume maps below 0.5. Higher participation means the current price action is backed by real market activity rather than thin-market noise. Breakouts on high volume are more likely to follow through. Trends on declining volume are more likely to fail. This component captures that dynamic. NO-VOLUME HANDLING: On instruments where volume data is unavailable (forex pairs, some indices, certain data feeds), this component automatically defaults to a neutral 0.5 score and the HUD displays "N/A" in the Participation row. This prevents false score inflation or deflation on symbols where volume simply does not exist. COMPONENT 4 — MEAN PROXIMITY (15% of total score) Calculated as: Mean Proximity = 1 / (1 + |deviation from EMA in ATR units|) This produces a smooth decay curve: price sitting exactly on the EMA scores 1.0. Price one ATR away scores 0.5. Price two ATRs away scores 0.33. And so on. This component serves a specific purpose within TREND regimes: it rewards entries that are close to the trend's center of gravity (the EMA) where risk/reward is most favorable, rather than entries at extended prices where a pullback is statistically overdue. Note that this component has the LOWEST weight (15%) by design, and it works in counterbalance with the Range Fade Edge in the Play Edge component. When price is far from the EMA, Mean Proximity decreases — but if the regime is RANGE, Range Fade Edge increases. The two effects partially offset each other, which is intentional. The net result is that the total score captures whether the current distance from the mean represents opportunity (range fade) or risk (overextended trend entry). FINAL SCORE ASSEMBLY: EDGE Score = 100 x (0.45 x Play Edge + 0.20 x Volatility Quality + 0.20 x Participation + 0.15 x Mean Proximity) The result is an integer from 0 to 100. Higher is better. The score does not predict direction — it measures environment quality. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ GRADING SCALE A (score 80 or above) — Exceptional environment. Multiple dimensions are aligned. High conviction. B (score 65–79) — Good environment. Most dimensions are favorable. Standard risk is appropriate. C (score 50–64) — Marginal. Some dimensions are favorable but others are not. Reduce exposure or be very selective. D (score 35–49) — Poor. Most dimensions are unfavorable. The odds are not in your favor. F (score below 35) — No detectable edge. Conditions are choppy, illiquid, or chaotic. The recommended action is to do nothing. All grade thresholds are adjustable in settings to match your personal risk tolerance. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ REGIME CLASSIFICATION The TrendScore (the Trend Strength component described above) is compared against two thresholds to classify the market into one of three regimes: TREND — TrendScore exceeds the upper threshold (default: 0.65). Price is moving efficiently in one direction with confirming momentum. The indicator assigns directional bias by following the slope of the Anchor EMA: upward slope = LONG bias, downward slope = SHORT bias. RANGE — TrendScore falls below the lower threshold (default: 0.35). Price movement is choppy and non-directional. The indicator assigns directional bias ONLY when price has deviated beyond the ATR deviation threshold from the Anchor EMA, and the bias points BACK toward the EMA (mean reversion). If price is ranging but near the EMA, no bias is assigned because there is no mean-reversion edge yet. NEUTRAL — TrendScore is between the two thresholds. The market is in transition — potentially shifting from trend to range or vice versa. No directional bias is assigned. The recommended action is to wait for clarity. The gap between the TREND and RANGE thresholds creates a deliberate dead zone. This is a feature, not a limitation. Markets spend significant time in transitional states where neither trend-following nor mean-reversion strategies perform well. The NEUTRAL classification prevents the indicator from forcing a read on ambiguous conditions. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STRATEGY RECOMMENDATIONS Based on the current grade and regime, the HUD displays one of six strategy suggestions: A or B + TREND + LONG bias : MOMENTUM LONG — Conditions favor trend-following on the long side A or B + TREND + SHORT bias : MOMENTUM SHORT — Conditions favor trend-following on the short side A or B + RANGE + LONG bias : MEAN REV LONG — Conditions favor buying the dip back toward the mean A or B + RANGE + SHORT bias : MEAN REV SHORT — Conditions favor selling the rally back toward the mean A or B + no bias : WAIT FOR BIAS — Environment is good but no directional edge yet C grade : REDUCE SIZE — Marginal conditions; if you trade, trade small D or F grade : SIT OUT — Conditions do not support any strategy type These recommendations tell you WHAT TYPE of strategy fits the current environment. They do not tell you WHERE to enter, where to place stops, or when to exit. Those decisions remain yours. The value of EDGE ATLAS is in filtering out the environments where your strategies are statistically unlikely to perform, regardless of how good the individual setup looks. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ THE HUD DASHBOARD The overlay table displays eight rows of information organized into two tiers: PRIMARY (what to act on): Header row — Score (0–100) and letter grade, color-coded from green (A) to red (F) Regime — TREND / RANGE / NEUTRAL with regime-appropriate background color Bias — Directional arrow (up/down) or dash for no bias Play — The specific directional play in plain language Strategy — Actionable recommendation with color-coded background TRANSPARENCY (why the score is what it is): Trend — TrendScore sub-component (0.00 to 1.00) Vol Q — Volatility Quality sub-component (0.00 to 1.00) Partic — Participation sub-component (0.00 to 1.00, or N/A if volume unavailable) The transparency tier is what makes EDGE ATLAS a learning tool, not a black box. When the score drops from B to D, you can immediately see which dimension degraded. Did the trend weaken? Did volume dry up? Did volatility spike to abnormal levels? This feedback loop teaches you to read market structure over time, not just follow a number. HUD customization: - Repositionable to any of 6 screen positions (all four corners plus middle-left and middle-right) - Three text sizes (Tiny, Small, Normal) to fit any monitor and chart layout - Fully toggleable — hide the HUD entirely if you prefer only the background tint or badge ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ADDITIONAL VISUAL FEATURES Background Tint — A subtle color wash behind candles reflecting the current regime and bias. Green tones for bullish trend, red tones for bearish trend, blue tones for range with long bias, orange tones for range with short bias, neutral gray for no bias. This gives you instant visual context without adding any lines or shapes to the chart. Toggleable in settings. Candle Tint — Colors candles by directional bias. Off by default to keep charts clean. Enable it when you want bias direction visible at a glance without reading the HUD. Last-Bar Badge — A floating label positioned on the most recent bar showing the grade, regime, direction arrow, and score in a compact format. Automatically positions above candles for long bias, below candles for short bias. Toggleable. Anchor EMA — The EMA line used internally for all regime and deviation calculations. Hidden by default because the indicator's value is in the composite analysis, not the moving average itself. Enable it if you want to visually confirm where the "center of gravity" sits. Data Window Output — The raw EDGE Score is exposed as a plot in TradingView's Data Window. This means other Pine scripts can reference it as a source input, enabling you to build strategies or additional indicators that use the EDGE Score as a filter. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ALERTS Seven built-in alert conditions cover all major state changes: Regime Change — Fires when the market shifts between TREND, RANGE, and NEUTRAL Trend Long — New momentum long setup detected (regime shifted to TREND with upward bias) Trend Short — New momentum short setup detected (regime shifted to TREND with downward bias) Fade Long — New mean-reversion long setup detected (RANGE regime, price stretched below mean) Fade Short — New mean-reversion short setup detected (RANGE regime, price stretched above mean) Upgraded to A — Score crossed above the A-grade threshold Grade Below C — Score dropped below the C-grade threshold (risk-off warning) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SETTINGS REFERENCE Core Settings: - Source: Price source for calculations. Default is close. HL2 or HLC3 reduces noise on volatile instruments. - Anchor EMA Length (default 50): The central moving average used for regime detection, slope measurement, and deviation calculation. Use shorter values (20–30) for day trading, 50 for swing trading, 100+ for position trading. - ATR Length (default 14): Standard Wilder ATR period. Normalizes all measurements so the indicator works identically across instruments with different price magnitudes. - Volume MA Length (default 20): Baseline for the participation ratio. Current volume is compared against this moving average. Regime Detection: - Efficiency Ratio Length (default 20): Lookback for the Kaufman ER. Shorter values react faster to regime changes but produce more noise. - ADX Length (default 14): Wilder ADX smoothing period. Higher values produce a more stable reading. - ATR Baseline Length (default 100): Long-run volatility reference for the Volatility Quality component. - TREND Threshold (default 0.65): TrendScore must exceed this to classify as TREND. Raise for stricter detection. - RANGE Threshold (default 0.35): TrendScore must fall below this to classify as RANGE. Lower for stricter detection. - Deviation Threshold (default 0.90 ATR): Minimum distance from the EMA before range bias activates. Raise to only fade extreme deviations. Grading Scale: - A/B/C thresholds are fully adjustable. The D threshold is fixed at 35. Below 35 is always F. Visual Settings: - Toggle each visual element independently (HUD, background, candles, badge, EMA) - Reposition HUD to 6 screen locations - Scale HUD text across 3 sizes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HOW TO USE THIS — PRACTICAL WORKFLOWS For Beginners: 1. Add EDGE ATLAS to your chart. 2. Look at the grade. If it says A or B, the market is in a good state for trading. If it says D or F, close the chart and come back later. This single habit will eliminate a large percentage of losing trades that come from forcing setups in hostile environments. 3. Read the Strategy row. It will tell you whether to look for momentum (trend-following) or mean-reversion (fade) setups, and in which direction. Do not look for momentum setups when it says MEAN REV, and do not try to pick tops/bottoms when it says MOMENTUM. For Intermediate Traders: 1. Use the regime classification to match your strategy type. If you have a breakout strategy, only deploy it during TREND regimes. If you have a support/resistance bounce strategy, only deploy it during RANGE regimes. Track your win rate in each regime separately — the difference will be significant. 2. Use the sub-scores as early warning. When the Trend sub-score starts declining from 0.80 toward 0.50, the trend is weakening BEFORE the regime officially shifts. This gives you time to tighten stops or take partial profits. 3. Set alerts for grade changes. An "Upgraded to A" alert on your watchlist symbols tells you where the best environments are forming. A "Grade Below C" alert on open positions warns you that conditions are deteriorating. For Advanced / Quantitative Traders: 1. Reference the EDGE Score from the Data Window as a source input in your own strategies. Use it as a position-sizing multiplier: full size on A-grade, half size on C-grade, flat on F-grade. 2. Backtest your existing strategy with and without the regime filter. Run your entries only when EDGE ATLAS shows the matching regime (TREND entries only in TREND, mean-reversion entries only in RANGE) and compare the equity curve. 3. Examine the individual sub-scores to build more granular filters. For example, you might find that your specific strategy performs best when Trend > 0.70 AND Participation > 0.60, regardless of the other components. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ IMPORTANT DISCLAIMERS - This indicator does NOT repaint. All calculations use confirmed bar data. No future data is referenced. - This is NOT a signal generator. It does not tell you when to buy or sell. It tells you whether the current environment supports trading and what type of strategy is appropriate. Entry and exit decisions remain entirely yours. - Works on all instruments (stocks, forex, crypto, futures, indices) and all timeframes. Automatically adapts to instruments without volume data. - The scoring weights (45/20/20/15) are derived from established quantitative principles and are not curve-fitted to any specific market, symbol, or time period. - Past performance of any scoring system does not guarantee future results. Always use proper risk management regardless of the indicated grade. Indicador Pine Script®por Finntech121
Liquidity Heatmap Matrix [MTF] - PhenLabs📊Liquidity Heatmap Matrix Version: PineScript™v6 📌Description The Liquidity Heatmap Matrix is a multi-timeframe liquidity detection and visualization tool built to identify where equal highs and equal lows are forming across up to five configurable timeframes. It solves a core challenge for smart money and ICT-style traders: knowing exactly where stop-loss clusters and liquidity pools are building — before price sweeps them. Rather than manually scanning multiple timeframes for double tops and bottoms, this indicator automates the entire process and presents confluence-weighted liquidity zones as a heatmap overlay directly on your chart. Levels confirmed by more timeframes glow with greater intensity, giving you an immediate sense of which zones carry the highest probability of a liquidity grab. When price sweeps through a detected level, the indicator confirms it in real time with on-chart labels, color changes, and optional alerts — turning reactive analysis into proactive trade planning. 🚀Points of Innovation ● First-of-its-kind heatmap approach that scores liquidity zones on a 1-to-5 confluence scale across independent timeframes ● Automatic merging of nearby equal levels using a percentage-based tolerance system, eliminating duplicate zone clutter ● Real-time sweep confirmation engine that detects when price pierces a level and closes back inside, validating the liquidity grab ● Dynamic zone coloring that shifts from transparent to fully opaque as more timeframes confirm the same price level ● Built-in dashboard that ranks all active levels by confluence strength and tracks bullish versus bearish sweep counts ● Comprehensive alert suite covering new equal high/low formation and sweep events for both directions 🔧Core Components ● Multi-Timeframe Pivot Engine: Runs pivot high/low detection independently on each of the five timeframes using request.security calls, then feeds results into a unified level registry ● Equal Level Comparator: Compares each new pivot against a rolling window of recent pivots using a configurable percentage tolerance to identify price levels that have been tested more than once ● Confluence Merger: When the same price level appears on multiple timeframes, the system merges them into a single zone and increments the confluence score rather than stacking overlapping boxes ● Sweep Detection Module: Monitors all active levels bar-by-bar, confirming a sweep when price breaches the zone edge and then closes back within it — filtering out false breakouts ● Heatmap Renderer: Translates each level’s confluence score into a color intensity gradient, with separate palettes for equal highs (red spectrum) and equal lows (green spectrum) ● Dashboard Table: Displays every active level in a sortable table with type, price, per-timeframe dot indicators, confluence rating, and sweep status 🔥Key Features ● Supports 5 fully independent timeframes that can be toggled on or off and set to any interval from 1 minute to Monthly ● Heatmap coloring intensity scales automatically with confluence count — single-timeframe levels appear faint while 5-TF levels are fully saturated ● Sweep labels display the direction, confluence count, confirming timeframes, and exact price of each swept level directly on the chart ● Dashboard tracks all active equal high and equal low levels sorted by confluence descending with real-time bull and bear sweep counters ● Four alert conditions cover new equal highs, new equal lows, bearish sweeps (EQH taken), and bullish sweeps (EQL taken) ● Swept zones automatically change to a distinct highlight color and freeze their right edge at the sweep bar for clear historical reference ● Old swept levels are cleaned up after 100 bars and stale unswept levels expire after 500 bars to keep the chart uncluttered ● All zone colors, widths, extension lengths, and dashboard positioning are fully customizable 🎨Visualization ● Liquidity Zone Boxes: Colored rectangles overlaid on the chart representing each equal high or equal low level — red-spectrum for EQH, green-spectrum for EQL, with opacity increasing as confluence rises ● Heatmap Intensity Gradient: Single-TF zones appear nearly transparent while 5-TF zones are fully opaque, creating a visual heat signature of where liquidity is densest ● Sweep Labels: Appear at the sweep bar with directional arrows (🔻 for EQH swept, 🔺 for EQL swept), showing confluence count, confirming timeframe list, and price ● Swept Zone Highlight: Confirmed sweeps turn the zone box to a yellow highlight color, clearly distinguishing consumed liquidity from active levels ● Dashboard Table: A compact on-chart table (repositionable to any corner) showing Type, Price, per-TF active dots (● / ○), and confluence rating for every tracked level ● Summary Footer: Bottom row of the dashboard displays total bullish sweeps, bearish sweeps, and combined sweep count 📖Usage Guidelines ● TF 1 through TF 5 Enabled — Toggle each timeframe on or off (Default: TF1 and TF2 enabled, TF3-TF5 disabled) ● TF 1 through TF 5 Interval — Set each timeframe independently (Defaults: 5m, 15m, 1H, 4H, Daily) ● Pivot Lookback Left — Number of bars to the left for pivot detection (Default: 6, Range: 1–50) ● Pivot Lookback Right — Number of bars to the right for pivot confirmation (Default: 6, Range: 1–50) ● Equal Level Tolerance (%) — Maximum percentage difference for two pivots to be considered equal (Default: 0.1%, Range: 0.01–2.0%) ● Max Pivots to Compare — Rolling window size of recent pivots checked for equal levels (Default: 5, Range: 2–10) ● Max Active Levels — Maximum number of liquidity zones tracked simultaneously (Default: 20, Range: 5–50) ● Sweep Confirm Bars — Bars to wait before confirming a sweep after price pierces a level (Default: 2, Range: 1–10) ● Show Liquidity Zones — Toggle zone box rendering on or off (Default: On) ● Show Sweep Labels — Toggle sweep confirmation labels on or off (Default: On) ● Show Dashboard — Toggle the summary dashboard table on or off (Default: On) ● Zone Width (%) — Percentage-based half-width of each liquidity zone box (Default: 0.05%, Range: 0.01–1.0%) ● Zone Extend (bars) — How far forward active zone boxes extend on the chart (Default: 50, Range: 10–200) ● Dashboard Position — Corner placement of the dashboard table (Options: Top Right, Bottom Right, Top Left, Bottom Left) ● EQH Colors — Customizable color range from 1-TF to 5-TF confluence for equal high zones (Default: Red spectrum with varying transparency) ● EQL Colors — Customizable color range from 1-TF to 5-TF confluence for equal low zones (Default: Green spectrum with varying transparency) ● Swept Zone Color — Highlight color for levels that have been confirmed swept (Default: Yellow at 30% transparency) ✅Best Use Cases ● Identifying high-probability reversal zones where liquidity has clustered across multiple timeframes before entering a mean-reversion trade ● Pre-planning take-profit targets by locating where dense liquidity pools sit above or below current price ● Filtering breakout trades by checking whether price is approaching a high-confluence liquidity zone likely to cause a sweep and reversal ● Confirming ICT and smart money concepts by visualizing where equal highs and equal lows form as institutional liquidity targets ● Setting up sweep-based alerts to get notified the moment a multi-TF liquidity level gets taken, enabling rapid reaction entries ● Using the dashboard as a real-time liquidity scoreboard during active trading sessions to track which levels remain live and which have been consumed ⚠️Limitations ● Pivot detection requires a right-side lookback, so level identification has an inherent delay equal to the Pivot Lookback Right setting ● Very low tolerance values on volatile assets may produce few matches, while very high values may create false confluences — tuning to the asset’s typical spread is recommended ● The indicator tracks up to the Max Active Levels limit, so on extremely active charts some older unswept levels may be pruned before they are reached ● Multi-timeframe security calls can increase chart loading time, especially when all five timeframes are enabled on lower-timeframe charts ● Sweep detection relies on close price returning inside the zone — wicks that pierce and immediately reverse on the same bar without closing inside may not be captured ● This tool identifies liquidity zones and sweeps but does not generate buy or sell signals — it is designed to complement your existing strategy, not replace it 💡What Makes This Unique ● Confluence-weighted heatmap visualization is a fundamentally different approach to liquidity mapping compared to simple equal-high/low markers, providing probabilistic weight to each level ● The automatic cross-timeframe merging system eliminates zone stacking and clutter that plagues most multi-timeframe indicators ● Real-time sweep confirmation with multi-bar validation filters out noise and false breakouts that single-bar detection methods frequently flag ● The integrated dashboard provides a full-spectrum situational awareness panel without needing to switch between timeframes or use multiple indicators 🔬How It Works ● Step 1 — Pivot Detection: On each enabled timeframe, the script independently identifies pivot highs and pivot lows using a configurable left/right lookback window via ta.pivothigh and ta.pivotlow functions ● Step 2 — Equal Level Matching: Each new pivot is compared against a rolling buffer of recent pivots on the same timeframe; if two pivots fall within the percentage tolerance, an equal high or equal low is flagged ● Step 3 — Cross-Timeframe Registration and Merging: Detected equal levels are registered into a central level array; if a level from one timeframe falls near an existing level, it merges by incrementing the confluence score rather than creating a duplicate ● Step 4 — Heatmap Rendering: Each active level is drawn as a zone box with color intensity mapped to its confluence score using a 5-tier gradient — more confirming timeframes produce more visually prominent zones ● Step 5 — Sweep Monitoring: Every bar, the script checks whether price has breached a zone edge and closed back inside, confirming a liquidity sweep; confirmed sweeps update the zone color, freeze the box, and generate labels and alerts ● Step 6 — Lifecycle Management: Swept levels are retained for 100 bars for historical reference then removed; unswept levels older than 500 bars are pruned to maintain chart performance and visual clarity 💡Note: For best results, start with the default settings and adjust tolerance and pivot lookback values to match the volatility profile of your specific asset. Lower timeframe combinations (e.g., 5m + 15m) are ideal for intraday scalping, while higher timeframe setups (e.g., 1H + 4H + Daily) suit swing trading. This indicator is designed as a confluence tool — combine it with your existing strategy, order flow analysis, or market structure methodology for highest-probability trade setups. It does not produce buy or sell signals on its own. Indicador Pine Script®por PhenLabs33866
Ripster RVOL Saty ATR Levels v6 - NewRipster RVOL Saty ATR Levels v6 is a clean, options-focused dashboard that combines Ripster multi-timeframe trend bias, real-time RVOL analysis, and the Saty ATR framework into a single, readable on-chart layout. This version introduces view-safe controls to keep charts readable on lower timeframes while preserving higher-timeframe context. What this script shows 1) Ripster Multi-Timeframe Bias (LT Panel) Displays bullish/bearish bias from higher-timeframe Ripster EMA clouds: 1H Daily (two EMA sets) Weekly (5/12 and 34/50) Helps align intraday trades with higher-timeframe structure. 2) Short-Term Price Action (ST Panel) Uses Ripster clouds (34/50 and 5/12) to show short-term direction. Optional setting to calculate ST signals on 10-minute data, regardless of chart timeframe. 3) RVOL Panel Current candle volume (clean, formatted) RVOL Now (%) RVOL Previous (%) Color-coded thresholds to quickly identify abnormal volume. 4) Saty ATR Levels (Table) Displays: Period range vs ATR % Upper / lower trigger levels ±1 ATR reference levels Optional Calls / Puts labeling for options traders. Designed for context, not clutter. 5) Optional Saty ATR Level Lines Stepline plots for: Previous close Upper / lower trigger ±1 ATR Optional ±2 ATR extensions View-Safe Enhancements (v6) To prevent candle compression on small intraday timeframes, this version adds smart visual controls: “Show Saty ATR lines only on TF ≥ 30m” (recommended) When enabled, Saty ATR plot lines are automatically hidden below 30-minute charts. The Saty table remains visible, so information is never lost. Auto-disable ±2 ATR extensions on low TFs Reduces autoscale distortion from far-away levels. Status label anchored in-range Prevents y-axis stretching caused by labels plotted far from price. These changes keep execution charts clean while preserving higher-timeframe structure. Presets Options Scalper – Clean, focused view for fast decisions Options Swing – Full context with ATR extensions (30m+ recommended) 0DTE Only – Compact intraday layout with RVOL and bias A master toggle allows you to quickly enable or disable the entire dashboard. Best Use Cases Intraday / Scalping: Use ST + RVOL + Saty table without line clutter Options Trading: Fast ATR context with Calls/Puts framing Swing Trading: Enable ATR plots on 30m+ for structure and targets Notes ATR plot lines are intentionally limited on lower timeframes to avoid chart compression. If you prefer seeing all ATR lines on low TFs, simply disable the ≥30m toggle (not recommended for readability). Works best on liquid tickers with reliable extended-hours data.Indicador Pine Script®por chandranewagetrader35
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.Indicador Pine Script®por fluxchartActualizado 1717 2.3 K
Volumetric Supply and Demand Zones [BOSWaves]Volumetric Supply and Demand Zones - Impulse-Based Zone Detection with Embedded Volume Profile Analysis Overview Volumetric Supply and Demand Zones is an impulse-driven zone identification system that marks significant reversal areas through swing detection and volume accumulation patterns, where zone boundaries dynamically reflect actual trading activity concentration rather than arbitrary price levels. Instead of relying on traditional horizontal support/resistance lines or fixed pivot structures, zone placement, thickness, and volumetric composition are determined through ATR-normalized impulse detection, volume profile distribution analysis, and delta decomposition within base formation periods. This creates adaptive supply and demand boundaries that reflect actual volume accumulation patterns rather than simple price extremes - contracting zones around high-volume concentration areas when profile shows tight distribution, expanding zones during dispersed volume activity, and incorporating positive/negative delta breakdowns to reveal whether zones formed under buying or selling pressure dominance. Price interactions are therefore evaluated relative to volume-weighted zone structures and point-of-control levels rather than conventional naked price zones. Conceptual Framework Volumetric Supply and Demand Zones is founded on the principle that meaningful reversal zones emerge where significant volume accumulated during consolidation before impulse moves rather than at simple swing high/low pivot points. Traditional supply and demand methods identify zones using price structure alone through swing detection or candlestick patterns, which often ignores the underlying volume distribution and buying/selling pressure that validates institutional accumulation or distribution. This framework replaces price-only logic with volume-weighted zone construction informed by actual trading activity concentration and delta composition. Three core principles guide the design: Zone boundaries should encompass base formation periods preceding impulse moves, not isolated pivot candles alone. Volume profile distribution within zones must reveal where actual trading activity concentrated, identifying true points of control. Delta decomposition exposes whether zones formed under buying pressure (demand accumulation) or selling pressure (supply distribution). This shifts supply and demand analysis from naked price levels into volume-validated, delta-aware institutional footprint zones. Theoretical Foundation The indicator combines swing pivot detection, ATR-based impulse measurement, volume profile construction, and delta decomposition analysis. A pivot detection system identifies local swing highs and lows using configurable left/right bar parameters. Impulse validation measures the subsequent price move magnitude relative to ATR, confirming whether the swing preceded a significant directional thrust. Zone boundaries encompass a lookback period of candles forming the base, with maximum height capped by ATR multiplier to prevent excessively large zones. Volume profile divides each zone into horizontal rows, distributing volume proportionally based on price overlap and identifying the point of control (highest volume row). Delta profile separates volume into buying versus selling components using close-open relationships, revealing net directional pressure within each profile row. Five internal systems operate in tandem: Swing Detection Engine : Identifies pivot highs and lows using symmetrical left/right bar confirmation for potential zone anchor points. Impulse Validation System : Measures price movement magnitude following pivot formation, requiring ATR-multiple threshold breach to confirm zone significance. Volume Profile Constructor : Divides zone height into configurable rows, allocates volume proportionally based on bar price range overlap with each row, identifies POC as highest-volume row. Delta Decomposition Engine : Separates volume into buying (up-close bars) versus selling (down-close bars) components within each profile row, calculates net delta and dominant pressure direction. Zone Merge Logic : Detects overlapping zones of same type (supply/supply or demand/demand), combines boundaries and recalculates volume/delta statistics with weighted blending. This design allows supply and demand zones to reflect actual volume accumulation reality rather than reacting mechanically to price pivots alone. How It Works Volumetric Supply and Demand Zones evaluates price through a sequence of volume-aware zone construction processes: Pivot Identification : Swing detection algorithm identifies local highs and lows using configurable left/right bar symmetry, marking potential reversal zone anchors. Impulse Magnitude Validation : Following pivot formation, price movement measured relative to ATR over lookback period - move must exceed ATR multiplier threshold to confirm zone validity. Base Period Boundary Definition : Zone encompasses pivot bar plus configurable lookback candles forming the consolidation base preceding impulse move. Height Normalization : Raw zone height (high to low of base period) capped at maximum ATR multiplier to prevent zones becoming unreasonably large during extended consolidations. Volume Profile Row Allocation : Zone divided into configurable number of horizontal rows, each bar's volume distributed proportionally based on price range overlap with row boundaries. Point of Control Identification : Row with highest accumulated volume marked as POC, representing price level with maximum trading activity concentration within zone. Delta Component Separation : Each bar's volume classified as buying (close > open) or selling (close < open), allocated to respective delta buckets within overlapping profile rows. Delta Profile Construction : Net delta (buy volume minus sell volume) calculated per row, rendered as horizontal bars extending from zone right edge inward with green (positive) or red (negative) coloring. Overlap Detection and Merging : New zones checked against existing zones of same type, overlapping zones within merge gap threshold combined with boundary expansion and volume/delta statistics aggregation. Mitigation Detection : Price interaction monitoring using configurable method (wick or close) determines when zones violated, triggering zone deletion and cleanup of all visual elements. Together, these elements form a continuously updating supply and demand framework anchored in volume accumulation reality and delta pressure composition. Interpretation Volumetric Supply and Demand Zones should be interpreted as volume-validated institutional footprint zones: Demand Zones (Green) : Form at swing lows preceding upward impulse moves exceeding ATR threshold - represent areas where buyers accumulated positions before markup phase, volume profile shows where bids concentrated. Supply Zones (Red) : Establish at swing highs preceding downward impulse moves exceeding ATR threshold - identify areas where sellers distributed positions before markdown phase, volume profile shows where offers concentrated. Volume Profile Bars : Horizontal bars extending from zone left edge show relative volume distribution across price levels - longer bars indicate higher trading activity, revealing true institutional accumulation/distribution levels versus arbitrary zone edges. Point of Control Line (White) : Horizontal line within zone marks price level with maximum volume concentration - represents the most significant institutional activity level, often acts as magnetic price level during retests. Delta Profile Bars : Horizontal bars extending from zone right edge inward display net buying/selling pressure per price level - green bars show buy volume dominance (accumulation), red bars show sell volume dominance (distribution). Zone Info Box : Text panel on right edge displays zone type (SUPPLY/DEMAND), status (Fresh/Tested), total volume, net delta, and touch count - provides quantitative validation of zone significance. Fresh Status : Newly created zones not yet tested by price - highest probability reversal zones as institutional orders likely remain unfilled. Tested Status : Zones where price returned and interacted with boundaries - touch count reveals how many times zone provided support/resistance, excessive touches suggest weakening. Merged Zones : Wider zones with higher volume/delta values formed by combining multiple overlapping base periods - represent extended institutional accumulation/distribution areas with greater significance. POC Brightness : Brightest (white) volume profile bar marks point of control - visual emphasis highlights the most critical price level within zone structure. Volume distribution shape, POC placement, delta composition, and touch count outweigh simple zone boundary reactions. Signal Logic & Visual Cues Volumetric Supply and Demand Zones presents zone interaction insights rather than discrete directional signals: Fresh Zone Formation : New supply or demand zone created when swing pivot followed by ATR-threshold impulse - suggests institutional footprint left behind, high-probability reversal area established. First Retest (Fresh → Tested) : Price returning to previously untouched zone triggers status change and touch increment - historically highest-probability reaction level as unfilled orders likely remain. POC Magnetic Behavior : Price gravitating toward white POC line during zone interaction - suggests institutional activity concentration level acting as support/resistance within broader zone. Volume Profile Asymmetry : Profile showing volume concentrated at zone edge versus center reveals base formation character - edge concentration suggests quick accumulation before impulse, center concentration indicates prolonged consolidation. Delta Divergence Patterns : Demand zones showing negative delta profile (red bars dominant) or supply zones showing positive delta (green bars) reveal weak zone formation - pressure composition conflicted with expected direction. Delta Confirmation Patterns : Demand zones with strong positive delta (green bars) or supply zones with strong negative delta (red bars) validate institutional conviction - pressure aligned with expected reversal direction. Excessive Touch Degradation : Touch count exceeding 3-4 interactions suggests zone weakening - repeated tests consume institutional orders, reducing reversal probability. Mitigation Events : Price closing beyond zone boundaries (or wicking through, based on settings) triggers zone deletion - invalidation confirms institutional levels failed, trend continuation likely. The primary value lies in volume-validated zone structure and delta composition analysis rather than simple boundary touches. Strategy Integration Volumetric Supply and Demand Zones fits within institutional footprint and order flow-aware trading approaches: Fresh Zone Reversal Entries : Enter counter-trend positions at first retest of fresh zones with strong delta confirmation - unfilled institutional orders provide high-probability reaction levels. POC-Precise Limit Orders : Place entries at POC line rather than zone edges - point of control represents maximum volume concentration, offering tighter stop placement and better risk/reward. Delta-Filtered Zone Selection : Prioritize demand zones showing positive net delta and supply zones showing negative net delta-aligned pressure composition validates institutional conviction. Volume Profile Distribution Analysis : Favor zones with tight volume concentration (profile bars clustered) over dispersed distribution - concentrated profiles suggest decisive institutional accumulation/distribution. Merge-Enhanced Conviction : Treat merged zones with higher volume/delta totals as stronger reversal candidates - combined statistics represent extended institutional activity periods. Touch Count Degradation Filtering : Reduce position sizing or avoid zones with 3+ touches - excessive interaction depletes institutional orders, weakening reversal probability. Trend Continuation via Mitigation : Enter breakout positions when price closes beyond supply zones (uptrend) or demand zones (downtrend) - mitigation confirms trend strength overwhelming institutional levels. Multi-Timeframe Zone Confluence : Apply higher-timeframe zones for macro structure, use lower-timeframe volume profile to identify precise entry levels within larger zones. Technical Implementation Details Core Engine : Pivot detection with symmetrical left/right confirmation, ATR-normalized impulse validation Zone Construction : Base period lookback with ATR-capped height normalization and time-based extension Volume Profile System : Proportional volume allocation across configurable rows with overlap percentage calculation Delta Engine : Close-open relationship classification separating buy/sell volume with net delta calculation per row POC Identification : Maximum volume row detection with visual emphasis rendering Merge Logic : Overlap detection with gap threshold, boundary expansion, and weighted statistic aggregation Visualization : Multi-element rendering (zone boxes, profile bars, delta bars, POC lines, info panels) with proportional sizing Performance Profile : Custom type system for zone/profile/delta management, efficient array-based storage with configurable zone limits Optimal Application Parameters Timeframe Guidance: 1 - 5 min : Micro-structure supply/demand for scalping with tight ATR multipliers and reduced lookback 15 - 60 min : Intraday institutional footprint zones with balanced profile row count and merge sensitivity 4H - Daily : Swing-level accumulation/distribution areas with extended lookback periods and wider merge gaps Weekly - Monthly : Macro institutional zones with maximum profile detail and extended zone persistence Suggested Baseline Configuration: Swing Length : 8 Impulse Size (ATR) : 1.2 Base Lookback Candles : 3 ATR Length : 14 Maximum Zone Height (ATR) : 4.0 Maximum Zones : 10 Extend Zones (bars) : 60 Merge Overlapping Zones : Enabled Merge Gap (ATR) : 0.3 Mitigation Type : Wick Profile Rows : 10 Profile Width (%) : 0.5 Show POC Line : Enabled Show Delta Profile : Enabled Delta Profile Width (%) : 0.35 Show Zone Info Box : Enabled These suggested parameters should be used as a baseline; their effectiveness depends on the asset's volatility profile, volume characteristics, and preferred zone sensitivity, so fine-tuning is expected for optimal performance. Parameter Calibration Notes Use the following adjustments to refine behavior without altering the core logic: Too many zones cluttering chart : Increase Swing Length (10 - 12) to demand stronger pivots, or increase Impulse Size multiplier (1.5 - 2.0) to require larger moves for zone validation. Missing significant reversal levels : Decrease Swing Length (5-6) for earlier pivot detection, or reduce Impulse Size (0.8 - 1.0) to capture smaller but valid base formations. Zones too large/tall : Reduce Maximum Zone Height ATR multiplier (2.5 - 3.0) to cap vertical size, or decrease Base Lookback Candles (1 - 2) for tighter base periods. Zones too small to be useful : Increase Base Lookback Candles (4 - 6) to encompass longer consolidation periods, or raise Maximum Zone Height (5.0 - 7.0) for taller zones. Profile bars too granular : Decrease Profile Rows (6 - 8) for coarser distribution showing major volume clusters only. Profile lacking detail : Increase Profile Rows (15 - 20) for finer resolution revealing subtle volume distribution nuances. Zones merging too aggressively : Decrease Merge Gap ATR multiplier (0.1 - 0.2) to require tighter overlap for merge qualification, or disable merging entirely. Related zones not combining : Increase Merge Gap (0.5 - 0.8) to allow merging of zones with larger separation distances. Zones invalidating prematurely : Switch Mitigation Type from "Wick" to "Close" to require closing violation rather than intrabar penetration. Zones persisting too long after breach : Switch Mitigation Type from "Close" to "Wick" for faster invalidation on initial penetration. Profile bars invisible : Increase Profile Width percentage (0.6 - 0.8) for longer bars, improving visibility on cluttered charts. Delta profile obscuring volume profile : Reduce Delta Profile Width (0.2 - 0.3) to prevent overlap, or disable delta display temporarily. Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions. Performance Characteristics High Effectiveness: Range-bound and mean-reverting markets where institutional zones provide reliable turning points Instruments with consistent volume characteristics where profile distribution reveals true accumulation/distribution Swing trading approaches targeting zone-to-zone reactions with defined risk parameters Reversal strategies seeking volume-validated entry levels rather than blind counter-trend positions Markets where delta proxy correlates well with actual order flow (trending volume instruments) Position trading benefiting from macro supply/demand structure with embedded volume context Reduced Effectiveness: Extremely low volume environments where profile distribution becomes unreliable and sparse News-driven or gapped markets where zones form/invalidate without normal volume accumulation patterns Highly trending markets where zones consistently mitigate without providing reversal opportunities Instruments with erratic volume patterns making delta decomposition and profile interpretation misleading Very high-frequency timeframes (seconds) where base formation periods too short for meaningful volume accumulation Integration Guidelines Confluence : Combine with BOSWaves structure, market profile, or traditional technical analysis for zone validation within broader context Volume Profile Respect : Trust POC levels and high-volume profile bars over arbitrary zone edges for entry/exit precision Delta Confirmation Priority : Favor zones where delta composition aligns with expected direction - positive delta in demand, negative delta in supply Fresh Zone Preference : Prioritize first retests of untouched zones over repeatedly tested areas with high touch counts Merge Recognition : Treat merged zones with elevated volume/delta statistics as higher-conviction institutional footprint areas Touch Count Filtering : Reduce position sizing or avoid zones after 3+ touches as institutional order depletion reduces effectiveness Mitigation Discipline : Exit zone-based positions decisively when price closes beyond boundaries, respecting invalidation signals Multi-Timeframe Structure : Apply higher-timeframe zones for swing structure, use lower-timeframe profiles for tactical entry refinement Disclaimer Volumetric Supply and Demand Zones is a professional-grade supply/demand zone and volume profile analysis tool. It uses volume-based delta proxy to estimate directional pressure but does not access true order book data or institutional trade information. Results depend on market conditions, volume reliability, ATR characteristics, parameter selection, and disciplined execution. Volume profile and delta calculations represent approximations based on close-open relationships and price overlap formulas, not actual bid/ask transactions. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, order flow context, and comprehensive risk management.Indicador Pine Script®por BOSWaves77 1.3 K
Swing High/Low Wick Zones - Support & Resistance IndicatorOverview The Swing High/Low Wick Zones indicator is a powerful visual tool designed to help traders identify true support and resistance levels based on price action. By highlighting key swing points and their rejection zones (wicks), this indicator provides clear, actionable insights into where the market has historically reversed. How It Works This indicator automatically detects swing highs and swing lows on your chart using a customizable pivot detection algorithm. When a swing point is identified, the script: 1. Marks the swing point with a colored dot for easy identification 2. Draws a box from the wick extreme to the candle body, highlighting the true rejection zone 3. Extends a horizontal line to visualize the key price level going forward Key Features ✅ True Support & Resistance Zones - Focuses on wicks (not just candle bodies) to identify real rejection points where price action reversed ✅ Visual Clarity - Boxes highlight the exact price zones where buyers or sellers stepped in, making it easy to spot critical levels at a glance ✅ Fully Customizable - Adjustable swing detection sensitivity (swing length) - Customizable box and line extension lengths - Independent color controls for swing highs and swing lows - Adjustable opacity for boxes and lines - Customizable marker colors and sizes ✅ Clean, Professional Display - Organized visual elements that don't clutter your chart while providing essential market structure information Use Cases 📊 Day Trading - Identify intraday support and resistance levels for precise entries and exits 📈 Swing Trading - Spot key reversal zones and market structure for multi-day position trades 📉 Trend Analysis - Understand market structure and where institutional players are defending levels 🎯 Entry/Exit Planning - Use the highlighted zones to set stop losses and take profit targets Settings Swing Detection - Swing Length: Controls sensitivity (lower = more swings, higher = only major swings) Boxes - Extension length in bars - Separate colors for highs and lows - Adjustable opacity (0-100) - Border color customization Lines - Toggle on/off - Extension length in bars - Separate colors for swing high and swing low lines - Adjustable opacity (0-100) - Line width (1-5) Markers - Color customization - Size options (Tiny, Small, Normal) Why This Indicator is Different Unlike traditional support/resistance indicators that only mark horizontal lines at swing points, this indicator emphasizes the **actual rejection zone** (the wick area) where price was tested and reversed. This provides traders with a more accurate representation of where supply and demand dynamics actually shifted. Best Practices - Use higher swing lengths (7-10) for major structural levels - Use lower swing lengths (3-5) for short-term trading opportunities - Combine with volume analysis for confirmation - Watch for price reactions when it returns to these zones - Use the boxes to identify potential support-turned-resistance (and vice versa) Perfect For: - Identifying key price levels - Planning trade entries and exits - Understanding market structure - Setting stop losses and take profits - Spotting potential breakout/breakdown zones --- Note: This indicator works on all timeframes and all markets (stocks, forex, crypto, futures, etc.). Experiment with the settings to find what works best for your trading style! ---Indicador Pine Script®por ajd7777
Swing Trade StrategySwing Trade Strategy 📊 Overview Multi-indicator trend-following system for cryptocurrency swing trading. Combines 10 technical indicators with weighted voting to identify high-probability trend reversals. 🎯 Key Features 10 indicators with weighted consensus voting (max 13 points Bull/Bear) Trend confirmation system reduces false signals Visual signals: Green/red trend line, buy/sell arrows, position backgrounds Real-time dashboard: Shows Bull/Bear scores and trend strength Long-only positions with automatic exits during bear markets 📈 How It Works Entry: When Bull score exceeds Bear score by +2 (WEAK BULL) or +5 (STRONG BULL), confirmed over 2 bars Exit: When Bear score exceeds Bull score by -2, confirmed over 2 bars Indicators: RMI, ALMA, CTI, EMA crossovers, DEMA DMI, Stochastic, Trend Oscillators, and more 📊 Performance Characteristics Trades: 4-5 per year (swing trading approach) Win Rate: 39% (fewer wins but larger gains) Profit Factor: 2.4+ (winners are 2.4x larger than losers) Max Drawdown: -42% ⚙️ Settings Timeframe: Daily (1D) recommended Position Size: 95% of equity Commission: 0.1% per trade Asset: Optimized for BTC/crypto 💡 Usage Apply to BTC Daily chart Green arrow = BUY, Red arrow = SELL Monitor dashboard for trend strength Hold positions until opposite signal ⚠️ Risk Warning Max 42% drawdown - high risk tolerance required Long-only strategy - no shorting Optimized for crypto markets Past performance ≠ future results Version: 1.0 | Pine Script: v6 | Style: Trend FollowingEstrategia Pine Script®por Optimized4U41
Colidation Breakout Structure(HA-CBS)Overview Most breakout indicators suffer from "noise," reacting to every minor price movement and producing frequent fakeouts. HA-CBS solves this by utilizing Heikin-Ashi (HA) smoothing and Swing Point analysis to isolate periods of extreme energy accumulation (Consolidation) and verifying the subsequent breakout with Fair Value Gaps (FVG) . ⚠️ Usage Note: This script is strictly optimized for Heikin-Ashi charts . The core logic relies on Heikin-Ashi body (Open/Close) calculations. To ensure the signals align perfectly with the price action you see, please switch your chart type to Heikin-Ashi. How it Works: The HA-CBS Logic Unlike generic indicators that draw signals instantly, HA-CBS follows a rigorous three-step verification process to ensure market displacement is real: Structural Mapping: Using a multi-term swing point algorithm, the script identifies key supply and demand boundaries. Consolidation Counting (The "Coil"): The script measures how many consecutive Heikin-Ashi bodies remain "tucked" within the structural range. A built-in CANDLE_MARGIN_RATE ensures that insignificant doji-like candles don't disrupt the count. The longer the "coil," the higher the potential for an explosive breakout. Kinetic Validation (FVG): When price finally breaks the structural boundary, the script checks for a Fair Value Gap. An FVG-backed breakout confirms that institutional "Impulse" is present, distinguishing a genuine trend start from a mere stop-run. Key Features Impulse Filter: Filters out low-momentum movements by requiring an FVG at the moment of the structural break. HA-Body Precision: Focuses on the "core" of the candle, ignoring volatile wicks that often lead to false signals. Multi-Term Flexibility: Users can toggle between Short, Intermediate, and Long-term swing structures to suit scalping, day trading, or swing trading. Recent Candidate Mode: Use the Recent Only toggle to keep your chart clean by only displaying the most recent and relevant breakout candidate for each structure. Trading Strategy Strategy A: The Impulse Entry (Aggressive) Enter the trade as soon as the HA-CBS signal is confirmed (HA Close breaks the structure with an FVG). This captures the immediate momentum as a new supply/demand imbalance is established. Strategy B: The Mitigation Entry (Conservative) Wait for price to return (retrace) to the identified HA-CBS Block. Institutional players often "mitigate" their positions by returning to the breakout source. This approach typically offers a higher Risk/Reward ratio. Indicador Pine Script®por HanagemanActualizado 11567
GK Trend Ribbon SWING + PREPARE HUD GK Trend Ribbon SWING + PREPARE HUD Is a trend-following swing-trading indicator designed to identify high-probability directional bias, early trade preparation, and confirmed trend shifts using a volatility-adjusted zero-lag trend ribbon. This script is purpose-built for traders who value patience, structure, and confirmation, rather than fast scalping or candle-by-candle noise. HOW IT WORKS indicator is built around a Zero-Lag EMA (ZLEMA) to reduce traditional EMA delay while maintaining smooth trend behaviour. An ATR-based volatility envelope is applied above and below the ribbon to define dynamic trend boundaries. Trend states are determined as follows: Bullish mode: Price sustains above the upper volatility band with confirmation Bearish mode: Price sustains below the lower volatility band with confirmation Neutral mode: Price remains inside the ribbon range A trend change is only confirmed after multiple bar confirmation, helping filter false breakouts and market noise. PREPARE SIGNALS (Early Awareness)Before a confirmed trend flip, the indicator displays PREPARE GK BUY / PREPARE GK SELL warnings: These appear only on the live (unconfirmed) candle They act as early awareness, not entry signals They disappear if conditions are not confirmed This allows traders to prepare mentally and structurally without repainting past signals. Confirmed Signals Confirmed GK BUY / GK SELL signals are only printed after bar close and only when: A valid trend transition is confirmed Directional conditions persist The previous trend state is invalidated Once printed, confirmed signals do not repaint. HUD BANNER The integrated HUD provides real-time market state feedback: Bullish Mode Bearish Mode Neutral / Wait Prepare Buy / Sell warnings This allows quick decision-making without needing to interpret raw price action continuously. Inputs & Customisation Swing Ribbon Length – controls trend smoothness (higher = slower, stronger trends)ATR Length – volatility measurement period Band Multiplier – sensitivity of trend boundaries Confirmation Bars – number of bars required to confirm a trend shift. RECOMENDED USEGE Best suited for 15-minute, 30-minute, and higher time frames Designed for swing trading, not scalping Expect natural drawdown during trend development Works best when combined with proper risk management and market structure awareness Important Notes This indicator does not predict price It reacts to confirmed market structure and volatility No indicator guarantees profitability Always use appropriate risk management Disclaimer This script is provided for educational and analytical purposes only .It is not financial advice .Trading involves risk, and users are responsible for their own trading decisions.Indicador Pine Script®por hgavin78055 1.8 K
Trend Matrix: Institutional Confluence EngineTrend Matrix: Institutional Confluence Engine The Institutional Confluence Engine is a professional-grade diagnostic tool designed to solve the two biggest problems in technical analysis: market noise and false breakouts. Unlike standard lagging indicators, the Institutional Confluence Engine uses a sentient resolution engine to adapt its logic based on whether you are scalping or swing trading. It provides a real-time "Efficiency Grade" for the market, allowing you to ignore "C-Grade" chop and focus exclusively on "A-Grade" institutional trends. Institutional Confluence and Alerts: Notifies you only when the Local, HTF1, and HTF2 timeframes all align at an "A-Grade" efficiency—the hallmark of a major structural move. How to Trade It Identify Confluence: Look for the Status Hub in the top right. When all three grades turn Green (A), institutional alignment is at its peak. This is also visible on the chart. Monitor Trend Core: The ribbon acts as dynamic support/resistance. "Trend Flares" (brightening of the ribbon) indicate significant volume spikes entering the trend. Profit Targets: Use the dynamic Green/Red expansion lines. These are volatility-adjusted targets that stretch or contract based on market energy (ATR). Volume Intelligence 1. The Big Money Heatmap (Volume Intelligence) Institutional players leave footprints in the form of volume. This engine visualizes these footprints using a dynamic Volume Profile integrated directly into your price action. Big Money Clusters: These are price levels where massive institutional orders are being "filled." They represent high-conviction zones that act as magnets for price. Major Buy/Sell Zones (POC): This marks the Point of Control—the exact price where the highest volume has transacted. It represents "Fair Value." Breakouts away from this zone often lead to the most explosive moves. Gap Prediction: The engine analyzes the sentiment within volume nodes to predict if the market is preparing for an institutional "Gap Up" or "Gap Down." 2. The Golden Bridge (Structural Confluence) The system calculates the Golden Bridge—a dynamic threshold based on the 0.618 Fibonacci ratio between major structural pivots. The Logic: In institutional finance, the 0.618 level is the "Line in the Sand." If a rally holds above the Golden Bridge, the trend is structurally sound. Golden Cluster Stronghold: When the Golden Bridge aligns perfectly with a Big Money Cluster, the system identifies a "Stronghold." This is the highest-probability support or resistance level generated by the engine. 3. MTF Efficiency Grading (A/B/C) The Trend Matrix doesn't just show direction; it calculates Efficiency. Grade A (High Efficiency): Price is tracking the trend core with minimal deviation. This is where institutional momentum is strongest. Grade B (Moderate Efficiency): Healthy trending with standard pullbacks. Grade C (Low Efficiency/Chop): Price is oscillating. The system will automatically "dim" the interface during these periods to prevent you from over-trading. 4. Status Hub & Intelligent Alerts The Status Hub provides a real-time cockpit of your trading environment, displaying the "Trend Reliability Score" (0-100%) and Multi-Timeframe grades. Confluence Alerts: Get notified when the Local, HTF1, and HTF2 timeframes all reach "A-Grade" status simultaneously. Exhaustion Pillars: Vertical pillars on your chart highlight "Volume Spikes," warning you of potential trend exhaustion before the reversal happens. How to Use Check the Hub: Ensure the Trend Reliability is above 75%. Verify Grade: Look for "A-Grade" efficiency on your local timeframe. Find the Stronghold: Enter trades where the Golden Bridge and Big Money Clusters overlap for the highest-probability entries. Target Expansion: Follow the dynamic Green/Red target lines for volatility-adjusted take-profits. Disclaimer: Trading involves significant risk. This tool is designed for educational and diagnostic purposes and should be used as part of a comprehensive trading plan.Indicador Pine Script®por TrendMatrix_Labs21
SBP Smart Trade Navigator [Multi-Phase] Key Features — SBP Smart Trade Navigator ✅ 1. Multi-Phase Trend Engine Uses ATR-based Trend Guard to identify primary market direction Filters false signals during sideways markets Automatically adapts to volatility ✅ 2. Adaptive Flow Confirmation Dynamic weighted moving average based on volatility Confirms trend strength before entries Helps avoid weak breakouts ✅ 3. PMR Trend Ribbon System Dual-wave smoothing structure Visual momentum ribbon for trend clarity Green/Red zones indicate bullish/bearish pressure ✅ 4. Smart Trend Smoother (Sigmoid Engine) Advanced smoothing algorithm Reduces noise without lag Acts as dynamic support/resistance ✅ 5. Power Momentum Filter Normalized impulse detection Identifies high-energy candles Filters low-quality entries ✅ 6. Multi-Confirmation Entry System Score-based entry validation Requires multiple technical agreements Improves signal reliability ✅ 7. Non-Repainting Signals Uses candle-close confirmation No historical repainting Reliable backtesting results ✅ 8. Intelligent Signal Spacing Volatility-based label positioning Clean and readable charts No overlapping signals ✅ 9. Built-In Risk & Exit Logic EMA compression exit system Early warning for momentum loss Helps manage open trades ✅ 10. Re-Entry & Continuation Detection Identifies fresh trend continuation zones Allows structured re-entries Avoids overtrading ✅ 11. Fully Customizable Interface Toggle each component on/off Separate control groups Works on all timeframes ✅ 12. Multi-Asset Compatible Works on: Stocks Indices Forex Crypto Futures Optimized for intraday and swing trading 📈 Best Use Guidelines (Optional Section) Works best in trending markets Combine with support/resistance Avoid low-volume periods User Notice ⚠️ Always use proper stop-loss and risk management. No trading system is perfect, and losses are part of trading. ⭐ If this indicator helps you, kindly support it by liking and boosting. Your feedback in the comments is highly appreciated and will help improve future upgrades. 💬 Please share your suggestions on what features you would like to see added or improved.Indicador Pine Script®por ritaprasad4311
Market Regime AnalyzerStatistical regime detection with forward-looking transition probabilities. Combines drift testing, variance ratios, and volume delta to classify markets into 5 regimes and quantify transition probabilities. What Regime Are We In, and What's Likely Next? That's the question this indicator answers with statistical rigor and forward-looking probabilities. The Problem: Most traders classify regimes arbitrarily: "Bull if price > 200 MA" or "Bear if RSI < 30." These rules ignore statistical significance, volume confirmation, and mean reversion patterns. The result? Late entries, false signals, and confusion when markets transition. The Solution: Market Regime Analyzer combines drift detection, variance ratio testing, and volume delta analysis to classify markets into 5 distinct regimes. Then it calculates the probability of transitioning to each regime based on historical patterns. The Benefit: Know not just where you are, but where you're likely going - with probabilities, not guesses. The Five Market Regimes 🟢 Strong Bull (Regime 1) - Statistically significant upward drift (t-stat > 1.96) - Strong buying pressure (volume delta > 0.3) - No mean reversion detected - **Trade:** Trend-following strategies, ride the momentum 🟢 Weak Bull (Regime 2) - Upward drift present - BUT weak volume OR mean reversion detected - **Trade:** Reduce position size, tighten stops, prepare for consolidation ⚪ Consolidation (Regime 3) - No statistically significant drift - Mixed volume signals - Mean reversion likely present - **Trade:** Range-trading, avoid trend-following systems 🔴 Weak Bear (Regime 4) - Downward drift present - BUT weak volume pressure - **Trade:** Cautious shorts, reduce exposure, prepare for bounce 🔴 Strong Bear (Regime 5) - Statistically significant downward drift (t-stat < -1.96) - Strong selling pressure (volume delta < -0.3) - No mean reversion detected - **Trade:** Trend-following shorts, protective puts The Statistical Framework 1. Drift Detection with T-Statistics Instead of guessing if there's a trend, we test it statistically. How it works: - Calculates mean return over lookback period - Standardizes by volatility - Compares to significance threshold (default 1.96 = 95% confidence) What it tells you: - T-stat > 1.96: Statistically significant uptrend - T-stat < -1.96: Statistically significant downtrend - In between: No significant trend (consolidation) Why it matters: Only trades trends that are statistically validated, not just visually apparent. 2. Mean Reversion Testing (Variance Ratio) Based on Lo & MacKinlay (1988) research, this detects when markets are range-bound. How it works: - Compares variance at different time scales - Variance Ratio < 0.8 indicates mean reversion What it tells you: - Mean reversion = NO: Trends can continue - Mean reversion = YES: Expect price to return to mean, not breakout Why it matters: Prevents chasing breakouts in range-bound markets. 3. Volume Delta Analysis Total volume tells you HOW MUCH traded. Volume delta tells you WHO won. How it works: - Buying pressure - Selling pressure = Volume Delta - Normalized to show relative strength What it tells you: - Strong positive delta (>0.3): Buyers in control - Strong negative delta (<-0.3): Sellers in control - Weak delta: No clear winner Why it matters: Price can move up on weak buying or down on weak selling. Volume delta reveals the truth. 4. Transition Probability Matrix Historical regime changes predict future regime changes. How it works: - Tracks every regime transition over last 100 bars (configurable) - Builds probability distribution for next regime - Updates continuously Example: Current: Strong Bull Historical transitions from Strong Bull: - Stayed Strong Bull: 45% - Became Weak Bull: 30% - Became Consolidation: 20% - Became Weak Bear: 4% - Became Strong Bear: 1% What it tells you: Strong Bull has 75% chance of staying bullish (45% + 30%), only 5% chance of bearish turn. Why it matters: Adapts to your specific market's behavior patterns. How to Use This Indicator Strategy Adaptation In Strong Bull/Bear Regimes: - Use trend-following strategies - Wider stops, let winners run - Add to positions on pullbacks - High confidence in directional trades In Weak Bull/Bear Regimes: - Reduce position sizes by 50% - Tighter stops - Take profits earlier - Prepare for regime change In Consolidation: - Switch to range-trading strategies - Avoid trend-following systems - Sell resistance, buy support - Wait for regime change before trend trades Risk Management Position Sizing: - Strong regime + high continuation probability (>60%) = Normal size - Weak regime OR high transition probability = Half size - Consolidation = Quarter size or skip Stop Loss Placement: - Strong regime: Use wider stops (2x ATR) - Weak regime: Tighter stops (1x ATR) - Consolidation: Very tight stops (0.5x ATR) Entry Timing Best entries: - Regime just changed to Strong Bull/Bear - High probability (>50%) of staying in current regime - No divergence signals present - Drift and volume delta aligned Avoid entries: - High probability of regime change - Divergence signals appearing - Mean reversion detected in trending regime - Weak volume despite price movement Reading the Dashboard Current Regime Color-coded for instant recognition: - Dark Green = Strong Bull - Light Green = Weak Bull - Gray = Consolidation - Light Red = Weak Bear - Dark Red = Strong Bear Annualized Drift Expected annual return based on recent trend. - Positive = Upward bias - Negative = Downward bias - Near zero = No directional edge T-Statistic Measures statistical significance of drift. - > 1.96 = 95% confident in uptrend - < -1.96 = 95% confident in downtrend - Between = Not statistically significant Mean Reversion - Yes = Expect price to return to mean (range-bound) - No = Trends can continue (trending market) Volume Pressure Normalized volume delta strength. - > 0.3 = Strong buying - < -0.3 = Strong selling - Near 0 = Balanced Transition Probabilities Shows most likely next regime. - Highest probability = Most likely outcome - Evenly distributed = High uncertainty - Concentrated = High confidence in direction Practical Examples Example 1: Strong Bull with High Continuation Dashboard shows: Current Regime: Strong Bull Drift: +22% annualized T-Stat: 3.2 Mean Reversion: No Volume Pressure: +0.45 Probabilities: → Strong Bull: 50% → Weak Bull: 25% → Consolidation: 20% → Bears: 5% Interpretation: - Strong uptrend (t-stat 3.2 >> 1.96) - No mean reversion = trends can continue - Strong buying pressure (0.45 > 0.3) - 75% chance stays bullish (50% + 25%) Action: - Full position size on long setups - Use trend-following entries - Wider stops (2x ATR) - High conviction trades Example 2: Weak Bull Before Consolidation Dashboard shows: Current Regime: Weak Bull Drift: +8% annualized T-Stat: 1.2 Mean Reversion: Yes Volume Pressure: +0.15 Probabilities: → Strong Bull: 10% → Weak Bull: 30% → Consolidation: 50% → Weak Bear: 10% Interpretation: - Weak drift (t-stat 1.2 < 1.96) - Mean reversion detected = range-bound likely - Weak volume (0.15 < 0.3) - 50% chance of consolidation Action: - Reduce long positions - Tighten stops - Prepare for range-bound trading - Avoid new trend trades Example 3: Regime Transition Alert Previous: Weak Bull Current: Consolidation Volume divergence signal appeared: Price made new high, volume delta weakened Interpretation: - Trend exhausted - Buyers losing control - Regime confirmed the transition Action: - Exit trend-following longs - Switch to range-trading approach - Wait for new regime before new directional trades Settings Guide ### Regime Detection Period (50) Number of bars for statistical calculations. - **30-40:** More responsive, catches changes faster, more regime switches - **50 (default):** Balanced for daily/4H charts - **75-100:** More stable, fewer false regime changes, slower to adapt Transition History Depth (100) How much history to use for probabilities. - **50-75:** Adapts quickly to recent behavior - **100 (default):** Balanced robustness - **150-200:** More stable probabilities, slower to adapt Volume Delta Period (14) Period for volume calculations. - **7-10:** More sensitive to volume shifts - **14 (default):** Standard period - **20-30:** Smoother, less noise Significance Threshold (1.96) T-statistic required for trend classification. - **1.64:** 90% confidence, more trend regimes detected - **1.96 (default):** 95% confidence, balanced - **2.58:** 99% confidence, very conservative, mostly consolidation Best Practices Do: - Wait for regime confirmation (at least 3-5 bars in new regime) - Use probabilities to size positions appropriately - Combine with support/resistance for entries - Respect mean reversion signals - Adapt strategy to current regime Don't: - Trade every regime change immediately - Ignore high transition probabilities - Use trend strategies in consolidation - Override statistical signals with gut feel - Trade against Strong regimes without clear setup Timeframe Recommendations Daily Charts: - Default settings work well - Most reliable regime detection - Best for swing trading 4H Charts: - Use default or slightly higher lookback (60-75) - Good for active swing trading - More regime changes than daily 1H Charts: - Reduce lookback to 30-40 - More noise, use with caution - Better for intraday position trading 15M and below: - Not recommended - Too much noise for statistical validity - Regimes change too frequently Combining with Other Indicators Works Well With: Moving Averages - Use regime for directional bias - MAs for specific entry/exit points Support/Resistance - Regime shows context - S/R shows specific levels - High probability at confluence Volume Profile - Regime shows regime - Profile shows where volume is - Target high-volume nodes RSI/MACD - Regime provides context - Momentum shows entry timing - Combine for higher probability Example Combined Setup Regime: Strong Bull Price: Above 200 MA Level: Pullback to support RSI: Oversold (30) Volume Delta: Still positive Setup: Long entry Reason: Trend intact, healthy pullback, buyers still present Divergence Signals The indicator shows volume divergence warnings: Bearish Divergence (Red Triangle Down) - Price makes new high - Volume delta makes lower high - Warning: Buyers weakening, potential reversal Bullish Divergence (Green Triangle Up) - Price makes new low - Volume delta makes higher low - Warning: Sellers weakening, potential reversal How to use: - Divergence in Strong regime = early warning of regime change - Confirms when regime actually transitions - Don't trade divergence alone, wait for regime confirmation Limitations This Indicator Cannot: **Predict black swan events** - Unexpected news overrides all technical regimes **Work in all markets** - Needs liquid markets with reliable volume data **Guarantee profits** - Probabilities are not certainties **Replace fundamental analysis** - Technical regimes can diverge from fundamentals Works Best: - Liquid markets (major indices, forex, crypto, large-cap stocks) - Daily and 4H timeframes - Combined with other analysis - With proper risk management - In normal market conditions Common Questions "Why did the regime stay consolidation despite strong price move?" The indicator detected mean reversion (variance ratio < 0.8), indicating the move will likely reverse. Or the move wasn't statistically significant (t-stat < 1.96). Trust the statistics over visual appearance. "Probabilities show 30% for each regime. What does that mean?" High uncertainty. The market is at an inflection point. Reduce position sizes and wait for clearer regime formation. "Can I use this for day trading?" Not recommended on timeframes below 1H. Statistical tests need sufficient data. Better suited for swing trading. "Why does this show Strong Bull when my momentum indicators show weakness?" Momentum can weaken while the trend remains statistically significant. The indicator focuses on drift and volume, not momentum. Consider it a different perspective. Technical Notes Volume Delta Approximation Uses OHLCV data to approximate order flow: - Buy volume ≈ Volume on up-closes - Sell volume ≈ Volume on down-closes - Delta = Buy - Sell **Note:** Real order flow (from futures or Level 2) is more precise. This approximation works well on liquid markets. Statistical Tests Drift T-Test: - Null hypothesis: No drift (mean return = 0) - Reject if |t-stat| > threshold - Based on standard hypothesis testing Variance Ratio: - Compares 2-period variance to 1-period variance - Ratio = 1 for random walk - Ratio < 1 for mean reversion - Threshold of 0.8 based on empirical testing Transition Probability Implementation Due to Pine Script v5 limitations (no native 2D arrays), the 5×5 transition matrix is stored as a flat 1D array of 25 elements: - Position maps to index: `row × 5 + col` - Example: Transition from Regime 2 to Regime 4 is at index `1 × 5 + 3 = 8` - Laplace smoothing (0.1) prevents zero probabilities - Row sums normalized to calculate probabilities This approach is computationally efficient and maintains statistical accuracy. No Repainting All calculations confirmed on bar close. Regime changes appear when the bar closes, not during formation. Historical analysis is accurate. Alert Conditions Regime Change - Triggers when regime transitions to any new state - Message shows new regime number (1-5) Bearish Divergence - Triggers when price makes new high but volume delta doesn't confirm Bullish Divergence - Triggers when price makes new low but volume delta doesn't confirm Disclaimer FOR EDUCATIONAL PURPOSES ONLY This indicator uses statistical methods to analyze market regimes. It does not predict the future or guarantee trading success. Markets are probabilistic, not deterministic. A 70% probability of staying bullish means 30% chance of regime change. Always use proper risk management. Past regime transitions do not guarantee future transitions. Market structure can change. Statistical relationships can break down. Never risk more than you can afford to lose. Use stop losses on every trade. Test thoroughly before live trading. Consult a qualified financial advisor. © 2026 | Open Source Statistical rigor meets practical applicationIndicador Pine Script®por DavidEHActualizado 21
CODY BOT REVERSALFree Telegram Trading Community t.me What Is CODY BOT? CODY BOT is an easy-to-use trading tool that spots potential price reversals on your chart. It shows arrows when it detects certain candlestick patterns that often happen before the market changes direction. How It Works Green "Buy" Arrow Appears When: Current candle closes higher than yesterday's open Yesterday's candle closed lower than its own open This pattern often signals a possible upward move coming Red "Sell" Arrow Appears When: Current candle closes lower than yesterday's open Yesterday's candle closed higher than its own open This pattern often signals a possible downward move coming What You'll See on Your Chart Green up arrows below candles (buy signals) Red down arrows above candles (sell signals) You'll also get alerts if you set them up Best Ways to Use It Good For: Day trading (5-minute to 1-hour charts) Swing trading (4-hour to daily charts) All markets: stocks, forex, crypto Spotting quick trend changes Tips for Better Results: Wait for the candle to close before trading Use with support/resistance lines for confirmation Add volume to check if others are trading too Start with paper trading to practice Always use stop-loss to protect yourself What Makes It Special No lag - signals appear immediately Easy to understand - just follow the arrows Works on any timeframe Free to use No complicated settings Quick Start Guide Add CODY BOT to your TradingView chart Watch for green/red arrows at candle close Click the alert bell if you want notifications Test with fake money first Combine with what you already know about trading Remember: No indicator is perfect. Use CODY BOT as one tool in your toolbox, not the only tool. Always manage your risk and never trade more than you can afford to lose. Perfect for: Traders who like simple, clear signals without complicated math.Indicador Pine Script®por tonewayclothing170
Moving Average Momentum Bands📊 MA Momentum Bands - Crossover Detection with Predictive Signals Overview Advanced moving average system with intelligent crossover detection and early warning predictive signals. Designed to catch trend changes with precise timing while filtering out choppy market noise. Key Features 📈 4 Customizable Moving Averages Choose from EMA, SMA, SMMA (RMA), WMA, or VWMA Adjustable periods and colors Visual fill zones between MA pairs ✓ Confirmed Crossover Signals Fires on actual MA crossover with confirmation filters Slope Filter: Requires slow MA to be trending (filters choppy markets) Acceleration Filter: Detects momentum shifts and deceleration (catches reversals) Highly configurable thresholds for different trading styles ⚠ Predictive Signals (Optional) Early warning system fires 1-8 bars BEFORE actual crossover Velocity-based calculation estimates when crossover will occur Smart debouncing prevents signal spam (fires once per setup) Auto-resets after crossover or when prediction fails 🔍 Debug Table Real-time metrics: MA slope, acceleration, velocity, distance "Bars Until Cross" prediction countdown Perfect for fine-tuning settings How It Works Confirmed Signals (✓ triangles): Fast MA crosses Slow MA Slow MA must be trending (slope > threshold) OR decelerating Filters ensure quality signals in trending markets Predictive Signals (⚠ triangles): Calculates MA velocities (rate of change) Estimates bars until crossover based on approach speed Fires early warning when crossover imminent Only fires once per setup (no spam) Best Use Cases Swing Trading: Catch trend changes early with predictive signals Trend Following: Use confirmed signals for high-probability entries Multi-Timeframe: Combine with higher TF analysis for confirmation Filter for Other Strategies: Add MA crossover confirmation to your existing system Recommended Settings Conservative (Fewer, Higher Quality Signals): Slope Threshold: 0.002-0.005 Acceleration Filter: ON Predict Bars Ahead: 5-8 Balanced (Default): Slope Threshold: 0.001-0.002 Acceleration Filter: ON Predict Bars Ahead: 3-5 Aggressive (More Signals, Earlier Entries): Slope Threshold: 0.0001 Acceleration Filter: OFF Predict Bars Ahead: 1-3 Quick Start Add to chart - confirmed signals work immediately Adjust slope/acceleration filters to match your timeframe Enable predictive signals for early entries Use debug table to fine-tune settings Set up alerts for hands-free trading Alerts Included Bullish/Bearish MA Cross (confirmed) Predictive Bullish/Bearish Cross (early warning) Perfect for traders who want to catch trend changes early while avoiding false signals in choppy markets!Indicador Pine Script®por c_bergfeldt20
Strong Daily S/R Levels (Refreshes Daily)Multi-Timeframe Strong S/R + Swings (Daily/Weekly/Monthly) Automatic, non-repainting support & resistance levels from multiple timeframes + recent swing points — perfect for day trading, swing trading, and futures (ES, NQ, MES, MNQ, GC, MGC, etc.). Features: • Previous Day High/Low (PDH/PDL) + classic daily pivots (PP, R1–R3, S1–S3) • Previous Week High/Low (PWH/PWL) + weekly pivots • Previous Month High/Low (PMH/PML) + monthly pivots • Recent confirmed swing highs/lows (adjustable lookback) with numbered labels • Clean right-side labels for quick reference • Toggle any group on/off to reduce clutter • Works on any ticker and any timeframe (intraday to daily+) Levels update automatically at the start of each new day/week/month — no repainting, stable once the higher timeframe bar closes. Great for: • Identifying strong institutional magnets (PDH/PDL, monthly extremes) • Spotting breakout/mean-reversion zones (pivots) • Trading structure breaks/retests (swings) Use it on futures, stocks, forex, crypto — wherever clean, reliable S/R matters.Indicador Pine Script®por Cag1005
WT Crossover Strategy Main Chart Indicator# WT Crossover Strategy Main Chart Indicator ## Indicator Overview The WT Crossover Strategy Main Chart Indicator is a trading signal system based on the Wave Trend (WT) indicator, specifically designed for the TradingView platform. This indicator combines WT indicator crossover signals with ATR-based take profit and stop loss calculations, providing traders with clear entry signals and explicit risk management references. ## Core Features ### 1. Trading Signal Identification - WT Indicator Crossover Signals : Identifies potential trend reversals based on golden crosses/death crosses between WT1 and WT2 - EMA Trend Filtering : Optional EMA20 and EMA200 trend filtering to help confirm trend direction - Entry Point Markers : Green triangles mark long entry points, red triangles mark short entry points ### 2. Risk Management Visualization - Fixed-Length SL/TP Lines : Generates 10-bar length dashed lines at entry, marking take profit and stop loss prices - Trigger Status Display : When take profit or stop loss is triggered, dashed lines turn solid and display "Take Profit Triggered" or "Stop Loss Triggered" labels - ATR-Based Calculations : Automatically calculates take profit and stop loss prices using ATR indicator, adapting to different market volatility ### 3. Customizable Parameters - Preset Symbols : Built-in optimized parameters for Gold, Rebar, Fuel Oil, Bitcoin, Ethereum, etc. - Line Length Adjustment : Customizable display length for take profit and stop loss lines - ATR Parameter Adjustment : Adjustable ATR period, stop loss multiplier, and take profit multiplier - Filter Control : Enable or disable zone filtering and trend filtering ## Technical Features - Fixed-Length Lines : Take profit and stop loss lines only display for a fixed length, avoiding chart clutter - Status Change Markers : Intuitively displays take profit/stop loss status through line style changes and labels - Responsive Design : Automatically adapts to different timeframes and symbols - Clear Visual Hierarchy : Reasonable color scheme and marker size ensure clear and readable charts ## Usage Instructions 1. Load the Indicator : Apply the indicator to your chart 2. Select Symbol : Choose your trading symbol from the presets or manually adjust parameters 3. Observe Signals : - Consider going long when green triangles appear - Consider going short when red triangles appear 4. Set Stop Loss : Reference the red dashed line for stop loss placement 5. Set Take Profit : Reference the green dashed line for take profit placement 6. Monitor Status : When dashed lines turn solid and display labels, it indicates take profit or stop loss has been triggered ## Application Scenarios - Trend Trading : Combined with EMA filtering to identify medium-term trends - Swing Trading : Utilizes WT indicator's overbought/oversold characteristics to capture price reversals - Risk Control : Implements scientific risk-reward ratio management through ATR-calculated take profit and stop loss - Strategy Verification : Serves as an independent indicator to verify your trading strategy signals ## Notes - This indicator is for reference only and does not constitute investment advice - It is recommended to use in conjunction with other technical analysis tools - Please thoroughly backtest before live trading to adapt to your trading style - Different symbols may require parameter adjustments for optimal resultsIndicador Pine Script®por redmagic53313