Efficiency Weighted OrderFlow [AlgoAlpha]Introducing the Efficiency Weighted Orderflow Indicator by AlgoAlpha! 📈✨
Elevate your trading game with our cutting-edge Efficiency Weighted Orderflow Indicator, designed to provide clear insights into market trends and potential reversals. This tool is perfect for traders seeking to understand the underlying market dynamics through efficiency-weighted volume calculations.
🌟 Key Features 🌟
✨ Smooth OrderFlow Calculation : Option to smooth order flow data for more consistent signals.
🔧 Customizable Parameters : Adjust the Order Flow Period and HMA Smoothing Length to fit your trading strategy.
🔍 Visual Clarity : Easily distinguish between bullish and bearish trends with customizable colors.
📊 Standard Deviation Normalization : Keeps order flow values normalized for better comparison across different market conditions.
🔔 Trend Reversal Alerts : Stay ahead with built-in alert conditions for significant order flow changes.
🚀 Quick Guide to Using the Efficiency Weighted Orderflow Indicator
🛠 Add the Indicator: Search for "Efficiency Weighted Orderflow " in TradingView's Indicators & Strategies. Customize settings like smoothing and order flow period to fit your trading style.
📊 Market Analysis: Watch for trend reversal alerts to capture trading opportunities by studying the behaviour of the indicator.
🔔 Alerts: Enable notifications for significant order flow changes to stay updated on market trends.
🔍 How It Works
The Efficiency Weighted Orderflow Indicator starts by calculating the efficiency of price movements using the absolute difference between the close and open prices, divided by volume. The order flow is then computed by summing these efficiency-weighted volumes over a specified period, with an option to apply Hull Moving Average (HMA) smoothing for enhanced signal stability. To ensure robust comparison, the order flow is normalized using standard deviation. The indicator plots these values as columns, with distinct colors representing bullish and bearish trends. Customizable parameters for period length and smoothing allow traders to tailor the indicator to their strategies. Additionally, visual cues and alert conditions for trend reversals and significant order flow changes keep traders informed and ready to act. This indicator improves on the Orderflow aspect of our Standardized Orderflow indicator. The Efficiency Weighted Orderflow is less susceptible to noise and is also quicker at detecting trend changes.
Volume
Session VWAPS [QuantVue]The Session VWAPS indicator is a designed for traders to enhance their trading analysis by incorporating Volume Weighted Average Price (VWAP) anchored to custom-defined trading sessions.
This indicator automatically plots VWAPs at three critical points of a user defined session:
🔹session start
🔹session high
🔹session low
Additionally, it provides the option to display the VWAPs from previous sessions, offering a look at potential areas of support and resistance.
Anchored VWAP, or Anchored Volume-Weighted Average Price, is a technical analysis tool used to determine the average price of a stock weighted by volume, starting from a specific point in time chosen by the analyst.
Unlike traditional VWAP, which starts at the beginning of the trading session, the anchored VWAP allows traders to select any point on the chart, such as a significant event, price low, high, or a breakout, to begin the calculation.
VWAP incorporates price and volume in a weighted average and can be used to identify areas of support and resistance on the chart.
Indicator Features:
Custom Session Definition:
Users can define their own trading sessions by specifying start and end times, allowing for tailored analysis according to individual trading strategies or market hours.
Anchored VWAP at Three Key Points:
🔹Session Start VWAP: This VWAP is anchored at the start of the defined session.
🔹Session High VWAP: Anchored at the highest price point within the session.
🔹Session Low VWAP: Anchored at the lowest price point within the session.
Previous Session VWAPs:
The indicator can display VWAPs from the previous session, allowing traders to spot potential areas of support and resistance.
Give this indicator a BOOST and COMMENT your thoughts below!
We hope you enjoy.
Cheers!
TASC 2024.08 Volume Confirmation For A Trend System█ OVERVIEW
This script demonstrates the use of volume data to validate price movements based on the techniques Buff Pelz Dormeier discusses in his "Volume Confirmation For A Trend System" article from the August 2024 edition of TASC's Traders' Tips . It presents a trend-following system implementation that utilizes a combination of three indicators: the Average Directional Index (ADX), the Trend Thrust Indicator (TTI), and the Volume Price Confirmation Indicator (VPCI).
█ CONCEPTS
In his article, Buff Pelz Dormeier recounts his search for an optimal trend-following strategy enhanced with volume data, starting with a simple system combining the ADX , MACD , and OBV indicators. Even in these early tests, the author observed that the volume confirmation from OBV notably improved trading performance. Subsequently, the author replaced OBV with his VPCI, which considers the proportional weights of volume and price, to enhance the validation of trend momentum. Lastly, the author explored the inclusion of his TTI, a modified MACD that features volume-based enhancements, as a strategy component for improved trend-following performance.
According to the author's research, the ADX+TTI+VPCI system outperformed similar strategies he tested in the article, yielding significantly higher returns and enhanced perceived reliability. Because the system's design revolves around catching pronounced trends, it performs best with a portfolio of individual stocks. The author applies the system in the article by allocating 5% of the equity to long positions in S&P 500 components that meet the ADX+TTI+VPCI entry criteria (see the Calculations section below for details). He uses the proceeds from closing positions to enter new positions in other stocks meeting the screening criteria, holding any excess proceeds in cash.
█ CALCULATIONS
The TTI is similar to the MACD. Its calculation entails the following steps:
Calculate fast (short-term) and slow (long-term) volume-weighted moving averages (VWMAs).
Compute the volume multiple (VM) as the square of the ratio of the fast VWMA to the slow VWMA.
Adjust these averages by multiplying the fast VWMA by the VM and dividing the slow VWMA by the VM.
Calculate the difference between the adjusted VWMAs to determine the TTI value, and take the average of that series to determine the signal line value.
The VPCI utilizes differences and ratios between VWMAs and corresponding simple moving averages (SMAs) to provide an alternative volume-price confirmation tool. Its calculation is as follows:
Subtract the slow SMA from the VWMA of the same length to calculate the volume-price confirmation/contradiction (VPC) value.
Divide the fast VWMA by the corresponding fast SMA to determine the volume-price ratio (VPR).
Divide the short-term VWMA by the long-term VWMA to calculate the VM.
Compute the VPCI as the product of the VPC, VPR, and VM values.
The long entry criteria of the ADX+TTI+VPCI system are as follows:
The ADX is above 30.
The TTI crosses above its signal line.
The VPCI is above 0, confirming the trend.
Signals to close positions occur when the VPCI is below 0, indicating a contradiction .
NOTE: Unlike in the article, this script applies the ADX+TTI+VPCI system to one stock at a time , not a portfolio of S&P 500 constituents.
█ DISCLAIMER
This strategy script educates users on the trading system outlined by the TASC article. By default, it uses 10% of equity as the order size and a slippage amount of 5 ticks. Traders should adjust these settings and the commission amount when using this script.
Auto Volume Spread Analysis (VSA) [TANHEF]Auto Volume Spread Analysis (visible volume and spread bars auto-scaled): Understanding Market Intentions through the Interpretation of Volume and Price Movements.
All the sections below contain the same descriptions as my other indicator "Volume Spread Analysis" with the exception of 'Auto Scaling'.
█ Auto-Scaling
This indicator auto-scales spread bars to match the visible volume bars, unlike the previous "Volume Spread Analysis " version which limited the number of visible spread bars to a fixed count. The auto-scaling feature allows for easier navigation through historical data, enabling both more historical spread bars to be viewed and more historical VSA pattern labels being displayed without requiring using the bar replay tool. Please note that this indicator’s auto-scaling feature recalculates the visible bars on the chart, causing the indicator to reload whenever the chart is moved.
Auto-scaled spread bars have two display options (set via 'Spread Bars Method' setting):
Lines: a bar lookback limit of 500 bars.
Polylines: no bar lookback limit as only plotted on visible bars on chart, which uses multiple polylines are used.
█ Simple Explanation:
The Volume Spread Analysis (VSA) indicator is a comprehensive tool that helps traders identify key market patterns and trends based on volume and spread data. This indicator highlights significant VSA patterns and provides insights into market behavior through color-coded volume/spread bars and identification of bars indicating strength, weakness, and neutrality between buyers and sellers. It also includes powerful volume and spread forecasting capabilities.
█ Laws of Volume Spread Analysis (VSA):
The origin of VSA begins with Richard Wyckoff, a pivotal figure in its development. Wyckoff made significant contributions to trading theory, including the formulation of three basic laws:
The Law of Supply and Demand: This fundamental law states that supply and demand balance each other over time. High demand and low supply lead to rising prices until demand falls to a level where supply can meet it. Conversely, low demand and high supply cause prices to fall until demand increases enough to absorb the excess supply.
The Law of Cause and Effect: This law assumes that a 'cause' will result in an 'effect' proportional to the 'cause'. A strong 'cause' will lead to a strong trend (effect), while a weak 'cause' will lead to a weak trend.
The Law of Effort vs. Result: This law asserts that the result should reflect the effort exerted. In trading terms, a large volume should result in a significant price move (spread). If the spread is small, the volume should also be small. Any deviation from this pattern is considered an anomaly.
█ Volume and Spread Analysis Bars:
Display: Volume and spread bars that consist of color coded levels, with the spread bars scaled to match the volume bars. A displayable table (Legend) of bar colors and levels can give context and clarify to each volume/spread bar.
Calculation: Levels are calculated using multipliers applied to moving averages to represent key levels based on historical data: low, normal, high, ultra. This method smooths out short-term fluctuations and focuses on longer-term trends.
Low Level: Indicates reduced volatility and market interest.
Normal Level: Reflects typical market activity and volatility.
High Level: Indicates increased activity and volatility.
Ultra Level: Identifies extreme levels of activity and volatility.
This illustrates the appearance of Volume and Spread bars when scaled and plotted together:
█ Forecasting Capabilities:
Display: Forecasted volume and spread levels using predictive models.
Calculation: Volume and Spread prediction calculations differ as volume is linear and spread is non-linear.
Volume Forecast (Linear Forecasting): Predicts future volume based on current volume rate and bar time till close.
Spread Forecast (Non-Linear Dynamic Forecasting): Predicts future spread using a dynamic multiplier, less near midpoint (consolidation) and more near low or high (trending), reflecting non-linear expansion.
Moving Averages: In forecasting, moving averages utilize forecasted levels instead of actual levels to ensure the correct level is forecasted (low, normal, high, or ultra).
The following compares forecasted volume with actual resulting volume, highlighting the power of early identifying increased volume through forecasted levels:
█ VSA Patterns:
Criteria and descriptions for each VSA pattern are available as tooltips beside them within the indicator’s settings. These tooltips provide explanations of potential developments based on the volume and spread data.
Signs of Strength (🟢): Patterns indicating strong buying pressure and potential market upturns.
Down Thrust
Selling Climax
No Effort ➤ Bearish Result
Bearish Effort ➤ No Result
Inverse Down Thrust
Failed Selling Climax
Bull Outside Reversal
End of Falling Market (Bag Holder)
Pseudo Down Thrust
No Supply
Signs of Weakness (🔴): Patterns indicating strong selling pressure and potential market downturns.
Up Thrust
Buying Climax
No Effort ➤ Bullish Result
Bullish Effort ➤ No Result
Inverse Up Thrust
Failed Buying Climax
Bear Outside Reversal
End of Rising Market (Bag Seller)
Pseudo Up Thrust
No Demand
Neutral Patterns (🔵): Patterns indicating market indecision and potential for continuation or reversal.
Quiet Doji
Balanced Doji
Strong Doji
Quiet Spinning Top
Balanced Spinning Top
Strong Spinning Top
Quiet High Wave
Balanced High Wave
Strong High Wave
Consolidation
Bar Patterns (🟡): Common candlestick patterns that offer insights into market sentiment. These are required in some VSA patterns and can also be displayed independently.
Bull Pin Bar
Bear Pin Bar
Doji
Spinning Top
High Wave
Consolidation
This demonstrates the acronym and descriptive options for displaying bar patterns, with the ability to hover over text to reveal the descriptive text along with what type of pattern:
█ Alerts:
VSA Pattern Alerts: Notifications for identified VSA patterns at bar close.
Volume and Spread Alerts: Alerts for confirmed and forecasted volume/spread levels (Low, High, Ultra).
Forecasted Volume and Spread Alerts: Alerts for forecasted volume/spread levels (High, Ultra) include a minimum percent time elapsed input to reduce false early signals by ensuring sufficient bar time has passed.
█ Inputs and Settings:
Indicator Bar Color: Select color schemes for bars (Normal, Detail, Levels).
Indicator Moving Average Color: Select schemes for bars (Fill, Lines, None).
Price Bar Colors: Options to color price bars based on VSA patterns and volume levels.
Legend: Display a table of bar colors and levels for context and clarity of volume/spread bars.
Forecast: Configure forecast display and prediction details for volume and spread.
Average Multipliers: Define multipliers for different levels (Low, High, Ultra) to refine the analysis.
Moving Average: Set volume and spread moving average settings.
VSA: Select the VSA patterns to be calculated and displayed (Strength, Weakness, Neutral).
Bar Patterns: Criteria for bar patterns used in VSA (Doji, Bull Pin Bar, Bear Pin Bar, Spinning Top, Consolidation, High Wave).
Colors: Set exact colors used for indicator bars, indicator moving averages, and price bars.
More Display Options: Specify how VSA pattern text is displayed (Acronym, Descriptive), positioning, and sizes.
Alerts: Configure alerts for VSA patterns, volume, and spread levels, including forecasted levels.
█ Usage:
The Volume Spread Analysis indicator is a helpful tool for leveraging volume spread analysis to make informed trading decisions. It offers comprehensive visual and textual cues on the chart, making it easier to identify market conditions, potential reversals, and continuations. Whether analyzing historical data or forecasting future trends, this indicator provides insights into the underlying factors driving market movements.
Weighted Volume Profile Pivot Points | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Weighted Volume Profile Pivot Points (WVPPP) Indicator! This indicator renders a volume profile using the latest pivot points, automatically adjusting itself when new pivots occur. The pivoting mode can be switched between default pivot points and order blocks mode. It can be adjusted to give more weight to recent or past candlesticks, or can be used as a normal volume profile. For more information, please read the full write-up.
Features of the new Weighted Volume Profile Pivot Points (WVPPP) Indicator :
Renders Volume Profile Of The Range Between Latest Pivots
Two Pivoting Modes Including Order Blocks Mode
Adjustable Weighthing Towards Past or Recent
Customizable Row Count & Maximum Distance
Left or Right Alignment
More Styling Options
🚩UNIQUENESS
This indicator stands out with two key features. One is it's ability to weight volumes based on their distance to the current time. Giving weight to volumes may offer new trading opportunities to traders as they can now see the most recent Point Of Control (POC) or a more powerful but past POC based on their choice. Another key feature the indicator has is that it automatically finds latest valid pivot points, and uses that range for the volume profile. The range changes dynamically as new pivots points emerge. You can select between normal pivot points and order blocks mode. The indicator also has a variety of useful styling settings such as aligning the volume profile to the right or the left of the chart, POC Line styling and color settings for bullish & bearish volumes.
📌 HOW DOES IT WORK ?
A volume profile provides an in-depth look at trading activity over a period of time by plotting a histogram on the price axis. This indicator can also give weight to volumes based on their distance to the current time, essentially determining their importance for the profile. The range which the volume profile will cover is determined by the latest pivot points. Here is how it works step-by-step :
1. Determine how much candlesticks the volume profile will cover (Analyze Bars setting)
2. Find the latest pivot points. If the mode is set to "Pivots", the pivot points are the candlesticks which has the highest / lowest wick in X amount of bars (Swing Length setting). If the mode is set to "Order Blocks", the volume profile range is the area between the latest buyside order block and the sellside order block. Order blocks occur when there is a high amount of market orders exist on a price range. It is possible to find order blocks using specific candlestick formations on the chart. For more information about the order block detection, I suggest you checking the write-up of our "Volumized Order Blocks" script. Increasing the "Swing Length" setting is recommended when the mode is set to "Pivots", as this will help in finding stronger pivot points.
3. Make a range using the latest pivot points, then divide it into rows (Row Count setting)
4. Then for each candlestick, add it's volume to the corresponding row in the range. Note that the volume can be added into several rows if it overlaps with them all.
5. If the candlestick is a bullish candlestick, we add it's volume into the bullish volume of the row, if it's a bearish candlestick, we add it to the bearish volume of the row.
With the weighted volume mode, which is activated if "Volume Weighthing" setting is set to "Recent" or "Past", all volumes get a penalty based on their distance to the latest candletstick. For example, if the setting is set to "Recent", the latest candlestick contributes it's volume by 100% to the corresponding row, but the candlestick which is 50 candlesticks far from the current candlestick only contributes it's volume by ~17% to the row. The same applies to the "Past" setting, but in the reversed order, where past candlesticks have more priority than the current ones.
Volume contribution percent for "Recent" setting : ((100 * 0.85) / (i + 1)) + (100 * (1.0 - 0.85))
Volume contribution percent for "Past" setting : ((100 * 0.85) * ((i + 1) / N)) + (100 * (1.0 - 0.85))
Where i = candlestick index from right to left, N = total number of candlesticks analyzed by the volume profile.
The Point Of Control (POC) line is drawn from the row with the most total volume, and is generally considered as a strong level because a lot of trading volume happened on that particular row. Traders may use this line as a support & resistance level.
We believe that automatically ranging the volume profile to important pivot points will help traders see crucial volume information easier without unnecessary hassle. Traders can use this indicator to have an insight of areas which price moves quickly without much volume, or see areas that holds the price still for much longer and plan their trades accordingly.
⚙️SETTINGS
1. General Configuration
Mode -> The pivoting mode that is switchable between "Pivots" and "Order Blocks" as described in the write-up. Please read the upper section to understand how this setting works.
Analyze Bars -> Total amount of bars that will be analyzed by the indicator from right to left.
Row Count -> The amount of rows that will the vertical range between pivot points will be divided into.
Volume Weighting -> The volume weighting mode as explained in the write-up.
2. Style
Highlight Sessions -> The volume profile sessions will be highlighted with a blue tint. To prevent confusion, highlighting will not work if the alignment is set to "Right".
Align To -> The alignment of the volume profile.
Volume Pairwise Highlight### Volume Pairwise Highlight
**Overview:**
The "Volume Pairwise Highlight" Pine Script is designed to analyze and visualize the relationship between the volumes of consecutive candlesticks in a trading chart. This script calculates the high-low difference of each candlestick and plots it, while also highlighting specific conditions in the volume histogram.
**Key Features:**
1. **High-Low Difference Calculation:**
- The script calculates the difference between the high and low prices of each candlestick.
- This difference is plotted as a histogram on the main chart for easy visualization.
2. **Volume Condition Highlight:**
- The script checks if the volume of the previous candlestick is higher than the volume of the current candlestick.
- If this condition is met, the current volume bar is highlighted in red; otherwise, it is colored green.
- This helps traders quickly identify periods where there was a drop in volume compared to the previous period.
3. **Volume Display:**
- The volume is plotted as a histogram on a separate pane, making it easy to compare volumes across different periods.
- The coloring of the volume bars provides a quick visual cue for significant changes in trading volume.
4. **Information Display:**
- The script dynamically updates and displays the volume and high-low difference values on the chart.
- This provides traders with immediate feedback on the current trading activity.
5. **Optional Moving Average:**
- The script includes an optional moving average of the high-low difference.
- This moving average can be customized in length and helps smooth out the data for better trend analysis.
**Customization:**
- **Volume Threshold:** Customize the volume threshold to highlight specific volume conditions.
- **Highlight Color:** Adjust the highlight colors to suit your visual preferences.
- **Moving Average Length:** Modify the length of the moving average to better fit your analysis needs.
**Usage:**
This script is useful for traders looking to:
- Identify significant changes in trading volume.
- Analyze the volatility of candlesticks through high-low differences.
- Quickly spot periods of declining volume, which could indicate potential changes in market trends.
By providing clear visual cues and detailed volume analysis, the "Volume Pairwise Highlight" script aids traders in making more informed trading decisions.
Volume Weighted Average Price Ratio (log) [ilyaQwerty]The VWAP Ratio indicator is a valuable tool for traders aiming to assess market trends and price movements in relation to the Volume Weighted Average Price (VWAP). Volume Weighted Average Price Ratio represents the ratio of the price of the asset compared to total traded volume in US Dollars. In a context of Bitcoin, VWAP ratio helps traders assess the market state, if it is overvalued or undervalued. High values of the indicator can suggest that the market is highly overvalued and low values can indicate a great buying opportunity.
Ratio Calculation: The VWAP Ratio is computed by dividing the current price by the VWAP (Price / VWAP). VWAP represents a ratio between a cumulative sum of a traded value (price multiplied by the volume) and a cumulative traded volume.
BTC-Specific Optimization: Although the indicator can be applied to various assets, the VWAP Ratio indicator is particularly useful for Bitcoin (BTC) due to its significant trading volume and unique market behaviour.
Fair Value Gap (FVG) Oscillator [UAlgo]The "Fair Value Gap (FVG) Oscillator " is designed to identify and visualize Fair Value Gaps (FVG) within a given lookback period on a trading chart. This indicator helps traders by highlighting areas where price gaps may signify potential trading opportunities, specifically bullish and bearish patterns. By leveraging volume and Average True Range (ATR) data, the FVG Oscillator aims to enhance the accuracy of pattern recognition and provide more reliable signals for trading decisions.
🔶 Identification of Fair Value Gap (FVG)
Fair Value Gaps (FVG) are specific price areas where gaps occur, and they are often considered significant in technical analysis. These gaps can indicate potential future price movements as the market may return to fill these gaps. This indicator identifies two types of FVGs:
Bullish FVG: Occurs when the current low price is higher than the high price two periods ago. This condition suggests a potential upward price movement.
Obtains with:
low > high
Bearish FVG: Occurs when the current high price is lower than the low price two periods ago. This condition suggests a potential downward price movement.
Obtains with:
high < low
The FVG Oscillator not only identifies these gaps but also verifies them using volume and ATR conditions to ensure more reliable trading signals.
🔶 Key Features
Lookback Period: Users can set the lookback period to determine how far back the indicator should search for FVG patterns.
ATR Multiplier: The ATR Multiplier is used to adjust the sensitivity of the ATR-based conditions for verifying FVG patterns.
Volume SMA Period: This setting determines the period for the Simple Moving Average (SMA) of the volume, which helps in identifying high volume conditions.
Why ATR and Volume are Used?
ATR (Average True Range) and volume are integrated into the Fair Value Gap (FVG) Oscillator to enhance the accuracy and reliability of the identified patterns. ATR measures market volatility, helping to filter out insignificant price gaps and focus on impactful ones, ensuring that the signals are relevant and strong. Volume, on the other hand, confirms the strength of price movements. High volume often indicates the sustainability of these movements, reducing the likelihood of false signals. Together, ATR and volume ensure that the detected FVGs are both significant and supported by market activity, providing more trustworthy trading signals.
Normalized Values: The FVG counts are normalized to enhance the visual representation and interpretation of the patterns on the chart.
Visual Customization and Plotting: Users can customize the colors for positive (bullish) and negative (bearish) areas, and choose whether to display these areas on the chart, also plots the bullish and bearish FVG counts, a zero line, and the net value of FVG counts. Additionally, it uses histograms to display the width of verified bullish and bearish patterns.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
BooBee Digital - Enhanced Buy & Sell Alerts Suite
BooBee Digital - Enhanced Buy & Sell Alerts Suite
Introduction:
The “BooBee Digital - Enhanced Buy & Sell Alerts Suite” is a comprehensive trading tool designed to provide traders with precise buy and sell signals by integrating the Average True Range (ATR) trailing stop technique and the Volume Weighted Average Price (VWAP) indicator. This script is tailored to help traders make informed decisions by considering both market volatility and trading volume.
How It Works:
1. ATR Calculation:
• Purpose: Measures market volatility to set dynamic stop levels.
• Details: The Average True Range (ATR) is calculated over a user-defined period. The ATR value reflects the average range of price movements over the specified period, which is crucial for assessing market volatility.
2. ATR Trailing Stop:
• Purpose: Identifies potential trend reversals by setting trailing stops based on market volatility.
• Details: The ATR trailing stop is dynamically adjusted using the ATR value and a user-defined sensitivity factor. This trailing stop level helps identify trend reversals by moving in accordance with price fluctuations.
3. VWAP Calculation:
• Purpose: Provides a volume-weighted average price to benchmark fair value.
• Details: The VWAP is calculated by taking the sum of the product of price and volume, divided by the total volume. This indicator gives traders a reference point for the average price at which the asset has traded throughout the day, considering trading volume.
4. EMA Crossover:
• Purpose: Adds a confirmation layer for buy and sell signals.
• Details: A 1-period Exponential Moving Average (EMA) is used to identify short-term price movements. Buy and sell signals are generated based on the crossover of the EMA and the ATR trailing stop, adding an extra layer of confirmation for trade entries and exits.
Signal Generation:
Buy Signal:
• Generated when the price is above the ATR trailing stop and there is a bullish crossover of the EMA and ATR trailing stop.
• Indicator: Green label below the bar with “Buy” text.
Sell Signal:
• Generated when the price is below the ATR trailing stop and there is a bearish crossover of the EMA and ATR trailing stop.
• Indicator: Red label above the bar with “Sell” text.
VWAP Line:
• The VWAP line is plotted on the chart to help traders identify significant price levels based on trading volume.
• Indicator: Blue line representing the VWAP.
How to Use:
• Chart Type: The script is designed for use on standard chart types such as Candlestick and OHLC. It does not support non-standard chart types like Heikin Ashi, Renko, Kagi, Point & Figure, and Range, as they may produce unrealistic results.
• Clean Chart: Ensure your chart is clean and free of other indicators to avoid confusion. The signals and colors plotted by the script should be easily identifiable.
• Trade Confirmation: Use the buy and sell signals generated by the script in conjunction with other analysis methods to confirm trades.
Key Concepts:
• ATR Trailing Stop: This technique sets dynamic stop levels based on market volatility, helping to identify trend reversals.
• VWAP: This indicator provides a benchmark for the average price considering trading volume, helping traders identify fair value.
• EMA Crossover: This adds a layer of confirmation for buy and sell signals, improving the accuracy of trade entries and exits.
Aggressor Volume ImbalanceAggressor volume imbalance represents the ratio between market aggressor buy volume (market buy orders) and market aggressor sell volume (market sell orders). This ratio enables traders to evaluate the interest of market aggressors and whether aggressive market activity favours the price's direction.
Analysing aggressor volume is critical in understanding market sentiment and aids in identifying shifts in momentum and potential exhaustion points in the market. When the aggressor buy volume significantly exceeds the sell volume, it typically indicates strong buying interest, driving prices higher if the offer-side liquidity cannot contain it, and vice versa.
How it Works
The imbalance ratio is calculated as follows, according to the selected session timeframe (see settings):
imbalance := ((buyVolumeAccumulator - sellVolumeAccumulator)
/ (buyVolumeAccumulator + sellVolumeAccumulator)) * 100
Aggressive Volume Imbalance uses lower timeframe historical data to calculate Historical Aggressor Volume Imbalances, while live data is used for live aggressor volume imbalances.
How to Use It
You can set the indicator to use any historical data timeframe you prefer. However, it is highly recommended to use lower timeframes (e.g., 1 second), as the lower the timeframe, the more granular the data.
The indicator resets to 0% whenever a new session timeframe begins (e.g., a new day) and calculates new values for the rest of the session. This can be configured in the settings.
Candle Patterns with Volume ValidationHey Guys !
█ This indicator shows validated Hammer and Shooting Star candle patterns based on volume.
This indicator identifies Hammer and Shooting Star patterns and validates them using volume analysis.
Hammer and Shooting Star patterns are candlestick patterns that signal potential reversals in the market.
█ Usages:
A hammer is formed when in a session, the price has fallen, only to reverse and recover to close back near the opening price. This is a sign of strength with the selling having been absorbed in sufficient strength for the buyers to overwhelm the sellers, allowing the market to recover. The hammer is so called as it is ‘hammering out a bottom’, and just like the shooting star, is immensely powerful when combined with Volume Price Analysis (VPA).
The shooting star is a bearish reversal pattern that appears at the top of uptrends. It signifies that prices have peaked and a downward reversal is likely. The presence of high volume strengthens this signal, indicating that the insiders are offloading their positions.
When combined with volume analysis, these patterns become powerful signals. The volume provides context to the price action, helping traders confirm the validity of the pattern. For example, a hammer with high volume suggests strong buying interest, whereas a shooting star with high volume indicates strong selling pressure.
█ Features:
• Detects Hammer and Shooting Star patterns.
• Validates patterns with volume thresholds.
• Color codes patterns based on volume validation.
• Allows customization of volume thresholds and pattern criteria.
• Option to show or hide signals.
█ Parameters:
• Volume Average Period: The period used to calculate the average volume.
• Higher Volume Multiplier: Multiplier to define higher volume threshold.
• Much Higher Volume Multiplier: Multiplier to define much higher volume threshold.
• Enormous Volume Multiplier: Multiplier to define enormous volume threshold.
• Body/Shadow Ratio for Hammer and Shooting Star: Ratio of body to shadow for pattern validation.
• Upper Shadow Limit for Hammer: Upper shadow limit for Hammer pattern.
• Lower Shadow Limit for Shooting Star: Lower shadow limit for Shooting Star pattern.
• Show Hammer Signals: Display signals for Hammer patterns.
• Show Shooting Star Signals: Display signals for Shooting Star patterns.
Enjoy !
Significant Volume with Price Changes HighlightedSignificant Volume with Price Changes Highlighted
The "Significant Volume with Price Changes Highlighted" indicator by PappyTrading is a powerful tool designed to help traders identify significant volume spikes and price changes in the market. This indicator overlays the volume bars on the price chart and highlights them based on specific volume and price change conditions, providing a clear visual representation of market activity.
What It Does
This indicator calculates the moving average of the volume over a specified period and compares the current volume to this average. It also calculates the daily percentage change relative to the previous day's close and compares this to its moving average. The volume bars are then color-coded based on the following conditions:
Bright Green (#089981): Indicates a significant volume spike with an above-average price increase.
Bright Red (#f23645): Indicates a significant volume spike with an above-average price decrease.
Green with 60% transparency: Indicates a normal up day with a price increase but not a significant volume spike.
Red with 60% transparency: Indicates a normal down day with a price decrease but not a significant volume spike.
Additionally, the indicator plots a 20-period simple moving average (SMA) of the volume, providing a reference point to understand the general volume trend.
How It Works
Volume Calculation:
The indicator calculates the 20-period SMA of the volume and compares the current volume to this average to determine if there is a significant volume spike.
Price Change Calculation:
The indicator calculates the daily percentage change in price relative to the previous day's close and compares this to the 20-period SMA of the percentage change to identify significant price movements.
Color Coding:
The volume bars are color-coded based on the combination of the volume and price change conditions. This visual representation allows traders to quickly identify significant market activities.
How to Use It
Overlay on Chart:
Add the "Significant Volume with Price Changes Highlighted" indicator to your chart. The volume bars will be displayed at the bottom of the chart, color-coded based on the conditions described above.
Identify Market Activity:
Use the color-coded volume bars to identify significant market activities. Bright green bars indicate strong buying pressure, while bright red bars indicate strong selling pressure. Transparent green and red bars indicate normal market activity without significant volume spikes.
Volume Moving Average:
The blue line represents the 20-period SMA of the volume. Use this as a reference to understand the general volume trend and identify deviations from the average.
Concepts Underlying the Calculations
Volume Spikes: Significant volume spikes often precede or accompany major market moves. By highlighting these spikes, traders can gain insights into potential market turning points or continuation patterns.
Price Changes: Large price changes relative to the previous day's close indicate strong market momentum. By comparing these changes to their moving average, the indicator helps traders identify unusually strong buying or selling pressure.
This indicator is ideal for traders who want to gain a deeper understanding of market dynamics by analyzing volume and price changes together. It is suitable for various trading styles, including trend following, swing trading, and scalping.
Volume ProfileThe "Volume Profile" Indicator is a powerful tool for traders, offering a comprehensive analysis of volume distribution over a specified number of bars. This indicator helps identify key levels of support and resistance, based on volume accumulation, and provides insights into market sentiment.
Features:
• Detailed Volume Analysis: Breaks down volume into up and down movements, total volume, and volume delta, providing a clear view of market activity.
• Customizable Settings: Adjust the number of bars, row size, and value area percentage to tailor the indicator to your trading style.
• Visual Clarity: Display volume profiles on either side of the chart, with color-coded bars for easy interpretation.
• Point of Control (POC) Lines: Highlight the highest volume price levels, with options to show total, bullish, and bearish POC lines.
• Volume Value Labels: Optionally display volume values in real terms or percentages directly on the chart.
Flexibility:
• Placement Options: Position the volume profile on the left or right side of the chart for better visual alignment with your analysis.
• Color Customization: Set distinct colors for different volume types, background, and POC lines to match your charting preferences.
• Label Styles: Choose from different label styles and display modes to best fit your needs.
Enjoy the game!
Weighted Volume Profile | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Weighted Volume Profile Indicator! This indicator renders a volume profile based on the volume of latest candlesticks. It can be adjusted to give more weight to recent or past candlesticks, or can be used as a normal volume profile. For more information, please read the full write-up.
Features of the new Weighted Volume Profile indicator :
Renders Volume Profile Of Current Ticker
Adjustable Weighthing Towards Past or Recent
Customizable Row Count & Maximum Distance
Left or Right Alignment
More Styling Options
🚩UNIQUENESS
This indicator differs from a normal volume profile indicator by it's ability to weight volumes based on their distance to the current time. Giving weight to volumes may offer new trading opportunities to traders as they can now see the most recent Point Of Control (POC) or a more powerful but past POC based on their choice. The indicator also has a variety of useful styling settings such as aligning the volume profile to the right or the left of the chart, POC Line styling and color settings for bullish & bearish volumes.
📌 HOW DOES IT WORK ?
A volume profile provides an in-depth look at trading activity over a period of time by plotting a histogram on the price axis. This indicator can also give weight to volumes based on their distance to the current time, essentially determining their importance for the profile. Here is how it works step-by-step :
1. Determine how much candlesticks the volume profile will cover (Analyze Bars setting)
2. Make a range from the highest point of chart to the lowest point of chart, then divide it into rows (Row Count setting)
3. For each candlestick, add it's volume to the corresponding row in the range. Note that the volume can be added into several rows if it overlaps with them.
4. If the candlestick is a bullish candlestick, we add it's volume into the bullish volume of the row, if it's a bearish candlestick, we add it to the bearish volume of the row.
With the weighted volume mode, which is activated if "Volume Weighthing" setting is set to "Recent" or "Past", all volumes get a penalty based on their distance to the latest candletstick. For example, if the setting is set to "Recent", the latest candlestick contributes it's volume by 100% to the corresponding row, but the candlestick which is 50 candlesticks far from the current candlestick only contributes it's volume by ~17% to the row. The same applies to the "Past" setting, but in the reversed order, where past candlesticks have more priority than the current ones.
Volume contribution percent for "Recent" setting : ((100 * 0.85) / (i + 1)) + (100 * (1.0 - 0.85))
Volume contribution percent for "Past" setting : ((100 * 0.85) * ((i + 1) / N)) + (100 * (1.0 - 0.85))
Where i = candlestick index from right to left, N = total number of candlesticks analyzed by the volume profile.
The Point Of Control (POC) line is drawn from the row with the most total volume, and is generally considered as a strong level because a lot of trading volume happened on that particular row. Traders may use this line as a support & resistance level.
Traders can use this indicator to have an insight of areas which price moves quickly without much volume, or see areas that holds the price still for much longer and plan their trades accordingly.
⚙️SETTINGS
1. General Configuration
Analyze Bars -> Total amount of bars that will be analyzed by the indicator from right to left.
Row Count -> The amount of rows that will the vertical range of chart will be divided into.
Volume Weighting -> The volume weighting mode as explained in the write-up.
2. Style
Align To -> The alignment of the volume profile.
Advanced Order Blocks by AccountantXThe "Advanced Order Blocks by AccountantX" is tool designed to identify and visualize significant order blocks in the market.
This script goes beyond traditional order block detection by integrating advanced features such as volume threshold filtering, ATR-based sizing, and higher timeframe considerations.
How It works:
A. General data :
- Order Block Detection: Identifies bullish and bearish order blocks based on swing highs and lows, with options to filter by volume thresholds to ensure significant levels.
- Volume Threshold: Only displays order blocks where the volume exceeds a user-defined threshold, ensuring the highlighted zones are of particular significance.
- ATR-Based Sizing: Offers the option to use the Average True Range (ATR) for sizing order blocks, allowing for dynamic adjustment based on market volatility.
- Higher Timeframe Integration: Includes the ability to display order blocks from a higher timeframe, providing a broader market perspective.
- Customizable Appearance: Users can customize the colors and transparency of the order blocks, ensuring they fit seamlessly with any chart setup.
B. Code explanation :
- The script allows you to set a minimum volume threshold. Order blocks are only shown if the volume during their formation exceeds this threshold, ensuring that only significant price levels are highlighted.
- When enabled, the ATR (Average True Range) is used to size the order blocks. This means the height of the blocks adjusts dynamically with market volatility, providing a more accurate representation of significant zones.
- The script can display order blocks from a higher timeframe on your current chart. This is useful for aligning shorter-term trading decisions with broader market trends.
C. How to Use:
a) Set the volume threshold to filter out less significant order blocks. Adjust the value according to the typical volume of your trading instrument;
b) Enable the ATR-based sizing and set the period and multiplier to match your trading style. This helps in identifying order blocks relative to market volatility;
c) Choose a higher timeframe if you want to see significant order blocks from a broader market perspective. This can help in making more informed trading decisions.
Acknowledgements:
This script builds upon traditional order block concepts by integrating advanced features and customization options. Special thanks to the TradingView community( @fluxchart, @LuxAlgo_Team) for providing foundational concepts and inspiration.
Important Note
This script is provided as-is for educational purposes.
Pivot Point Profile [LuxAlgo]The Pivot Point Profile indicator groups and displays data accumulated from previous pivot points, providing a comprehensive method for prioritizing and displaying areas of interest directly given by swing highs and lows.
Users have access to common settings present in other profile-type indicators.
🔶 USAGE
The Pivot Point Profile is particularly helpful in identifying highly active reversal zones that have been visited multiple times by price. Because of this, we could generally expect these areas to serve as future points of interest, often acting as support or resistance when re-visited.
The profile displays data associated with both Pivot Highs and Pivot Lows. Each row consists of pivot high and pivot low counts side-by-side, forming the total width of the row.
By analyzing the row as a whole, we can gain a better understanding of WHERE to look for interactions.
By analyzing the pivot counts independently, we can gain a better understanding of WHAT to expect when returning to these areas.
For example:
If a row in the profile contains entirely Pivot Lows, this could be seen as an indication to look for buyers to hold that level for a continuation upwards. A break of this level could be interpreted as a lack of interest from previous buyers at this level, indicating a further move down.
🔹 Concentrated Areas
Each row in the profile displays the current count of high pivots and low pivots within the selected lookback. The largest count for each pivot direction is identified as a "Concentrated Area (CA)", these CAs are highlighted over the chart with a line displaying the average of all pivots within that CA. The CA Average is the average of all pivot points (in the majority direction) within the given row.
These can hold more importance as potential support/resistance areas.
Note: The CA Threshold can be manually adjusted to highlight all rows based on a user-selected value.
🔶 DETAILS
🔹 Calculation
The idea behind the Pivot Point Profile is a new analysis method for pivot points, taking the idea of a volume profile and adapting it to display pivot points instead of volume. By using this data, in theory, we should be able to better prioritize zones to anticipate reversals, as well as identify key levels to watch for buyer & seller interactions to use as confirmations in direction.
The (vertical) width of each row is the product of the script's "Row Size", this is the number of rows that the profile will consist of. With a max of 250, the profile can be decently granular. That being said, A more granular profile will have fewer overlapping pivot points. By decreasing the row size (Using fewer rows in the profile) you will increase the tolerance for grouping pivot points. Potentially leading to a more comprehensive Profile. Inversely, By reducing the tolerance for grouping, you will better visualize only similar highs and lows but may have noisier data to sift through.
The Profile is calculated based on a "Lookback" parameter, using only the lookback amount of previous high and low pivots to calculate the profile. Configuring this parameter alongside "Pivot Length", will allow for great control over the frame of reference of the profile.
Note: This indicator is capable of utilizing the full chart history of pivot points, this can be done by enabling the "Use Full Chart History" setting, this will cause the script will calculate from everything it has access to on your current chart.
🔹 Display
The Pivot Point Profile display can be customized to fit a various range of chart styles and visual needs. The specific settings to adjust these can be located in the "Profile Display" Section of the User Inputs.
Profile Width: Sets the Left to Right Width of the Profile. This is the maximum width that the profile will occupy and will scale to fit within this width.
Profile Offset: Sets the distance of the Profile's Axis from the current chart candle. This moves the entire profile left and right to enable to user to set the distance between the profile and the current candle.
Direction: Changes the display direction of the profile, allowing for "Left", "Right", or "Center" display styles.
🔶 SETTINGS
🔹 Pivot Point Parameters
Pivot Type: Choose between "Fractal Pivots" or "SMC Structure" to use as the basis for pivots.
Length: Sets the length for the pivot calculations.
🔹 Profile Calculations Parameters
Lookback: Sets the number of pivots to calculate within, in increments of high and low pairs. (Setting this to 1 = 1 Pivot High & 1 Pivot Low)
Use Full Chart History: Disregards the set lookback and instead uses all available chart data to calculate from.
Row Size: Sets the total number of rows to calculate the profile with.
🔹 Profile Display
Profile Width: Sets the max left & right width (in bars) that the profile will occupy.
Profile Offset: Sets the distance of the profile axis from the last chart bar.
Direction: Sets the display direction
🔹 Concentrated Areas
Highlight CAs: Extends the rows left from concentrated areas.
CA Threshold: Manually set the threshold for determining concentrated areas, when disabled, only the largest rows will be displayed.
CA Averages: Toggles the concentrated area averages for each pivot direction.
Note: CA Averages can be displayed independently without CA Highlights being displayed, and vice versa.
Frequency and Volume ProfileFREQUENCY & VOLUME PROFILE
⚪ OVERVIEW
The Frequency and Volume Profile indicator plots a frequency or volume profile based on the visible bars on the chart, providing insights into price levels with significant trading activity.
⚪ USAGE
● Market Structure Analysis:
Identify key price levels where significant trading activity occurred, which can act as support and resistance zones.
● Volume Analysis:
Use the volume mode to understand where the highest trading volumes have occurred, helping to confirm strong price levels.
● Trend Confirmation:
Analyze the distribution of trading activity to confirm or refute trends, mark important levels as support and resistance, aiding in making more informed trading decisions.
● Frequency Distribution:
In statistics, a frequency distribution is a list of the values that a variable takes in a sample. It is usually a list. Displayed as a histogram.
⚪ SETTINGS
Source: Select the price data to use for the profile calculation (default: hl2).
Move Profile: Set the number of bars to offset the profile from the current bar (default: 100).
Mode: Choose between "Frequency" and "Volume" for the profile calculation.
Profile Color: Customize the color of the profile lines.
Lookback Period: Uses 5000 bars for daily and higher timeframes, otherwise 10000 bars.
The Frequency Profile indicator is a powerful tool for visualizing price levels with significant trading activity, whether in terms of frequency or volume. Its dynamic calculation and customizable settings make it a versatile addition to any trading strategy.
Cumulative Volume Difference MapThe "Cumulative Volume Difference Map" is designed to help traders and market analysts understand volume trends over various timeframes. This script analyzes the difference between cumulative positive and negative volume to provide a trend outlook based on volume changes compared to previous bars, by calculating the cumulative positive and negative volume, then deriving a ratio that represents the difference between these volumes. By examining this ratio over different timeframes, the indicator helps identify whether the market sentiment is trending positively or negatively.
Key Features
Volume Analysis:
The script accumulates volume for periods where the closing price is higher or lower than the previous bar, providing a clear picture of buying versus selling pressure.
Trend Detection:
It evaluates the volume ratio over multiple look-back periods, allowing users to see how the trend develops over different timeframes. This multi-period analysis helps in identifying consistent trends and potential reversals.
Visual Representation:
The indicator plots trend signals on the chart, visually representing whether the volume trend is positive or negative over various historical periods.
How to Use
Trend Identification:
Use this indicator to identify periods of sustained buying or selling pressure. Positive trends indicate more cumulative buying volume, while negative trends suggest more cumulative selling volume.
Multi-Period Analysis:
Analyze the trend signals over different timeframes to understand both short-term and long-term volume trends. This can help in making informed trading decisions based on the overall market sentiment.
Chart Integration:
The plotted signals can be used alongside other technical indicators to confirm trends or spot divergences, enhancing your overall market analysis strategy.
VWAP Bands [UAlgo]The "VWAP Bands " indicator is designed to provide traders with valuable insights into market trends and potential support/resistance levels using Volume Weighted Average Price (VWAP) bands. This indicator integrates the core concepts of VWAP with additional trend analysis features, making it a versatile tool for both range trading and trend-following strategies.
The VWAP bands are plotted based on the standard deviation multipliers, creating upper and lower bands around the VWAP. These bands serve as dynamic support and resistance levels. When the price approaches these bands, traders can anticipate potential reversals or continuations of the current trend. Additionally, the indicator provides visual cues for trend strength and potential trend changes, helping traders make informed decisions in various market conditions.
🔶 Settings
Source (Data Source): The data source for VWAP calculations. The default setting is the typical price (HLC3), which is the average of the high, low, and close prices.
Length: The number of bars used in the VWAP calculation. This determines the lookback period for the indicator.
Standard Deviation Multiplier: The multiplier applied to the standard deviation to create the primary upper and lower VWAP bands. This setting controls the distance of the bands from the VWAP.
Secondary Standard Deviation Multiplier: The multiplier applied to the standard deviation to create the secondary upper and lower VWAP bands, providing additional levels of support and resistance.
Display Trend: A toggle to enable or disable the display of the trend analysis feature. When enabled, the indicator highlights trend strength and potential trend changes.
Display Trend Crossovers: A toggle to enable or disable the display of trend crossover signals. When enabled, the indicator plots shapes to indicate where trend switches are likely occurring.
🔶 Calculations
The calculations behind the "VWAP Bands " indicator begin with determining the Volume Weighted Average Price (VWAP), which provides a comprehensive view of the average price of an asset, weighted by trading volume. This gives a more accurate representation of the asset's true average price over a specified period.
The first step in this process involves summing the trading volume over a chosen period, typically represented by the length parameter. Simultaneously, the product of the price (usually an average of the high, low, and close prices) and the trading volume is calculated and summed. By dividing this cumulative price-volume product by the total volume, we obtain the VWAP value. This VWAP serves as the central anchor around which the price action oscillates.
To enhance the utility of VWAP, we introduce standard deviation calculations. Standard deviation measures the extent of price dispersion from the VWAP, providing insight into price volatility. By calculating the variance (which involves the squared deviations of price) and then taking its square root, we derive the standard deviation. This helps in understanding how far prices typically stray from the VWAP.
With the VWAP and standard deviation in hand, we then establish upper and lower bands by adding and subtracting multiples of the standard deviation from the VWAP. These bands act as dynamic support and resistance levels, adapting to changes in market volatility. The primary bands, set by the first standard deviation multiplier, are augmented by secondary bands defined by a larger multiplier, offering additional layers of potential support and resistance.
It also integrates trend analysis, highlighting areas where the price action suggests a strong or weak trend. This is achieved by overlaying colored zones above and below the bands, indicating the strength and direction of the trend. When the price crosses these bands, it signals potential trend changes, aiding traders in making timely decisions.
🔶 Disclaimer
The "VWAP Bands " indicator is provided for educational and informational purposes only. It is not intended as financial advice and should not be construed as such.
Trading involves significant risk and may not be suitable for all investors. Before using this indicator or making any investment decisions, it is important to conduct thorough research and consider your financial situation.
COT IndexReference:
Trade Stocks and Commodities with the Insiders
Secrets of the COT Report by Larry Williams pg34
The equation is as below:
Current week's value- Lowest value of last three years
---------------------------------------------------------------------------- X 100%
Highest high of last three years-Lowest low of last three years
According to Larry Williams, traders should follow commercials direction. When the commercial index line (yellow line) is above 80, this indicates commercials are bullish. Hence, traders can look for potential buy setup. Conversely, when commercials index line (yellow line) is below 20, this indicates commercials are bearish, we can look for sell setup.
Do note that this is only applicable on Weekly chart as COT reports come out on weekly basis.
Modification from the original COT index from Larry Williams:
1) I've added 1year and 6months period, so traders maybe can look for pullback using shorter period. By default, Larry Williams uses 3 years Commercial index.
2) I've added non-commercials and retail traders index, they basically trade opposite way of commercials.
This indicator should not be used as a timing tool or entry tool, you can use it as your weekly or monthly bias tool. For more information, please read the books. Feel free to modify the code, if u have a better version of this, you may share to me if you want, I will be very grateful!
Matt Liq LinesIndicator Overview
The "Matt Liq Lines" indicator is designed to help traders identify significant price levels where high-volume trading occurred. These levels are often referred to as liquidation levels and can act as support or resistance in the market. The indicator plots horizontal lines on the chart at these identified levels, helping traders make informed decisions based on volume spikes.
Key Features
Volume Multiplier: A user-defined threshold to identify high-volume candles. If a candle's volume is greater than the average volume multiplied by this multiplier, it is considered a high-volume candle.
Lookback Period: The period over which the average volume is calculated. This helps in smoothing out volume data to identify significant spikes.
Max Levels: The maximum number of liquidation levels to display on the chart. This helps in keeping the chart clean and focuses on the most relevant levels.
Indicator Components
Average Volume Calculation:
avgVolume = ta.sma(volume, lookbackPeriod)
Calculates the simple moving average (SMA) of the volume over the specified lookback period.
High Volume Identification:
highVolume = volume > (avgVolume * volumeMultiplier)
Identifies if the current candle's volume is greater than the average volume multiplied by the volume multiplier.
Liquidation Levels Storage:
Uses arrays to store the levels, their corresponding bar indices, and volumes.
Adding Liquidation Levels:
When a high-volume candle is identified, its open price is added as a liquidation level. If the maximum number of levels is exceeded, the oldest level is removed to make room for the new one.
Cleaning Levels:
A function f_clean_levels removes crossed levels (where the price has already moved above and below the level) and keeps the levels with the highest volumes.
Plotting Liquidation Lines:
Horizontal lines are drawn at the identified liquidation levels. These lines extend to the right and help traders visualize important price levels.
How to Use the Indicator
Set the Volume Multiplier: Adjust the volume multiplier to filter out minor volume spikes and focus on significant ones.
Adjust the Lookback Period: Set a lookback period that reflects the typical trading volume for the asset you are analyzing.
Configure Max Levels: Decide the number of levels you want to display on the chart to avoid clutter.
Interpret the Lines: Use the plotted lines as potential support or resistance levels. These lines indicate where significant trading activity has occurred, which could influence future price movements.
By following these steps and understanding the indicator's components, traders can effectively use the "Matt Liq Lines" indicator to identify key price levels influenced by high trading volumes, aiding in better decision-making
DTB
Dynamic Trendline Bands with Buy/Sell Pressure Detection
This indicator provides a comprehensive analysis of price movements by incorporating smoothed high and low bands, a midline, and the detection of buying and selling pressure. It is designed to help traders identify key support and resistance levels as well as potential buy and sell signals.
**Features:**
- **Smooth High and Low Bands:** Based on the highest high and lowest low over a specified period, smoothed using a simple moving average (SMA) to reduce noise and enhance clarity.
- **Midline:** The average of the smoothed high and low bands, providing a central reference point for price movements.
- **Buying and Selling Pressure Detection:** Highlights candles with significant buying or selling pressure, indicated by light green for buying pressure and light red for selling pressure. This is determined based on volume thresholds and price movement.
- **Trendlines:** Dynamic trendlines are drawn based on recent highs and lows, helping to visualize the current trend direction.
**How to Use:**
1. **High-Low Bands:** Use these bands to identify key support and resistance levels.
2. **Midline:** Monitor the midline for potential mean reversion trades.
3. **Buying/Selling Pressure Candles:** Look for candles highlighted in light green or red to identify potential buy or sell signals.
4. **Trendlines:** Follow the dynamic trendlines to understand the direction of the current trend.
**Inputs:**
- **Length:** Number of bars to consider for calculating the highest high and lowest low (default: 200).
- **Smooth Length:** Period for the simple moving average to smooth the high and low bands (default: 10).
- **Volume Threshold Multiplier:** Multiplier for the average volume to detect significant buying or selling pressure (default: 1.5).
This indicator is suitable for all timeframes and can be used in conjunction with other technical analysis tools to enhance your trading strategy.
Volume-Adjusted Bollinger BandsThe Volume-Adjusted Bollinger Bands (VABB) indicator is an advanced technical analysis tool that enhances the traditional Bollinger Bands by incorporating volume data. This integration allows the bands to dynamically adjust based on market volume, providing a more nuanced view of price movements and volatility. The key qualities of the VABB indicator include:
1. Dynamic Adjustment with Volume: Traditional Bollinger Bands are based solely on price data and standard deviations. The VABB indicator adjusts the width of the bands based on the volume ratio, making them more responsive to changes in market activity. This means that during periods of high volume, the bands will expand, and during periods of low volume, they will contract. This adjustment helps to reinforce the significance of price movements relative to the central line (VWMA).
2. Volume-Weighted Moving Average (VWMA): Instead of using a simple moving average (SMA) as the central line, the VABB uses the VWMA, which weights prices by volume. This provides a more accurate representation of the average price level, considering the trading volume.
3. Enhanced Signal Reliability: By incorporating volume, the VABB can filter out false signals that might occur in low-volume conditions. This makes the indicator particularly useful for identifying significant price movements that are supported by strong trading activity.
How to Use and Interpret the VABB Indicator
To use the VABB indicator, you need to set it up on your trading platform with the following parameters:
1. BB Length: The number of periods for calculating the Bollinger Bands (default is 20).
2. BB Multiplier: The multiplier for the standard deviation to set the width of the Bollinger Bands (default is 2.0).
3. Volume MA Length: The number of periods for calculating the moving average of the volume (default is 14).
Volume Ratio Smoothing Length: The number of periods for smoothing the volume ratio (default is 5).
Interpretation
1.Trend Identification: The VWMA serves as the central line. When the price is above the VWMA, it indicates an uptrend, and when it is below, it indicates a downtrend. The direction of the VWMA itself can also signal the trend's strength.
2. Volatility and Volume Analysis: The width of the VABB bands reflects both volatility and volume. Wider bands indicate high volatility and/or high volume, suggesting significant price movements. Narrower bands indicate low volatility and/or low volume, suggesting consolidation.
3. Trading Signals:
Breakouts: A price move outside the adjusted upper or lower bands can signal a potential breakout. High volume during such moves reinforces the breakout's validity.
Reversals: When the price touches or crosses the adjusted upper band, it may indicate overbought conditions, while touching or crossing the adjusted lower band may indicate oversold conditions. These conditions can signal potential reversals, especially if confirmed by other indicators or volume patterns.
Volume Confirmation: The volume ratio component helps confirm the strength of price movements. For instance, a breakout accompanied by a high volume ratio is more likely to be sustained than one with a low volume ratio.
Practical Example
Bullish Scenario: If the price crosses above the adjusted upper band with a high volume ratio, it suggests a strong bullish breakout. Traders might consider entering a long position, setting a stop-loss just below the VWMA or the lower band.
Bearish Scenario: Conversely, if the price crosses below the adjusted lower band with a high volume ratio, it suggests a strong bearish breakout. Traders might consider entering a short position, setting a stop-loss just above the VWMA or the upper band.
Conclusion
The Volume-Adjusted Bollinger Bands (VABB) indicator is a powerful tool that enhances traditional Bollinger Bands by incorporating volume data. This dynamic adjustment helps traders better understand market conditions and make more informed trading decisions. By using the VABB indicator, traders can identify significant price movements supported by volume, improving the reliability of their trading signals.
The Volume-Adjusted Bollinger Bands (VABB) indicator is provided for educational and informational purposes only. It is not financial advice and should not be construed as a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for all investors. Past performance is not indicative of future results.