Gold 2-Week Futures LevelsYou may change the color at bottom of script and i used 1h to mark out my levels, you may change it to fit your time frame.Pine Script® indicatorby aryx100
DkS Market Structure Breakout Strategy Crypto & ForexDkS Market Structure Breakout Strategy Crypto & Forex 🔍 Overview DkSPro – Universal Market Analysis is a structure-based trading strategy designed for Crypto and Forex markets, focused on trend alignment, breakout confirmation, and volume validation. This strategy is built to filter low-quality trades, avoid ranging conditions, and reduce false breakouts by requiring multiple layers of confirmation before any trade is executed. It is intended for scalping and intraday trading, prioritizing consistency and risk control over trade frequency. 🧠 Strategy Logic (How It Works) DkSPro follows a sequential decision process, not a single-indicator signal: Trend Bias (EMA Structure) A fast and slow EMA define the directional bias. Long trades are only allowed during bullish EMA alignment. Short trades are only allowed during bearish EMA alignment. This prevents counter-trend and ranging-market entries. Market Structure & Breakout Validation The strategy identifies recent swing highs and lows. Trades are triggered only after a confirmed breakout of structure, not during consolidation. This avoids early entries and false momentum moves. Volume Confirmation Volume must exceed its moving average by a defined multiplier. This ensures participation and filters out low-liquidity breakouts. Volume thresholds adapt depending on the selected trading mode. Momentum Confirmation (RSI) RSI is used strictly as a momentum filter, not as a standalone signal. It confirms that price movement aligns with the breakout direction. Risk Management (Mandatory) Every position includes a predefined Stop Loss and Take Profit. Position sizing is based on a fixed percentage of equity, keeping risk per trade within sustainable limits. All conditions must align simultaneously; otherwise, no trade is executed. ⚙️ Trading Modes SAFE Mode Stronger volume and RSI thresholds Fewer trades, higher selectivity Designed for risk control and consistency AGGRESSIVE Mode Slightly relaxed filters Higher trade frequency during strong momentum Intended for experienced users only 📊 Markets & Assets This strategy has been actively used and tested on: 🟢 Crypto (Binance / Binance.US) SOL-USDT XRP-USDT Other high-liquidity pairs (BTC, ETH) Crypto mode benefits from stronger volume confirmation to adapt to higher volatility. 🔵 Forex Major pairs such as EURUSD, GBPUSD, USDJPY Optimized for liquid markets with lower relative volume The same structural logic applies to both markets, with volume behavior naturally adapting to each asset class. ⏱ Recommended Timeframes Crypto: 5m – 15m Forex: 15m – 1H Lower timeframes (1m) are not recommended due to noise and unreliable volume behavior. 🧪 Backtesting & Settings Transparency Default strategy properties are intentionally conservative to reflect realistic conditions: Initial capital: $20,000 Position size: 2% of equity Commission: 0.08% Slippage: 1 tick Fixed Stop Loss and Take Profit on every trade Backtests should be performed on sufficient historical data (ideally 6–12 months) to ensure a statistically meaningful sample size (100+ trades). 📈 Originality & Usefulness DkSPro is not a simple indicator mashup. Each component serves a specific role in a layered confirmation system: EMAs define direction Structure defines timing Volume validates participation RSI confirms momentum Risk management controls exposure Removing any layer significantly reduces signal quality. The strategy is designed as a complete decision framework, not a signal generator. ⚠️ Important Notes This script is an analysis and execution tool, not financial advice. Market conditions change, and no strategy performs well in all environments. Users are encouraged to backtest, forward test, and adjust position sizing according to their own risk tolerance. 🧩 Version Notice This publication represents a consolidated and refined version of an internal experimental script. No parallel or duplicate versions are intended. All future improvements will be released exclusively using TradingView’s Update feature. 🇪🇸 Descripción en Español (Resumen) DkSPro es una estrategia basada en estructura de mercado, diseñada para Crypto y Forex, que combina tendencia, ruptura de estructura, volumen y control de riesgo. Solo opera cuando todas las condiciones se alinean, evitando rangos, falsas rupturas y sobreoperar. Ha sido utilizada en Binance con pares como SOL-USDT y XRP-USDT, así como en Forex, siempre con gestión de riesgo fija y condiciones realistas.Pine Script® strategyby dksniewiedersUpdated 34
MACD 12-26-9 with Slope, Convergence & Divergence1. Core Indicator: MACD (12-26-9) The script uses the standard MACD: Fast EMA: 12 Slow EMA: 26 Signal EMA: 9 It plots: MACD Line → short-term vs long-term momentum Signal Line → smoothed MACD Histogram → distance between MACD and Signal 2. Histogram Slope (Momentum Acceleration) What it is The slope measures how fast the MACD histogram is changing. histSlope = hist - hist What it tells you Positive slope → momentum accelerating Negative slope → momentum slowing Slope flip → early momentum shift (often before MACD cross) Why it matters MACD crosses are lagging. Histogram slope gives early warning of momentum changes. 3. Convergence & Divergence (MACD vs Signal) How it’s calculated The script measures the distance between the MACD and Signal lines: distance = abs(macdLine - signalLine) Convergence → distance is shrinking Divergence → distance is expanding Interpretation Convergence = compression / energy building Divergence = expansion / trend strength or exhaustion This is not price divergence, but internal momentum structure. 4. MACD Perimeter Threshold (Momentum Filter) What it is Horizontal bands above and below zero that define a “noise zone”. Inside perimeter → weak / choppy momentum Outside perimeter → strong momentum Why it’s useful Filters low-quality MACD crosses Identifies compression → expansion Helps spot trend exhaustion when momentum fades outside the band 5. Visual Encoding (What you see) Histogram colors Bright green / red → strong acceleration Dull green / maroon → weakening momentum Gray → indecision MACD line color Yellow → converging (compression) Orange → diverging (expansion) Blue → neutral Markers Up triangle → bullish convergence Down triangle → bearish divergence 6. How traders use this indicator Trend continuation MACD above zero Histogram positive Slope rising Divergence expanding ➡ Strong trend continuation Pullback entries Trend intact Histogram pulls back toward zero Slope turns up again ➡ High-probability re-entry Breakout anticipation Long convergence Histogram flattening Sudden slope expansion ➡ Breakout likely Exhaustion warning Large divergence Histogram slope weakens Momentum fails to expand ➡ Trend may stall or reverse 7. Best use cases Works best as a momentum confirmation tool Combine with: Market structure Support / resistance Moving averages Volume or Force IndexPine Script® indicatorby mattyjoy67873
Value Area PRO (TPO/Volume Session VAH/VAL/POC) 📌 AP Capital Value Area PRO (TPO / Volume) AP Capital Value Area PRO is a session-based value area indicator designed for Gold (XAUUSD), NASDAQ (NAS100), and other CFD instruments. It focuses on where the market has accepted price during the current session and highlights high-probability interaction zones used by professional traders. Unlike rolling lookback volume profiles, this indicator builds a true session value area and provides actionable signals around VAH, VAL, and POC. 🔹 Core Features Session-Anchored Value Area Value Area is built only during the selected session Resets cleanly at session start Levels develop during the session and can be extended forward No repainting or shifting due to lookback changes TPO or Volume Mode TPO (Time-at-Price) mode – ideal for CFDs and tick-volume data Volume mode – uses broker volume if preferred Same logic, different weighting method Fixed Price Bin Size Uses a fixed bin size (e.g. 0.10 for Gold, 0.25–0.50 for NAS100) Produces cleaner, more realistic VAH/VAL levels Avoids distorted profiles caused by dynamic bin scaling VAH / VAL / POC Levels VAH (Value Area High) VAL (Value Area Low) POC (Point of Control) (optional) Lines can be extended to act as forward reference levels 🔹 Trading Signals & Alerts Value Re-Entry Identifies false breakouts where price: Trades outside value Then closes back inside Often seen before strong mean-reversion or continuation moves. Acceptance Detects initiative activity using: Multiple consecutive closes outside value Filters out weak single-candle breaks Rejection Flags strong rejection candles: Large candle body Wick outside value Close back inside the value area These conditions are especially effective on Gold intraday. 🔹 Optional Profile Histogram Right-side volume/TPO histogram Buy/sell imbalance visualization Fully optional to reduce chart clutter and improve performance 🔹 Best Use Cases Recommended markets XAUUSD (Gold) NAS100 / US100 Other index or metal CFDs Recommended timeframes 5m, 15m, 30m Suggested settings Mode: TPO Value Area: 70% Bin size: Gold: 0.10 NAS100: 0.25 or 0.50 🔹 How Traders Use It Trade rejections at VAH / VAL Look for acceptance to confirm trend days Use re-entries to fade failed breakouts Combine with trend filters, EMA structure, or session context ⚠️ Disclaimer This indicator is provided for educational and analytical purposes only and does not constitute financial advice. Always manage risk appropriately.Pine Script® indicatorby APCapitalTrading8
Relative Strength SpreadSPY vs IWM Relative Strength Spread Indicator The SPY vs IWM Relative Strength Spread indicator measures leadership between large-cap and small-cap equities by comparing the percent performance of SPY (S&P 500) against IWM (Russell 2000) over a user-defined lookback period. The indicator plots a zero-centered histogram in a separate pane, making relative strength shifts immediately visible. How It Works The indicator calculates the percent change of SPY and IWM over the same lookback window. It then subtracts IWM’s percent change from SPY’s percent change. The result is plotted as a histogram pinned to the 0% line. This design removes long-term drift and ensures that: Positive values indicate SPY is outperforming IWM Negative values indicate IWM is outperforming SPY How to Read the Histogram Above Zero (Green Bars) Large-cap stocks are leading → typically associated with risk-on stability and institutional flow into SPY-weighted names. Below Zero (Red Bars) Small-cap stocks are leading → often signals risk appetite expansion and speculative participation. Crosses of the Zero Line Mark potential leadership transitions between large caps and small caps. Why This Indicator Is Useful Identifies market regime shifts (risk-on vs risk-off behavior) Confirms or filters trend strength in equities Helps time rotations between large-cap and small-cap exposure Works consistently across all timeframes Because the calculation is based on percent change, the histogram remains normalized and comparable regardless of price level or timeframe. Best Use Cases As a market internals / breadth confirmation tool As a bias filter for SPY, IWM, or index futures To spot early leadership changes before price trends fully developPine Script® indicatorby Es-Sniper113
Smart Scalper Pro Template + VWAP 📌 Author Garry Evans Independent system developer focused on: Risk-first automation Market structure & liquidity behavior Discipline, consistency, and capital preservation “The edge isn’t the market — it’s the man who survives it.” ⚙️ Risk Management & Position Sizing The script is built around capital protection, not signal frequency. Risk logic includes: Fixed or dynamic risk per trade Market-adaptive position sizing Session-based trade limits Daily trade caps and auto-lockout protection Volatility-aware sizing (futures & crypto) ⚠️ Profit is pursued only after risk is controlled. 📊 Track Record Backtested across multiple market environments Forward-tested and actively used by the author Real-account trades are logged where platform rules allow Results vary by market, timeframe, and user-defined risk settings. 🌍 Supported Markets Designed to work across all liquid markets, including: Stocks Crypto (spot & futures) Options (signal-based framework) Futures (indices, metals, crypto futures) The system adapts to volatility and structure — it is not market-specific. ⚖️ Leverage Leverage is not required If used, leverage is fully user-controlled Risk logic scales exposure conservatively No martingale. No revenge sizing. No over-exposure logic. 🧪 Backtesting ✔ Yes Strategy logic has been backtested Filters reduce chop, noise, and forced trades Focus on drawdown control over curve-fitting 🛠 Support ✔ Yes Direct author support Ongoing improvements and updates Feature refinement based on real usage and feedback 👥 Community ✔ Yes Private user access High-quality feedback environment No public signal spam or hype-driven chat rooms ⏳ Trial Period ✔ Yes Limited trial access available Designed for evaluation only Trial users do not receive full feature access 🚫 Who This Script Is NOT For This system is not for: Traders looking for guaranteed profits Users expecting copy-paste “signal calls” Over-leveraged gamblers Those unwilling to follow risk rules Anyone seeking overnight results This is a discipline and automation tool, not a shortcut. 🧠 Final Positioning This is not a signal service. This is a risk-controlled execution framework designed to: Enforce discipline Reduce emotional trading Protect capital during bad market conditions Scale responsibly during favorable onesPine Script® indicatorby Garrythetrader95430564
Neeson bitcoin Dynamic ATR Trailing SystemNeeson bitcoin Dynamic ATR Trailing System: A Comprehensive Guide to Volatility-Adaptive Trend Following Introduction The Dynamic ATR Trailing System (DATR-TS) represents a sophisticated approach to trend following that transcends conventional moving average or breakout-based methodologies. Unlike standard trend-following systems that rely on price pattern recognition or fixed parameter oscillators, this system operates on the principle of volatility-adjusted position management—a nuanced approach that dynamically adapts to changing market conditions rather than imposing rigid rules on market behavior. Originality and Innovation Distinct Methodological Approach What sets DATR-TS apart from hundreds of existing trend-following systems is its dual-layered conditional execution framework. While most trend-following systems fall into one of three broad categories—moving average crossovers, channel breakouts, or momentum oscillators—this system belongs to the more specialized category of volatility-normalized trailing stop systems. Key Original Contributions: Volatility-Threshold Signal Filtering: Most trend systems generate signals continuously, leading to overtrading during low-volatility periods. DATR-TS implements a proprietary volatility filter that requires minimum market movement before generating signals, effectively separating high-probatility trend opportunities from market noise. Self-Contained Position State Management: Unlike traditional systems that require external position tracking, DATR-TS maintains an internal position state that prevents contradictory signals and creates a closed-loop decision framework. Dynamic Risk Parameter Adjustment: The system doesn't use fixed percentage stops or rigid ATR multiples. Instead, it implements a responsive adjustment mechanism that widens stops during high volatility and tightens them during low volatility, creating an optimal balance between risk protection and opportunity capture. Trader-Centric Visualization Philosophy: Beyond mere signal generation, the system provides a comprehensive visual feedback system designed to align with human cognitive patterns, reducing emotional decision-making through consistent color coding and information hierarchy. Technical Implementation and Functionality Core Operational Mechanism DATR-TS implements a volatility-adjusted trend persistence model that operates on the principle that trending markets exhibit characteristic volatility signatures. The system specifically targets medium-term directional movements (typically lasting 5-20 days) rather than short-term scalping opportunities or long-term position trades. The Four-Pillar Architecture: Volatility Measurement and Normalization Calculates Average True Range (ATR) over a user-defined period Converts absolute volatility to percentage terms relative to price Compares current volatility against user-defined thresholds to filter suboptimal conditions Dynamic Trailing Stop Algorithm Establishes an initial stop distance based on current volatility Implements a four-state adjustment mechanism that responds to price action Maintains stop position during trend continuation while allowing for trend reversal detection Conditional Signal Generation Generates entry signals only when price action meets both directional and volatility criteria Produces exit signals based on trailing stop penetration Incorporates position state awareness to prevent conflicting signals Comprehensive Feedback System Provides multi-layer visual information including dynamic stop lines, signal labels, and color-coded price action Displays real-time metrics through an integrated dashboard Offers configurable visualization options for different trading styles Specific Trend-Following Methodology DATR-TS employs a volatility-normalized trailing stop breakout approach, which differs significantly from common trend identification methods: Not a moving average crossover system (like MACD or traditional MA crosses) Not a channel breakout system (like Bollinger Band or Donchian Channel breaks) Not a momentum oscillator system (like RSI or Stochastic trend following) Not a price pattern recognition system (like head-and-shoulders or triangle breaks) Instead, it belongs to the more specialized category of volatility-adjusted stop-and-reverse systems that: Wait for market volatility to reach actionable levels Establish positions when price confirms directional bias through stop penetration Manage risk dynamically based on evolving market conditions Exit positions when the trend exhausts itself through stop violation Practical Application and Usage Market Environment Optimization Ideal Conditions: Trending markets with sustained directional movement Medium volatility environments (neither excessively calm nor chaotic) Timeframes: 4-hour to daily charts for optimal signal quality Instruments: Forex majors, commodity futures, equity indices Suboptimal Conditions: Ranging or consolidating markets Extreme volatility events or news-driven spikes Very short timeframes (below 1-hour) Illiquid or highly manipulated instruments Parameter Configuration Strategy Core Parameter Philosophy: ATR Length (Default: 21 periods) Controls the system's memory of volatility Shorter lengths increase sensitivity but may cause overtrading Longer lengths provide smoother signals but may lag during volatility shifts ATR Multiplier (Default: 6.3x) Determines the initial risk buffer Lower values (4-5x) create tighter stops for conservative trading Higher values (6-8x) allow for larger trends but increase drawdown risk Volatility Threshold (Default: 1.5%) Filters out low-quality trading environments Adjust based on market characteristics (higher for volatile markets) Acts as a quality control mechanism for signals Trading Workflow and Execution Signal Interpretation and Action: Entry Protocol: Wait for BLUE "BUY" signal label appearance Confirm volatility conditions meet threshold requirements Enter long position at market or next reasonable opportunity Set initial stop at displayed dynamic stop level Position Management: Monitor dynamic stop line for position adjustment Allow profits to run while stop protects capital No manual adjustment required—system manages stop automatically Exit Protocol: Exit on ORANGE "SELL" signal label appearance Alternative exit if price hits dynamic stop level System will generate new entry signal if conditions warrant re-entry Risk Management Integration: Position sizing based on distance to dynamic stop Volatility filter prevents trades during unfavorable conditions Clear visual feedback on current risk exposure Built-in protection against overtrading Philosophical Foundation and Market Theory Core Trading Principles DATR-TS embodies several foundational market principles: Volatility Defines Opportunity Markets don't trend continuously—they alternate between trending and ranging phases Volatility provides the energy for trends to develop and sustain By measuring and filtering volatility, we can focus on high-probability trend phases Risk Should Be Proportional Fixed percentage stops ignore market context Dynamic stops that adjust with volatility provide more appropriate risk management Position sizing should reflect current market conditions, not arbitrary rules Simplicity Through Sophistication Complex systems often fail in real-world conditions A simple core algorithm with intelligent filtering outperforms complex multi-indicator approaches Clear visual feedback reduces cognitive load and emotional interference Trends Persist Until Proven Otherwise Markets exhibit momentum characteristics Once a trend establishes itself, it tends to continue The trailing stop methodology captures this persistence while providing exit mechanisms Mathematical and Statistical Foundation The system operates on several statistical market observations: Volatility Clustering Phenomenon High volatility periods tend to follow high volatility periods Low volatility periods tend to follow low volatility periods By filtering for adequate volatility, we increase the probability of capturing meaningful trends Trend Magnitude Distribution Most trends are small to medium in magnitude Very large trends are rare but account for disproportionate returns The dynamic stop methodology allows capture of varying trend magnitudes Autocorrelation in Price Movements Price movements exhibit short-term positive autocorrelation during trends This persistence allows trailing stops to capture continued movement The system leverages this characteristic without requiring explicit autocorrelation calculation Performance Characteristics and Expectations Typical System Behavior Signal Frequency: Low to moderate signal generation (prevents overtrading) Signals concentrated during trending market phases Extended periods without signals during ranging conditions Risk-Reward Profile: Win rate typically 40-60% in trending conditions Average win larger than average loss Risk-reward ratios of 1:2 to 1:3 achievable Drawdown Patterns: Controlled through volatility adjustment Larger drawdowns during extended ranging periods Recovery typically follows when trending conditions resume Comparison with Alternative Approaches Versus Moving Average Systems: Less prone to whipsaws during ranging markets Better adaptation to changing volatility conditions Clearer exit signals through stop levels Versus Channel Breakout Systems: More responsive to emerging trends Lower false breakout probability Dynamic risk adjustment rather than fixed parameters Versus Momentum Oscillator Systems: Better trend persistence capture Less susceptible to overbought/oversold false signals Clearer position management rules Educational Value and Skill Development Learning Opportunities DATR-TS serves as more than just a trading tool—it provides educational value through: Market Condition Awareness Teaches traders to distinguish between trending and ranging markets Develops understanding of volatility's role in trading opportunities Encourages patience and selectivity in trade execution Risk Management Discipline Demonstrates dynamic position sizing principles Illustrates the importance of adaptive stops Reinforces the concept of risk-adjusted returns Psychological Skill Development Reduces emotional trading through clear rules Builds patience through conditional execution Develops discipline through systematic approach Customization and Evolution The system provides a foundation for further development: Beginner Level: Use default parameters for initial learning Focus on signal recognition and execution discipline Develop understanding of system behavior across market conditions Intermediate Level: Adjust parameters based on specific market characteristics Combine with complementary analysis techniques Develop personal variations based on trading style Advanced Level: Integrate with portfolio management systems Develop automated execution frameworks Create derivative systems for specialized applications Conclusion: The Modern Trend-Following Paradigm The Dynamic ATR Trailing System represents a significant evolution in trend-following methodology. By moving beyond simple price pattern recognition or fixed parameter oscillators, it embraces the complex reality of financial markets where volatility, trend persistence, and risk management interact dynamically. This system doesn't claim to predict market direction or identify tops and bottoms. Instead, it provides a systematic framework for participating in trends when they emerge, managing risk appropriately as conditions change, and preserving capital during unfavorable environments. For traders seeking a methodology that combines mathematical rigor with practical execution, adapts to changing market conditions rather than fighting against them, and provides clear, actionable information without cognitive overload, DATR-TS offers a sophisticated yet accessible approach to modern trend following. The true value lies not in any single signal or parameter setting, but in the comprehensive philosophy of volatility-aware, risk-adjusted, conditionally-executed trend participation that the system embodies—a philosophy that aligns with how markets actually behave rather than how we might wish them to behave.Pine Script® indicatorby neeson198728
CVD-MACD### CVD-MACD (Research) The CVD-MACD is a research-oriented indicator that combines Cumulative Volume Delta (CVD) with the classic MACD framework to provide insights into market momentum and potential reversals. Unlike a standard MACD based on price, this version uses CVD (the running total of buy vs. sell volume delta) as its input source, offering a volume-driven perspective on trend strength and divergences. Key Features: - **CVD-Based MACD Calculation**: Computes MACD using CVD instead of price, highlighting volume imbalances that may precede price moves. - **Dual Divergence Detection**: Identifies bullish/bearish divergences on both the MACD line and histogram, with configurable pivot lookbacks and filters (e.g., momentum decay and zero-side consistency). - **Visual Flexibility**: Toggle divergences in the indicator pane or overlaid on the main chart, with optional raw CVD line for reference. - **Alerts**: Built-in conditions for bullish and bearish divergences to notify users of potential setups. ###This indicator is designed for research and experimentation—it's not financial advice. It performs best on liquid assets with reliable volume data (e.g., stocks, futures). I've shared this to gather community feedback: please test it thoroughly and point out any bugs, inefficiencies, or improvements! For example, if you spot issues with divergence detection on certain timeframes or symbols, let me know in the comments. Your input will help refine it. Inspired by volume analysis techniques; open to collaborations or forks. ## User Manual for CVD-MACD (Research) ### Overview The CVD-MACD indicator transforms traditional MACD by using Cumulative Volume Delta (CVD) as the base input. CVD accumulates the net delta between estimated buy and sell volume per bar, providing a volume-centric view of momentum. The indicator plots a MACD line, signal line, and histogram, while also detecting divergences on both the MACD line and histogram for potential reversal signals. This manual covers setup, interpretation, and troubleshooting. Note: This is a research tool—backtest and validate on your own data before using in live trading. ### Installation and Setup 1. **Add to Chart**: Search for "CVD-MACD (Research)" in TradingView's indicator library or paste the script into the Pine Editor and add it to your chart. 2. **Compatibility**: Works on any timeframe and symbol with volume data. Best on daily/intraday charts for stocks, forex, or futures. Avoid illiquid symbols where volume may be unreliable. 3. **Customization**: All inputs are configurable via the indicator's settings panel. Defaults are optimized for general use but can be tuned based on asset volatility. ### Input Parameters The inputs are grouped for ease of use: #### MACD Settings - **Fast EMA (CVD)** (default: 12): Length of the fast EMA applied to CVD. Shorter values make it more responsive to recent volume changes. - **Slow EMA (CVD)** (default: 26): Length of the slow EMA on CVD. Longer values smooth out noise for trend identification. - **Signal EMA** (default: 9): Smoothing period for the signal line (EMA of the MACD line). #### Divergence Logic (MACD Line) - **Pivot Lookback (MACD Line)** (default: 5): Bars to look left/right for detecting pivots on the MACD line. Higher values detect larger swings but may miss smaller divergences. - **Max Lookback Range (MACD Line)** (default: 50): Maximum bars between two pivots to consider a divergence valid. Prevents detecting outdated signals. - **Enable Momentum Decay Filter (Histogram)** (default: false): When enabled, requires the histogram to show decaying momentum (absolute value decreasing) for MACD-line divergences to trigger. #### Histogram Divergence - **Pivot Lookback (Histogram)** (default: 5): Similar to above, but for histogram pivots. - **Max Lookback Range (Histogram)** (default: 50): Max bars for histogram divergence detection. - **Show Histogram Divergences in Indicator Pane** (default: true): Displays dashed lines and "H" labels for histogram divergences in the sub-window. - **Show Histogram Divergences on Main Chart** (default: true): Overlays histogram divergences on the price chart with semi-transparent lines and labels. - **Require Histogram to Stay on Same Side of Zero** (default: true): Filters divergences to only those where the histogram doesn't cross zero between pivots, ensuring consistent momentum direction. #### Visuals (Dual View) - **Show MACD-Line Divergences (Indicator Pane)** (default: true): Draws solid lines and "L" labels for MACD-line divergences in the sub-window. - **Show MACD-Line Divergences (Main Chart)** (default: true): Overlays MACD-line divergences on the price chart. - **Show Raw CVD Line** (default: false): Plots the underlying CVD as a faint gray line for reference. ### How to Interpret the Indicator 1. **Core Plots**: - **MACD Line** (blue): Difference between fast and slow CVD EMAs. Above zero indicates building buy volume momentum; below zero shows sell dominance. - **Signal Line** (orange): EMA of the MACD line. Crossovers can signal potential entries/exits (e.g., MACD above signal = bullish). - **Histogram** (columns): MACD minus signal. Green shades for positive/expanding bars (bullish momentum); red for negative/contracting (bearish). Fading colors indicate weakening momentum. - **Zero Line** (gray horizontal): Reference for bullish (above) vs. bearish (below) territory. - **Raw CVD** (optional gray line): The cumulative buy-sell delta. Rising = net buying; falling = net selling. 2. **Divergences**: - **Bullish (Green Lines/Labels)**: Occur when price makes lower lows, but MACD line or histogram makes higher lows. Suggests weakening downside momentum and potential reversal up. Look for "L" (MACD line) or "H" (histogram) labels. - **Bearish (Red Lines/Labels)**: Price higher highs vs. MACD/histogram lower highs. Indicates fading upside and possible downturn. - **Dual View**: Divergences appear in the indicator pane (sub-window) for clean analysis and overlaid on the main chart for price context. Histogram divergences use dashed lines to distinguish from MACD-line (solid). - **Filters**: Momentum decay ensures only "hidden" or weakening divergences trigger. Zero-side filter prevents false signals from oscillating histograms. 3. **Alerts**: - **Bullish Divergence (L or H)**: Triggers on either MACD-line or histogram bullish divergence. Message: "CVD-MACD Bullish Divergence detected on {{ticker}}". - **Bearish Divergence (L or H)**: Similar for bearish. Use TradingView's alert setup to notify via email/SMS/webhook. - Tip: Combine with price action (e.g., support/resistance) for confirmation. ### Usage Tips and Strategies - **Trend Confirmation**: Use in uptrends for bullish divergences (pullback buys) or downtrends for bearish (short entries). - **Timeframe Selection**: Higher timeframes (e.g., daily) for swing trading; lower (e.g., 15-min) for intraday. Adjust pivot lookbacks accordingly (shorter for faster charts). - **Combination Ideas**: Pair with RSI for overbought/oversold confirmation or VWAP for intraday volume context. - **Risk Management**: Divergences are probabilistic—not guarantees. Always use stop-losses based on recent swings. - **Performance Notes**: Backtest on historical data via TradingView's Strategy Tester. CVD relies on accurate volume; test on exchanges like NYSE/NASDAQ. ### Known Limitations and Troubleshooting - **Volume Dependency**: CVD estimation assumes linear buy/sell distribution based on bar position—may be less accurate on thin markets or during gaps. - **Repainting**: Pivots and divergences can repaint as new data arrives (common in pivot-based indicators). Use on closed bars for reliability. - **Resource Usage**: High max_bars_back (5000) ensures deep history; reduce if chart loads slowly. - **No Signals on Low-Volume Bars**: If CVD flatlines, check symbol volume—some crypto/forex pairs have inconsistent data. - **Community Feedback**: If you encounter bugs (e.g., false divergences on specific symbols/timeframes), missing alerts, or calculation errors, please comment below with details like symbol, timeframe, and screenshots. Suggestions for enhancements (e.g., more filters or visuals) are welcome! If you have questions or find issues, drop a comment—let's improve this together!Pine Script® indicatorby Kuokkuok050312
MA 9 & MA 20 Crossover + EMA200 + CONFIRMED + RSI OB/OS (Alerts)Tesing this strategy. This will not work for all coins. this is short specific coinsPine Script® indicatorby Btchalving99Updated 16
BTCUSD 1D Trend Strategy [Gemini]1Dchart 100% of equity per trade 0.1% commission 1 tick slippage please convert this indicator to a trading strategy as you see fit find attached the date of the chart and the indicator on BTCUSD 1D chart so you can make a better decision when to buy and sell avoid forward looking and repainting at all costs. Don't add tables to the chart don't ever use line breaks in function calls: long only 2018-2069 1D chart 100% ofPine Script® strategyby sniperlordfxUpdated 4
Manual Backtest Dashboard (100 Trades)Manual Backtest Dashboard (100 Trades) is a lightweight TradingView indicator designed to help traders manually record and evaluate their trading performance directly on the chart. This tool is built specifically for discretionary traders such as SMC, price action, scalping, and intraday traders who want to analyze their win rate and overall performance without relying on the Strategy Tester. The indicator works by allowing users to input their trade results manually through the settings panel. Each trade is recorded using simple values: 1 for a winning trade, -1 for a losing trade, and 0 for an empty or uncounted trade. The dashboard automatically calculates the total number of trades entered, the number of wins and losses, and the win rate percentage in real time. Users do not need to fill all 100 trade slots, as only trades with non-zero values are included in the calculations. This indicator does not place trades or generate buy and sell signals. Instead, it focuses purely on performance evaluation, making it ideal for subjective backtesting, forward testing, and manual trading journals. The dashboard is clean, lightweight, and does not clutter the price chart, ensuring a smooth and distraction-free trading experience. The script is stable, efficient, and does not repaint, making it a reliable tool for traders who want to track and improve their consistency over time.Pine Script® indicatorby arlentraalley3
MTT Cyclical vs Defensive Z-ScoreThe MTT Cyclical vs Defensive Z-Score is a sophisticated sentiment and rotation indicator designed to measure the relative strength of "risk-on" sectors against "risk-off" havens. It calculates a ratio between two distinct baskets: Cyclicals (Consumer Discretionary, Industrials, Materials) and Defensives/Commodities (Consumer Staples, Health Care, Utilities, and the DBC Commodity Index). By applying a Z-score calculation to this ratio, the indicator identifies how many standard deviations the current market leadership is away from its mean. This transforms a simple ratio into a powerful tool for identifying market extremes and potential pivot points. How the Indicator Works The script follows a logical three-step process to quantify market sentiment: Basket Comparison: It pits growth-sensitive sectors (which thrive during economic expansion) against defensive sectors and commodities (which act as anchors or inflation hedges). Mean Reversion: It uses a Simple Moving Average (SMA) and Standard Deviation over a 20-period lookback to determine the "normal" range for this relationship. Standardization: The resulting Z-score oscillates around a zero line. Green columns represent periods where cyclicals are outperforming their recent average, while red columns indicate defensive leadership. How to Use It for Trading The Z-score serves as a barometer for overextended market moves: Identifying Extreme Optimism: When the Z-score crosses above +2.0, cyclicals are significantly overextended. This suggests the "risk-on" move may be exhausted, signaling a potential pullback or a rotation back into defensive stocks. Identifying Extreme Fear: When the Z-score drops below -2.0, defensives and commodities are heavily favored. This often coincides with market bottoms or "washouts," suggesting that a bounce in cyclical sectors (and the broader market) may be imminent. Trend Confirmation: Crossing the 0.0 (Mean) line acts as a momentum shifter. Moving from negative to positive suggests a fresh bullish rotation is gaining traction.Pine Script® indicatorby mad_tom_trading7
Premarket + Previous Day High/LowPremarket & Previous Day High/Low Indicator for TradingView This TradingView script displays two essential sets of price levels to help identify key support and resistance zones throughout the trading day: 🔍 What it Does Premarket High/Low Levels Tracks the high and low price between 4:00 AM and 9:30 AM EST (premarket session). Once the market opens, it locks in those levels and plots them across the rest of the trading day for easy reference. Helps you spot potential breakouts, rejections, or support/resistance around early session extremes. Previous Day High/Low Levels Displays the prior day’s high and low using data from the daily timeframe. Useful for identifying major zones where price might bounce, reverse, or consolidate. 🎯 How Traders Use It Identify potential gap fills, breakouts, or fakeouts. Build trading setups using price action around key zones. Combine with other indicators (RSI, volume, EMA, etc.) for confluence. Use for risk management or stop loss placement near known levels.Pine Script® indicatorby jgalarzatrades40
Renko Velocity Meter [Chris Chapman]Here is the comprehensive copy for your Renko Velocity Meter indicator. This is structured to be used in a TradingView description, a manual, or a product listing. Renko Velocity Meter What is this Indicator? The Renko Velocity Meter is a specialized momentum dashboard designed strictly for Renko Charts. Unlike standard oscillators (like RSI or MACD) which often fail on Renko due to the lack of time-based data, this tool uses "Brick Physics" to measure the actual speed and efficiency of price movement. It answers the most critical question in Renko trading: "Is this a real trend, or just a choppy consolidation?" Instead of giving you lagging signals, it provides a real-time Velocity Score (0-100) displayed on a dashboard directly on your chart. It automatically filters out "fake" moves and highlights high-probability "TURBO" conditions when the market enters a powerful extension phase. How It Is Calculated The Velocity Score is derived from a proprietary blend of three distinct mathematical checks: 1. Trend Efficiency ("The Snake Logic") The script calculates the ratio between the Net Price Move and the Total Distance Traveled over a lookback period. High Efficiency: Price is moving in a straight line (Strong Trend). Low Efficiency: Price is winding back and forth (Chop/Range). 2. Momentum Deviation (Auto-Brick Detection) The indicator automatically detects your specific Renko brick size (whether 2 pips, 10 points, or custom) without manual input. It then measures how many "Bricks" the price has pulled away from the baseline Moving Average. If price is 6+ bricks away from the average, it signals a high-momentum extension. 3. HTF Trend Lock (Multi-Timeframe Filter) It internally checks a Higher Timeframe (default: 15-minute) to ensure you are trading with the dominant trend. HTF LOCK: The Renko trend and the 15m trend are aligned (Green). HTF MIX: The trends are conflicting. The score is automatically capped at 60 to prevent false signals. 4. The "Counter-Trend" Penalty To prevent buying tops or selling bottoms, the script instantly penalizes the score if a "Retracement Brick" forms. Example: If the trend is UP, but a RED brick forms, the score is forced down to the "Yellow/Neutral" zone until the trend resumes. Requirements To use this indicator effectively, you must meet the following chart conditions: Chart Type: Renko (This is mandatory. The math relies on fixed-size bricks). Timeframe: Works on all timeframes, but optimized for standard scalping setups (e.g., 2-pip fixed bricks on EURUSD/Gold). Data Feed: High-quality data is recommended. For maximum precision, use a 1-second (1s) interval setting for your Renko box generation if your TradingView plan allows it. The Inputs (Settings) You can customize the sensitivity of the meter to fit your specific asset class: Trend Efficiency Period (Default: 14): The number of bricks used to calculate how "straight" the trend is. Lower numbers make the score faster; higher numbers make it smoother. Momentum Baseline (Default: 20): The length of the internal Moving Average used as the "mean" price. Max Momentum in Bricks (Default: 6): How many bricks of extension are required to hit a "100% Score"? Increase this for volatile assets like Gold or Bitcoin. HTF Support (Default: 15): The Higher Timeframe used for the Trend Lock filter. Meter Position: Choose where the dashboard appears on your screen (Top Right, Bottom Left, etc.). Dashboard Legend GREEN (Score > 70): TURBO – Strong trend alignment. High probability of continuation. YELLOW (Score 50-70): TREND – Active trend, but potentially stalling or retracing. RED (Score < 50): CHOP – No clear direction or conflicting signals. Stay flat. POSITION: Shows the current logic state (LONG/SHORT/FLAT).Pine Script® indicatorby cechapman29
Trend Entry Signal v2Used for entry signals. More efficient for scalp trades, at least 70% correct prediction, more efficent on stablecoins.Pine Script® indicatorby tientran9527
Teacher Agent: OBV-ADX+Volume Overlay V6This is an OBV ADX I modified from another user (kocurekc). I removed the histogram and made it an overlay then added volume multiplier to only throw signals when volume is above average. Pine Script® indicatorby Steviscerator4
TX Ultra Zone Consolidation Detector## TX Ultra Zone Consolidation Detector ## Overview TX Ultra Zone is an advanced market structure utility designed to automatically detect periods of consolidation, indecision, and sideways movement. By isolating ranging markets, it helps traders avoid "choppy" conditions and prepare for high-probability breakouts. What It Does Automatic Detection: Draws visual boxes around price action when volatility compresses. Breakout Projection: Once price breaks the box, it projects a "Shadow Zone" forward. This shadow serves as a key reference for Support-becomes-Resistance (or vice versa) retests. Noise Filtering: Helps you stay out of the market when no clear trend exists. How It Works (Conceptual) The script uses a multi-layer detection engine: Regime Detection: It analyzes market efficiency and volatility (using adaptive logic) to determine if the market is trending or ranging. Geometry Confinement: When a range is detected, the script locks the High and Low boundaries. Expansion & Breakout: The box dynamically expands if price pushes the boundary slightly without a true breakout. A valid breakout closes the box and triggers the Shadow Extension. How to Use Add to Chart: Works best on volatility-sensitive assets (Forex, Crypto, Indices). Wait for the Box: When a Purple Box appears, the market is resting. Do not trade trends inside the box. Trade the Breakout: Wait for a candle close outside the box. Use the Shadow: The Grey Shadow Extension indicates where price might return to "retest" the breakout level. This is often a prime entry zone. Settings & Tuning Detection Engine: Switch between Adaptive Volatility (Standard) or Momentum Compression (Alternative). Zone Threshold: 45-50: Sensitive (More boxes, catches micro-ranges). 55-60: Strict (Only catches very clear, tight consolidation). Shadow Extension: Adjust how far into the future the support/resistance zone is projected. Disclaimer This tool is for educational and analytical purposes only. Past performance does not guarantee future results. Always use proper risk management.Pine Script® indicatorby Tonzlnxz23
TVS #Overview The TVS strategy looks for areas of low volatility or ‘squeezes’ and then relies on momentum to identify a breakout. This is intended to help a trader wait for a consolidation phase before entering a market when energy is released. --- How It Works TVS uses Bollinger Bandwidth as a measure of market compression to define the "squeeze" conditions of low volatility. When the distance between the upper and lower Bollinger Bands contracts below its own average, the indicator flags the market as compressed and color codes candles purple. Once volatility expands and the squeeze ends, TVS toggles on momentum confirmation via RSI: candles light green as bullish momentum is in control and red when bearish momentum takes over. The color system observes strict priority whereby volatility compression overrides all trend signals, with any consideration of direction being subject to the release of the squeeze. Color Priority • Deep Purple: Active squeeze (low volatility) • Green / Red: Squeeze released – Green: Bullish – Red: Bearish --- Trading Checklist -Purple candles? → Market is compressing -Purple ended?→ Breakout phase -Green or Red? → Direction confirmed -Near key structure? → Manual validation Settings and Usage Timeframes: 15m–Daily Best Markets: Forex majors, liquid stocks Inputs: length (BB basis), mult (band sensitivity) Risk Notes: Squeezes can fail and reverse No built-in stop-loss News reduces signal reliability Risk Management is mandatory.Pine Script® indicatorby Ericem12
Stable MES Fakeout AlertHow to read the new Dashboard Bright Red Cell: The market is at +1000 or higher. This is your "Don't Buy/Start Shorting" zone. Bright Green Cell: The market is at -1000 or lower. This is your "Don't Sell/Start Buying" zone. Faded Green/Red: The market is trending but not yet at a mathematical extreme. A Strategy Secret for the Reversal When the Dashboard turns Bright Red (TICK > 1000) and the price hits the Red VWAP Band, don't just market sell. Wait for the TICK value to start dropping (e.g., from 1100 down to 900). Wait for the first Red Candle to close on your 1-minute chart. Place your stop loss just a few ticks above the "swing high" created at the band. This "waiting for the turn" ensures you aren't trying to catch a speeding freight train.Pine Script® indicatorby aabellini19
Ranked Exchange Volume (REV)📊 Ranked Exchange Volume (REV) - Multi-Venue Volume Distribution Visualizer ## Stop Guessing Where the Real Volume Is. See It. Most traders look at aggregate volume and miss the critical story: **where** that volume actually traded. Ranked Exchange Volume (REV) solves this by revealing the complete liquidity landscape across multiple trading venues in a single, elegant visualization. This isn't just another volume indicator—it's a **dynamic stratified histogram** that automatically reorganizes exchange layers by magnitude on every bar, showing you **instant market dominance** at a glance. --- ## 🎯 The Core Innovation: Self-Organizing Volume Layers REV displays volume from up to 10 different exchanges as **stacked, color-coded bars** where the largest volume source literally rises to the top. Watch as exchanges compete for dominance in real-time: - **Largest volume = Top of the bar** (most visible position) - **Smallest volume = Bottom of the bar** (foundation layer) - **Everything in between = Automatically sorted on every candle** This visual hierarchy makes it instantly obvious which venues are leading the market—no mental math required. --- ## ✨ Key Features ### 🔄 **Dynamic Layer Sorting** Unlike static stacked charts, REV uses real-time stratification. If Binance had 60% of volume last bar but Coinbase takes 70% this bar, you'll see Coinbase jump to the top. The hierarchy reflects current reality, not a fixed order. ### 🎨 **10 Fully Customizable Exchange Slots** Each exchange slot offers complete control: - **Enable/Disable toggle** - Turn exchanges on/off without losing your configuration - **Custom prefix** - Track ANY exchange on TradingView (BINANCE, KRAKEN, OANDA, FXCM, etc.) - **Custom suffix** - Specify quote currency (USDT, USD, EUR, or leave blank for stocks/forex) - **Display name** - Control how exchanges appear in the rankings table - **Color selection** - Match your chart theme or use brand colors for instant recognition ### 📊 **Live Rankings Table** A real-time leaderboard shows: - **Rank** - Current position (1 = highest volume) - **Exchange name** - With color-coded background - **Volume** - Intelligently formatted with K/M/B units - **Percentage** - Exact market share **Table positioning:** Choose from 9 screen positions (top/middle/bottom × left/center/right) to keep your chart clean. ### 🧮 **Intelligent Volume Formatting** REV automatically detects volume magnitude and applies the appropriate scale: - **Billions** - Displays as "1.5B" for readability - **Millions** - Displays as "342.8M" - **Thousands** - Displays as "45.2K" - **Full numbers option** - Toggle to see complete values (23,456,789) The scale adjusts per-bar, so you always see the clearest representation. ### 🚨 **Three Built-In Alert Conditions** 1. **Exchange Dominance Alert (>50%)** - Triggers when a single venue controls majority of volume - Signals potential liquidity concentration risk or exchange-specific events 2. **Volume Spike Alert (>2x average)** - Detects unusual aggregate activity across all venues - Catches breakouts, news events, or institutional flow 3. **Liquidity Migration Alert** - Fires when market leadership shifts between exchanges - Reveals arbitrage opportunities or changing market structure ### 📈 **Optional Total Volume Line** Display aggregate volume from all exchanges as a reference overlay with customizable color. --- ## 🌍 Market Compatibility: Beyond Crypto While optimized for cryptocurrency (its primary design), REV works across multiple asset classes: ### ✅ **Cryptocurrency (Perfect Fit)** **Why it excels:** Crypto trades 24/7 across dozens of global exchanges simultaneously. REV reveals true price discovery. **Example configurations:** - **BTC/USDT:** Compare Binance, Coinbase, OKX, Bybit, Kraken, Bitget - **ETH/USD:** Track institutional venues (Coinbase, Kraken, Gemini) vs retail (Binance, Gate.io) - **Altcoins:** Identify which exchanges have the deepest liquidity before placing large orders **Trading applications:** - **Arbitrage detection** - Spot when volume migrates between venues (price differential opportunities) - **Exchange risk** - Don't trade on exchanges with suspiciously low volume - **Whale tracking** - Sudden Coinbase dominance often signals institutional activity - **Market maker identification** - Consistent Binance leadership suggests MM concentration ### ✅ **Forex (Excellent Fit)** **Why it works:** Forex doesn't have centralized exchanges—it trades OTC across multiple broker feeds. REV shows which data providers are seeing the action. **Example configurations:** - **EUR/USD:** Compare OANDA, FXCM, FOREX.COM, FX_IDC, CAPITALCOM - **GBP/JPY:** Track volatility across broker feeds - **Exotics:** Verify liquidity before trading thin pairs **Setup notes:** - Leave **suffix field blank** for forex - Use broker prefixes: OANDA, FXCM, FOREXCOM, FX_IDC, SAXO - Symbol constructs as "OANDA:EURUSD" **Trading applications:** - **Spread verification** - Higher volume feeds typically offer tighter spreads - **News event tracking** - See which brokers capture the most flow during announcements - **Session analysis** - Watch London/NY volume shifts across different providers ### ⚠️ **Stocks (Limited But Useful)** **Where it works:** - **Dual-listed stocks** - Canadian companies on TSX and NYSE - **International ADRs** - Same company, different exchanges - **ETF arbitrage** - Compare volume across regional listings **Example configurations:** - **Shopify (SHOP):** Compare TSX vs NYSE volume - **Alibaba (BABA):** NYSE vs HKEX volume - **European stocks:** Compare primary exchange vs secondary listings **Setup notes:** - Leave **suffix field blank** - Use exchange prefixes: NYSE, NASDAQ, TSX, LSE, XETRA - Note: TradingView doesn't show per-venue volume for U.S. equities (NYSE vs BATS vs ARCA all aggregate) **Limitations:** Most stocks trade primarily on one exchange, so REV is less valuable than in crypto/forex. ### ❌ **Futures (Not Recommended)** Futures contracts differ by exchange (CME's ES ≠ EUREX's FESX), so volume isn't comparable. --- ## 📚 Practical Use Cases ### 1. **Pre-Trade Liquidity Analysis** Before entering a large position, check which exchanges have sufficient volume to fill your order without slippage. **Example:** You want to sell 50 BTC. REV shows Binance has 2,340 BTC volume this hour while a smaller exchange has only 87 BTC. Route your order to Binance for better execution. ### 2. **Exchange Risk Management** Identify "fake volume" or wash trading by comparing venues. **Red flag pattern:** An exchange consistently shows 10x the volume of competitors but with minimal price impact—likely artificial. ### 3. **Arbitrage Opportunity Detection** When volume suddenly concentrates on one exchange, price premiums/discounts often appear. **Alert pattern:** Liquidity Migration alert fires → Check price differences → Execute arb if spread exceeds fees. ### 4. **Institutional Flow Tracking** In crypto, institutions typically use regulated exchanges (Coinbase, Kraken, Gemini). **Pattern to watch:** Coinbase volume spikes to 60%+ dominance → Often precedes directional moves as institutions position. ### 5. **Market Structure Analysis** Watch long-term trends in exchange dominance to understand market evolution. **Example insight:** "Binance's market share has dropped from 70% to 45% over 6 months as traders diversify to OKX and Bybit." ### 6. **Event Response Comparison** During major news events, see which exchanges react first. **Analysis:** If one exchange shows volume spike 5 minutes before others, that feed may have faster news incorporation. --- ## ⚙️ Technical Specifications - **Maximum exchanges:** 10 simultaneous venues - **Sorting algorithm:** Bubble sort (O(n²) but optimal for n=10, prioritizes stability) - **Update frequency:** Real-time, every bar - **Data handling:** Gracefully ignores invalid symbols, treats NA as zero - **Chart type:** Non-overlay (separate pane below price) - **Performance:** Lightweight, no lag on any timeframe --- ## 🚀 Getting Started ### Quick Setup (5 Minutes) **For Crypto Traders (Default Configuration):** 1. Add indicator to any crypto chart (BTC, ETH, SOL, etc.) 2. Works immediately—top 10 exchanges pre-configured 3. Customize colors if desired 4. Position table to your preference **For Forex Traders:** 1. Open any forex pair (EUR/USD, GBP/JPY, etc.) 2. Go to Exchange 1 settings 3. Change prefix to "OANDA" (or your preferred broker) 4. **Clear the suffix field** (leave it blank) 5. Repeat for other exchanges (FXCM, FOREXCOM, FX_IDC, etc.) 6. Disable any unused exchange slots **For Stock Traders (Dual-Listed):** 1. Open a dual-listed stock (e.g., SHOP on TSX) 2. Exchange 1: Prefix = "TSX", Suffix = blank, Name = "Toronto" 3. Exchange 2: Prefix = "NYSE", Suffix = blank, Name = "New York" 4. Disable exchanges 3-10 5. Compare volume distribution ### Advanced Customization **Tracking Regional Markets:** Want to compare Korean vs Japanese crypto exchanges? - Exchange 1: UPBIT (Korean) - Exchange 2: BITHUMB (Korean) - Exchange 3: BITFLYER (Japanese) - Exchange 4: COINCHECK (Japanese) **Isolating Institutional Volume:** Focus only on regulated U.S. exchanges: - Enable: Coinbase, Kraken, Gemini - Disable: All others - Watch for >50% dominance alerts --- ## 👥 Who Is This For? ### ✅ **Perfect for:** - **Crypto day traders** - Need to know where liquidity actually is - **Arbitrage traders** - Spot cross-exchange inefficiencies - **Institutional traders** - Validate execution venues before large orders - **Forex scalpers** - Compare broker feeds for best execution - **Market structure analysts** - Track long-term exchange dominance trends ### ❌ **Less useful for:** - **Long-term investors** who don't care about short-term liquidity - **Single-exchange traders** who never compare venues - **Futures traders** (contracts differ by exchange) --- ## 🎓 Understanding the Visualization **What each colored segment means:** Each horizontal stripe represents one exchange's volume contribution. The **height** of each stripe shows that exchange's volume relative to others. **Reading the pattern:** - **Dominant top layer** (50%+ of bar) = Clear market leader - **Evenly distributed layers** (10-15% each) = Fragmented liquidity - **Sudden layer reorganization** = Liquidity migration event - **Shrinking bottom layers** = Exchanges losing market share **Color coding strategy:** The indicator defaults to exchange brand colors for instant recognition: - Yellow = Binance (their signature gold) - Blue = Coinbase (their brand blue) - Purple = Kraken (their brand purple) - etc. You can customize all colors to match your chart theme. --- ## 🔧 Configuration Tips ### **Best Practices:** 1. **Start with defaults** - Test on BTC/USDT to understand behavior 2. **Disable unused exchanges** - Cleaner visualization, faster computation 3. **Match your trading venues** - Only track exchanges you actually use 4. **Use brand colors initially** - Helps build visual pattern recognition 5. **Enable alerts strategically** - Don't spam yourself; focus on actionable signals ### **Common Mistakes to Avoid:** ❌ Tracking too many irrelevant exchanges (creates visual noise) ❌ Forgetting to clear suffix for forex/stocks (symbol won't construct properly) ❌ Using the same color for multiple exchanges (defeats instant recognition) ❌ Hiding the table permanently (you lose the percentage data) --- ## 📊 Performance Notes - **Lightweight computation** - No impact on chart performance - **Works on all timeframes** - 1-minute to monthly - **Historical analysis** - Full bar history available (max_bars_back=5000) - **Multi-monitor friendly** - Table positioning adapts to any screen layout --- ## 🆕 Future Enhancements (Planned) While the current version is feature-complete, potential additions include: - Volume-weighted average price (VWAP) overlay per exchange - Historical dominance charts (which exchange led most this week/month) - Correlation matrix (do exchanges move together or independently?) **User feedback shapes development** - Comment with your requests! --- ## 💡 Pro Tips ### **Tip 1: The "Whale Exchange" Filter** In crypto, institutions use Coinbase/Kraken. Enable ONLY these two exchanges to isolate professional flow and ignore retail noise. ### **Tip 2: The "Arbitrage Scanner"** Set Liquidity Migration alert on 1-minute timeframe. When it fires, check price across exchanges—often there's a temporary premium/discount. ### **Tip 3: The "Liquidity Gauge"** Before placing a large market order, switch to 5-minute timeframe and check last 10 bars. If your target exchange consistently has <20% of volume, you'll face slippage. ### **Tip 4: The "Market Structure Tracker"** Take screenshots of the table weekly. Over time, you'll see exchange market share trends that reveal fundamental shifts in trader preferences. ### **Tip 5: The "News Event Validator"** During major announcements (Fed decisions, earnings, etc.), watch which exchange shows volume first. That's where informed traders are positioned. --- ## 🎯 Summary **Ranked Exchange Volume (REV) transforms volume analysis from a single number into a complete market microstructure view.** Instead of seeing "1.2M volume," you see: - Binance: 640K (53%) - Coinbase: 280K (23%) - OKX: 180K (15%) - Bybit: 100K (9%) **That's actionable intelligence.** Whether you're executing a large crypto trade, arbitraging forex across brokers, or validating liquidity before buying a dual-listed stock, REV shows you **where the market actually is**—not where you assume it is. --- ## 📖 Quick Reference Card | Feature | What It Does | Why It Matters | |---------|-------------|----------------| | **Dynamic Sorting** | Largest volume rises to top | Instant dominance identification | | **10 Custom Slots** | Track any exchanges | Works for YOUR trading venues | | **Live Rankings** | Real-time leaderboard | Precise market share data | | **Smart Formatting** | Auto K/M/B scaling | Always readable, never cluttered | | **Dominance Alert** | Warns at >50% concentration | Risk management for large orders | | **Migration Alert** | Fires on leadership change | Arbitrage opportunity signal | | **Spike Alert** | Detects 2x volume surges | Breakout/news confirmation | | **Total Line** | Shows aggregate volume | Reference for overall activity | | **Table Positioning** | 9 screen locations | Adapts to your layout | | **Full/Short Toggle** | Complete vs abbreviated numbers | Flexibility for different assets | --- ## ✅ Installation & Support **Install:** Add to your TradingView favorites, apply to any chart **Updates:** Automatic through TradingView **Support:** Comment with questions—active developer community **Like this indicator?** Leave a ⭐ rating and share with fellow traders who need better volume intelligence. --- **🚀 Start seeing the complete volume picture. Add Ranked Exchange Volume to your charts today.**Pine Script® indicatorby KevinSvenson_1141
Ale tonkis Swing failure (mejora)“Swing Failure Pattern (SFP) indicator for detecting bullish and bearish reversals on the chart.” It’s short and to the point for TradingView or documentation.Pine Script® indicatorby diegovaldes201132
EMA 6/16 Zone (Simple)This is to know when to long and when to short. these are ema bands. when they touch either it goes up or down. has background shade to indicate if its uptrend or down.Pine Script® indicatorby d1mateos971
TC-AlgoThese analyses are provided for educational purposes only and do not constitute investment advice Pine Script® indicatorby youba_yousfi7