10X Trading System10X Trading System (Non Repaint)
TradingView Account Needed: Free
Not satisfied with your trading results so far? This may help:
The 10X Trading System helps you identify tops, bottoms and market direction — quickly and accurately.
The strategy behind its accuracy is the fact that it combines price action and multiple market timing algorithms to determine these significant turning points in the markets.
That way, you can be sure you have the best chance to get the best entry and exit points with perfect timing, and hopefully extract more profits from the markets than anybody else.
Once the 10X Trading system has spotted a possible top or bottom, it clearly displays these Buy or Sell alerts on your charts… showing you exactly where this may occur.
You can activate alerts to never miss a signal.
How to use the signals and alerts:
10X Trading System automatically analyze price action and multiple market timing algorithms to give you a signal when there's a good trade.
Works on all markets on all time frames so it's suitable for binary, scalping, day and swing trading.
10X Trading System allow you to get the best entry and exit points with perfect timing.
If you want more details, the link is in the signature.
Disclaimer:
Past performance is not indicative of future performance. No representation is being made that any results discussed within the service and its related media content will be achieved. All opinions, news, research, analyses, prices or other information is provided as general market commentary and not as investment advice. TradingWalk, their members, shareholders, employees, agents, representatives and resellers do not warrant the completeness, accuracy or timeliness of the information supplied, and they shall not be liable for any loss or damages, consequential or otherwise, which may arise from the use or reliance of the TradingWalk service and its content. © 2019 TradingWalk.
TradingWalk indicators are built for TradingView. TradingWalk is on no way a part of TradingView.
Komut dosyalarını "swing trading" için ara
Mean Absolute Deviation Trend | Lyro RSMean Absolute Deviation Trend
Introduction
Mean Absolute Deviation (MAD) Trend is a precision tool designed to capture directional bias using the Mean Absolute Deviation from a dynamic moving average. It identifies trend shifts by measuring average volatility around price, highlighting bullish and bearish phases through adaptive bands.
Signal Insight
The 𝓜𝓐𝓓 𝓣𝓻𝓮𝓷𝓭 plots a dynamic bands around a user-defined moving average, using Mean Absolute Deviation (MAD) to reflect volatility-adjusted boundaries.
A bullish signal is generated when price breaks above the upper MAD band—indicating positive momentum and potential trend continuation to the upside.
A bearish signal occurs when price falls below the lower MAD band—signaling increased downside pressure and possible trend continuation to the downside.
This approach gives traders a volatility-sensitive trend filter that can enhance signal quality across different market environments.
Real-World Example
𝓜𝓐𝓓 𝓣𝓻𝓮𝓷𝓭 delivers a clear and timely long signal, capturing a +22.90% move. Upon exit, it seamlessly flips to a short position, securing an additional +13.34% —demonstrating its strength in both trending directions.
Framework
The 𝓜𝓐𝓓 𝓣𝓻𝓮𝓷𝓭 indicator identifies directional shifts by measuring price deviation from a dynamic moving average. At its core, it calculates the Mean Absolute Deviation (MAD) of price around a user-selected moving average.
The indicator builds adaptive upper and lower bands by multiplying the MAD value above and below the moving average. When price crosses above the upper band, it triggers a bullish signal. When price crosses below the lower band, it signals bearish momentum which gives a bearish signal.
This method provides an elegant balance between volatility sensitivity and trend clarity, adapting in real-time to changing market behavior. The moving average type and band sensitivity can be tuned to fit various strategies—from scalping to swing trading.
Recommended Settings
Long-Term Investing: 1D, EMA, 40, 2
Mid-Term Investing: 1D, Default Settings
Swing Trading: 4h, EMA, 20, 2.5
Day/Intraday Trading: 15mins, 25, 2.5
⚠️ WARNING ⚠️: THIS INDICATOR, OR ANY OTHER WE (LYRO RS) PUBLISH, IS NOT FINANCIAL OR INVESTMENT ADVICE. EVERY INDICATOR SHOULD BE COMBINED WITH PRICE ACTION, FUNDAMENTALS, OTHER TECHNICAL ANALYSIS TOOLS & PROPER RISK. MANAGEMENT.
FVG Range Filter0x278's FVG Range Filter
Overview
The FVG Range Filter is a TradingView indicator designed to identify and display Fair Value Gaps (FVGs) on your chart. FVGs are areas of price imbalance that often act as significant zones for potential price retracement or reversal. This indicator filters out irrelevant gaps, showing only those that are within a specified price range and time frame, making it easier to focus on high-probability trading opportunities.
This guide is crafted to help both novice and experienced traders understand how to use this indicator effectively, even if you're new to the concept of FVG trading. We'll cover what FVGs are, how the indicator works, how to interpret its visual elements, and how to apply it in various trading scenarios.
What are Fair Value Gaps (FVGs)?
Fair Value Gaps occur when the price of an asset moves so quickly in one direction that it leaves a 'gap' or 'void' on the chart where no trading activity occurred. These gaps represent areas of imbalance between supply and demand, often created by strong buying or selling pressure. Traders use FVGs to identify potential areas where price might return to 'fill' the gap, offering opportunities for entries or exits.
Bullish FVG : This happens when price jumps upward, leaving a gap below. It suggests strong buying pressure and often acts as a support zone when price retraces.
Bearish FVG : This occurs when price drops sharply, leaving a gap above. It indicates strong selling pressure and often acts as a resistance zone when price retraces.
How the FVG Range Filter Works
The FVG Range Filter indicator automatically detects these gaps based on a specific three-bar pattern that identifies significant price imbalances. It then applies filters to ensure only relevant FVGs are displayed:
Range Filter : Only shows FVGs whose midpoint is within a user-defined percentage of the current price. This keeps the focus on gaps that are close enough to be actionable.
Time Filter : Only displays FVGs that are younger than a specified number of bars, ensuring you're looking at recent and relevant price action.
Invalidation : Once the price trades through the midpoint of an FVG, the gap is considered 'filled' or invalidated, and it is removed from the chart.
This filtering mechanism declutters your chart, highlighting only the most pertinent FVGs for your trading decisions.
Indicator Settings
The FVG Range Filter offers customizable inputs to tailor its behavior to your trading style:
Display Range (%) : This sets the percentage range from the current price within which FVGs are shown. A lower value (e.g., 1.0%) shows only gaps very close to the current price, while a higher value (e.g., 5.0%) includes gaps further away. Default is 1.0%.
Look-back Bars : This determines how far back in time the indicator looks for FVGs. It also limits how long a gap remains visible if it hasn't been invalidated. Default is 1000 bars.
Show Bullish FVGs : Toggle to display bullish FVGs (green boxes by default). Default is enabled.
Show Bearish FVGs : Toggle to display bearish FVGs (red boxes by default). Default is enabled.
Box Opacity (0-100) : Adjusts the transparency of the FVG boxes on the chart. A value of 0 is fully transparent (invisible), while 100 is fully opaque. Default is 33 for a subtle appearance.
Visual Elements and Interpretation
The indicator draws rectangular boxes on your chart to represent FVGs. Understanding these visual elements is key to using the indicator effectively:
Green Boxes : Represent bullish FVGs. These are areas where price gapped upward, suggesting potential support zones. If price retraces to this area, it might bounce off as buyers step in to defend the level.
Red Boxes : Represent bearish FVGs. These are areas where price gapped downward, indicating potential resistance zones. If price retraces to this area, it might face selling pressure and reverse downward.
Box Position and Extension : Each box starts at the bar where the FVG was detected and extends to the right, updating dynamically as new bars form. This extension helps maintain visibility until the gap is either invalidated or falls out of the look-back period.
Disappearance of Boxes : A box disappears from the chart in two scenarios:
Price Moves Away : If the midpoint of the FVG moves outside the specified display range percentage from the current price, or if the FVG becomes older than the look-back bars limit, the box is removed (though the gap data persists in memory for potential re-display if conditions are met again).
Invalidation : If price trades through the midpoint of the FVG (i.e., the low of a candle goes below the midpoint for a bullish FVG, or the high goes above the midpoint for a bearish FVG), the gap is considered filled, and the box is permanently removed from the chart.
Trading Scenarios with FVG Range Filter
Below are detailed trading scenarios to help you understand how to use the FVG Range Filter in practical situations. These scenarios assume you're trading with the trend or looking for reversals at key levels.
Scenario 1: Bullish FVG as Support for Long Entry
Setup : You're trading a stock in an uptrend on a 15-minute chart. The FVG Range Filter displays a green box (bullish FVG) after a sharp upward move earlier in the day.
Interpretation : This green box indicates a zone of imbalance where price gapped up, likely due to strong buying interest. Since it's still within the display range and look-back period, it's a relevant support zone.
Action : Wait for price to retrace back to the top edge of the green box. Look for confirmation of support, such as a bullish candlestick pattern (e.g., hammer or engulfing) or increased volume, indicating buyers are stepping in.
Entry : Enter a long position near the top of the FVG box, setting a stop-loss just below the bottom of the box to protect against a breakdown.
Target : Aim for the next resistance level or a predefined risk-reward ratio (e.g., 1:2). If another bullish FVG forms above, consider that as a potential target.
Exit : Exit the trade if price breaks below the bottom of the FVG (invalidation), or if the box disappears due to price trading through the midpoint, signaling the gap is filled.
Scenario 2: Bearish FVG as Resistance for Short Entry
Setup : You're trading a cryptocurrency on a 1-hour chart during a downtrend. The indicator shows a red box (bearish FVG) after a sharp downward move a few hours ago.
Interpretation : The red box marks a zone where price gapped down, indicating strong selling pressure. As long as it's within the display range and look-back period, it remains a potential resistance zone.
Action : Wait for price to rally back to the bottom edge of the red box. Look for signs of rejection, such as a bearish candlestick pattern (e.g., shooting star or engulfing) or decreasing volume, suggesting sellers are defending this level.
Entry : Enter a short position near the bottom of the FVG box, placing a stop-loss just above the top of the box to guard against a breakout.
Target : Target the next support level or a favorable risk-reward ratio. If a new bearish FVG appears below, it could serve as a potential target.
Exit : Exit if price breaks above the top of the FVG (invalidation), or if the box disappears because price has traded through the midpoint, indicating the gap is no longer relevant.
Scenario 3: Filtering Out Irrelevant FVGs During Choppy Markets
Setup : You're trading forex on a 5-minute chart during a period of consolidation with no clear trend. The chart shows frequent small price jumps, but the FVG Range Filter displays very few boxes.
Interpretation : The indicator is filtering out FVGs that are either too far from the current price (outside the display range percentage) or too old (beyond the look-back bars). This helps avoid false signals in a non-trending market.
Action : Recognize that the absence of FVGs on the chart suggests no high-probability setups at the moment. Avoid forcing trades based on minor price movements that don't meet the filter criteria.
Entry : Wait for a clear trend to emerge and for new FVGs to appear within the filter parameters before considering any trades.
Target/Exit : Follow the trend direction once FVGs are displayed, using the edges of the boxes as potential entry or exit zones as described in the previous scenarios.
Scenario 4: Using FVGs for Risk Management
Setup : You're already in a long position on an index futures contract on a 30-minute chart, and the FVG Range Filter shows a green box below your entry point.
Interpretation : The green box represents a bullish FVG that could act as a support zone. Since price hasn't yet reached the midpoint (which would invalidate the FVG), it remains a valid reference point for managing risk.
Action : Adjust your stop-loss to just below the bottom of the green box. This placement uses the FVG as a logical invalidation level, assuming that a break below this support zone negates the bullish premise of your trade.
Entry : No new entry is needed since you're already in the trade.
Target/Exit : Keep your original target unless a new bearish FVG forms above, which might indicate resistance. Exit if price breaks below the FVG or if the box disappears due to invalidation.
Tips for Using the FVG Range Filter
Combine with Trend Analysis : FVGs are most effective when traded in the direction of the prevailing trend. Use higher timeframe analysis or other indicators to confirm the overall market direction before acting on FVGs.
Adjust Settings for Market Conditions : In volatile markets (like cryptocurrencies), you might increase the display range percentage to capture more FVGs. In less volatile markets (like certain stocks), a tighter range might be more appropriate.
Timeframe Selection : The indicator works on all timeframes, but lower timeframes (1-15 minutes) might show more frequent FVGs for scalping, while higher timeframes (1-4 hours) are better for swing trading with larger, more significant gaps.
Confirmation Tools : Don't rely solely on FVGs for entries. Use additional confirmation from price action (candlestick patterns), volume, or other indicators to increase the probability of success.
Monitor Invalidation : If an FVG box disappears from the chart due to price trading through its midpoint, consider it a signal that the gap is no longer relevant. Adjust your strategy accordingly.
Limitations
Not a Standalone System : The FVG Range Filter identifies potential zones of interest but does not provide entry signals, stop-loss, or take-profit levels on its own. It should be used as part of a broader trading strategy.
Market Conditions : FVGs may be less effective in strongly trending markets where price doesn't retrace to fill gaps, or in very choppy markets where too many small gaps are filtered out.
Lag in Detection : Since FVGs are based on a three-bar pattern, there is a slight delay in identifying them after the price movement has occurred.
Good Luck!
The FVG Range Filter is a powerful tool for traders looking to capitalize on price imbalances in the market. By focusing only on relevant Fair Value Gaps within a specified range and time frame, it helps declutter your chart and highlights high-probability zones for potential trades. Whether you're new to FVG trading or an experienced trader, this indicator can enhance your analysis by visually identifying key areas of support and resistance based on market inefficiencies.
Experiment with the settings to match your trading style and market conditions, and always combine the indicator's insights with other forms of analysis for the best results. Happy trading!
Enhanced Market StructureThe Enhanced Market Structure (EMS) indicator is a powerful technical tool designed to visually detect and annotate shifts in market structure based on swing highs and lows. By identifying Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL), this indicator helps traders determine the prevailing trend direction and important structural levels on any timeframe.
Core Logic:
Uses pivot detection with configurable swing strength to identify significant highs and lows.
Tracks the three most recent swing highs and lows to establish trend conditions:
Uptrend: Higher High + Higher Low
Downtrend: Lower High + Lower Low
Neutral: No clear structure
Features:
✅ Structure Lines:
Draws horizontal lines at the latest structural highs and lows.
✅ Dynamic Labels:
Displays “HH”, “HL”, “LH”, or “LL” based on the current market trend. Labels update in real-time as structure changes (can be turned on/off via settings).
✅ Trend Table:
A live trend status panel in the top-right of the chart displays the current structure status:
🔼 Bullish
🔽 Bearish
◼️ Neutral
✅ Customizable Parameters:
Swing Strength: Number of candles to detect pivots.
Line Width: Thickness of structure lines.
Toggle Labels: Option to display or hide structural labels.
🛠 Best Use Cases:
Trend Confirmation: Quickly assess the directional bias of the market.
Entry/Exit Planning: Use structural breaks (e.g., LL or HH) as confirmation signals.
Swing Trading: Identify key levels for pullbacks and reversals.
🧩 How to Use:
Add the indicator to your chart on any timeframe.
Adjust the “Swing Strength” to suit your trading style (default = 5).
Observe the trend label and structure lines to guide trading decisions.
Kijun Shifting Band Oscillator | QuantMAC🎯 Kijun Shifting Band Oscillator | QuantMAC
📊 **Revolutionary Technical Analysis Tool Combining Ancient Ichimoku Wisdom with Cutting-Edge Statistical Methods**
🌟 Overview
The Kijun Shifting Band Oscillator represents a sophisticated fusion of traditional Japanese technical analysis and modern statistical theory. Built upon the foundational concepts of the Ichimoku Kinko Hyo system, this indicator transforms the classic Kijun-sen (base line) into a dynamic, multi-dimensional analysis tool that provides traders with unprecedented market insights.
This advanced oscillator doesn't just show you where price has been – it reveals the underlying momentum dynamics and volatility patterns that drive market movements, giving you a statistical edge in your trading decisions.
🔥 Key Features & Innovations
Dual Trading Modes for Maximum Flexibility: 🚀
Long/Short Mode: Full bidirectional trading capability for aggressive traders seeking to capitalize on both bullish and bearish market conditions
Long/Cash Mode: Conservative approach perfect for risk-averse traders, taking long positions during uptrends and moving to cash during downtrends (avoiding short exposure)
Advanced Visual Intelligence: 🎨
9 Professional Color Schemes: From classic blue/navy to vibrant orange/purple combinations, each optimized for different chart backgrounds and personal preferences
Dynamic Gradient Histogram: Color intensity reflects oscillator strength, providing instant visual feedback on momentum magnitude
Intelligent Overlay Bands: Semi-transparent fills create clear visual boundaries without cluttering your chart
Smart Candle Coloring: Real-time color changes reflect current market state and trend direction
Customizable Threshold Lines: Clearly marked entry and exit levels with contrasting colors
Professional-Grade Analytics: 📊
Real-Time Performance Metrics: Live calculation of 9 key performance indicators
Risk-Adjusted Returns: Sharpe, Sortino, and Omega ratios for comprehensive performance evaluation
Position Sizing Guidance: Half-Kelly percentage for optimal risk management
Drawdown Analysis: Maximum drawdown tracking for risk assessment
📈 Deep Technical Foundation
Kijun-Based Mathematical Framework: 🧮
The indicator begins with the traditional Kijun-sen calculation but extends it significantly:
Statistical Enhancements: 📉
Adaptive Volatility: Bands expand and contract based on market volatility
Momentum Filtering: EMA smoothing of oscillator for trend confirmation
State Management: Intelligent signal filtering prevents whipsaws and false signals
Multi-Timeframe Compatibility: Optimized algorithms work across all timeframes
⚙️ Comprehensive Parameter Control
Kijun Core Settings: 🎛️
Kijun Length (Default: 30): Controls the lookback period for the base calculation. Shorter periods = more responsive, longer periods = smoother signals
Source Selection: Choose from Close, Open, High, Low, or HL2. Close price recommended for most applications
Calculation Method: Uses traditional Ichimoku methodology ensuring compatibility with classic analysis
Advanced Oscillator Configuration: 📊
Standard Deviation Length (Default: 36): Determines volatility measurement period. Affects band width and sensitivity
SD Multiplier (Default: 2.1): Fine-tune band distance from basis line. Higher values = wider bands, lower values = tighter bands
Oscillator Multiplier (Default: 100): Scales the final oscillator output. Useful for matching other indicators or personal preference
Smoothing Algorithm: Built-in EMA smoothing prevents noise while maintaining responsiveness
Signal Threshold Optimization: 🎯
Long Threshold (Default: 83): Oscillator level that triggers long entries. Higher values = fewer but stronger signals
Short Threshold (Default: 42): Oscillator level that triggers short entries. Lower values = fewer but stronger signals
Threshold Logic: Crossover-based system with state management prevents signal overlap
Customization Range: Fully adjustable to match your trading style and risk tolerance
Precision Date Control: 📅
Start Date/Month/Year: Precise backtesting control down to the day
Historical Analysis: Test strategies on specific market periods or events
Strategy Validation: Isolate performance during different market conditions
📊 Professional Metrics Dashboard
Risk Assessment Metrics: 💼
Maximum Drawdown %: Largest peak-to-trough decline in portfolio value. Critical for understanding worst-case scenarios and position sizing
Sortino Ratio: Risk-adjusted return measure focusing only on downside volatility. Superior to Sharpe ratio for asymmetric return distributions
Sharpe Ratio: Classic risk-adjusted performance metric. Values above 1.0 considered good, above 2.0 excellent
Omega Ratio: Probability-weighted ratio capturing all moments of return distribution. More comprehensive than Sharpe or Sortino
Performance Analytics: 📈
Profit Factor: Gross Profit ÷ Gross Loss. Values above 1.0 indicate profitability, above 2.0 considered excellent
Win Rate %: Percentage of profitable trades. Consider alongside average win/loss size for complete picture
Net Profit %: Total return on initial capital. Accounts for compounding effects
Total Trades: Sample size for statistical significance assessment
Advanced Position Sizing: 🎯
Half Kelly %: Optimal position size based on Kelly Criterion, reduced by 50% for safety margin
Risk Management: Helps determine appropriate position size relative to account equity
Mathematical Foundation: Based on win probability and profit factor calculations
Practical Application: Directly usable percentage for position sizing decisions
🎨 Advanced Display Options
Flexible Interface Design: 🖥️
6 Positioning Options: Top/Bottom/Middle × Left/Right combinations for optimal chart organization
Toggle Functionality: Show/hide metrics table for clean chart presentation during analysis
Color Coordination: Metrics table colors match selected oscillator color scheme
Professional Styling: Clean, readable format with proper spacing and alignment
Visual Hierarchy: 🎭
Oscillator Histogram: Primary focus with gradient intensity showing momentum strength
Threshold Lines: Clear horizontal references for entry/exit levels
Zero Line: Neutral reference point for trend bias determination
Background Bands: Subtle overlay context without chart clutter
🚀 Advanced Signal Generation System
Multi-Layer Signal Logic: ⚡
Primary Signal Generation: Oscillator crossover above Long Threshold (default 83) triggers long entries
Exit Signal Processing: Oscillator crossunder below Short Threshold (default 42) triggers position exits
State Management System: Prevents duplicate signals and ensures clean position transitions
Mode-Specific Logic: Different behavior for Long/Short vs Long/Cash modes
Date Range Filtering: Signals only generated within specified backtesting period
Confirmation Requirements: Bar confirmation prevents false signals from intrabar price spikes
Intelligent Position Management: 🧠
Entry Tracking: Precise entry price recording for accurate P&L calculations
Position State Monitoring: Continuous tracking of long/short/cash positions
Automatic Exit Logic: Seamless position closure and new position initiation
Performance Calculation: Real-time P&L tracking with compounding effects
📉📈 Comprehensive Band Interpretation Guide
Dynamic Band Analysis: 🔍
Upper Band Function: Represents dynamic resistance based on recent volatility. Price approaching upper band suggests potential reversal or breakout
Lower Band Function: Represents dynamic support with volatility adjustment. Price near lower band indicates oversold conditions or support testing
Middle Line (Basis): Trend direction indicator. Price above = bullish bias, price below = bearish bias
Band Width Interpretation: Wide bands = high volatility, narrow bands = low volatility/potential breakout setup
Band Slope Analysis: Rising bands = strengthening trend, falling bands = weakening trend
Oscillator Interpretation: 📊
Values Above 50: Price in upper half of recent range, bullish momentum
Values Below 50: Price in lower half of recent range, bearish momentum
Extreme Values (>80 or <20): Overbought/oversold conditions, potential reversal zones
Momentum Divergence: Oscillator direction vs price direction for early reversal signals
Trend Confirmation: Oscillator direction confirming or contradicting price trends
💡 Strategic Trading Applications
Primary Trading Strategies: 🎯
Trend Following: Use threshold crossovers to capture major directional moves. Best in trending markets with clear directional bias
Mean Reversion: Identify extreme oscillator readings for counter-trend opportunities. Effective in range-bound markets
Breakout Trading: Monitor band compressions followed by expansions for breakout signals
Swing Trading: Combine oscillator signals with band interactions for swing position entries/exits
Risk Management: Use metrics dashboard for position sizing and risk assessment
Market Condition Optimization: 🌊
Trending Markets: Increase threshold separation for fewer, stronger signals
Choppy Markets: Decrease threshold separation for more responsive signals
High Volatility: Increase SD multiplier for wider bands
Low Volatility: Decrease SD multiplier for tighter bands and earlier signals
⚙️ Advanced Configuration Tips
Parameter Optimization Guidelines: 🔧
Kijun Length Adjustment: Shorter periods (10-20) for faster signals, longer periods (50-100) for smoother trends
SD Length Tuning: Match to your trading timeframe - shorter for responsive, longer for stability
Threshold Calibration: Backtest different levels to find optimal entry/exit points for your market
Color Scheme Selection: Choose schemes that provide best contrast with your chart background and other indicators
Integration with Other Indicators: 🔗
Volume Indicators: Confirm oscillator signals with volume spikes
Support/Resistance: Use key levels to filter oscillator signals
Momentum Indicators: RSI, MACD confirmation for signal strength
Trend Indicators: Moving averages for overall trend bias confirmation
⚠️ Important Usage Notes & Limitations
Indicator Characteristics: ⚡
Lagging Nature: Based on historical price data - signals occur after moves have begun
Best Practice: Combine with leading indicators and price action analysis
Market Dependency: Performance varies across different market conditions and instruments
Backtesting Essential: Always validate parameters on historical data before live implementation
Optimization Recommendations: 🎯
Parameter Testing: Systematically test different combinations on your preferred instruments
Walk-Forward Analysis: Regularly re-optimize parameters to maintain effectiveness
Market Regime Awareness: Adjust parameters for different market conditions (trending vs ranging)
Risk Controls: Implement maximum drawdown limits and position size controls
🔧 Technical Specifications
Performance Optimization: ⚡
Efficient Algorithms: Optimized calculations for smooth real-time operation
Memory Management: Smart array handling for metrics calculations
Visual Optimization: Balanced detail vs performance for responsive charts
Multi-Symbol Ready: Consistent performance across different assets
---
The Kijun Shifting Band Oscillator represents the evolution of technical analysis, bridging the gap between traditional methods and modern quantitative approaches. This indicator provides traders with a comprehensive toolkit for market analysis, combining the intuitive wisdom of Japanese candlestick analysis with the precision of statistical mathematics.
🎯 Designed for serious traders who demand professional-grade analysis tools with institutional-quality metrics and risk management capabilities. Whether you're a discretionary trader seeking visual confirmation or a systematic trader building quantitative strategies, this indicator provides the foundation for informed trading decisions.
⚠️ IMPORTANT DISCLAIMER
Past Performance Warning: 📉⚠️
PAST PERFORMANCE IS NOT INDICATIVE OF FUTURE RESULTS. Historical backtesting results, while useful for strategy development and parameter optimization, do not guarantee similar performance in live trading conditions. Market conditions change continuously, and what worked in the past may not work in the future.
Remember: Successful trading requires discipline, continuous learning, and adaptation to changing market conditions. No indicator or strategy guarantees profits, and all trading involves substantial risk of loss.
Canuck Trading Projection IndicatorCanuck Trading Projection Indicator
Overview
The Canuck Trading Projection Indicator is a powerful PineScript v6 tool designed for TradingView to project potential bullish and bearish price trajectories based on historical price and volume movements. It provides traders with actionable insights by estimating future price targets and assigning confidence levels to each outlook, helping to identify probable market directions across any timeframe. Ideal for both short-term and long-term traders, this indicator combines momentum analysis, RSI filtering, support/resistance detection, and time-weighted trend analysis to deliver robust projections.
Features
Bullish and Bearish Projections: Forecasts price targets for upward (bullish) and downward (bearish) movements over a user-defined projection period (default 20 bars).
Confidence Levels: Assigns percentage confidence scores to each outlook, reflecting the likelihood of the projected price based on historical trends, volatility, and volume.
RSI Filter: Incorporates a 14-period Relative Strength Index (RSI) to validate trends, requiring RSI > 50 for bullish and RSI < 50 for bearish signals.
Support/Resistance Detection: Adjusts confidence levels when projections are near key swing highs/lows (within 2% of average price), boosting confidence by 5% for alignments.
Time-Based Weighting: Prioritizes recent price movements in trend analysis, giving more weight to newer bars for improved relevance.
Customizable Inputs: Allows users to tailor lookback period, projection bars, RSI period, confidence threshold, colors, and label positioning.
Forced Label Spacing: Prevents overlap of bullish and bearish text labels, even for tight projections, using fixed vertical slots when price differences are small (<2% of average price).
Timeframe Flexibility: Works seamlessly across all TradingView timeframes (e.g., 30-minute, hourly, daily, weekly, monthly), adapting projections to the chart’s resolution.
Clean Visualization: Displays projections as green (bullish) and red (bearish) dashed lines, with non-overlapping text labels at the projection endpoints showing price targets and confidence levels.
How It Works
The indicator analyzes historical price and volume data over a user-defined lookback period (default 50 bars) to calculate:
Momentum: Combines price changes and volume to assess trend strength, using a weighted moving average (WMA) for directional bias.
Trend Analysis: Counts bullish (price up, volume above average, RSI > 50) and bearish (price down, volume above average, RSI < 50) trends, weighting recent bars more heavily.
Projections:
Bullish Slope: Positive or flat when momentum is upward, scaled by price change and momentum intensity.
Bearish Slope: Negative or flat when momentum is downward, amplified by bearish confidence for stronger projections.
Projects prices forward by 20 bars (default) using current close plus slope times projection bars.
Confidence Levels:
Base confidence derived from the proportion of bullish/bearish trends, with a 5% minimum to avoid zero confidence.
Adjusted by volatility (lower volatility increases confidence), volume trends, and proximity to support/resistance levels.
Visualization:
Draws projection lines from the current close to the 20-bar future target.
Places text labels at line endpoints, showing price targets and confidence percentages, with forced spacing for readability.
Input Parameters
Lookback Period (default: 50): Number of bars for historical analysis (minimum 10).
Projection Bars (default: 20): Number of bars to project forward (minimum 5).
Confidence Threshold (default: 0.6): Minimum confidence for strong trend indication (0.1 to 1.0).
Bullish Projection Line Color (default: Green): Color for bullish projection line and label.
Bearish Projection Line Color (default: Red): Color for bearish projection line and label.
RSI Period (default: 14): Period for RSI momentum filter (minimum 5).
Label Vertical Offset (%) (default: 1.0): Base offset for labels as a percentage of price range (0.1% to 5.0%).
Minimum Label Spacing (%) (default: 2.0): Minimum vertical spacing between labels for tight projections (0.5% to 10.0%).
Usage Instructions
Add to Chart: Copy the script into TradingView’s Pine Editor, save, and add the indicator to your chart.
Select Timeframe: Apply to any timeframe (e.g., 30-minute, hourly, daily, weekly, monthly) to match your trading strategy.
Interpret Outputs:
Green Line/Label: Bullish price target and confidence (e.g., "Bullish: 414.37, Confidence: 35%").
Red Line/Label: Bearish price target and confidence (e.g., "Bearish: 279.08, Confidence: 41.3%").
Higher confidence indicates a stronger likelihood of the projected outcome.
Adjust Inputs:
Modify Lookback Period to focus on shorter/longer historical trends (e.g., 20 for short-term, 100 for long-term).
Change Projection Bars to adjust forecast horizon (e.g., 10 for shorter, 50 for longer).
Tweak RSI Period or Confidence Threshold for sensitivity to momentum or trend strength.
Customize Colors for visual preference.
Increase Minimum Label Spacing if labels overlap in volatile markets.
Combine with Analysis: Use alongside other indicators (e.g., moving averages, Bollinger Bands) or fundamental analysis to confirm signals, as projections are probabilistic.
Example: TSLA Across Timeframes
Using live TSLA data (close ~346.46 USD, May 31, 2025), the indicator produces:
30-Minute: Bullish 341.93 (13.3%), Bearish 327.96 (86.7%) – Strong bearish sentiment due to intraday volatility.
1-Hour: Bullish 342.00 (33.9%), Bearish 327.50 (62.3%) – Bearish but less intense, reflecting hourly swings.
4-Hour: Bullish 345.52 (73.4%), Bearish 344.44 (19.0%) – Flat outlook, indicating consolidation.
Daily: Bullish 391.26 (68.8%), Bearish 302.22 (31.2%) – Bullish bias from recent uptrend, bearish tempered by longer lookback.
Weekly: Bullish 414.37 (35.0%), Bearish 279.08 (41.3%) – Wide range, reflecting annual volatility.
Monthly: Bullish 396.70 (54.9%), Bearish 296.93 (10.2%) – Long-term bullish optimism.
These results align with market dynamics: short-term intervals capture volatility, while longer intervals smooth trends, providing balanced outlooks.
Notes
Accuracy: Projections are estimates based on historical data and should be used with other analysis tools. Confidence levels indicate likelihood, not certainty.
Timeframe Sensitivity: Short-term intervals (e.g., 30-minute) show larger price swings and higher confidence due to volatility, while longer intervals (e.g., monthly) are more stable.
Customization: Adjust inputs to match your trading style (e.g., shorter lookback for day trading, longer for swing trading).
Performance: Tested on volatile stocks like TSLA, NVIDIA, and others, ensuring robust performance across markets.
Limitations: May produce conservative bearish projections in strong uptrends due to momentum weighting. Adjust lookback or projection_bars for sensitivity.
Feedback
If you encounter issues (e.g., label overlap, projection mismatches), please share your timeframe, settings, or a screenshot. Suggestions for enhancements (e.g., additional filters, visual tweaks) are welcome!
Disclaimer
The Canuck Trading Projection Indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves significant risks, and past performance is not indicative of future results. Always perform your own due diligence and consult a qualified financial advisor before making trading decisions.
Enhanced Scalping IndicatorEnhanced Scalping Indicator - Professional Multi-Confirmation Trading System
Overview
The Enhanced Scalping Indicator is a sophisticated trading tool designed for short-term traders seeking high-probability entry and exit signals. This indicator combines multiple technical analysis techniques with adaptive market conditions to filter noise and identify optimal trading opportunities.
Key Features
🎯 Multi-Confirmation Signal System
- Enhanced RSI with Adaptive Thresholds: Dynamic overbought/oversold levels that adjust based on market volatility (ATR)
- Higher Timeframe Confirmation: Uses 1-hour RSI to validate signals from lower timeframes
- Volume-Weighted Momentum: Incorporates volume analysis to confirm price movements
- Market Structure Analysis: Evaluates price position within recent 20-bar range
📊 Advanced Signal Generation
- Buy Signals: Triggered when RSI is oversold with upward momentum, confirmed by higher timeframe bearish conditions and strong volume
- Sell Signals: Activated when RSI is overbought with downward momentum, validated by higher timeframe bullish conditions and high volume
- Exit Signals: Smart exit conditions based on RSI mean reversion and momentum shifts
🔄 Divergence Detection (Optional)
- Bullish Divergence: Identifies when price makes lower lows while RSI makes higher lows
- Bearish Divergence: Spots when price makes higher highs while RSI makes lower highs
- Volume Confirmation: All divergence signals require above-average volume for validation
⚙️ Customizable Parameters
- RSI Settings: Adjustable length (default: 14) and source
- Moving Average Options: Choose from SMA, EMA, SMMA, WMA, VWMA, or Bollinger Bands
- Higher Timeframe: Configurable confirmation timeframe (default: 1 hour)
- ATR Period: [
/b] Volatility measurement period for adaptive thresholds
📈 Visual Elements
- Dynamic Threshold Lines: Adaptive overbought/oversold levels
- Signal Shapes: Clear buy/sell and exit signals on chart
- Background Highlighting: Color-coded background for active signals
- Real-time Information Table: Displays current RSI, higher timeframe RSI, volatility ratio, market position, and momentum
🚨 Alert System
Complete alert functionality for:
- Enhanced buy signals
- Enhanced sell signals
- Long position exits
- Short position exits
Best Use Cases
- Scalping: 1-5 minute timeframes for quick trades
- Day Trading: 15-30 minute timeframes for intraday positions
- Swing Trading: Higher timeframes with divergence detection enabled
Market Conditions
Works effectively in:
- T rending Markets: Momentum and higher timeframe filters reduce false signals
- Range-bound Markets: Adaptive thresholds adjust to market volatility
- High Volume Sessions: Built-in volume filters ensure signal quality
Strategy Integration
This indicator works well with:
- Support/resistance levels
- Price action analysis
- Risk management rules (stop losses, position sizing)
- Market session awareness (built-in US market hours filter)
Technical Implementation
- Built on Pine Script v6
- Utilizes proper RMA calculations for RSI
- Implements consistent historical data access
- Optimized for performance with minimal repainting
Risk Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Always combine with proper risk management, fundamental analysis, and your trading strategy. Past performance does not guarantee future results.
---
Perfect for: Scalpers, day traders, and swing traders looking for a comprehensive, multi-confirmation trading system with built-in risk management features.
Enhanced Stock Ticker with 50MA vs 200MADescription
The Enhanced Stock Ticker with 50MA vs 200MA is a versatile Pine Script indicator designed to visualize the relative position of a stock's price within its short-term and long-term price ranges, providing actionable bullish and bearish signals. By calculating normalized indices based on user-defined lookback periods (defaulting to 50 and 200 bars), this indicator helps traders identify potential reversals or trend continuations. It offers the flexibility to plot signals either on the main price chart or in a separate lower pane, leveraging Pine Script v6's force_overlay functionality for seamless integration. The indicator also includes a customizable ticker table, visual fills, and alert conditions for automated trading setups.
Key Features
Dual Lookback Indices: Computes short-term (default: 50 bars) and long-term (default: 200 bars) indices, normalizing the closing price relative to the high/low range over the specified periods.
Flexible Signal Plotting: Users can toggle between plotting crossover signals (triangles) on the main price chart (location.abovebar/belowbar) or in the lower pane (location.top/bottom) using the Plot Signals on Main Chart option.
Crossover Signals: Generates bullish (Golden Cross) and bearish (Death Cross) signals when the short or long index crosses above 5 or below 95, respectively.
Visual Enhancements:
Plots short-term (blue) and long-term (white) indices in a separate pane with customizable lookback periods.
Includes horizontal reference lines at 0, 20, 50, 80, and 100, with green and red fills to highlight overbought/oversold zones.
Dynamic fill between indices (green when short > long, red when long > short) for quick trend visualization.
Displays a ticker and legend table in the top-right corner, showing the symbol and lookback periods.
Alert Conditions: Supports alerts for bullish and bearish crossovers on both short and long indices, enabling integration with TradingView's alert system.
Technical Innovation: Utilizes Pine Script v6's force_overlay parameter to plot signals on the main chart from a non-overlay indicator, combining the benefits of a separate pane and chart-based signals in a single script.
Technical Details
Calculation Logic:
Uses confirmed bars (barstate.isconfirmed) to calculate indices, ensuring reliability by avoiding real-time bar fluctuations.
Short-term index: (close - lowest(low, lookback_short)) / (highest(high, lookback_short) - lowest(low, lookback_short)) * 100
Long-term index: (close - lowest(low, lookback_long)) / (highest(high, lookback_long) - lowest(low, lookback_long)) * 100
Signals are triggered using ta.crossover() and ta.crossunder() for indices crossing 5 (bullish) and 95 (bearish).
Signal Plotting:
Main chart signals use force_overlay=true with location.abovebar/belowbar for precise alignment with price bars.
Lower pane signals use location.top/bottom for visibility within the indicator pane.
Plotting is controlled by boolean conditions (e.g., bullishLong and plot_on_chart) to ensure compliance with Pine Script's global scope requirements.
Performance Considerations: Optimized for efficiency by calculating indices only on confirmed bars and using lightweight plotting functions.
How to Use
Add to Chart:
Copy the script into TradingView's Pine Editor and add it to your chart.
Configure Settings:
Short Lookback Period: Adjust the short-term lookback (default: 50 bars) to match your trading style (e.g., 20 for shorter-term analysis).
Long Lookback Period: Adjust the long-term lookback (default: 200 bars) for broader market context.
Plot Signals on Main Chart: Check this box to display signals on the price chart; uncheck to show signals in the lower pane.
Interpret Signals:
Golden Cross (Bullish): Green (long) or blue (short) triangles indicate the index crossing above 5, suggesting a potential buying opportunity.
Death Cross (Bearish): Red (long) or white (short) triangles indicate the index crossing below 95, signaling a potential selling opportunity.
Set Alerts:
Use TradingView's alert system to create notifications for the four alert conditions: Long Index Valley, Long Index Peak, Short Index Valley, and Short Index Peak.
Customize Visuals:
The ticker table displays the symbol and lookback periods in the top-right corner.
Adjust colors and styles via TradingView's settings if desired.
Example Use Cases
Swing Trading: Use the short-term index (e.g., 50 bars) to identify short-term reversals within a broader trend defined by the long-term index.
Trend Confirmation: Monitor the fill between indices to confirm whether the short-term trend aligns with the long-term trend.
Automated Trading: Leverage alert conditions to integrate with bots or manual trading strategies.
Notes
Testing: Always backtest the indicator on your chosen market and timeframe to validate its effectiveness.
Optional Histogram: The script includes a commented-out histogram for the index difference (index_short - index_long). Uncomment the plot(index_diff, ...) line to enable it.
Compatibility: Built for Pine Script v6 and tested on TradingView as of May 27, 2025.
Acknowledgments
This indicator was inspired by the need for a flexible tool that combines lower-pane analysis with main chart signals, made possible by Pine Script's force_overlay feature. Share your feedback or suggestions in the comments below, and happy trading!
Ergodic Market Divergence (EMD)Ergodic Market Divergence (EMD)
Bridging Statistical Physics and Market Dynamics Through Ensemble Analysis
The Revolutionary Concept: When Physics Meets Trading
After months of research into ergodic theory—a fundamental principle in statistical mechanics—I've developed a trading system that identifies when markets transition between predictable and unpredictable states. This indicator doesn't just follow price; it analyzes whether current market behavior will persist or revert, giving traders a scientific edge in timing entries and exits.
The Core Innovation: Ergodic Theory Applied to Markets
What Makes Markets Ergodic or Non-Ergodic?
In statistical physics, ergodicity determines whether a system's future resembles its past. Applied to trading:
Ergodic Markets (Mean-Reverting)
- Time averages equal ensemble averages
- Historical patterns repeat reliably
- Price oscillates around equilibrium
- Traditional indicators work well
Non-Ergodic Markets (Trending)
- Path dependency dominates
- History doesn't predict future
- Price creates new equilibrium levels
- Momentum strategies excel
The Mathematical Framework
The Ergodic Score combines three critical divergences:
Ergodic Score = (Price Divergence × Market Stress + Return Divergence × 1000 + Volatility Divergence × 50) / 3
Where:
Price Divergence: How far current price deviates from market consensus
Return Divergence: Momentum differential between instrument and market
Volatility Divergence: Volatility regime misalignment
Market Stress: Adaptive multiplier based on current conditions
The Ensemble Analysis Revolution
Beyond Single-Instrument Analysis
Traditional indicators analyze one chart in isolation. EMD monitors multiple correlated markets simultaneously (SPY, QQQ, IWM, DIA) to detect systemic regime changes. This ensemble approach:
Reveals Hidden Divergences: Individual stocks may diverge from market consensus before major moves
Filters False Signals: Requires broader market confirmation
Identifies Regime Shifts: Detects when entire market structure changes
Provides Context: Shows if moves are isolated or systemic
Dynamic Threshold Adaptation
Unlike fixed-threshold systems, EMD's boundaries evolve with market conditions:
Base Threshold = SMA(Ergodic Score, Lookback × 3)
Adaptive Component = StDev(Ergodic Score, Lookback × 2) × Sensitivity
Final Threshold = Smoothed(Base + Adaptive)
This creates context-aware signals that remain effective across different market environments.
The Confidence Engine: Know Your Signal Quality
Multi-Factor Confidence Scoring
Every signal receives a confidence score based on:
Signal Clarity (0-35%): How decisively the ergodic threshold is crossed
Momentum Strength (0-25%): Rate of ergodic change
Volatility Alignment (0-20%): Whether volatility supports the signal
Market Quality (0-20%): Price convergence and path dependency factors
Real-Time Confidence Updates
The Live Confidence metric continuously updates, showing:
- Current opportunity quality
- Market state clarity
- Historical performance influence
- Signal recency boost
- Visual Intelligence System
Adaptive Ergodic Field Bands
Dynamic bands that expand and contract based on market state:
Primary Color: Ergodic state (mean-reverting)
Danger Color: Non-ergodic state (trending)
Band Width: Expected price movement range
Squeeze Indicators: Volatility compression warnings
Quantum Wave Ribbons
Triple EMA system (8, 21, 55) revealing market flow:
Compressed Ribbons: Consolidation imminent
Expanding Ribbons: Directional move developing
Color Coding: Matches current ergodic state
Phase Transition Signals
Clear entry/exit markers at regime changes:
Bull Signals: Ergodic restoration (mean reversion opportunity)
Bear Signals: Ergodic break (trend following opportunity)
Confidence Labels: Percentage showing signal quality
Visual Intensity: Stronger signals = deeper colors
Professional Dashboard Suite
Main Analytics Panel (Top Right)
Market State Monitor
- Current regime (Ergodic/Non-Ergodic)
- Ergodic score with threshold
- Path dependency strength
- Quantum coherence percentage
Divergence Metrics
- Price divergence with severity
- Volatility regime classification
- Strategy mode recommendation
- Signal strength indicator
Live Intelligence
- Real-time confidence score
- Color-coded risk levels
- Dynamic strategy suggestions
Performance Tracking (Left Panel)
Signal Analytics
- Total historical signals
- Win rate with W/L breakdown
- Current streak tracking
- Closed trade counter
Regime Analysis
- Current market behavior
- Bars since last signal
- Recommended actions
- Average confidence trends
Strategy Command Center (Bottom Right)
Adaptive Recommendations
- Active strategy mode
- Primary approach (mean reversion/momentum)
- Suggested indicators ("weapons")
- Entry/exit methodology
- Risk management guidance
- Comprehensive Input Guide
Core Algorithm Parameters
Analysis Period (10-100 bars)
Scalping (10-15): Ultra-responsive, more signals, higher noise
Day Trading (20-30): Balanced sensitivity and stability
Swing Trading (40-100): Smooth signals, major moves only Default: 20 - optimal for most timeframes
Divergence Threshold (0.5-5.0)
Hair Trigger (0.5-1.0): Catches every wiggle, many false signals
Balanced (1.5-2.5): Good signal-to-noise ratio
Conservative (3.0-5.0): Only extreme divergences Default: 1.5 - best risk/reward balance
Path Memory (20-200 bars)
Short Memory (20-50): Recent behavior focus, quick adaptation
Medium Memory (50-100): Balanced historical context
Long Memory (100-200): Emphasizes established patterns Default: 50 - captures sufficient history without lag
Signal Spacing (5-50 bars)
Aggressive (5-10): Allows rapid-fire signals
Normal (15-25): Prevents clustering, maintains flow
Conservative (30-50): Major setups only Default: 15 - optimal trade frequency
Ensemble Configuration
Select markets for consensus analysis:
SPY: Broad market sentiment
QQQ: Technology leadership
IWM: Small-cap risk appetite
DIA: Blue-chip stability
More instruments = stronger consensus but potentially diluted signals
Visual Customization
Color Themes (6 professional options):
Quantum: Cyan/Pink - Modern trading aesthetic
Matrix: Green/Red - Classic terminal look
Heat: Blue/Red - Temperature metaphor
Neon: Cyan/Magenta - High contrast
Ocean: Turquoise/Coral - Calming palette
Sunset: Red-orange/Teal - Warm gradients
Display Controls:
- Toggle each visual component
- Adjust transparency levels
- Scale dashboard text
- Show/hide confidence scores
- Trading Strategies by Market State
- Ergodic State Strategy (Primary Color Bands)
Market Characteristics
- Price oscillates predictably
- Support/resistance hold
- Volume patterns repeat
- Mean reversion dominates
Optimal Approach
Entry: Fade moves at band extremes
Target: Middle band (equilibrium)
Stop: Just beyond outer bands
Size: Full confidence-based position
Recommended Tools
- RSI for oversold/overbought
- Bollinger Bands for extremes
- Volume profile for levels
- Non-Ergodic State Strategy (Danger Color Bands)
Market Characteristics
- Price trends persistently
- Levels break decisively
- Volume confirms direction
- Momentum accelerates
Optimal Approach
Entry: Breakout from bands
Target: Trail with expanding bands
Stop: Inside opposite band
Size: Scale in with trend
Recommended Tools
- Moving average alignment
- ADX for trend strength
- MACD for momentum
- Advanced Features Explained
Quantum Coherence Metric
Measures phase alignment between individual and ensemble behavior:
80-100%: Perfect sync - strong mean reversion setup
50-80%: Moderate alignment - mixed signals
0-50%: Decoherence - trending behavior likely
Path Dependency Analysis
Quantifies how much history influences current price:
Low (<30%): Technical patterns reliable
Medium (30-50%): Mixed influences
High (>50%): Fundamental shift occurring
Volatility Regime Classification
Contextualizes current volatility:
Normal: Standard strategies apply
Elevated: Widen stops, reduce size
Extreme: Defensive mode required
Signal Strength Indicator
Real-time opportunity quality:
- Distance from threshold
- Momentum acceleration
- Cross-validation factors
Risk Management Framework
Position Sizing by Confidence
90%+ confidence = 100% position size
70-90% confidence = 75% position size
50-70% confidence = 50% position size
<50% confidence = 25% or skip
Dynamic Stop Placement
Ergodic State: ATR × 1.0 from entry
Non-Ergodic State: ATR × 2.0 from entry
Volatility Adjustment: Multiply by current regime
Multi-Timeframe Alignment
- Check higher timeframe regime
- Confirm ensemble consensus
- Verify volume participation
- Align with major levels
What Makes EMD Unique
Original Contributions
First Ergodic Theory Trading Application: Transforms abstract physics into practical signals
Ensemble Market Analysis: Revolutionary multi-market divergence system
Adaptive Confidence Engine: Institutional-grade signal quality metrics
Quantum Coherence: Novel market alignment measurement
Smart Signal Management: Prevents clustering while maintaining responsiveness
Technical Innovations
Dynamic Threshold Adaptation: Self-adjusting sensitivity
Path Memory Integration: Historical dependency weighting
Stress-Adjusted Scoring: Market condition normalization
Real-Time Performance Tracking: Built-in strategy analytics
Optimization Guidelines
By Timeframe
Scalping (1-5 min)
Period: 10-15
Threshold: 0.5-1.0
Memory: 20-30
Spacing: 5-10
Day Trading (5-60 min)
Period: 20-30
Threshold: 1.5-2.5
Memory: 40-60
Spacing: 15-20
Swing Trading (1H-1D)
Period: 40-60
Threshold: 2.0-3.0
Memory: 80-120
Spacing: 25-35
Position Trading (1D-1W)
Period: 60-100
Threshold: 3.0-5.0
Memory: 100-200
Spacing: 40-50
By Market Condition
Trending Markets
- Increase threshold
- Extend memory
- Focus on breaks
Ranging Markets
- Decrease threshold
- Shorten memory
- Focus on restores
Volatile Markets
- Increase spacing
- Raise confidence requirement
- Reduce position size
- Integration with Other Analysis
- Complementary Indicators
For Ergodic States
- RSI divergences
- Bollinger Band squeezes
- Volume profile nodes
- Support/resistance levels
For Non-Ergodic States
- Moving average ribbons
- Trend strength indicators
- Momentum oscillators
- Breakout patterns
- Fundamental Alignment
- Check economic calendar
- Monitor sector rotation
- Consider market themes
- Evaluate risk sentiment
Troubleshooting Guide
Too Many Signals:
- Increase threshold
- Extend signal spacing
- Raise confidence minimum
Missing Opportunities
- Decrease threshold
- Reduce signal spacing
- Check ensemble settings
Poor Win Rate
- Verify timeframe alignment
- Confirm volume participation
- Review risk management
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results.
The ergodic framework provides unique market insights but cannot predict future price movements with certainty. Always use proper risk management, conduct your own analysis, and never risk more than you can afford to lose.
This tool should complement, not replace, comprehensive trading strategies and sound judgment. Markets remain inherently unpredictable despite advanced analysis techniques.
Transform market chaos into trading clarity with Ergodic Market Divergence.
Created with passion for the TradingView community
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
Mad Trading Scientist - Guppy MMA with Bollinger Bands📘 Indicator Name:
Guppy MMA with Bollinger Bands
🔍 What This Indicator Does:
This TradingView indicator combines Guppy Multiple Moving Averages (GMMA) with Bollinger Bands to help you identify trend direction and volatility zones, ideal for spotting pullback entries within trending markets.
🔵 1. Guppy Multiple Moving Averages (GMMA):
✅ Short-Term EMAs (Blue) — represent trader sentiment:
EMA 3, 5, 8, 10, 12, 15
✅ Long-Term EMAs (Red) — represent investor sentiment:
EMA 30, 35, 40, 45, 50, 60
Usage:
When blue (short) EMAs are above red (long) EMAs and spreading → Strong uptrend
When blue EMAs cross below red EMAs → Potential downtrend
⚫ 2. Bollinger Bands (Volatility Envelopes):
Length: 300 (captures the longer-term price range)
Basis: 300-period SMA
Upper & Lower Bands:
±1 Standard Deviation (light gray zone)
±2 Standard Deviations (dark gray zone)
Fill Zones:
Highlights standard deviation ranges
Emphasizes extreme vs. normal price moves
Usage:
Price touching ±2 SD bands signals potential exhaustion
Price reverting to the mean suggests pullback or re-entry opportunity
💡 Important Note: Use With Momentum Filter
✅ For superior accuracy, this indicator should be combined with your invite-only momentum filter on TradingView.
This filter helps confirm whether the trend has underlying strength or is losing momentum, increasing the probability of successful entries and exits.
🕒 Recommended Timeframe:
📆 1-Hour Chart (60m)
This setup is optimized for short- to medium-term swing trading, where Guppy structures and Bollinger reversion work best.
🔧 Practical Strategy Example:
Long Trade Setup:
Short EMAs are above long EMAs (strong uptrend)
Price pulls back to the lower 1 or 2 SD band
Momentum filter confirms bullish strength
Short Trade Setup:
Short EMAs are below long EMAs (strong downtrend)
Price rises to the upper 1 or 2 SD band
Momentum filter confirms bearish strength
VWAP Fibonacci S&R with Bell CurveThis indicator is a sophisticated trading tool that combines three powerful technical analysis concepts to identify high-probability trading opportunities. Let me break down how it works:
Core Components:
1. VWAP (Volume Weighted Average Price)
Calculates the average price weighted by volume over a specified period
Acts as a dynamic support/resistance level that institutions often use
Can reset daily, weekly, or monthly depending on your trading timeframe
The yellow line on your chart represents the current VWAP
2. Bell Curve Probability Analysis
Measures how far the current price deviates from the VWAP in statistical terms
Calculates a Z-score (standard deviations away from the mean)
Creates probability bands around the VWAP based on price volatility
The theory: extreme deviations from VWAP tend to revert back to the mean
3. Fibonacci Retracement Levels
Uses recent highs and lows to calculate key Fibonacci levels (38.2%, 50%, 61.8%)
These levels often act as support and resistance zones
Combined with VWAP analysis for confluence trading
How the Signals Work:
BUY Signals (Green arrows below candles)
Generated when either condition is met:
Mean Reversion Buy: Price is below VWAP + high probability of reversion + extreme statistical deviation
Fibonacci Support Buy: Price is above VWAP + near key Fibonacci support levels (38.2% or 50%)
SELL Signals (Red arrows above candles)
Generated when either condition is met:
Mean Reversion Sell: Price is above VWAP + high probability of reversion + extreme statistical deviation
Fibonacci Resistance Sell: Price is below VWAP + near key Fibonacci resistance levels (61.8% or 50%)
Visual Elements
Yellow Line: Main VWAP
Blue Bands: Probability zones based on standard deviation
Orange/White/Purple Lines: Key Fibonacci levels (38.2%, 50%, 61.8%)
Yellow Background: High probability mean reversion zones
⚠ Symbol: Extreme deviation warning (Z-score > 2.5)
The Information Table
Shows real-time statistics:
VWAP: Current VWAP value
Distance: How far price is from VWAP (percentage)
Z-Score: Statistical measure of deviation (>2 is significant)
Reversion %: Probability of mean reversion
Fib 50%: Key Fibonacci midpoint level
Status: Current signal state
Trading Logic
The indicator works on the principle that:
Extreme deviations from VWAP are unsustainable and tend to revert
Fibonacci levels provide natural support/resistance zones
Volume confirmation ensures the move has institutional backing
Statistical probability helps time entries when odds are favorable
Best Use Cases
Scalping: Quick mean reversion trades when price gets too far from VWAP
Swing Trading: Using Fibonacci levels with VWAP for longer-term positions
Risk Management: Avoiding trades when probability is low
Confluence Trading: Waiting for multiple signals to align
Multi-Timeframe MA Breakout/Breakdown Analysis📊 Overview
This sophisticated Pine Script indicator revolutionizes breakout/breakdown analysis by distinguishing between fake and genuine signals using a unique swing-level validation methodology. Unlike traditional moving average crossovers, this system validates price movements against historical swing points, providing traders with high-probability entry and exit signals across multiple timeframes.
🎯 Core Trading Methodology
The Swing Validation Concept:
Traditional MA breakouts often fail because they don't consider the context of previous price action. This indicator solves this by:
Recording swing levels when each MA is initially crossed
Validating subsequent crosses against these historical swing points
Classifying signals as fake or genuine based on this validation
Tracking signal evolution as price action develops
Signal Classification System:
🔻 Breakdown Analysis:
Fake Breakdown: Price cuts below MA but stays above the swing low from previous MA cut
Genuine Breakdown: Price cuts below MA and falls below the swing low from previous MA cut
Validation Chain: EMA 50 validates against EMA 20 swing low, EMA 100 against EMA 50 swing low, EMA 200 against EMA 100 swing low
🔺 Breakout Analysis:
Fake Breakout: Price crosses above MA but stays below the swing high from previous MA cross
Genuine Breakout: Price crosses above MA and exceeds the swing high from previous MA cross
Validation Chain: EMA 50 validates against EMA 20 swing high, EMA 100 against EMA 50 swing high, EMA 200 against EMA 100 swing high
📈 Signal Interpretation Guide
Visual Chart Signals:
Breakdown Signals:
🔻 Orange Triangle Down + "FAKE BREAKDOWN": Potential reversal opportunity - price likely to bounce
🔻 Red Triangle Down + "GENUINE BREAKDOWN": Trend continuation - expect further downside
🔺 Lime Triangle Up + "BULLISH REVERSAL": Strong buy signal after fake breakdown validation
Breakout Signals:
🔺 Orange Triangle Up + "FAKE BREAKOUT": Potential reversal opportunity - price likely to decline
🔺 Dark Red Triangle Up + "GENUINE BREAKOUT": Trend continuation - expect further upside
🔻 Fuchsia Triangle Down + "BEARISH REVERSAL": Strong sell signal after fake breakout validation
Multi-Timeframe Analysis Table:
Signal Column Interpretation:
"FAKE BD" (Orange): Fake breakdown detected - watch for bullish reversal
"GENUINE BD" (Red): Genuine breakdown - bearish continuation likely
"FAKE BO" (Orange): Fake breakout detected - watch for bearish reversal
"GENUINE BO" (Dark Red): Genuine breakout - bullish continuation likely
"BULLISH" (Lime): Bullish reversal confirmed - strong buy signal
"BEARISH" (Fuchsia): Bearish reversal confirmed - strong sell signal
Trend Column:
"BULL" (Green): EMAs in bullish sequence (20>50>100>200)
"BEAR" (Red): EMAs in bearish sequence (20<50<100<200)
"SIDE" (Gray): Sideways/mixed EMA alignment
Status Column:
"Above 200" (Green): Price above 200 EMA - bullish bias
"Below 200" (Red): Price below 200 EMA - bearish bias
"At 200" (Gray): Price at 200 EMA - neutral
💡 Trading Strategies
Strategy 1: Fake Signal Reversal Trading
For Long Entries (Fake Breakdown Reversal):
Wait for fake breakdown signal (orange triangle down)
Confirm bullish reversal (lime triangle up) when price reclaims EMAs
Enter long on bullish reversal confirmation
Stop loss below the swing low that validated the fake breakdown
Target next resistance level or previous swing high
For Short Entries (Fake Breakout Reversal):
Wait for fake breakout signal (orange triangle up)
Confirm bearish reversal (fuchsia triangle down) when price falls below EMAs
Enter short on bearish reversal confirmation
Stop loss above the swing high that validated the fake breakout
Target next support level or previous swing low
Strategy 2: Genuine Signal Trend Following
For Trend Continuation Longs:
Identify genuine breakout (dark red triangle up)
Confirm higher timeframe alignment (4H/1D showing bullish trend)
Enter on pullback to broken resistance (now support)
Stop loss below the validation swing high
Target measured move or next major resistance
For Trend Continuation Shorts:
Identify genuine breakdown (red triangle down)
Confirm higher timeframe alignment (4H/1D showing bearish trend)
Enter on pullback to broken support (now resistance)
Stop loss above the validation swing low
Target measured move or next major support
Strategy 3: Multi-Timeframe Confluence
High-Probability Setups:
Align signals across timeframes (15M signal + 4H trend confirmation)
Look for confluence (multiple timeframes showing same signal type)
Prioritize higher timeframe signals for swing/position trades
Use lower timeframes for precise entry timing
⚠️ Risk Management Rules
Position Sizing:
Fake signal trades: Reduce position size (higher risk, higher reward)
Genuine signal trades: Standard position size (trend following)
Multi-timeframe confluence: Increase position size (higher probability)
Stop Loss Guidelines:
Fake breakdown longs: Stop below validation swing low
Fake breakout shorts: Stop above validation swing high
Genuine signals: Stop beyond the MA that was broken
Reversals: Stop beyond the reversal invalidation level
Take Profit Strategies:
Scale out at key resistance/support levels
Trail stops using the 20 EMA for trend following
Take partial profits at 1:2 risk/reward ratio
Let winners run on strong trend continuation signals
🔧 Best Practices
Signal Validation:
Wait for candle close before acting on signals
Check volume confirmation on breakouts/breakdowns
Consider market context (news, earnings, etc.)
Avoid trading during low liquidity periods
Timeframe Selection:
Scalping: 15M signals with 4H trend filter
Day Trading: 4H signals with 1D trend filter
Swing Trading: 1D signals with 1W trend filter
Position Trading: 1W signals for major moves
Market Conditions:
Trending Markets: Focus on genuine signals for continuation
Range-Bound Markets: Focus on fake signals for reversals
High Volatility: Reduce position sizes and widen stops
Low Volatility: Look for breakout setups with volume
📋 Advanced Tips
Signal Evolution Monitoring:
Watch for signal transitions (fake becoming genuine or vice versa)
Adjust positions when signal classification changes
Use alerts to stay informed of signal updates
Monitor multiple timeframes for comprehensive analysis
Confluence Factors:
Support/Resistance levels at signal points
Volume spikes on genuine signals
RSI divergences with fake signals
Fibonacci retracements at reversal points
Common Pitfalls to Avoid:
Don't chase signals after significant moves
Don't ignore higher timeframe trends
Don't overtrade on every signal
Don't neglect risk management rules
🎯 Quick Reference
Bullish Signals Priority:
Bullish Reversal (Lime) - Highest priority
Fake Breakdown (Orange) - High probability reversal
Genuine Breakout (Dark Red) - Trend continuation
Bearish Signals Priority:
Bearish Reversal (Fuchsia) - Highest priority
Fake Breakout (Orange) - High probability reversal
Genuine Breakdown (Red) - Trend continuation
Multi-Timeframe Hierarchy:
1W: Major trend direction
1D: Intermediate trend and swing levels
4H: Short-term trend and entry timing
15M: Precise entry and exit points
⚡ Pro Tip: The most powerful signals occur when fake signals reverse into genuine signals in the opposite direction, creating high-momentum moves with excellent risk/reward ratios.
Disclaimer: This indicator is for educational purposes. Always combine with proper risk management, additional technical analysis, and fundamental research before making trading decisions. Past performance does not guarantee future results.
Volume Candle Color (Continuous)Volume-Based Candle Color Indicator (Continuous Gradient)
Overview
Transform your charts with this advanced volume visualization tool that colors candles based on relative volume intensity using a smooth, continuous gradient . Unlike traditional step-based volume indicators, this script provides nuanced color transitions that make volume anomalies instantly visible.
Key Features
Continuous Color Gradient
Smooth transitions - No more discrete color steps
High volume = Bright, opaque colors that demand attention
Low volume = Faded, transparent colors that blend into background
Real-time adaptation to market conditions
Full Customization Control
Volume Range Settings: Define min/max volume ratios for optimal sensitivity
Transparency Control: Adjust brightness levels from 0-95%
Custom Colors: Choose your preferred bullish/bearish base colors
Moving Average Period: Customize the volume comparison timeframe (default: 30)
Enhanced Visualization
Optional Info Panel: Real-time display of volume metrics
Volume Ratio Plot: Additional pane showing volume ratio trends
Clean Interface: Non-intrusive overlay that enhances price action
How It Works
The indicator calculates relative volume by comparing current volume to a Simple Moving Average (SMA) of volume over your chosen period. This ratio is then mapped to a continuous color scale:
Volume Ratio > 2.0: Maximum intensity (brightest colors)
Volume Ratio 1.0: Average volume (medium intensity)
Volume Ratio < 0.5: Below average (most transparent)
Bullish Candles (Close > Open): Green gradient
Bearish Candles (Close < Open): Red gradient
Trading Applications
Volume Spread Analysis (VSA)
Perfect companion for VSA traders who need to quickly identify:
Climactic volume at key support/resistance levels
No demand situations with low volume
Professional money accumulation/distribution patterns
Breakout Confirmation
High volume breakouts: Immediately visible with bright colors
False breakouts: Revealed by low volume (faded colors)
Volume divergences: Spotted instantly through color intensity changes
Market Structure Analysis
Support/Resistance tests: Volume validation through color brightness
Trend strength: Continuous color feedback on volume participation
Market phases: Easy identification of accumulation vs distribution
Why Choose This Indicator?
Advantages Over Traditional Volume Indicators:
Instant Visual Feedback: No need to look at separate volume bars
Continuous Scale: More precise than discrete level systems
Customizable Sensitivity: Adapt to any market or timeframe
Clean Charts: Maintains focus on price action while adding volume context
Universal Application: Works on all instruments and timeframes
Settings Guide
Essential Settings:
Volume MA Period (30): Longer periods = smoother baseline, shorter = more sensitive
Min Volume Ratio (0.2): Lower values = more sensitivity to low volume
Max Volume Ratio (3.0): Higher values = accommodate extreme volume spikes
Transparency Range (10-85%): Adjust visual contrast to your preference
Pro Tips:
Day Trading: Use 10-20 period MA for quick volume changes
Swing Trading: Use 30-50 period MA for broader volume context
Lower transparency range (0-70%) for subtle effects
Higher transparency range (20-90%) for dramatic contrasts
Best Practices
Combine with Price Action: Use volume colors to confirm price patterns
Multiple Timeframes: Apply on different timeframes for comprehensive analysis
Market Context: Adjust sensitivity based on market volatility periods
Backtesting: Test settings on historical data before live trading
Perfect For:
Volume Spread Analysis practitioners
Breakout traders seeking confirmation
Market structure analysts
Anyone wanting cleaner, more intuitive volume visualization
Technical Specifications
Pine Script v6 - Latest version compatibility
Overlay Indicator - Works directly on price charts
Minimal Performance Impact - Optimized calculations
All Market Types - Stocks, Forex, Crypto, Futures
Transform your volume analysis today! Experience the difference continuous color gradients make in identifying high-probability trading opportunities.
Like and follow for more innovative trading tools!
Tight Range Display with Background🌟 Tight Range Transparency Display with Background
What Is This Indicator?
Hey traders! Ever wanted a simple way to spot those quiet, low-volatility moments in the market that often signal a big move is coming? The Tight Range Transparency Display with Background does exactly that! This indicator highlights periods where the price is moving in a tight range—think of it as the calm before the storm. It paints the chart background blue to show these zones, with the shade getting darker the tighter the range becomes. It’s like having a visual cue to say, “Hey, something might be brewing here!”
Why You’ll Love It
Spot Key Moments Easily: The blue background makes it super easy to see when the market is in a tight range, which often happens before breakouts or big trends.
Customizable Settings: You can tweak the range thresholds to match your trading style—whether you’re looking for super tight zones or slightly broader ones.
Visual Clarity: The background gets darker when the range is tighter, giving you a quick sense of how compressed the price action is.
Perfect for Any Market: Works on stocks, forex, crypto, or any chart you trade, across any timeframe.
How to Use It
Add It to Your Chart:
Just copy this script into TradingView’s Pine Editor and hit "Add to Chart." It’ll overlay right on your price chart.
Tweak the Settings:
Open the indicator settings and use the dropdown menus to pick your preferred "Tight Range %" and "Wide Range %." For example, set a Tight Range % of 2.0% to catch smaller ranges, or go higher like 10.0% for broader ones.
You can also adjust the ATR Period (default is 5) to make the indicator more or less sensitive to recent price swings.
Watch for the Blue Background:
When the price enters a tight range, the chart background turns blue. The darker the blue, the tighter the range—meaning a potential breakout could be closer!
Trade Smarter:
Use these tight range zones to prepare for potential breakouts. For example, if you see a dark blue background, it might be a good time to watch for a big price move.
Pair this with other tools like support/resistance levels or volume spikes to confirm your trades.
Who Is This For?
Swing Traders: Perfect for spotting consolidation zones before a big swing.
Breakout Traders: Tight ranges often lead to breakouts—use this to time your entries.
Smart Money Followers: If you’re into smart money concepts, tight ranges can signal accumulation or distribution phases.
Beginners & Pros Alike: It’s easy to use for new traders but powerful enough for seasoned pros.
Real-World Example
Imagine you’re trading a stock on a 1-hour chart. You notice the background turns blue, and it’s getting darker over a few bars. This tells you the price range is tightening—maybe the stock is consolidating after a big move. You check your other indicators, see a volume spike, and spot a breakout above resistance. Boom! You catch the next big trend, all because this indicator helped you focus on the right moment.
Tips for Best Results
Try Different Timeframes: Tight ranges on a 15-minute chart might signal short-term moves, while a daily chart could highlight bigger trends.
Adjust for Your Market: For volatile markets like crypto, you might want a higher Tight Range % (e.g., 10.0%). For calmer markets like forex, try a lower setting (e.g., 2.0%).
Combine with Other Tools: Use this alongside trendlines, moving averages, or volume indicators to confirm your setups.
Why I Made This
I created this indicator because I wanted a simple, visual way to spot those critical low-volatility zones without cluttering my chart. The dynamic background color makes it intuitive to see when the market is “coiling up” for a potential move. I hope it helps you find better trading opportunities just like it does for me!
Let’s Connect
If you find this indicator helpful, I’d love to hear about it! Drop a comment or a rating to let me know how it’s working for you. Got ideas to make it even better? Feel free to message me on TradingView—I’m always open to suggestions.
Published On
Date: May 22, 2025
Happy trading, and may your charts always be in your favor! 🚀
How to Publish on TradingView
Open Pine Editor:
On TradingView, open a chart and go to the Pine Editor tab at the bottom.
Paste the Code:
Copy the script you provided and paste it into the Pine Editor.
Compile:
Click "Add to Chart" to ensure it compiles without errors.
Publish:
Click the "Publish Script" button (paper plane icon) in the Pine Editor.
Select "Publish New Script."
Add the Description:
Title: "Tight Range Transparency Display with Background"
Description: Copy the content above into the description field.
Visibility: Choose "Public" to share with everyone (or "Invite-Only" for restricted access).
Tags: Add tags like "tight range", "breakout", "smart money", "volatility", "swing trading".
Screenshot: Add a screenshot of the indicator on a chart, showing the blue background during a tight range.
Submit:
Click "Publish" to submit. TradingView will review it and make it live if it meets their guidelines.
Additional Notes
Screenshot Tip: Use a chart where the blue background is clearly visible (e.g., during a consolidation period) to make the indicator’s effect stand out.
Engage with Users: After publishing, respond to comments and feedback to build a positive reputation on TradingView.
This content is designed to be approachable and engaging, helping traders understand the value of your indicator and encouraging them to try it out.
0x278's Swing-Failure-Pattern (SFP)0x278's Swing-Failure-Pattern (SFP) ‑ Confirmed Short
Table of Contents
Introduction
Core Concept – What Is an SFP?
How the Indicator Works
Visual Elements & Their Meaning
Input Parameters Explained
Step-by-Step Trading Playbook
Example Workflow (Daily BTC-USDT)
Alerts & Automation
Tips, Tricks & Best Practices
FAQ
Advanced Configuration & Asset-Class Playbook
1. Introduction
The Swing-Failure-Pattern (SFP) – Confirmed Short indicator spots and tracks bearish SFPs on any market and timeframe, with defaults tuned for Daily charts.
A bearish SFP occurs when price sweeps a prior swing high (liquidity grab) and then decisively rejects lower , signalling a possible trend reversal or sharp pullback.
This script automatically:
Identifies the liquidity sweep & rejection (‐"SFP-SHORT" label)
Confirms directional intent via a structure-breaking close below the setup low
Paints a preferred sell-on-retest zone and tracks its validity
Identifies optimal entry opportunities when price retests the zone
Generates optional retest and entry alerts when trading conditions appear
Self-cleans after a configurable number of bars – keeping your chart tidy
Default Timeframe : Daily
Default Market : Crypto / FX majors
Works On : All symbols + timeframes – simply adjust parameters.
2. Core Concept – What Is an SFP?
Sweep (Liquidity Grab) – Price trades above a meaningful swing high, triggering stops & inducing breakout buyers.
Rejection – The same bar (or the next) closes back below the swept high, invalidating the breakout.
Structure Break – Bears confirm intent by closing below the "setup low" (the most recent pivot low before the sweep).
Retest – Price retraces to the sweep zone. Traders seek entries inside the upper half of that zone with invalidation just above the swing high.
The indicator encodes these four steps so you can spot high-quality bearish reversals without manual bar-by-bar analysis.
3. How the Indicator Works
Phase: Sweep & Rejection
Script Logic: high > lastSwingHigh and close < lastSwingHigh
Visual Cue: Red SFP-SHORT label above candle
Phase: Structure Break
Script Logic: Close < setupLow while pattern locked
Visual Cue: Zone (red line-box) plotted; SFP-SHORT label stays
Phase: Retest Tracking
Script Logic: Zone stays active for retestExpiry bars or until tapped
Visual Cue: Orange SFP-RETEST label when hit
Phase: Entry Signal
Script Logic: Price rejection within retest zone
Visual Cue: Green ENTRY label at optimal entry point
Phase: Expiry / Cleanup
Script Logic: Zone deleted after expiry
Visual Cue: Labels fade but remain visible for reference
All calculations reset after each completed/expired pattern ensuring fresh, uncluttered signals.
4. Visual Elements & Their Meaning
SFP-SHORT (red) – Bar that swept a prior high and closed below it.
Red Box / Line – Preferred sell zone between the swing high (upper bound) and dynamic lower bound (see sizing methods). Extends right until filled/expired.
SFP-RETEST (orange) – Bar that first tags the zone after confirmation.
ENTRY (green) – Appears when a high-probability entry signal occurs within the retest zone.
EXPIRED (gray) – Appears when the retest zone expires without being hit.
Visual Persistence – Labels fade but remain visible after expiry for reference and historical analysis.
5. Input Parameters Explained
Pivot Detection
Pivot left / right : Bars left/right of the pivot that must stay below/above it. Tip : Symmetrical values (3/3) work best for clean structure.
Retest Management
Retest expiry (bars) : Lifespan of a retest zone before it is considered stale. Default: 14 bars on Daily . Tip : Shorten for intraday, lengthen for swing trading.
Retest Zone Sizing
Sizing method : Select Static %, ATR-based or Hybrid logic for the lower boundary. Tip : Hybrid balances tight stops with realistic fills.
Static % : Fixed fraction of sweep range when Static/Hybrid is selected. Tip : Higher % deepens zone & widens stop.
ATR period : Look-back length for ATR when volatility sizing is used. Tip : Increase to smooth choppy markets.
ATR multiplier : Multiplier applied to ATR in ATR-based/Hybrid mode. Tip : Higher value widens zone during volatility.
Visual – Retest Zone
Show retest zone box : Toggles drawing of the semi-transparent sell zone box. Tip : Disable for ultra-clean look.
Retest box color : Fill colour of the box (alpha = transparency). Tip : Match your chart theme.
Max retest boxes : How many historical boxes remain visible (0 = unlimited). Tip : Lower to boost performance.
Only show active boxes : Automatically deletes a box once it's hit. Tip : Reduces clutter during back-testing.
Visual – General
Minimal mode : Hides most visuals apart from critical labels. Tip : Ideal for screenshots.
Show retest zone line : Draws a vertical line linking upper/lower boundaries. Tip : Acts as a quick depth guide.
Show ENTRY labels : Plots 'ENTRY' on optimal candles. Tip : Turn off for manual confirmation.
Labels
Label size : Overall size of all labels. Tip : tiny / small / normal.
Use simple label style : Switches to pixel text style for labels. Tip : Faster rendering on low-spec machines.
Advanced
minPct / maxPct (hard-coded) : Internal floor/cap for Hybrid logic. Tip : Exposed in code for power-users only.
Zone-Sizing Methods
Static – Lower bound = sweepRange × staticPct.
ATR-based – Lower bound = ATR × multiplier, normalised to the sweepRange.
Hybrid – Uses the greater of Static and ATR-based (capped by an internal safety ceiling).
6. Step-by-Step Trading Playbook
Identify Context – Prefer setups against extended moves into obvious highs (e.g., daily swing highs, prior week high, round numbers).
Wait for SFP Confirmation – The indicator will label an SFP-SHORT only after the candle closes. Do not front-run.
Structure-Break Close – A close below setupLow turns the zone live. This is your go signal – prepare sell orders.
Place Orders in the Zone
Entry : Limit order anywhere between retestLower and the swing high.
Stop : 1-2 ticks/pips above the swing high.
Risk Management
Size position so risk per trade ≤ account risk % (common: 0.5-1%).
If no retest before retestExpiry bars → cancel order .
Targets
Conservative: First liquidity pocket / FVG below.
Aggressive: 2-3× risk or next HTF support.
Trail or Partial – Consider trailing stop once 1R is achieved or partial profit at 1R.
7. Example Workflow (Daily BTC-USDT)
BTC trades to a fresh one-month high at $31 050 sweeping prior highs.
Candle closes at $30 420 – below the swept high – SFP-SHORT label appears.
Two days later, candle closes below setupLow at $29 880 – confirmation & zone plotted (upper = $31 050, lower ≈ $30 550).
Five days later price retests the zone hitting $30 750 – SFP-RETEST alert fires, trade filled.
Stop placed @ $31 120 (70$ risk). 1R target = $29 680 reached four days later.
8. Alerts & Automation
SFP Short confirmed
Fires When: Structure-break close below setupLow.
Suggested Action: Prepare/submit sell-limit order in the zone.
SFP Short retest
Fires When: Price enters the retest zone.
Suggested Action: Monitor for entry signals or prepare for manual entry.
SFP Short Entry Signal
Fires When: Optimal entry conditions detected within retest zone.
Suggested Action: Execute short trade with defined risk parameters.
Use TradingView's Webhook URL to forward alerts to a trade-execution bot (e.g., PineConnector) for automated order placement.
9. Tips, Tricks & Best Practices
Combine with HTF Bias – Only take bearish SFPs in bearish weekly trend.
Watch Volume – High volume on the sweep bar adds conviction.
Time Window – SFPs during NY session FX / US session crypto tend to be stronger.
Cluster Zones – Multiple overlapping SFP zones increase probability; treat the cluster as one larger supply.
Avoid News – Skip SFPs forming minutes before high-impact macro news.
10. FAQ
Q: Can I use this on lower timeframes?
A: Yes – reduce retestExpiry (e.g., 15 bars on 15-minute) and test ATR-based sizing.
Q: Does it work for longs?
A: This script focuses on bearish SFPs. Clone & invert conditions for longs.
Q: Why did a zone disappear?
A: Either it expired (retestExpiry) without a retest or the cleanup routine removed old visuals to stay within Pine limits (500 objects per type).
Q: What's the difference between the "SFP-RETEST" and "ENTRY" signals?
A: "SFP-RETEST" indicates price has entered the zone, while "ENTRY" signals an optimal entry opportunity based on price rejection within the zone.
Q: How do I customize the label appearance?
A: Use the "Label size" and "Use simple label style" settings to adjust all labels to your preferred visual style.
Happy trading & trade safe!
11. Advanced Configuration & Asset-Class Playbook
Why does the retest box feel "too high" and how do I actually get filled? Use the quick tweaks below or the power-user code snippet to shape the zone to your personality and instrument.
11.1 Why the default box is shallow
The Static 25 % / ATR-Hybrid logic keeps stops small. Around 50 % of Daily BTC SFPs never look back – that's the cost of tight risk. If you need higher fill-rates, deepen the zone (11.2).
11.2 Three slider moves – no coding required
Retest zone sizing method – switch Static → Hybrid or ATR-based
Static % – raise from 0.25 → 0.45-0.60
ATR multiplier – raise from 1.0 → 1.5-2.0
Each turn pulls the lower edge of the box deeper while keeping the invalidation at the swing high.
11.3 One-liner for coders
To allow >60 % of the sweep range edit the source:
Old code:
minPct = 0.05
maxPct = 0.60
New code:
minPct = 0.05
maxPct = input.float(0.60, "Max retest % of sweep", step = 0.05, minval = 0.10, maxval = 0.95)
Then dial the cap up to ~0.80-0.90 from the settings panel.
11.4 If price never comes back…
No-retest partial – take 25-40 % size on the confirmation candle, stop above the high.
Lower-TF confirmation – drop to 4 h / 1 h and hunt an internal SFP or bearish FVG inside the sweep.
ATR trail – if price dumps immediately, trail the stop above each new lower-high.
11.5 Asset-Class Cheat-Sheet
Crypto – Daily : Static %: 0.20-0.35, ATR mult: 1.0, Retest Expiry: 12-20 . Notes : High volatility; sweeps expand fast.
FX Majors – 4 h/D : Static %: 0.25-0.40, ATR mult: 1.2, Retest Expiry: 15-25 . Notes : ATR handles session compression.
Index Futures – 1 h : Static %: 0.30-0.50, ATR mult: 1.5, Retest Expiry: 10-20 . Notes : Hybrid recommended; gaps tighten sweeps.
US Equities – 30 m : Static %: 0.35-0.55, ATR mult: 1.5-2.0, Retest Expiry: 10-14 . Notes : Consider no-retest entry on earnings spikes.
Always forward-test on your own symbol & timeframe ✔️
AxisAxis Indicator: Dynamic Trend Lines & Support/Resistance with Trading Mode Presets
Overview
The Axis indicator is a powerful, all-in-one tool for traders, designed to identify key trend lines and support/resistance (S&R) levels across various trading strategies. With 11 predefined trading modes—Scalping, Day Trading, Swing Trading, Long-Term, Position Trading, Breakout Trading, Mean Reversion, Trend Following, Range Trading, Volatility Trading, and Counter-Trend Trading—Axis adapts to your trading style by automatically adjusting parameters like volume Moving Average (MA) periods, fractal lookbacks, and alert proximity. Built-in timeframe validation ensures you’re using the optimal chart timeframe for your selected mode, with a warning label displayed if the timeframe is unsuitable. Whether you’re a scalper chasing quick moves or a position trader eyeing long-term trends, Axis provides precise, volume-filtered signals to enhance your trading decisions.
How It Works
Axis plots two sets of trend lines (A and B) and two sets of S&R levels (A and B) on your chart, each tailored to the selected trading mode:
Trend Lines (A & B): Identifies uptrend and downtrend lines using pivot highs/lows with mode-specific lookback periods. Lines are drawn only when volume exceeds the mode’s volume MA, ensuring high-probability signals.
Support/Resistance (A & B): Plots horizontal S&R levels based on pivot highs/lows, filtered by volume to highlight significant price levels.
Volume MA: Uses a mode-specific MA type (SMA, EMA, WMA, HMA, or VWMA) to validate pivots. MA periods are scaled by timeframe (e.g., 1m, 1h, Daily) and capped at 5,000 candles to prevent errors.
Timeframe Validation: Checks if the chart’s timeframe matches the mode’s recommended range (e.g., 5m–1h for Volatility Trading). If not, a yellow warning label appears (e.g., “Timeframe may not suit Scalping”).
Alerts: Triggers alerts for new trend lines, S&R levels, and price crosses, allowing real-time trade monitoring.
Trading Modes & Recommended Timeframes
Each mode is preconfigured with optimized settings for specific strategies and timeframes:
Scalping (1m–15m): Fast signals with short lookbacks (1–3 bars) and tight alerts (0.2%) for intraday scalps.
Day Trading (15m–1h): Intraday focus with moderate lookbacks (2–4 bars) and 0.3% alert proximity.
Swing Trading (1h–4h): Multi-day/week trades with balanced settings (2–5 bars, 0.5% alerts).
Long-Term (Daily–Weekly): Major trends with longer lookbacks (3–7 bars, 1.0% alerts).
Position Trading (Weekly–Monthly): Long-term moves with robust settings (4–20 bars, 1.5% alerts).
Breakout Trading (30m–4h): Detects breakouts with sensitive settings (1–4 bars, 0.25% alerts).
Mean Reversion (1h–Daily): Targets reversals with moderate settings (3–8 bars, 0.7% alerts).
Trend Following (4h–Weekly): Captures trends with longer lookbacks (4–18 bars, 1.2% alerts).
Range Trading (1h–4h): Optimized for consolidation with balanced settings (2–6 bars, 0.4% alerts).
Volatility Trading (5m–1h): High-volatility markets with ultra-sensitive settings (1–2 bars, 0.15% alerts).
Counter-Trend Trading (4h–Daily): Contrarian reversals with robust settings (3–9 bars, 0.9% alerts).
Key Features
11 Trading Modes: Preconfigured settings for diverse strategies, eliminating manual tuning.
Dynamic Volume MA: Supports SMA, EMA, WMA, HMA, and VWMA, scaled by timeframe for accuracy.
Timeframe Validation: Warns if the chart timeframe doesn’t suit the mode, preventing suboptimal setups.
Customizable Visuals: Adjust line widths and colors for trend lines and S&R levels.
Comprehensive Alerts: Alerts for new trend lines, S&R levels, and price crosses, integrable with TradingView’s alert system.
Performance Optimized: MA periods capped at 5,000 candles to avoid errors and ensure smooth operation.
How to Use
Add to Chart: Apply the Axis indicator to your TradingView chart.
Select Trading Mode: Choose a mode from the “Trading Mode” dropdown in the indicator settings (e.g., Volatility Trading for crypto on 5m).
Check Timeframe: Ensure your chart’s timeframe matches the mode’s recommended range (e.g., 5m–1h for Volatility Trading). A yellow warning label appears if the timeframe is unsuitable.
Customize Visuals: Adjust line widths and colors for trend lines (A & B) and S&R (A & B) in the settings.
Set Alerts: Create alerts for new trend lines, S&R levels, or price crosses via TradingView’s alert menu.
Trade Signals:
Trend Lines: Use uptrend/downtrend lines for trend confirmation or breakout setups.
S&R Levels: Trade bounces or breaks at support/resistance, confirmed by volume.
Alerts: Act on price cross alerts for entries/exits based on your strategy.
Tips for Best Results
Match Timeframe to Mode: Stick to recommended timeframes (e.g., 1h–4h for Swing Trading) to maximize signal accuracy. Heed warning labels for timeframe mismatches.
Test Across Assets: Volatility Trading shines in crypto during news events, while Range Trading suits forex/stocks in consolidation.
Backtest Strategies: Convert Axis to a strategy (e.g., enter on S&R cross, exit after X bars) to validate performance.
Optimize for Performance: If lag occurs on low timeframes, reduce the MA cap to 2,500 (edit math.min(..., 2500) in the code).
Combine with Other Tools: Pair Axis with indicators like RSI or MACD for confluence.
Why Choose Axis?
Axis simplifies technical analysis by offering a single indicator that adapts to your trading style. Its mode-based presets, volume-filtered signals, and timeframe validation make it ideal for traders of all levels, from scalpers to long-term investors. Whether you’re trading crypto, forex, or stocks, Axis delivers actionable insights with minimal setup.
Feedback & Support
If you have questions, suggestions, or need help customizing Axis, feel free to comment or contact me via TradingView. Your feedback helps improve the indicator for the community!
Value Scanner | QuantEdgeB📡 Value Scanner | QuantEdgeB
🔍 What is the Value Scanner?
The Value Scanner by QuantEdgeB is a volatility-adaptive valuation framework that dynamically evaluates where price sits relative to a custom “Fair Value” zone. It combines your choice of moving average engine (SMA, WMA, VIDYA, etc.) with multi-layered standard deviation or ATR-based bands to highlight extreme conditions, reversal zones, and statistical overextensions in real time.
💡 Think of Value Scanner as a radar grid, continuously scanning market terrain and painting a full spectrum from balance to extreme disequilibrium.
⚙️ Core Components
✅ Customizable Moving Average Core
At the heart of the scanner lies a flexible moving average engine:
• Choose from 12+ advanced types: 𝓦𝓜𝓐, 𝓥𝓦𝓜𝓐, 𝓥𝓘𝓓𝓨𝓐, 𝓢𝓜𝓜𝓐, 𝓐𝓛𝓜𝓐, 𝓛𝓢𝓜𝓐, and more.
• Fair Value is derived from this base and acts as the center of the statistical zones.
✅ Volatility-Driven Band Construction
Two volatility methods power the adaptive zones:
• Average True Range (ATR): Ideal for reactive, price-based spreads.
• Standard Deviation (SD): Better for modeling reversion and deviation symmetry.
The scanner builds up to ±5σ zones, dynamically updating in real time.
🎯 Signal and Zone Identification
🧭 Deviation Labels
The system assigns a statistical label at every candle:
• From +0.5σ to +5σ for increasing levels of overextension upward.
• From -0.5σ to -5σ for oversold and undervalued conditions.
🌐 Market Stage Detection
Each deviation zone is translated into an intuitive market phrase such as:
• “𝓔𝔁𝓽𝓻𝓮𝓶𝓮𝓵𝔂 𝓞𝓿𝓮𝓻𝓫𝓸𝓾𝓰𝓱𝓽”
• “𝓜𝓲𝓭 𝓥𝓪𝓵𝓾𝓮 / 𝓑𝓪𝓵𝓪𝓷𝓬𝓮𝓭”
• “𝓜𝓪𝔁𝓲𝓶𝓾𝓶 𝓔𝔁𝓽𝓮𝓷𝓼𝓲𝓸𝓷 𝓓𝓸𝔀𝓷”
These phrases help you intuitively gauge risk, reward, and imbalance without needing to study a chart for long.
🔺 Signal Mechanics
📌 Reversal Signals (Optional)
• Automatic buy signals when price crosses above key lower deviation levels.
• Sell signals when price crosses below upper deviation bands.
• Ideal for mean-reversion setups or high-probability reversal plays.
🖼️ Visual Overlay Engine
• Beautifully shaded volatility bands with decreasing opacity as they move away from fair value.
• Background coloring highlights extreme price zones for fast visual alerts.
• Built-in "table display" summarizing the current base, volatility method, direction, fair value, and deviation stage.
📊 Table Overlay Features
The live diagnostic table (position adjustable) displays:
• 📈 Current Base MA Type
• 🌡️ Volatility Method in use (ATR or SD)
• 🧭 Trend direction (rising/falling/neutral)
• 🧮 Current Deviation Label (+2σ, -3σ, etc.)
• 🚦 Interpretive Stage Phrase ("Strongly Overbought", etc.)
• 📍 Real-Time Fair Value
• 🚨 Upper & Lower Extremes
🧠 Why Use the Value Scanner?
This tool is designed for traders who want to:
• Identify price extremes relative to statistical norms.
• Time entries and exits based on price's relationship to value zones.
• Visualize volatility structure without clutter.
• Combine trend-following or mean-reversion logic with elegant overlays and table analytics.
💼 Ideal Use Cases
• Swing trading: Spot overextensions or returns to mean.
• Options traders: Gauge volatility compression or expansion.
• Reversion systems: Generate contrarian signals at edge zones.
• Trend continuation: Use +1σ or -1σ as breakout validation levels.
🧬 Default Settings
• Base Type: 𝓦𝓜𝓐
• Length: 21
• Volatility Type: 𝓐𝓿𝓰. 𝓣𝓻𝓾𝓮 𝓡𝓪𝓷𝓰𝓮
•. Volatility Lengths: ATR 14 / Stdev 30
🧬 In Summary
Value Scanner | QuantEdgeB is not just a volatility band indicator — it’s a contextual market scanner that combines price equilibrium theory with precision deviation mapping. It adds statistical insight, color-coded extremes, and narrative stage identification — all in real time.
Whether you’re trend-following or fading extremes, this system helps you locate value, measure dislocation, and trade with mathematical confidence.
📌 Trade with Statistical Precision | Powered by QuantEdgeB
🔹 Disclaimer: Past performance is not indicative of future results.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Power Block Consolidation with Volume @MaxMaserati 2.0Power Block Consolidation with Volume @MaxMaserati 2.0
Overview
Price action hinges on consolidation, the foundation of market moves. The "Power Block Consolidation with Volume @MaxMaserati 2.0" (MMPB) indicator uses a proprietary, ingenious system to identify high-probability consolidation zones—termed "power blocks"—where smart money drives accumulation or distribution. By leveraging a unique limitorphe closing candle system, to plots volume to signal price direction: significant volume at the high price indicates bullish continuation, while volume at the low price suggests bearish momentum. This tool empowers traders to exploit bullish and bearish trends with precision.
Key Features
Consolidation Detection: Pinpoints power blocks using a secret system, marking zones of smart money activity.
Volume Analysis: A proprietary limitrophe closing candle system splits volume into buying (high price) and selling (low price), revealing accumulation (buying pressure) or distribution (selling pressure).
Trend Visualization:
Bullish Trends: Green boxes and lines highlight consolidation zones with high volume at the high price, signaling upward continuation.
Bearish Trends: Red boxes and lines mark zones with high volume at the low price, indicating downward momentum.
NB: The volume matter more than the color of the box.
Example
High volume up at the box vs low volume at the low we expect an up move
Even we had a bearish Body close below the box price reconfirmed the up move
Price make the bullish upside move
Price retest the box and reject it strongly
Breakout and Retest: Captures breakouts from power blocks, with price often retesting the zone before resuming the trend.
Volume Labels: Displays buying (green) and selling (red) volume on lines for clear pressure analysis.
Breakout Alerts: Triggers alerts for bullish ("BuBC") and bearish ("BeBC") breakouts, with optional visual markers (triangles).
Strategy
MMPB is designed to capture smart money behavior in consolidation zones, where markets prepare for significant moves. Key principles:
Volume-Driven Direction: High volume at the high price within a power block signals strong bullish continuation; high volume at the low price indicates bearish potential.
Accumulation/Distribution: Buying volume reflects accumulation, priming bullish trends; selling volume signals distribution, fueling bearish trends.
Breakout and Retest: Price often breaks out from power blocks and retests the zone, offering low-risk entry points.
Consolidation as Precursor: Markets require consolidation to build momentum, making power blocks critical for trend prediction.
Traders can:
Enter on breakouts with strong volume confirmation.
Target retests of power blocks for high-probability setups.
Use volume labels to assess trend strength.
Use Cases
Trend Trading: Ride bullish or bearish trends post-breakout from high-volume power blocks.
Swing Trading: Use power blocks as dynamic support/resistance for entries and exits.
Smart Money Analysis: Identify accumulation (bullish) or distribution (bearish) zones.
Risk Management: Place stops at power block edges during retests.
Conclusion
The MMPB indicator, powered by a proprietary system, transforms consolidation analysis by identifying power blocks where smart money operates. Its limitrophe closing candle system highlights volume-driven trends, enabling traders to capitalize on bullish and bearish moves with confidence. Ideal for trend and swing traders, MMPB shines in markets where consolidation precedes significant trends, offering clear signals for breakouts and retests.
Enhanced Volume Trend Indicator with BB SqueezeEnhanced Volume Trend Indicator with BB Squeeze: Comprehensive Explanation
The visualization system allows traders to quickly scan multiple securities to identify high-probability setups without detailed analysis of each chart. The progression from squeeze to breakout, supported by volume trend confirmation, offers a systematic approach to identifying trading opportunities.
The script combines multiple technical analysis approaches into a comprehensive dashboard that helps traders make informed decisions by identifying high-probability setups while filtering out noise through its sophisticated confirmation requirements. It combines multiple technical analysis approaches into an integrated visual system that helps traders identify potential trading opportunities while filtering out false signals.
Core Features
1. Volume Analysis Dashboard
The indicator displays various volume-related metrics in customizable tables:
AVOL (After Hours + Pre-Market Volume): Shows extended hours volume as a percentage of the 21-day average volume with color coding for buying/selling pressure. Green indicates buying pressure and red indicates selling pressure.
Volume Metrics: Includes regular volume (VOL), dollar volume ($VOL), relative volume compared to 21-day average (RVOL), and relative volume compared to 90-day average (RVOL90D).
Pre-Market Data: Optional display of pre-market volume (PVOL), pre-market dollar volume (P$VOL), pre-market relative volume (PRVOL), and pre-market price change percentage (PCHG%).
2. Enhanced Volume Trend (VTR) Analysis
The Volume Trend indicator uses adaptive analysis to evaluate buying and selling pressure, combining multiple factors:
MACD (Moving Average Convergence Divergence) components
Volume-to-SMA (Simple Moving Average) ratio
Price direction and market conditions
Volume change rates and momentum
EMA (Exponential Moving Average) alignment and crossovers
Volatility filtering
VTR Visual Indicators
The VTR score ranges from 0-100, with values above 50 indicating bullish conditions and below 50 indicating bearish conditions. This is visually represented by colored circles:
"●" (Filled Circle):
Green: Strong bullish trend (VTR ≥ 80)
Red: Strong bearish trend (VTR ≤ 20)
"◯" (Hollow Circle):
Green: Moderate bullish trend (VTR 65-79)
Red: Moderate bearish trend (VTR 21-35)
"·" (Small Dot):
Green: Weak bullish trend (VTR 55-64)
Red: Weak bearish trend (VTR 36-45)
"○" (Medium Hollow Circle): Neutral conditions (VTR 46-54), shown in gray
In "Both" display mode, the VTR shows both the numerical score (0-100) alongside the appropriate circle symbol.
Enhanced VTR Settings
The Enhanced Volume Trend component offers several advanced customization options:
Adaptive Volume Analysis (volTrendAdaptive):
When enabled, dynamically adjusts volume thresholds based on recent market volatility
Higher volatility periods require proportionally higher volume to generate significant signals
Helps prevent false signals during highly volatile markets
Keep enabled for most trading conditions, especially in volatile markets
Speed of Change Weight (volTrendSpeedWeight, range 0-1):
Controls emphasis on volume acceleration/deceleration rather than absolute levels
Higher values (0.7-1.0): More responsive to new volume trends, better for momentum trading
Lower values (0.2-0.5): Less responsive, better for trend following
Helps identify early volume trends before they fully develop
Momentum Period (volTrendMomentumPeriod, range 2-10):
Defines lookback period for volume change rate calculations
Lower values (2-3): More responsive to recent changes, better for short timeframes
Higher values (7-10): Smoother, better for daily/weekly charts
Directly affects how quickly the indicator responds to new volume patterns
Volatility Filter (volTrendVolatilityFilter):
Adjusts significance of volume by factoring in current price volatility
High volume during high volatility receives less weight
High volume during low volatility receives more weight
Helps distinguish between genuine volume-driven moves and volatility-driven moves
EMA Alignment Weight (volTrendEmaWeight, range 0-1):
Controls importance of EMA alignments in final VTR calculation
Analyzes multiple EMA relationships (5, 10, 21 period)
Higher values (0.7-1.0): Greater emphasis on trend structure
Lower values (0.2-0.5): More focus on pure volume patterns
Display Mode (volTrendDisplayMode):
"Value": Shows only numerical score (0-100)
"Strength": Shows only symbolic representation
"Both": Shows numerical score and symbol together
3. Bollinger Band Squeeze Detection (SQZ)
The BB Squeeze indicator identifies periods of low volatility when Bollinger Bands contract inside Keltner Channels, often preceding significant price movements.
SQZ Visual Indicators
"●" (Filled Circle): Strong squeeze - high probability setup for an impending breakout
Green: Strong squeeze with bullish bias (likely upward breakout)
Red: Strong squeeze with bearish bias (likely downward breakout)
Orange: Strong squeeze with unclear direction
"◯" (Hollow Circle): Moderate squeeze - medium probability setup
Green: With bullish EMA alignment
Red: With bearish EMA alignment
Orange: Without clear directional bias
"-" (Dash): Gray dash indicates no squeeze condition (normal volatility)
The script identifies squeeze conditions through multiple methods:
Bollinger Bands contracting inside Keltner Channels
BB width falling to bottom 20% of recent range (BB width percentile)
Very narrow Keltner Channel (less than 5% of basis price)
Tracking squeeze duration in consecutive bars
Different squeeze strengths are detected:
Strong Squeeze: BB inside KC with tight BB width and narrow KC
Moderate Squeeze: BB inside KC with either tight BB width or narrow KC
No Squeeze: Normal market conditions
4. Breakout Detection System
The script includes two breakout indicators working in sequence:
4.1 Pre-Breakout (PBK) Indicator
Detects potential upcoming breakouts by analyzing multiple factors:
Squeeze conditions lasting 2-3 bars or more
Significant price ranges
Strong volume confirmation
EMA/MACD crossovers
Consistent price direction
PBK Visual Indicators
"●" (Filled Circle): Detected pre-breakout condition
Green: Likely upward breakout (bullish)
Red: Likely downward breakout (bearish)
Orange: Direction not yet clear, but breakout likely
"-" (Dash): Gray dash indicates no pre-breakout condition
The PBK uses sophisticated conditions to reduce false signals including minimum squeeze length, significant price movement, and technical confirmations.
4.2 Breakout (BK) Indicator
Confirms actual breakouts in progress by identifying:
End of squeeze or strong expansion of Bollinger Bands
Volume expansion
Price moving outside Bollinger Bands
EMA crossovers with volume confirmation
MACD crossovers with significant price range
BK Visual Indicators
"●" (Filled Circle): Confirmed breakout in progress
Green: Upward breakout (bullish)
Red: Downward breakout (bearish)
Orange: Unusual breakout pattern without clear direction
"◆" (Diamond): Special breakout conditions (meets some but not all criteria)
"-" (Dash): Gray dash indicates no breakout detected
The BK indicator uses advanced filters for confirmation:
Requires consecutive breakout signals to reduce false positives
Strong volume confirmation requirements (40% above average)
Significant price movement thresholds
Consistency checks between price action and indicators
5. Market Metrics and Analysis
Price Change Percentage (CHG%)
Displays the current percentage change relative to the previous day's close, color-coded green for positive changes and red for negative changes.
Average Daily Range (ADR%)
Calculates the average daily percentage range over a specified period (default 20 days), helping traders gauge volatility and set appropriate price targets.
Average True Range (ATR)
Shows the Average True Range value, a volatility indicator developed by J. Welles Wilder that measures market volatility by decomposing the entire range of an asset price for that period.
Relative Strength Index (RSI)
Displays the standard 14-period RSI, a momentum oscillator that measures the speed and change of price movements on a scale from 0 to 100.
6. External Market Indicators
QQQ Change
Shows the percentage change in the Invesco QQQ Trust (tracking the Nasdaq-100 Index), useful for understanding broader tech market trends.
UVIX Change
Displays the percentage change in UVIX, a volatility index, providing insight into market fear and potential hedging activity.
BTC-USD
Shows the current Bitcoin price from Coinbase, useful for traders monitoring crypto correlation with equities.
Market Breadth (BRD)
Calculates the percentage difference between ATHI.US and ATLO.US (high vs. low securities), indicating overall market direction and strength.
7. Session Analysis and Volume Direction
Session Detection
The script accurately identifies different market sessions:
Pre-market: 4:00 AM to 9:30 AM
Regular market: 9:30 AM to 4:00 PM
After-hours: 4:00 PM to 8:00 PM
Closed: Outside trading hours
This detection works on any timeframe through careful calculation of current time in seconds.
Buy/Sell Volume Direction
The script analyzes buying and selling pressure by:
Counting up volume when close > open
Counting down volume when close < open
Tracking accumulated volume within the day
Calculating intraday pressure (up volume minus down volume)
Enhanced AVOL Calculation
The improved AVOL calculation works in all timeframes by:
Estimating typical pre-market and after-hours volume percentages
Combining yesterday's after-hours with today's pre-market volume
Calculating this as a percentage of the 21-day average volume
Determining buying/selling pressure by analyzing after-hours and pre-market price changes
Color-coding results: green for buying pressure, red for selling pressure
This calculation is particularly valuable because it works consistently across any timeframe.
Customization Options
Display Settings
The dashboard has two customizable tables: Volume Table and Metrics Table, with positions selectable as bottom_left or bottom_right.
All metrics can be individually toggled on/off:
Pre-market data (PVOL, P$VOL, PRVOL, PCHG%)
Volume data (AVOL, RVOL Day, RVOL 90D, Volume, SEED_YASHALGO_NSE_BREADTH:VOLUME )
Price metrics (ADR%, ATR, RSI, Price Change%)
Market indicators (QQQ, UVIX, Breadth, BTC-USD)
Analysis indicators (Volume Trend, BB Squeeze, Pre-Breakout, Breakout)
These toggle options allow traders to customize the dashboard to show only the metrics they find most valuable for their trading style.
Table and Text Customization
The dashboard's appearance can be customized:
Table background color via tableBgColor
Text color (White or Black) via textColorOption
The indicator uses smart formatting for volume and price values, automatically adding appropriate suffixes (K, M, B) for readability.
MACD Configuration for VTR
The Volume Trend calculation incorporates MACD with customizable parameters:
Fast Length: Controls the period for the fast EMA (default 3)
Slow Length: Controls the period for the slow EMA (default 9)
Signal Length: Controls the period for the signal line EMA (default 5)
MACD Weight: Controls how much influence MACD has on the volume trend score (default 0.3)
These settings allow traders to fine-tune how momentum is factored into the volume trend analysis.
Bollinger Bands and Keltner Channel Settings
The Bollinger Bands and Keltner Channels used for squeeze detection have preset (hidden) parameters:
BB Length: 20 periods
BB Multiplier: 2.0 standard deviations
Keltner Length: 20 periods
Keltner Multiplier: 1.5 ATR
These settings follow standard practice for squeeze detection while maintaining simplicity in the user interface.
Practical Trading Applications
Complete Trading Strategies
1. Squeeze Breakout Strategy
This strategy combines multiple components of the indicator:
Wait for a strong squeeze (SQZ showing ●)
Look for pre-breakout confirmation (PBK showing ● in green or red)
Enter when breakout is confirmed (BK showing ● in same direction)
Use VTR to confirm volume supports the move (VTR ≥ 65 for bullish or ≤ 35 for bearish)
Set profit targets based on ADR (Average Daily Range)
Exit when VTR begins to weaken or changes direction
2. Volume Divergence Strategy
This strategy focuses on the volume trend relative to price:
Identify when price makes a new high but VTR fails to confirm (divergence)
Look for VTR to show weakening trend (● changing to ◯ or ·)
Prepare for potential reversal when SQZ begins to form
Enter counter-trend position when PBK confirms reversal direction
Use external indicators (QQQ, BTC, Breadth) to confirm broader market support
3. Pre-Market Edge Strategy
This strategy leverages pre-market data:
Monitor AVOL for unusual pre-market activity (significantly above 100%)
Check pre-market price change direction (PCHG%)
Enter position at market open if VTR confirms direction
Use SQZ to determine if volatility is likely to expand
Exit based on RVOL declining or price reaching +/- ADR for the day
Market Context Integration
The indicator provides valuable context for trading decisions:
QQQ change shows tech market direction
BTC price shows crypto market correlation
UVIX change indicates volatility expectations
Breadth measurement shows market internals
This context helps traders avoid fighting the broader market and align trades with overall market direction.
Timeframe Optimization
The indicator is designed to work across different timeframes:
For day trading: Focus on AVOL, VTR, PBK/BK, and use shorter momentum periods
For swing trading: Focus on SQZ duration, VTR strength, and broader market indicators
For position trading: Focus on larger VTR trends and use EMA alignment weight
Advanced Analytical Components
Enhanced Volume Trend Score Calculation
The VTR score calculation is sophisticated, with the base score starting at 50 and adjusting for:
Price direction (up/down)
Volume relative to average (high/normal/low)
Volume acceleration/deceleration
Market conditions (bull/bear)
Additional factors are then applied, including:
MACD influence weighted by strength and direction
Volume change rate influence (speed)
Price/volume divergence effects
EMA alignment scores
Volatility adjustments
Breakout strength factors
Price action confirmations
The final score is clamped between 0-100, with values above 50 indicating bullish conditions and below 50 indicating bearish conditions.
Anti-False Signal Filters
The indicator employs multiple techniques to reduce false signals:
Requiring significant price range (minimum percentage movement)
Demanding strong volume confirmation (significantly above average)
Checking for consistent direction across multiple indicators
Requiring prior bar consistency (consecutive bars moving in same direction)
Counting consecutive signals to filter out noise
These filters help eliminate noise and focus on high-probability setups.
MACD Enhancement and Integration
The indicator enhances standard MACD analysis:
Calculating MACD relative strength compared to recent history
Normalizing MACD slope relative to volatility
Detecting MACD acceleration for stronger signals
Integrating MACD crossovers with other confirmation factors
EMA Analysis System
The indicator uses a comprehensive EMA analysis system:
Calculating multiple EMAs (5, 10, 21 periods)
Detecting golden cross (10 EMA crosses above 21 EMA)
Detecting death cross (10 EMA crosses below 21 EMA)
Assessing price position relative to EMAs
Measuring EMA separation percentage
Recent Enhancements and Evolution
Version 5.2 includes several improvements:
Enhanced AVOL to show buying/selling direction through color coding
Improved VTR with adaptive analysis based on market conditions
AVOL display now works in all timeframes through sophisticated estimation
Removed animal symbols and streamlined code with bright colors for better visibility
Improved anti-false signal filters throughout the system
Optimizing Indicator Settings
For Different Market Types
Range-Bound Markets:
Lower EMA Alignment Weight (0.2-0.4)
Higher Speed of Change Weight (0.8-1.0)
Focus on SQZ and PBK signals for breakout potential
Trending Markets:
Higher EMA Alignment Weight (0.7-1.0)
Moderate Speed of Change Weight (0.4-0.6)
Focus on VTR strength and BK confirmations
Volatile Markets:
Enable Volatility Filter
Enable Adaptive Volume Analysis
Lower Momentum Period (2-3)
Focus on strong volume confirmation (VTR ≥ 80 or ≤ 20)
For Different Asset Classes
Equities:
Standard settings work well
Pay attention to AVOL for gap potential
Monitor QQQ correlation
Futures:
Consider higher Volume/RVOL weight
Reduce MACD weight slightly
Pay close attention to SQZ duration
Crypto:
Higher volatility thresholds may be needed
Monitor BTC price for correlation
Focus on stronger confirmation signals
Integrated Visual System for Trading Decisions
The colored circle indicators create an intuitive visual system for quick market assessment:
Progression Sequence: SQZ (Squeeze) → PBK (Pre-Breakout) → BK (Breakout)
This sequence often occurs in order, with the squeeze leading to pre-breakout conditions, followed by an actual breakout.
VTR (Volume Trend): Provides context about the volume supporting these movements.
Color Coding: Green for bullish conditions, red for bearish conditions, and orange/gray for neutral or undefined conditions.
Position Size Calculator (Fixed % or ATR-based Stop Support)Position Size Calculator (Fixed % or ATR-based Stop Support)
Purpose and Background
This indicator allows traders to calculate appropriate position sizes directly on the chart, based on a key rule:
“What percentage of your capital are you willing to risk per trade?”
While many traders focus on entries and indicators, position sizing and risk allocation are often overlooked.
This tool visualizes and simplifies the “1% risk rule” promoted by IBD (Investor’s Business Daily) and William J. O’Neil, helping both beginners and experienced traders maintain disciplined capital management.
Key Features
Automatically calculates and displays:
・ Position Size
The number of units (shares, contracts, coins) you can hold based on your stop-loss range and risk allowance.
・ Stop Price
The price level at which your stop-loss would be triggered.
・ Risk Amount
The maximum loss per trade based on your portfolio size and risk percentage.
Two stop-loss modes available:
・ Fixed % Mode
O’Neil suggests using up to 8% stop-loss in uptrends and keeping it tighter (around 4%) in corrections. This mode allows flexible manual settings.
・ ATR-Based Mode
Uses the asset’s average volatility to dynamically calculate stop-loss width using the Average True Range (ATR).
ATR Usage and Recommended Settings
ATR helps you avoid noise-based stop-outs and align your risk with market volatility.
There are two parameters you can adjust:
・ ATR Length
Defines how many bars are used to calculate the average range.
・Shorter values (5–10) respond faster for day trades
・Longer values (14–21) offer smoother ranges for swing/position trades(Default is 14)
・ATR Multiplier
Sets how wide the stop-loss is by multiplying the ATR value:
・Day trading: 1.0–1.5×
・Swing trading: 1.5–2.5×
・Position trading: 2.0–3.0×
Practical Examples: Risk % × Stop-Loss % → Max Positions
This tool helps estimate how many positions you can hold in a portfolio based on your risk per trade and stop width.
Examples:
・Risk 0.5%, Stop 8% → Max 16 positions
・Risk 0.5%, Stop 4% → Max 8 positions
・Risk 1.0%, Stop 8% → Max 8 positions
・Risk 1.0%, Stop 4% → Max 4 positions
・Risk 2.0%, Stop 8% → Max 4 positions
・Risk 2.0%, Stop 4% → Max 2 positions
These assume worst-case scenarios where all positions are stopped out simultaneously within your overall portfolio risk limit.
Display & Customization Options
・ Currency Display: USD or JPY
No currency conversion is applied. Select based on your trading region (e.g., USD for U.S. stocks, JPY for Japanese stocks).
Support for additional currencies can be added upon request.
・ Show/Hide Decimal Places
Toggle decimals for better visibility. Ideal for fractional assets like crypto and CFDs.
・ Position of Output
Choose from top-right, middle-right, or bottom-right on the chart.
・ Text Display Size: Large / Normal / Small
Choose the table size that best suits your viewing preferences.
・ Explanation of Displayed Labels
・ Position Size : Units to buy/sell based on risk
・ Stop Price : Price where stop-loss is triggered
・ Risk Amount : Max loss allowed for the trade
How to Use
1、Set your Portfolio Size
2、Choose your Currency (USD or JPY)
3、Input Risk per Trade (%) (e.g., 1%)
4、Select Stop Loss Method
・ Fixed % : Enter a manual stop-loss percent (e.g., 8%)
・ ATR : Then also enter:
・ ATR Length : Number of bars used to calculate ATR (e.g., 14)
・ ATR Multiplier : Factor applied to ATR to determine stop-loss (e.g., 2.0)
5、Adjust decimals, label position, or text size as needed
6、The result is displayed in a table directly on your chart
Notes
・ Uses the current close price (close) as the basis
Real-time bid/ask data isn't available in Pine Script, so the close price is used for consistent results.
・ No buy/sell signals are generated
This tool is for position sizing and risk calculation only, not trade entries.
Recommended For
・Traders who want precise, rule-based position sizing
・Users following IBD or O’Neil’s 1% risk principle
・Those incorporating ATR for stop-loss strategies
・Multi-asset traders (stocks, crypto, CFDs, etc.)
・ Anyone who wants to calculate position size and risk without using a calculator or external tool—fully inside TradingView
TCP | Money Management indicator | Crypto Version📌 TCP | Money Management Indicator | Crypto Version
A robust, multi-target risk and capital management indicator tailored for crypto traders. Whether you're trading spot, perpetual futures, or leverage tokens, this tool empowers you with precise control over risk, reward, and position sizing—directly on your chart. Eliminate guesswork and trade with confidence.
🔰 Introduction: Master Your Capital, Master Your Trades
Poor money management is the number one reason traders lose their accounts, even with solid strategies. The TCP Money Management Indicator, built by Trade City Pro (TCP), solves this problem by providing a structured, rule-based approach to capital allocation.
Want to dive deeper into the concept of money management? Check out our comprehensive tutorial on TradingView, " TradeCityPro Academy: Money Management ", to understand the principles that power this indicator and transform your trading mindset.
This indicator equips you to:
• Calculate optimal position sizes based on your capital, risk percentage, and leverage
• Set up to 5 customizable take-profit targets with partial close percentages
• Access real-time metrics like Risk-to-Reward (R/R), USD profit, and margin usage
• Trade with discipline, avoiding emotional or inconsistent decisions
💸 Money Management Formula
The indicator uses a professional capital allocation model:
Position Size = (Capital × Risk %) ÷ (Stop Loss % × Leverage)
From this, it calculates:
• Total risk amount in USD
• Optimal position size for your trade
• Margin required for each take-profit target
• Adjusted R/R for each target, accounting for partial position closures
🛠 How to Use
Enter Trade Parameters: Input your capital, risk %, leverage, entry price, and stop-loss price.
Set Take-Profit Targets: Enable 1 to 5 take-profit levels and specify the percentage of the position to close at each.
Real-Time Calculations: The indicator automatically computes:
• R/R ratio for each target
• Profit in USD for each partial close
• Margin used per target (in % and USD)
Visualize Your Trade:
• Price levels for entry, stop-loss, and take-profits are plotted on the chart.
• A dynamic info panel on the left side displays all key metrics.
🔄 Dynamic Adjustments: As each take-profit target is hit and a portion of the position is closed, the indicator recalculates the remaining position size, expected profit, R/R, and margin for subsequent targets. This ensures accuracy and reflects real-world trade behavior.
📊 Table Overview
The left-side panel provides a clear snapshot:
• Trade Setup: Capital, entry price, stop-loss, risk amount, and position size
• Per Target: Percentage closed, R/R, profit in USD, and margin used
• Summary: Total expected profit across all targets
⚙️ Settings Panel
• Total Capital ($): Your account size for the trade
• Risk per Trade (%): The percentage of capital you’re willing to risk
• Leverage: The leverage applied to the trade
• Entry/Stop-Loss Prices: Define your trade’s risk zone
• Take-Profit Targets (1–5): Set price levels and percentage to close at each
🔍 Use Case Example
Imagine you have $1,000 capital, risking 1%, using 10x leverage:
• Entry: $100 | Stop-Loss: $95
• TP1: $110 (close 50%) | TP2: $115 (close 50%)
The indicator calculates the exact position size, profit at each target, and margin allocation in real time, with all metrics displayed on the chart.
✅ Why Traders Love It
• Precision: No more manual calculations or guesswork
• Versatility: Works on all crypto pairs (BTC, ETH, altcoins, etc.)
• Flexibility: Perfect for scalping, swing trading, or futures strategies
• Universal: Compatible with all timeframes
• Transparency: Fully manual, with clear and reliable outputs
🧩 Built by Trade City Pro (TCP)
Developed by TCP, a trusted name in trading tools, used by over 150,000 traders worldwide. This indicator is coded in Pine Script v5, ensuring compatibility with TradingView’s platform.
🧾 Final Notes
• No Auto-Trading: This is a manual tool for disciplined traders
• No Repainting: All calculations are accurate and non-repainting
• Tested: Rigorously validated across major crypto pairs
• Publish-Ready: Built for seamless use on TradingView
🔗 Resources
• Money Management Tutorial: Learn the fundamentals of capital management with our detailed guide: TradeCityPro Academy: Money Management
• TradingView Profile: Explore more tools by TCP on TradingView
Hidden Gap`s VSA Volume Auto-TimeframeHidden Gap's VSA Volume with Auto-Timeframe Adaptation
Enhanced Version of Classic Volume Spread Analysis Indicator
Description:
This evolved version of the original "Hidden Gap's VSA Volume" indicator introduces intelligent timeframe adaptation while preserving its core Volume Spread Analysis (VSA) logic. The key enhancement automatically synchronizes volume calculations with your chart's current timeframe, eliminating manual resolution adjustments.
New Features:
✅ Auto-Timeframe Detection
Dynamically adjusts to any chart timeframe (1M/5M/1H/4H/D/W/M)
✅ Smart Resolution Switching
Seamlessly works across multiple timeframes without parameter changes
✅ Manual Override Option
Retains custom resolution input for multi-timeframe analysis (e.g., view weekly volume on daily charts)
✅ Modernized Engine
Upgraded to Pine Script v6 for optimal TradingView performance
Core Functionality Preserved:
• Multi-layer volume analysis using 40/20/2-period comparisons
• Color-coded histogram detecting:
Black: 40-period high volume
Gray: 20-period low volume
Purple: 2-period volume contraction
Blue/Red: Immediate volume changes
• Integrated 20-period SMA reference line
Usage Scenarios:
Intraday Trading: Auto-adjusts from 1-minute to 4-hour charts
Multi-Timeframe Analysis: Compare current volume against higher timeframe patterns
Swing Trading: Maintain consistent analysis across D/W/M timeframes
Big Whale Finder PROBig Whale Finder PRO
The Big Whale Finder PRO is an advanced technical indicator designed to detect and analyze the footprints of institutional traders (commonly referred to as "whales") in financial markets. Based on multiple proprietary detection algorithms, this indicator identifies distinct patterns of accumulation and distribution that typically occur when large market participants execute significant orders.
Theoretical Framework
The indicator builds upon established market microstructure theories and empirical research on institutional trading behavior. As Kyle (1985) demonstrated in his seminal work on market microstructure, informed traders with large positions tend to execute their orders strategically to minimize market impact. This often results in specific volume and price action patterns that the Big Whale Finder PRO is designed to detect.
Key Feature Enhancements
1. Volume Analysis Refinement
The indicator implements a dual-threshold approach to volume analysis based on research by Easley et al. (2012) on volume-based informed trading metrics. The normal threshold identifies routine institutional activity, while the extreme threshold flags exceptional events that often precede significant market moves.
2. Wickbody Ratio Analysis
Drawing from Cao et al. (2021) research on price formation and order flow imbalance, the indicator incorporates wick-to-body ratio analysis to detect potential order absorption and iceberg orders. High wick-to-body ratios often indicate hidden liquidity and resistance/support levels maintained by large players.
3. BWF-Index (Proprietary Metric)
The BWF-Index is a novel quantitative measure that combines volume anomalies, price stagnation, and candle morphology into a single metric. This approach draws from Harris's (2003) work on trading and exchanges, which suggests that institutional activity often manifests through multiple simultaneous market microstructure anomalies.
4. Zone Tracking System
Based on Wyckoff Accumulation/Distribution methodology and modern zone detection algorithms, the indicator establishes and tracks zones where institutional activity has occurred. This feature enables traders to identify potential support/resistance areas where large players have previously shown interest.
5. Trend Integration
Following Lo and MacKinlay's (1988) work on market efficiency and technical analysis, the indicator incorporates trend analysis through dual EMA comparison, providing context for volume and price patterns.
Labels and Signals Explanation
The indicator uses a system of labels to mark significant events on the chart:
🐋 (Whale Symbol): Indicates extreme volume activity that significantly exceeds normal market participation. This is often a sign of major institutional involvement and frequently precedes significant price moves. The presence of this label suggests heightened attention is warranted as a potential trend reversal or acceleration may be imminent.
A (Accumulation): Marks periods where large players are likely accumulating positions. This is characterized by high volume, minimal price movement upward, and stronger support at the lower end of the candle (larger lower wicks). Accumulation zones often form bases for future upward price movements. This pattern frequently occurs at the end of downtrends or during consolidation phases before uptrends.
D (Distribution): Identifies periods where large players are likely distributing (selling) their positions. This pattern shows high volume, minimal downward price movement, and stronger resistance at the upper end of the candle (larger upper wicks). Distribution zones often form tops before downward price movements. This pattern typically appears at the end of uptrends or during consolidation phases before downtrends.
ICE (Iceberg Order): Flags the potential presence of iceberg orders, where large orders are split into smaller visible portions to hide the true size. These are characterized by unusual wick-to-body ratios with high volume. Iceberg orders often indicate price levels that large institutions consider significant and may act as strong support or resistance areas.
Information Panel Interpretation
The information panel provides real-time analysis of market conditions:
Volume/Average Ratio: Shows how current volume compares to the historical average. Values above the threshold (default 1.5x) indicate abnormal activity that may signal institutional involvement.
BWF-Index: A proprietary metric that quantifies potential whale activity. Higher values (especially >10) indicate stronger likelihood of institutional participation. The BWF-Index combines volume anomalies, price action characteristics, and candle morphology to provide a single measure of potential whale activity.
Status: Displays the current market classification based on detected patterns:
"Major Whale Activity": Extreme volume detected, suggesting significant institutional involvement
"Accumulation": Potential buying activity by large players
"Distribution": Potential selling activity by large players
"High Volume": Above-average volume without clear accumulation/distribution patterns
"Normal": Regular market activity with no significant institutional footprints
Trend: Shows the current market trend based on EMA comparison:
"Uptrend": Fast EMA above Slow EMA, suggesting bullish momentum
"Downtrend": Fast EMA below Slow EMA, suggesting bearish momentum
"Sideways": EMAs very close together, suggesting consolidation
Zone: Indicates if the current price is in a previously identified institutional activity zone:
"In Buy Zone": Price is in an area where accumulation was previously detected
"In Sell Zone": Price is in an area where distribution was previously detected
"Neutral": Price is not in a previously identified institutional zone
Trading Recommendations
Based on the different signals and patterns, the following trading recommendations apply:
Bullish Scenarios
Accumulation (A) + Uptrend: Strong buy signal. Large players are accumulating in an established uptrend, suggesting potential continuation or acceleration.
Strategy: Consider entering long positions with stops below the accumulation zone.
Extreme Volume (🐋) + In Buy Zone + Price Above EMAs: Very bullish. Major whale activity in a previously established buying zone with positive price action.
Strategy: Aggressive buying opportunity with wider stops to accommodate volatility.
High BWF-Index (>10) + Accumulation + Downtrend Ending: Potential trend reversal signal. High institutional interest at the potential end of a downtrend.
Strategy: Early position building with tight risk management until trend confirmation.
Bearish Scenarios
Distribution (D) + Downtrend: Strong sell signal. Large players are distributing in an established downtrend, suggesting potential continuation or acceleration.
Strategy: Consider entering short positions with stops above the distribution zone.
Extreme Volume (🐋) + In Sell Zone + Price Below EMAs: Very bearish. Major whale activity in a previously established selling zone with negative price action.
Strategy: Aggressive shorting opportunity with wider stops to accommodate volatility.
High BWF-Index (>10) + Distribution + Uptrend Ending: Potential trend reversal signal. High institutional interest at the potential end of an uptrend.
Strategy: Early short position building with tight risk management until trend confirmation.
Neutral/Caution Scenarios
Iceberg Orders (ICE) + Sideways Market: Suggests significant hidden liquidity at current levels.
Strategy: Mark these levels as potential support/resistance for future reference. Consider range-trading strategies.
Conflicting Signals (e.g., Accumulation in Downtrend): Requires careful analysis.
Strategy: Wait for additional confirmation or reduce position sizing.
Multiple Extreme Volume Events (🐋) in Succession: Indicates unusual market conditions, possibly related to news events or major market shifts.
Strategy: Exercise extreme caution and potentially reduce exposure until clarity emerges.
Practical Applications
Short-Term Trading:
Use the indicator to identify institutional activity zones for potential intraday support/resistance levels
Watch for whale symbols (🐋) to anticipate potential volatility or trend changes
Combine with price action analysis for entry/exit timing
Swing Trading
Focus on accumulation/distribution patterns in conjunction with the prevailing trend
Use buy/sell zones as areas to establish or exit positions
Monitor the BWF-Index for increasing institutional interest over time
Position Trading
Track long-term whale activity to identify shifts in institutional positioning
Use multiple timeframe analysis to confirm major accumulation/distribution phases
Combine with fundamental analysis to validate potential long-term trend changes
References
Kyle, A. S. (1985). Continuous auctions and insider trading. Econometrica, 53(6), 1315-1335.
Easley, D., López de Prado, M. M., & O'Hara, M. (2012). Flow toxicity and liquidity in a high-frequency world. The Review of Financial Studies, 25(5), 1457-1493.
Cao, C., Hansch, O., & Wang, X. (2021). The information content of an open limit order book. Journal of Financial Markets, 50, 100561.
Harris, L. (2003). Trading and exchanges: Market microstructure for practitioners. Oxford University Press.
Lo, A. W., & MacKinlay, A. C. (1988). Stock market prices do not follow random walks: Evidence from a simple specification test. The Review of Financial Studies, 1(1), 41-66.
Wyckoff, R. D. (1931). The Richard D. Wyckoff method of trading and investing in stocks. Transaction Publishers.
Menkhoff, L., & Taylor, M. P. (2007). The obstinate passion of foreign exchange professionals: Technical analysis. Journal of Economic Literature, 45(4), 936-972.