Draw on Liquidity [PhenLabs]📊 Draw on Liquidity (DOL) Indicator
Version: PineScript™ v6
Description
The Draw on Liquidity (DOL) indicator is an advanced technical analysis tool designed to identify and visualize significant liquidity zones in the market. It combines volume analysis, pivot point detection, and real-time proximity alerts to help traders identify potential support and resistance levels where significant trading activity occurs. The indicator features dual display modes, adaptive volume thresholds, and a comprehensive real-time dashboard.
🔧 Components
• Liquidity Detection: Advanced pivot point analysis with volume validation
• Volume Analysis: Adaptive volume threshold system
• Display Modes: Historical and Current visualization options
• Proximity Detection: Real-time price-to-level distance monitoring
• Visual Dashboard: Dynamic status display with alert system
🚨 Important Dashboard Features 🚨
The dashboard provides real-time information about:
• High Draw Zones: Resistance levels with significant liquidity
• Low Draw Zones: Support levels with high trading activity
• Current Price: Real-time price monitoring
• Active Alerts: Proximity warnings when price approaches liquidity zones
📈 Visualization
• Historical Mode: Displays all past and present liquidity zones
• Current Mode: Shows only active, unhit liquidity levels
• Color-coded lines: Blue for high liquidity, Red for low liquidity
• Dynamic line extension: Updates with price movement
• Alert indicators: Visual signals when price approaches zones
Historical Visualization
Current Visualization
📌 Usage Guidelines
The indicator is highly customizable with several key parameters:
Pivot Settings:
• Shorter lengths (3-7): More frequent zones, suitable for scalping
• Longer lengths (7-15): Major zones, better for swing trading
Volume Analysis:
• Lower multiplier (1.5-2.0): More zones, higher sensitivity
• Higher multiplier (2.0-3.0): Major zones only, reduced noise
✅ Best Practices:
• Start with default settings and adjust based on timeframe
• Use Historical mode for analysis, Current mode for active trading
• Monitor dashboard alerts for potential trade setups
• Combine with trend analysis for better entry/exit points
⚠️ Limitations
• Requires sufficient volume data for accurate analysis
• Performance varies with market volatility
• Historical mode may become visually cluttered on longer timeframes
• Best performance during regular market hours
What Makes This Unique
• Dual Display System: Choose between historical analysis and current trading modes
• Volume-Validated Zones: Only marks levels with significant trading activity
• Real-time Proximity Alerts: Dynamic warnings when approaching liquidity zones
• Adaptive Threshold System: Automatically adjusts to market conditions
• Comprehensive Dashboard: All-in-one view of current market status
🔧 How It Works
The indicator processes market data through three main components:
1. Liquidity Detection (40% weight):
• Identifies pivot points using customizable lookback periods
• Validates levels with volume analysis
• Marks significant zones based on combined criteria
2. Volume Analysis (40% weight):
• Calculates dynamic volume thresholds
• Compares current volume to moving average
• Filters out low-volume noise
3. Proximity Analysis (20% weight):
• Monitors price distance to active zones
• Triggers alerts based on customizable thresholds
• Updates dashboard status in real-time
💡 Note: For optimal results, combine with price action analysis and consider using multiple timeframes for confirmation. The indicator performs best in markets with consistent volume and clear trend structure.
Volume
Modified Volume IndicatorThis indicator colors volume bars based on price and range conditions for a given period:
Green Bars:
The close is at least 70% of the way up the daily range (from the low).
The close is also 1% or more above the low.
Red Bars:
The close is at least 70% of the way down the daily range (from the high).
The close is also 1% or more below the high.
Gray Bars:
Volume bars that don’t meet the above conditions are neutral.
Purpose
Green Bars highlight strong upward closes.
Red Bars indicate weak downward closes.
Gray Bars show neutral or inconclusive price movement.
This indicator helps traders identify momentum shifts and trend strength in real-time.
[AlbaTherium] MTF Volatility Edge Zones Premium for Price Action Volatility Edge Zones Premium for Price Action (HTF)
The MTF Volatility Edge Zones Premium for Price Action is an advanced Multiple Timeframes (MTF) trading indicator that combines the power of volume analysis with price action, designed to reveal key volatility zones and assess market participants’ engagement levels . This tool offers unique insights into the dynamics of higher timeframes (HTF), helping traders identify critical zones of decision-making, such as potential reversals, continuations, or breakout areas.
Introduction to the MTF Volatility Edge Zones Premium
This indicator is built upon a deep understanding of the interaction between price action and volume. By mapping volume data onto price action, Volatility Edge Zones Premium (HTF) pinpoints areas of heightened market engagement. These zones represent where buyers and sellers have shown significant activity, allowing traders to identify market intent and anticipate key movements.
Key Features:
Higher Timeframe Analysis: Focuses on significant price and volume interactions over HTFs (e.g., 4H, Daily, Weekly) for a broader perspective on market trends.
Volatility Zones : Highlights areas where market participants show increased activity, signaling potential market turning points or strong continuations.
Volume-Driven Insights: Tracks the behavior of aggressive buyers and sellers, showing their engagement levels relative to price changes.
Overlayon Price Action: Provides a clear and actionable visual representation of volatility and engagement zones directly on price charts.
Chapter 1: Understanding Volatility and Engagement
1.1 Volatility Edge Zones
Volatility Edge Zones are areas where price and volume interact to signal potential changes in market direction or momentum. These zones are derived from high-volume clusters where significant market activity occurs.
1.2 Participant Engagement
Market participants can be categorized based on their level of engagement in these zones:
Aggressive Buyers: Represented by sharp spikes in volume and upward price action.
Aggressive Sellers: Represented by high volume during downward price movement.
Passive Participants: Identified in zones of consolidation or low volatility.
By isolating these behaviors, traders can gain a clearer picture of market sentiment and the relative strength of buyers versus sellers.
Chapter 2: The Principle of Volume and Price Interplay
2.1 Volume as a Leading Indicator
Volume often precedes price movements, and the Volatility Edge Zones Premium captures this relationship by overlaying volume activity onto price charts. This allows traders to:
Identify where volume supports price movement (trend confirmation).
Spot divergences where price moves without volume support (potential reversals).
2.2 The Role of Higher Timeframes
HTFs filter out market noise, revealing macro trends and key levels of engagement. The indicator uses this perspective to highlight long-term volatility zones, helping traders align their strategies with the broader market context.
Chapter 3: Visualizing Volatility Edge Zones
3.1 Color-Coded Zones for Engagement
The indicator uses a color-coded system to represent volatility zones and market engagement levels. These colors correspond to different market conditions:
Red Zones: High selling pressure and aggressive bearish activity.
Blue Zones: High buying pressure and aggressive bullish activity.
Yellow Zones: Transitional zones, representing indecision or balance between buyers and sellers.
White Zones: Neutral areas, where low engagement is observed but could serve as potential breakout points.
3.2 Key Metrics Tracked
Volume Clusters: Areas of concentrated buying or selling activity.
Directional Bias: Net buying or selling dominance.
Momentum Shifts: Sudden changes in volume relative to price action.
These metrics provide actionable insights into market dynamics, making it easier to predict key movements.
Chapter 4: Practical Applications in Trading
4.1 Identifying High-Impact Zones
By focusing on HTFs, traders can use the Volatility Edge Zones Premium to identify high-impact areas where market participants are most engaged. These zones often align with:
Support and Resistance Levels: High-volume areas that act as barriers or catalysts for price movement.
Breakout Points: Zones of heightened volatility where price is likely to escape consolidation.
4.2 Detecting Bull and Bear Campaigns
The indicator highlights early signs of bullish or bearish campaigns by analyzing volume surges in critical volatility zones. These campaigns often signal the beginning of significant trends.
Chapter 5: Real-World Examples and Strategies
5.1 Spotting Market Reversals
Real-world examples demonstrate how the indicator can identify volatility zones signaling potential reversals, allowing traders to enter positions early.
5.2 Riding the Trend
By tracking volatility zones in alignment with HTF trends, traders can maximize profit potential by entering during periods of high engagement and riding the trend until it weakens.
Conclusion
The MTF Volatility Edge Zones Premium for Price Action is an essential tool for traders looking to master market dynamics through a combination of volume and price action analysis. By focusing on higher timeframes and overlaying volatility zones onto price charts, this indicator provides unparalleled insights into market participant engagement.
Whether you’re trading intraday, swing, or long-term strategies, the MTF Volatility Edge Zones Premium equips you with the information needed to make confident and precise trading decisions. Stay tuned as we continue to enhance this tool for even greater accuracy and usability.
ZenAlgo - Advanced Open InterestZenAlgo - Advanced Open Interest combines open interest, price changes, and volume dynamics into a single, powerful TradingView indicator. By integrating these key market metrics and enhancing them with proprietary algorithms, it provides traders with actionable insights that streamline decision-making and enhance market analysis.
Features
Open Interest Change (%): Tracks changes in open interest, a key indicator of market participation and sentiment.
Price Change (%): Monitors price momentum, providing clarity on trend directions.
Volume Analysis: Aggregates upward and downward volume for detailed sentiment analysis.
Delta Calculation: Highlights the net difference between upward and downward volume, offering instant insights into buying or selling dominance.
Proprietary Trend Detection: Suggests "Long Enter," "Short Enter," "Long Close," or "Short Close" signals based on a synergy of open interest, price, and volume.
Market Sentiment Insights: Indicates whether new long or short positions dominate.
Customizable Display: Features themes, sizes, and positions for a tailored interface.
Added Value: Why Is This Indicator Original/Why Shall You Pay for This Indicator?
Integrated Synergy: Combining open interest, price, and volume into a single indicator reduces complexity and offers enhanced clarity. Instead of toggling between multiple charts, users receive actionable insights from a unified view.
Proprietary Rules-Based Algorithm: The algorithm synthesizes data from sub-indicators, creating trends and signals not available in free tools. For instance, the "Long Enter" or "Short Close" signals are generated by evaluating relationships between metrics, offering a predictive edge.
Enhanced Trend Confirmation: By correlating open interest changes with price movements and volume imbalances, the indicator provides a more robust confirmation of market trends compared to individual metrics.
Time-Saving and Simplicity: Freely available sub-indicators require manual setup, interpretation, and customization. ZenAlgo - Advanced Open Interest offers pre-configured analysis, reducing the learning curve and decision time.
Unique Customization: With themes, positions, and table sizes, users can adapt the interface to their preferences, enhancing usability.
How It Works
1. Open Interest and Price Change
Retrieves historical open interest and price data for the selected timeframe.
Calculates percentage changes between bars to indicate market participation (open interest) and directional momentum (price).
Combines these metrics to assess whether price movements are supported by increasing or decreasing participation.
2. Volume Aggregation
Splits the selected timeframe into smaller sub-timeframes to analyze granular volume data.
Aggregates upward (price closes above open) and downward (price closes below open) volumes, calculating their totals and percentage contributions to overall volume.
3. Delta Calculation
Computes Delta as the difference between upward and downward volume.
Highlights buyer or seller dominance using color-coded visuals for quick interpretation.
4. Trend Analysis
Uses a proprietary algorithm to classify market states:
"Long Enter": Rising price, increasing open interest, and dominant upward volume.
"Short Enter": Falling price, increasing open interest, and dominant downward volume.
Neutral States: Generated when no strong alignment is found among metrics.
5. Market Sentiment
Correlates open interest and price to indicate if new long or short positions dominate.
Outputs simplified insights like "More longs opened" or "Shorts closing."
6. Customizable Table
Displays real-time updates with user-controlled themes, sizes, and positions for a tailored experience.
Usage Examples
Detecting Bullish Trends: Identify "Long Enter" signals when open interest and price rise, supported by strong upward volume.
Spotting Bearish Reversals: Use "Short Enter" signals when price declines, open interest rises, and downward volume dominates.
Analyzing Volume Shifts: Leverage Delta to uncover significant shifts in buying or selling pressure.
Validating Trends: Use the combination of open interest and volume trends to confirm price movements.
Exiting Profitable Trades: Look for "Long Close" or "Short Close" signals to time exits during profit-taking phases.
Avoiding Choppy Markets: Use "Neutral" signals to stay out of indecisive markets and avoid unnecessary risks.
Identifying Sentiment Swings: Follow "Positions" insights to detect a transition in market dominance from longs to shorts or vice versa.
High-Volume Trend Confirmation: Confirm strong trends during high trading volumes.
Short-Term Scalping: Use sub-timeframes to spot rapid entry and exit points.
Event-Based Trading: Correlate indicator signals with major market events for timely trades.
Settings
ZenAlgo Theme: Toggle a branded theme for better visual integration.
Table Size: Adjust display size (Tiny, Small, Normal, Large) based on preference.
Table Position: Choose between four positions (e.g., Bottom Right, Top Left).
Table Mode: Switch between Dark and Light themes for optimal readability.
Important Notes
This indicator is a technical analysis tool and does not guarantee trading success. Use it with other indicators and fundamental analysis for a comprehensive strategy.
Always validate signals in conjunction with other market factors to ensure informed trading decisions.
Scenarios of Potential Underperformance:
Low-Volume Markets: Signals may lack reliability due to insufficient data granularity.
Extreme Volatility: Rapid price movements can distort short-term insights.
Exchange Variations: Data discrepancies between exchanges may affect calculations.
Choppy Markets: During indecisive phases, the indicator may generate more neutral signals.
Anchored VWAPAnchored VWAP with 3 Standard Deviation Bands
📈 Version: Pine Script v5
📌 Author: Aymen Haddaji
🔍 Overview
This indicator calculates an Anchored Volume-Weighted Average Price (AVWAP), allowing traders to anchor the VWAP calculation from a user-defined date and time. It also plots three standard deviation bands above and below the AVWAP to help identify potential areas of overbought and oversold conditions.
📊 Features & Functionality
✔ Custom Anchor Point: Select a specific date and time to start the AVWAP calculation.
✔ OHLC/4 Calculation: Uses the average of Open, High, Low, and Close to smooth the price input.
✔ Three Standard Deviation Bands:
1st Deviation (Green): Moderate volatility zone.
2nd Deviation (Orange): High volatility zone.
3rd Deviation (Red): Extreme overbought/oversold areas.
✔ Real-Time Calculation: Updates dynamically with each price movement.
✔ Clear Visuals:
AVWAP (Blue Line) represents the fair market price from the anchor.
Deviation Bands (Dashed Lines) show potential support and resistance levels.
🛠 How It Works
VWAP Calculation
Uses a cumulative sum of price × volume divided by cumulative volume.
Calculation starts from the user-defined anchor time.
Standard Deviation Bands
Measures the price dispersion around the AVWAP.
The wider the bands, the higher the volatility.
When price touches or exceeds the 3rd deviation, a potential reversal zone is indicated.
Trading Strategies with AVWAP & Deviation Bands
Trend Confirmation:
Price above AVWAP = Uptrend (bullish).
Price below AVWAP = Downtrend (bearish).
Support & Resistance:
AVWAP acts as dynamic support or resistance.
1st & 2nd deviations often act as secondary levels.
Mean Reversion Trading:
When price reaches the 3rd standard deviation, a pullback is likely.
Breakout Confirmation:
A strong close above/below the 3rd deviation may indicate trend continuation.
⚙️ Input Settings
📍 Anchor Time: Allows you to set the exact date and time to start the AVWAP calculation.
🎯 Ideal For
✅ Intraday traders looking for short-term mean reversion plays.
✅ Swing traders identifying key support/resistance zones.
✅ Trend traders confirming long-term market direction.
✅ Volatility traders using standard deviation for trade entries.
Volume & Trend Confluence OscillatorVolume & Trend Confluence Oscillator (VTCO)
Overview:
The Volume & Trend Confluence Oscillator (VTCO) is a technical analysis tool designed to help traders assess market conditions by integrating volume analysis, momentum, and trend direction into a single oscillator. This indicator provides traders with additional confirmation when evaluating potential trade entries and exits.
Key Features:
Volume Analysis: Calculates a Z-score to detect unusual trading activity.
Momentum Measurement: Evaluates the rate of price change to gauge market velocity.
Trend Confirmation: Utilizes an Exponential Moving Average (EMA) to assess overall market direction.
Signal Filtering: Incorporates minimum movement thresholds and a confirmation period to reduce false signals.
Visual Enhancements: Background shading indicates trend direction, and buy/sell markers highlight key signals.
How It Works:
The VTCO applies a volume multiplier to momentum readings when volume activity significantly deviates from its historical norm. Additionally, it prioritizes momentum moves that align with the prevailing market trend. A smoothing mechanism refines the oscillator’s signal line, ensuring a more stable and actionable output. The indicator generates alerts when key conditions are met, assisting traders in identifying potential trend shifts.
Signal Generation:
Buy Signal: Triggered when the oscillator crosses above zero after an oversold condition, ideally within an uptrend.
Sell Signal: Triggered when the oscillator crosses below zero after an overbought condition, ideally within a downtrend.
Alerts: Configurable alerts notify traders when key market conditions are met.
Usage Considerations:
Works effectively across various timeframes but may provide more reliable signals on higher timeframes.
Best utilized in conjunction with additional technical indicators and risk management strategies.
No indicator guarantees future performance; proper analysis and trade management remain essential.
Disclaimer:
This indicator is provided for educational purposes only and should not be considered financial advice. Trading involves risk, and past performance is not indicative of future results. Always conduct independent analysis before making trading decisions.
On Balance Volume with Cross DetectionThis indicator enhances the On Balance Volume (OBV) indicator by detecting and visually highlighting crossovers and crossunders between the OBV and its smoothed moving average. The script colors the background of the chart to make these key events more noticeable: red highlights a bearish crossunder when the OBV crosses below the smoothed OBV, while green marks a bullish crossover when the OBV crosses above the smoothed OBV. By focusing on these significant interactions, the script provides traders with a clear visual cue to help identify potential buying and selling opportunities based on the relationship between OBV and its smoothed trend.
This script offers several customizable features to suit different trading preferences. The main editable parameter is the type of moving average used to smooth the OBV: you can choose from options such as Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (RMA), Weighted Moving Average (WMA), or Volume Weighted Moving Average (VWMA). The length of the moving average can also be adjusted to better match the trader’s desired sensitivity, with the default set to 14 periods. These options allow traders to tailor the script to their preferred smoothing method and time frame, making it a flexible tool for a variety of strategies. The ability to switch between different moving averages and adjust their lengths ensures that the script can be adapted to various market conditions and trading styles.
This indicator enhances the analysis of the On Balance Volume (OBV) indicator by visually highlighting key crossovers and crossunders with its smoothed moving average. With customizable settings for different moving averages and lengths, traders can tailor the script to their specific strategies. By offering clear visual cues through background coloring, it helps quickly identify potential buy and sell signals. When combined with other technical analysis tools, this script can further improve trading decisions by providing additional context and confirmation, allowing traders to create a more robust and comprehensive trading strategy.
Volume with EMA and Coloring RulesSummary
This indicator plots the market’s volume as a histogram in a separate panel (not overlaid on the main price chart). An EMA (Exponential Moving Average) is then calculated based on the volume. The color of each volume bar switches dynamically:
• Blue when the bar’s volume is higher than the EMA
• White when the bar’s volume is lower than or equal to the EMA
This simple visual cue allows you to quickly see if the market’s current volume is above or below its average trend.
How to Use
1. Add to Chart
Apply the indicator to your TradingView chart, and it will open in a separate panel beneath the price.
2. Adjust EMA Length
Modify the “EMA Length” to control how quickly the average volume adapts to changes.
3. Interpretation
• Blue bars may indicate stronger-than-usual participation.
• White bars indicate volume is relatively lower compared to its recent average.
This indicator provides an at-a-glance way to see if trading activity is intensifying or easing, which can be paired with other technical or fundamental tools to help confirm market shifts or potential opportunities.
Johnny's Machine Learning Moving Average (MLMA) w/ Trend Alerts📖 Overview
Johnny's Machine Learning Moving Average (MLMA) w/ Trend Alerts is a powerful adaptive moving average indicator designed to capture market trends dynamically. Unlike traditional moving averages (e.g., SMA, EMA, WMA), this indicator incorporates volatility-based trend detection, Bollinger Bands, ADX, and RSI, offering a comprehensive view of market conditions.
The MLMA is "machine learning-inspired" because it adapts dynamically to market conditions using ATR-based windowing and integrates multiple trend strength indicators (ADX, RSI, and volatility bands) to provide an intelligent moving average calculation that learns from recent price action rather than being static.
🛠 How It Works
1️⃣ Adaptive Moving Average Selection
The MLMA automatically selects one of four different moving averages:
📊 EMA (Exponential Moving Average) – Reacts quickly to price changes.
🔵 HMA (Hull Moving Average) – Smooth and fast, reducing lag.
🟡 WMA (Weighted Moving Average) – Gives recent prices more importance.
🔴 VWAP (Volume Weighted Average Price) – Accounts for volume impact.
The user can select which moving average type to use, making the indicator customizable based on their strategy.
2️⃣ Dynamic Trend Detection
ATR-Based Adaptive Window 📏
The Average True Range (ATR) determines the window size dynamically.
When volatility is high, the moving average window expands, making the MLMA more stable.
When volatility is low, the window shrinks, making the MLMA more responsive.
Trend Strength Filters 📊
ADX (Average Directional Index) > 25 → Indicates a strong trend.
RSI (Relative Strength Index) > 70 or < 30 → Identifies overbought/oversold conditions.
Price Position Relative to Upper/Lower Bands → Determines bullish vs. bearish momentum.
3️⃣ Volatility Bands & Dynamic Support/Resistance
Bollinger Bands (BB) 📉
Uses standard deviation-based bands around the MLMA to detect overbought and oversold zones.
Upper Band = Resistance, Lower Band = Support.
Helps traders identify breakout potential.
Adaptive Trend Bands 🔵🔴
The MLMA has built-in trend envelopes.
When price breaks the upper band, bullish momentum is confirmed.
When price breaks the lower band, bearish momentum is confirmed.
4️⃣ Visual Enhancements
Dynamic Gradient Fills 🌈
The trend strength (ADX-based) determines the gradient intensity.
Stronger trends = More vivid colors.
Weaker trends = Lighter colors.
Trend Reversal Arrows 🔄
🔼 Green Up Arrow: Bullish reversal signal.
🔽 Red Down Arrow: Bearish reversal signal.
Trend Table Overlay 🖥
Displays ADX, RSI, and Trend State dynamically on the chart.
📢 Trading Signals & How to Use It
1️⃣ Bullish Signals 📈
✅ Conditions for a Long (Buy) Trade:
The MLMA crosses above the lower band.
The ADX is above 25 (confirming trend strength).
RSI is above 55, indicating positive momentum.
Green trend reversal arrow appears (confirmation of a bullish reversal).
🔹 How to Trade It:
Enter a long trade when the MLMA turns bullish.
Set stop-loss below the lower Bollinger Band.
Target previous resistance levels or use the upper band as take-profit.
2️⃣ Bearish Signals 📉
✅ Conditions for a Short (Sell) Trade:
The MLMA crosses below the upper band.
The ADX is above 25 (confirming trend strength).
RSI is below 45, indicating bearish pressure.
Red trend reversal arrow appears (confirmation of a bearish reversal).
🔹 How to Trade It:
Enter a short trade when the MLMA turns bearish.
Set stop-loss above the upper Bollinger Band.
Target the lower band as take-profit.
💡 What Makes This a Machine Learning Moving Average?
📍 1️⃣ Adaptive & Self-Tuning
Unlike static moving averages that rely on fixed parameters, this MLMA automatically adjusts its sensitivity to market conditions using:
ATR-based dynamic windowing 📏 (Expands/contracts based on volatility).
Adaptive smoothing using EMA, HMA, WMA, or VWAP 📊.
Multi-indicator confirmation (ADX, RSI, Volatility Bands) 🏆.
📍 2️⃣ Intelligent Trend Confirmation
The MLMA "learns" from recent price movements instead of blindly following a fixed-length average.
It incorporates ADX & RSI trend filtering to reduce noise & false signals.
📍 3️⃣ Dynamic Color-Coding for Trend Strength
Strong trends trigger more vivid colors, mimicking confidence levels in machine learning models.
Weaker trends appear faded, suggesting uncertainty.
🎯 Why Use the MLMA?
✅ Pros
✔ Combines multiple trend indicators (MA, ADX, RSI, BB).
✔ Automatically adjusts to market conditions.
✔ Filters out weak trends, making it more reliable.
✔ Visually intuitive (gradient colors & reversal arrows).
✔ Works across all timeframes and assets.
⚠️ Cons
❌ Not a standalone strategy → Best used with volume confirmation or candlestick analysis.
❌ Can lag slightly in fast-moving markets (due to smoothing).
SASDv2rSensitive Altcoin Season Detector V2
This Pine Script™ code, titled "SASDv2r" (Sensitive Altcoin Season Detector version 2 revised), is designed for cryptocurrency trading analysis on the TradingView platform and tailored for those interested in tracking when altcoins might be outperforming Bitcoin, potentially indicating a market shift towards altcoins.
Feel free to use and modify. If you made it better, please let me know. Intention was to help the community with a tool for retail traders have no access to advanced, MV indicators. Solution uses classic TA only.
Use it witl TOTAL3/BTC indicator.
Please check: it gave signal just before last alt season % rose more than 250%.
Market Cap Data Fetching: The script fetches market capitalization data for Bitcoin, Ethereum, and all other altcoins (excluding Bitcoin and Ethereum) using request.security function.
Altcoin to Bitcoin Ratio: It calculates the ratio of total market cap of altcoins to Bitcoin's market cap (altToBtcRatio), which is central to identifying an "altcoin season."
Moving Averages: Several moving averages are computed for different time frames (50-day SMA, 200-day SMA, 20-day SMA, and 10-day EMA) to analyze trends in the altcoin to Bitcoin ratio.
Momentum Indicators: The script uses RSI (Relative Strength Index) and MACD (Moving Average Convergence Divergence) to gauge momentum and potential reversal points in the market.
Custom Indicators: It includes Volume Weighted Moving Average (VWMA) and a custom momentum indicator (altMomentum and altMomentumAvg) to provide additional insights into market movements.
Volatility Measurement: Bollinger Bands are calculated to assess volatility in the altcoin to Bitcoin ratio, which helps identify periods of high or low market activity.
Visual Analysis: Various plots are added to the chart for visual interpretation, including the altcoin to Bitcoin ratio, different moving averages, and Bollinger Bands.
Alt Season Detection: The script defines conditions for detecting when an "altcoin season" might be starting, based on crossovers of moving averages, RSI levels, MACD signals, and other custom criteria.
Performance Tracking: After signaling an alt season, the script evaluates the performance over the next 30 days by checking if there's been an increase in the altcoin to Bitcoin ratio, adding labels for positive or negative trends.(this one is in progress). Logic still gives false signals and aim is to identify failed signals.
Visual Signals: Labels are placed on the chart to visually indicate the beginning of a potential alt season or the performance outcome after a signal, aiding traders in making informed decisions.
Aggregated Volume (Multi-Exchange)Indicator: Aggregated Volume (Multi-Exchange)
Overview:
The Aggregated Volume (Multi-Exchange) indicator is designed to aggregate trading volume data from multiple exchanges for a specific cryptocurrency pair. The goal is to provide a consolidated view of the total trading volume across different platforms, helping traders and analysts gauge the overall market activity for a given asset.
Features:
Multi-Exchange Support: The indicator allows you to aggregate trading volume data from various exchanges. Users can enable or disable volume data from specific exchanges (e.g., Binance, Bybit, Kucoin, etc.).
Spot and Futures Volumes: The indicator can sum the volume for spot trading and futures trading separately if desired. However, in the current version, it only sums the volume for specific pairs across multiple exchanges, without distinguishing between spot and futures volumes (though this feature can be added if necessary).
Customizable Exchange Selection: Users can select which exchanges' volume data to include in the aggregation.
Real-Time Updates: The volume data is updated in real-time as new bars are formed on the chart, providing an up-to-date picture of the trading volume.
Purpose:
The primary purpose of this indicator is to consolidate trading volume information from multiple exchanges for the same trading pair (e.g., BTC/USD). Traders can use this aggregated volume to gain a better understanding of market activity across various platforms, as well as assess the level of liquidity and interest in a particular asset.
By viewing the total aggregated volume, traders can:
Track market trends: Higher aggregated volume can signal increased market interest, making it easier to spot trends or potential breakouts.
Analyze liquidity: This indicator can help traders assess liquidity in the market, especially when using multiple exchanges.
Identify potential market manipulation: If there is a sudden spike in volume on multiple exchanges, it could signal market manipulation or an event-driven surge.
How it Works:
Volume Aggregation: The indicator collects and sums the volume data for a given symbol (e.g., BTC/USD) from different exchanges like Binance, Bybit, Kucoin, and others.
Multiple Exchanges: The volume data is aggregated from each selected exchange and plotted as a single volume value on the chart.
Real-Time Volume Plotting: The total aggregated volume is then plotted as a histogram on the chart, with the color of the bars changing depending on whether the price is rising or falling (typically green for rising prices and red for falling prices).
Inputs/Settings:
Exchange Selection: A list of checkboxes where users can choose which exchanges' volume data to include (e.g., Binance, Bybit, Kucoin, etc.).
Color Settings: Users can set the color for the histogram bars based on price direction (e.g., green for rising and red for falling).
Volume Calculation: The indicator calculates the volume for a specific cryptocurrency pair across selected exchanges in real-time.
Enhanced Volume Profile█ OVERVIEW
The Enhanced Volume Profile (EVP) is an indicator designed to plot a volume profile on the chart based on either the visible chart range or a fixed lookback period. The script helps analyze the distribution of volume at different price levels over time, providing insights into areas of high trading activity and potential support/resistance zones.
█ KEY FEATURES
1. Visible Chart Range vs. Fixed Lookback Depth
Visible Chart Range
- Default analysis mode
- Calculates profile based on visible portion of the chart
- Dynamically updates with chart view changes
Fixed Lookback Depth
- Optional alternative to visible range
- Uses specified number of bars (10-3000)
- Provides consistent analysis depth
- Independent of chart view
2. Custom Resolution
Auto-Resolution Mode
Automatically selects timeframes based on chart's current timeframe:
≤ 1 minute: Uses 1-minute resolution
≤ 5 minutes: Uses 1-minute resolution
≤ 15 minutes: Uses 5-minute resolution
≤ 1 hour: Uses 5-minute resolution
≤ 4 hours: Uses 15-minute resolution
≤ 12 hours: Uses 15-minute resolution
≤ 1 day: Uses 1-hour resolution
≤ 3 days: Uses 2-hours resolution
≤ 1 week: Uses 4-hours resolution
Custom Resolution Override
Optional override of auto-resolution system
Provides control over data granularity
Must be lower than or equal to chart's timeframe
Falls back to auto-resolution if validation fails
3. Volume Profile Resolution
Adjustable number of points (10-400)
Controls profile granularity
Higher resolution provides more detail
Balance between precision and performance
4. Point of Control (PoC)
Identifies price level with highest traded volume
Optional display with customizable appearance
Adjustable line thickness (1-30)
Configurable color
5. Value Area (VA)
Shows price range of majority trading volume
Adjustable coverage (5-95%), default is 68%
Customizable boundary lines
Configurable lines color and thickness (1-20)
█ INPUT PARAMETERS
Lookback Settings
Use Visible Chart Range
- Default: true
- Calculates profile based on visible bars
- Ideal for focused analysis
Fixed Lookback Bars
- Range: 10-3000
- Default: 200
- Used when visible range is disabled
Resolution Settings
Enable Custom Resolution
- Default: false
- Overrides auto-resolution
Custom Resolution
- Default: 1-minute
- Changes automatically when "Enable Custom Resolution" is disabled
Volume Profile Appearance
Profile Resolution
- Range: 10-400
- Default: 200
- Controls detail level
Profile Width Scale
- Range: 1-50
- Default: 15
- Adjusts profile width
Right Offset
- Range: 0-500
- Default: 20
- Controls spacing from price bars
Profile Fill Color
- Default: #5D606B (70% transparency)
Point of Control Settings
Show Point of Control
- Default: true
- Toggles PoC visibility
PoC Line Thickness
- Range: 1-30
- Default: 1
PoC Line Color
- Default: Red
Value Area Settings
Show Value Area
- Default: true
- Toggles VA lines
Value Area Coverage
- Range: 5-95%
- Default: 68%
Value Area Line Color
- Default: Blue
Value Area Line Thickness
- Range: 1-20
- Default: 1
█ TECHNICAL IMPLEMENTATION DETAILS
Exceeding Bars Management
The script dynamically adjusts the number of bars used in the volume profile calculation based on the selected timeframe and the maximum allowed bars (max_bars_back).
If the total number of bars exceeds the predefined threshold (6000 bars), the script reduces the lookback period (lookback_bars) by trimming some of the historical data, ensuring the chart does not become overloaded with data.
The adjustment is made based on the ratio of bars per candle (bars_per_candle), ensuring that the volume profile remains computationally efficient while maintaining its relevance.
█ EXAMPLE USE CASES
1. Visible Range Mode
For analyzing a recent trend and focusing on only the visible part of the chart, enabling the "Use Visible Chart Range" option calculates the profile based on the current view, without considering historical data outside the visible area.
2. Fixed Lookback Depth
For analyzing a specific period in the past (e.g., the last 200 bars), disabling the visible range and setting a fixed lookback depth of 200 bars ensures the profile always considers the last 200 bars, regardless of the visible range.
3. Custom Resolution
If there’s a need for greater control over the timeframe used for volume profile calculations (e.g., using a 5-minute resolution on a 15-minute chart), enabling custom resolution and setting the desired timeframe provides this control.
HAPPY TRADING ✌️
Advanced Order Blocks with VolumeAdvanced Order Blocks with Volume Indicator
This professional-grade indicator combines order block detection with sophisticated volume analysis to identify high-probability trading opportunities. It automatically detects and displays bullish and bearish order blocks formed during consolidation periods, enhanced by three distinct volume calculation methods (Simple, Relative, and Weighted).
Key Features:
- Smart consolidation detection with customizable thresholds
- Volume-filtered order blocks to avoid false signals
- Automatic order block mitigation tracking
- Clear visual presentation with volume metrics
- Flexible customization options for colors and parameters
Settings:
Core Parameters:
- Consolidation Threshold %: Sets the maximum price range (0.1-1.0%) for detecting consolidation zones
- Lookback Period: Number of bars (2-10) to analyze for consolidation patterns
Volume Analysis:
- Volume Calculation Method: Choose between Simple (basic average), Relative (compared to average), or Weighted (prioritized recent volume)
- Volume Lookback Period: Historical bars (5-100) used for volume analysis
- Volume Threshold Multiplier: Minimum volume requirement (1.0-5.0x) for valid order blocks
Visual Settings:
- Bullish/Bearish OB Color: Background colors for order blocks
- Bullish/Bearish OB Text Color: Colors for volume information display
Perfect for traders focusing on institutional price levels and volume-based trading strategies. The indicator helps identify potential reversal zones with strong institutional interest, validated by significant volume conditions.
Combined Open and Close Volume MomentumCombined Open and Close Volume Momentum Indicator
This indicator calculates and visualizes the momentum of Open and Close volumes based on changes in Open Interest (OI) and price direction. It provides traders with a clear view of volume dynamics and their impact on market momentum.
Key Features:
Open Volume Momentum:
Tracks the momentum of volume associated with new positions being opened.
Differentiates between green candles (positive momentum) and red candles (negative momentum).
Accumulates momentum over time, with an option to reset periodically.
Close Volume Momentum:
Tracks the momentum of volume associated with closing existing positions.
Momentum is weighted by price direction:
Price increase → Positive momentum.
Price decrease → Negative momentum.
Accumulates momentum over time, with an option to reset periodically.
Reset Functionality:
Allows traders to reset accumulated momentum after a specified period (in days).
Customizable reset period for both Open and Close volume momentum.
Visual Representation:
Green Line → Positive Open Volume Momentum.
Red Line → Negative Open Volume Momentum.
Blue Line → Positive Close Volume Momentum.
Orange Line → Negative Close Volume Momentum.
Includes a gray dotted zero line for reference.
Use Case:
This indicator is ideal for futures traders who want to:
Analyze the impact of volume dynamics on market momentum.
Differentiate between momentum caused by opening new positions and closing existing positions.
Identify trends and reversals based on volume and price action.
Reset momentum data periodically for fresh analysis.
How It Works:
Open Volume Momentum:
Calculated from Open Interest changes when new positions are opened.
Green candles → Positive momentum.
Red candles → Negative momentum.
Accumulated over time, with optional periodic resets.
Close Volume Momentum:
Calculated from volume associated with closing positions.
Momentum is weighted by price direction:
Price increases → Positive contribution.
Price decreases → Negative contribution.
Accumulated over time, with optional periodic resets.
Reset Functionality:
Enabled by default and customizable through input settings.
Reset period is defined in days.
Visualization:
Open Volume Momentum is plotted as a line that changes color:
Green Line → Positive momentum.
Red Line → Negative momentum.
Close Volume Momentum is plotted as a line that changes color:
Blue Line → Positive momentum.
Orange Line → Negative momentum.
A gray dotted zero line is included for reference.
Open/Close VolumeOpen/Close Volume Indicator
The Open/Close Volume Indicator provides a breakdown of trading volume based on Open Interest (OI) changes. It helps identify whether the trading volume is driven by opening new positions (Open Volume) or closing existing positions (Close Volume).
Key Features:
Visual Breakdown of Volume:
Green bars represent Open Volume (new positions being added).
Red bars represent Close Volume (existing positions being closed).
Dynamic Open Interest Data:
Tracks changes in Open Interest to calculate the distribution of Open and Close Volumes.
Adapts automatically to the current chart's symbol or a custom user-specified symbol.
Error Handling:
Displays an alert when Open Interest data is unavailable for the selected symbol.
Zero-Line Reference:
Includes a gray dotted line at 0 for easy reference between Open and Close Volumes.
Use Case:
This indicator is ideal for futures traders who want to analyze market sentiment and understand whether market activity is being driven by the initiation of new trades or the closing of existing ones.
How It Works:
Open Interest Change:
Positive OI change → Open Volume .
Negative OI change → Close Volume .
No OI change → All trading volume is considered Close Volume.
Data Representation:
Open Volume is plotted above the zero line (positive values).
Close Volume is plotted below the zero line (negative values).
Volume Weighted Average Price - CoinruleVWAP with additional Anchor Periods as supported on Coinrule.
Candle Emotion Index (CEI) StrategyThe Candle Emotion Index (CEI) Strategy is an innovative sentiment-based trading approach designed to help traders identify and capitalize on market psychology. By analyzing candlestick patterns and combining them into a unified metric, the CEI Strategy provides clear entry and exit signals while dynamically managing risk. This strategy is ideal for traders looking to leverage market sentiment to identify high-probability trading opportunities.
How It Works
The CEI Strategy is built around three core oscillators that reflect key emotional states in the market:
Indecision Oscillator . Measures market uncertainty using patterns like Doji and Spinning Tops. High values indicate hesitation, signaling potential turning points.
Fear Oscillator . Tracks bearish sentiment through patterns like Shooting Star, Hanging Man, and Bearish Engulfing. Helps identify moments of intense selling pressure.
Greed Oscillator . Detects bullish sentiment using patterns like Marubozu, Hammer, Bullish Engulfing, and Three White Soldiers. Highlights periods of strong buying interest.
These oscillators are averaged into the Candle Emotion Index (CEI):
CEI = (Indecision + Fear + Greed) / 3
This single value quantifies overall market sentiment and drives the strategy’s trading decisions.
Key Features
Sentiment-Based Trading Signals . Long Entry: Triggered when the CEI crosses above a lower threshold (e.g., 0.1), indicating increasing bullish sentiment. Short Entry: Triggered when the CEI crosses above a higher threshold (e.g., 0.2), signaling rising bearish sentiment.
Volume Confirmation . Trades are validated only if volume exceeds a user-defined multiplier of the average volume over the lookback period. This ensures entries are backed by significant market activity.
Break-Even Recovery Mechanism . If a trade moves into a loss, the strategy attempts to recover to break-even instead of immediately exiting at a loss. This feature provides flexibility, allowing the market to recover while maintaining disciplined risk management.
Dynamic Risk Management . Maximum Holding Period: Trades are closed after a user-defined number of candles to avoid overexposure to prolonged uncertainty. Profit-Taking Conditions: Positions are exited when favorable price moves are confirmed by increased volume, locking in gains. Loss Threshold: Trades are exited early if the price moves unfavorably beyond a set percentage of the entry price, limiting potential losses.
Cooldown Period . After a trade is closed, a cooldown period prevents immediate re-entry, reducing overtrading and improving signal quality.
Why Use This Strategy?
The CEI Strategy combines advanced sentiment analysis with robust trade management, making it a powerful tool for traders seeking to understand market psychology and identify high-probability setups. Its unique features, such as the break-even recovery mechanism and volume confirmation, add an extra layer of discipline and reliability to trading decisions.
Best Practices
Combine with Other Indicators . Use trend-following tools (e.g., moving averages, ADX) and momentum oscillators (e.g., RSI, MACD) to confirm signals.
Align with Key Levels . Incorporate support and resistance levels for refined entries and exits.
Multi-Market Compatibility . Apply this strategy to forex, crypto, stocks, or any asset class with strong volume and price action.
VWAP Suite by Augur - Multi PeriodOverview
The Multi-Timeframe VWAP Suite revolutionizes price analysis by combining institutional-grade volume-weighted pricing with multi-period deviation analytics. This professional toolkit simultaneously tracks VWAP across 5 time horizons (Daily to Yearly) with smart deviation bands, offering traders unparalleled insight into market structure and volatility dynamics.
Key Features
Multi-Timeframe VWAP Matrix
Simultaneous Daily/Weekly/Monthly/Quarterly/Yearly VWAP tracking
Institutional-level volume-weighted calculations
Independent timeframe toggles for focused analysis
Smart Deviation Architecture
Dual-layer standard deviation bands (1σ & 2σ)
Separate colors for upper/lower deviation zones
Adaptive 95% transparency fills for layered visualization
Professional Visual Design
Strategic color coding per timeframe (FIXED palette)
Dark Blue/Yellow/Purple/Pink/Red VWAP hierarchy
Orange-Green-Red-Blue deviation band system
Advanced Calculation Engine
HLC3 price source integration
Cumulative volume-weighting algorithm
Real-time standard deviation updates
Strong Buy/Sell with Demand/Supply and Volume HighlightStrong Buy/Sell with Demand/Supply and Volume Highlight
This indicator combines key technical elements to provide traders with robust buy and sell signals while highlighting significant market zones and volume trends. It's designed for traders seeking clarity and precision in their decision-making process.
Features:
Dynamic Buy/Sell Signals:
Utilizes the crossover of a fast EMA (default: 9) and a slow EMA (default: 21) to generate reliable buy and sell signals.
Buy signals are marked with green upward labels, while sell signals are marked with red downward labels.
Demand and Supply Zone Detection:
Automatically plots demand (support) and supply (resistance) zones based on recent price movements when buy or sell signals are triggered.
Zones are visually marked with lines for quick identification of key price levels.
Volume Analysis:
Highlights candles with high volume relative to the average 20-period volume (adjustable via the volume multiplier input).
High-volume bullish candles are marked green, and bearish candles are marked red, allowing traders to spot significant market activity instantly.
Inputs:
EMA Periods: Customizable fast and slow EMA settings to adjust signal sensitivity.
Demand/Supply Zones: Option to toggle the visibility of demand and supply levels.
Volume Multiplier: Control the threshold for detecting high-volume candles.
How to Use:
Buy Opportunities: Look for buy signals when the fast EMA crosses above the slow EMA, supported by demand zones and high volume.
Sell Opportunities: Observe sell signals when the fast EMA crosses below the slow EMA, reinforced by supply zones and bearish high-volume candles.
Combine this indicator with your trading strategy to enhance decision-making and improve trade timing.
This indicator is suitable for multiple timeframes and markets, making it a versatile tool for scalpers, day traders, and swing traders.
ZenAlgo - UltimateThe ZenAlgo - Ultimate Indicator is a premium trading tool that integrates advanced sub-indicators into a single framework, combining volume analysis, divergence detection, and market sentiment visualization. Designed for traders seeking deeper insights, it addresses the limitations of standalone free indicators by delivering a cohesive system that enhances accuracy, adaptability, and decision-making.
Why Multiple Sub-Indicators?
The integration of sub-indicators into one tool provides unique benefits not achievable with individual free indicators:
Improved Accuracy: Combining volume trends, delta volume, and divergence detection creates a multi-dimensional view of market behavior, reducing the chance of false signals.
Synergistic Insights: Free indicators like MAs or divergences work independently, while this tool integrates them into a unified framework that highlights actionable patterns, improving signal reliability.
Actionable Combinations: The tool visually aligns multi-timeframe trends, divergences, and volume states, enabling traders to confirm trades using multiple metrics in one glance, saving time and enhancing precision.
Features
This indicator introduces several customizations and integrations that distinguish it from free alternatives:
Dynamic Volume Classification: It calculates and categorizes volume states into clear signals like "Mega Buy" or "Big Sell," providing instant clarity about unusual activity levels.
Enhanced Delta Volume Analysis: Tracks delta volume trends with adjustable sensitivity, identifying subtle shifts in market pressure that standalone delta indicators might miss.
Customizable Multi-Timeframe Volume Tables: Displays volume and delta metrics across multiple timeframes, offering a holistic view of market activity that helps align short- and long-term strategies.
Real-Time Alerts: Provides instant notifications for confirmed and unconfirmed delta volume crosses, helping users stay ahead of market movements.
Divergence Detection Across Metrics: Identifies regular and hidden bullish or bearish divergences using up, down, and delta volumes, integrating price fractals for added precision.
How It Works
1. Volume and Delta Volume Integration
The indicator calculates and categorizes volume activity into specific states, such as "Mega Buy" or "Big Sell," by comparing the current volume with its 20-period average. For delta volume, it tracks the difference between buying and selling pressure, identifying shifts in market sentiment. These calculations are dynamically updated across multiple timeframes, with delta trends smoothed using user-selected moving averages (e.g., SMA, EMA, WMA, HMA) to highlight sustained market pressure changes.
2. Multi-Timeframe Volume Tables
The tool aggregates and displays volume and delta volume data across various timeframes in a visual table. Each timeframe's data includes total volume, categorized buying and selling volumes, and the net delta volume. Colors within the table provide immediate insights into the prevailing market sentiment for each timeframe, with bullish or bearish conditions emphasized using pre-defined thresholds.
3. Divergence Detection Across Metrics
Divergences are identified using fractal patterns in up volume, down volume, and delta volume. Regular and hidden bullish or bearish divergences are detected by comparing historical volume peaks and troughs with corresponding price movements. This allows the tool to highlight potential reversals or trend continuations before they are visually apparent on the chart.
4. Market State Labels
The indicator synthesizes multiple metrics, such as volume trends, delta volume movements, and histogram direction, to generate actionable market state labels. These labels, such as "Bullish," "Bearish," or "Reversal," offer a high-level summary of current market conditions, helping traders quickly adapt their strategies.
5. Real-Time Alerts
To ensure traders stay informed, the tool includes alerts for confirmed and unconfirmed delta volume crosses. These alerts consider not only the delta volume's movement relative to its average but also whether the broader buying or selling pressure supports the signal, enhancing the reliability of the alerts.
Specific Scenarios Where This Indicator Excels
Trend Confirmation: Align rising delta volume with bullish divergences across timeframes for high-confidence entries.
Reversal Identification: Use divergence labels to anticipate trend reversals before they occur.
Market Sentiment Analysis: Dynamic candle coloring helps visualize whether the market is dominated by bullish or bearish forces.
Volume Breakout Detection: Track spikes in cumulative volume and delta volume to identify breakouts with higher accuracy.
When to Be Cautious
Low-Volume Markets: In thinly traded markets, signals like divergences or delta volume shifts may produce noise due to insufficient data.
Highly Volatile Conditions: Sudden volume spikes can result in false positives for breakouts or reversals.
Session Overlaps or Data Misalignment: Variations in session timings or data discrepancies can temporarily impact cumulative volume metrics.
Overfitting Sensitivity Settings: Excessively high sensitivity settings may overfit the indicator to specific market conditions, leading to unreliable signals in broader contexts.
Why Pay for This Indicator?
This tool stands out because it doesn’t merely replicate free indicators; it integrates and enhances them into a uniquely actionable framework:
Tailored for Precision: Adjustable parameters for sensitivity, divergence detection, and timeframe analysis allow traders to adapt the indicator to their strategies.
Time-Saving Synergy: Combines the functionality of multiple tools into a single interface, eliminating the need to juggle multiple scripts.
Comprehensive Insights: Delivers a broader perspective by linking volume trends, delta volume, and divergences, ensuring more informed decisions.
Real-Time Notifications: Alerts for key events ensure you never miss a critical market movement.
Usage Examples
Volume State Monitoring: Instantly identify states like "Big Buy" or "Mega Sell" to act on significant volume surges.
Multi-Timeframe Alignment: Combine bullish divergences on a 15-minute chart with a rising daily delta volume trend for high-probability trades.
Scalping Opportunities: Use delta volume crosses and short-term trends for quick entries and exits.
Breakout Validation: Confirm volume breakouts with delta volume spikes to avoid false signals.
Settings
Volume MA Length: Adjusts the moving average period for volume trends.
Divergence Sensitivity: Fine-tunes the thresholds for divergence detection to suit different market conditions.
Multi-Timeframe Visibility: Customizes the number of timeframes displayed in the cumulative volume table.
Conclusion
The Ultimate Indicator is more than a collection of sub-indicators—it’s a fully integrated system designed to address the limitations of standalone tools. By offering deeper insights into volume trends, market sentiment, and divergence analysis, it empowers traders to make better-informed decisions with enhanced confidence.
Market Average Long/ShortMarket Average Long/Short
This indicator is designed to calculate and visualize average prices for long and short positions based on Open Interest (OI) and volume changes.
Key Features
Open Interest-Based Analysis:
Utilizes Open Interest (OI) data to track changes in positions.
Separates long and short positions based on the direction of the OI change.
Multiple Look-Back Periods:
Short, medium, and long-term look-back periods are configurable.
Each period calculates average long and short prices for those timeframes.
Real-Time Updates:
Plots the average prices as lines on the chart.
Displays labels for the most recent values at the last candle.
Customizable Settings:
Allows users to enable/disable short, medium, and long look-back periods and adjust their lengths.
How It Works
Input Parameters:
Users can enable or disable the look-back periods (short, medium, long). Configurable periods define how many bars to look back for each calculation.
Fetching Data:
The script determines the correct Open Interest symbol ( _OI ) for the current chart symbol.
Open Interest (OI): Open, high, low, close values.
Volume: Total trading volume for each bar.
Open Interest Changes:
Calculates the change in Open Interest ( oiChange ) between the current and previous bar:
Positive OI Change: Represents long positions opening.
Negative OI Change: Represents short positions opening.
Volume Segmentation:
Separates the total trading volume into:
Open Volume: Volume associated with opening long or short positions.
Close Volume: Remaining volume (assumed to be closing positions).
Cumulative Long/Short Data:
Tracks cumulative long and short volumes and their respective values ( price × volume ).
Calculates the Max Average Prices:
Average Long Price Max: Total long value ÷ total long volume.
Average Short Price Max: Total short value ÷ total short volume.
Look-Back Calculations:
For each enabled period (short, medium, long):
A custom summation function ( f_sum ) calculates the sum of volumes and values over the specified look-back period.
Average prices for longs and shorts are computed:
averageLongPrice = lookBackLongValue / lookBackLongVolume
averageShortPrice = lookBackShortValue / lookBackShortVolume
Plotting Data:
Lines:
Plots lines for Max Average Long/Short Prices.
Look-back period averages (short, medium, long).
Labels:
Labels are displayed for the most recent average prices at the last candle, including descriptions like "Max Avg Long" or "Short Avg Long" .
Use Case
This indicator is particularly useful for futures traders who:
Want to analyze the behavior of long and short positions in the market.
Use Open Interest as a metric for sentiment (e.g., increasing OI = more positions opening).
Need a visual representation of average entry prices for long and short positions across different time horizons.
What It Tells You
Max Average Long/Short Prices:
Represents the overall average entry price of all open long/short positions in the market. Useful for understanding where the majority of traders are positioned.
Look-Back Periods:
Highlights recent trends in long/short positioning. Shorter look-back periods are more responsive to recent data, while longer periods show broader trends.
Volume Dynamics:
Helps identify whether the market is dominated by long or short volume.
Trend Reversals:
When the current price approaches the average price lines, it can indicate areas of potential support or resistance.
Example Scenarios
Trend Analysis:
If the price is above the average long price and trending upward, the market is dominated by longs.
Conversely, if the price is below the average short price, the market is dominated by shorts.
Support/Resistance:
Average prices often act as psychological levels for traders, where support or resistance may occur.
Volume Insights:
Significant increases in open/close volume can signal an impending breakout or trend change.
Advanced Notes
Real-Time Data:
This indicator is most effective with intraday or daily timeframes for futures markets, as Open Interest is critical for short-term trading.
Customization:
Users can adjust the look-back periods and enable only the periods relevant to their trading style.
Open Interest Ticker:
The _OI ticker needs to exist for the current chart symbol; otherwise, the indicator won't fetch data.
This indicator combines market sentiment analysis with price action and volume to provide a powerful tool for futures traders.
Daily Buy/Sell Volumeindicator that The Daily Buy/Sell Volume Indicator is a custom-built tool that helps traders track and visualize the buying and selling volumes throughout a trading day. This indicator separates the total volume into two categories:
1. Buy Volume: Calculated when the closing price is higher than the opening price for a given candle. This represents the volume of bullish (buy) activity for the day.
2. Sell Volume: Calculated when the closing price is lower than the opening price for a given candle. This represents the volume of bearish (sell) activity for the day.
Key Features:
• Buy/Sell Volume Calculation: The indicator tracks the buying and selling volumes based on the relationship between the open and close prices of each candle.
• Daily Reset: The indicator resets at the start of each trading day, providing fresh calculations for the daily buy and sell volumes.
• Visual Representation: The buy volume is shown with a green line, while the sell volume is displayed with a red line, making it easy to identify bullish and bearish activity over the course of the day.
[COG] Advanced School Run StrategyAdvanced School Run Strategy (ASRS) – Explanation
Overview: The Advanced School Run Strategy (ASRS) is an intraday trading approach designed to identify breakout opportunities based on specific time and price patterns. This script applies the concepts of the Advanced School Run Strategy as outlined in Tom Hougaard's research, adapted to work seamlessly on TradingView charts. It leverages 5-minute candlestick data to set actionable breakout levels and provides traders with visual cues and alerts to make informed decisions.
Features:
Dynamic Breakout Levels: Automatically calculates high and low levels based on the market's behavior during the initial trading minutes.
Custom Visualization: Highlights breakout zones with customizable colors and transparency, providing clear visual feedback for bullish and bearish breakouts.
Configurable Alerts: Includes alert conditions for both bullish and bearish breakouts, ensuring traders never miss a trading opportunity.
Reset Logic: Resets breakout levels daily at the market open to ensure accurate signal generation for each session.
How It Works:
The script identifies key levels (high and low) after a configurable number of minutes from the market open (default: 25 minutes).
If the price breaks above the high level or below the low level, a corresponding breakout is detected.
The script draws breakout zones on the chart and triggers alerts based on the breakout direction.
All levels and signals reset at the start of each new trading session, maintaining relevance to current market conditions.
Customization Options:
Line and box colors for bullish and bearish breakouts.
Transparency levels for breakout visualizations.
Alert settings to receive notifications for detected breakouts.
Acknowledgment: This script is inspired by Tom Hougaard's Advanced School Run Strategy. The methodology has been translated into Pine Script for TradingView users, adhering to TradingView’s policies and community guidelines. This script does not redistribute proprietary content from the original research but implements the principles for educational and analytical purposes.
Whale Activity Impact OscillatorThe "Whale Activity Impact Oscillator" is a Pine Script v6 component designed to identify abnormal price movements caused by potential whale activity in the crypto market.
Here's how it works:
Inputs: The script allows users to configure the volume spike multiplier, price spike multiplier, lookback period, minimum volume threshold, and thresholds for strong buy and sell signals.
Data Calculations: It calculates the average volume and average percentage price change over the specified lookback period.
Whale Detection Logic: The script detects a volume spike if the current volume exceeds the average volume by the specified multiplier. It detects a price spike if the percentage price change exceeds the average by the specified multiplier.
Signals: A buy signal is generated when both a volume spike and a price increase are detected. A sell signal is generated when both a volume spike and a price decrease are detected.
Output: The oscillator is displayed as a histogram below the price chart. Green bars indicate buy signals, red bars indicate sell signals, and gray bars indicate normal activity. The height of the bars is proportional to the magnitude of the price change.
Alerts: The script includes alerts for whale buying and selling detected signals.
Edge Cases: The script avoids false signals in low-liquidity environments by setting a minimum volume threshold and filtering out signals during low market activity.
This component can be added to a TradingView chart to help traders identify potential whale activity and make informed trading decisions.