1. [Pufferman] - Comprehensive VolumeThis indicator presents a comprehensive approach to volume analysis, incorporating several key metrics to provide traders with a detailed view of market activity. Here's what's included:
1. Cumulative Relative Volume (Intraday): This metric accumulates volume data throughout the day, comparing it to historical session averages up to the current time. It's particularly useful for intraday analysis to determine if the stock is trading high or low volume before the day is over.
2. Real Relative Volume - This feature calculates the relative volume of a stock in comparison to the SPY, offering insight into whether a stock is trading with higher relative volume than the broader market.
3. Configurable Moving Average for Volume: Users can adjust the moving average period for average volume, allowing for flexible adaptation to different trading strategies and time frames. (green line in photo)
4. Above/Below Average Line: This line indicates whether the current volume bar exceeds or falls short of the session's average volume, providing immediate context for volume analysis. (red line in photo).
5. Volume Display in Abbreviations: Actual volume figures are presented in an abbreviated format, using "K" for thousands and "M" for millions, facilitating quick and easy analysis.
6. Color-Coded Relative and Real Relative Volume: Both the Relative Volume (RVOL) and Real Relative Volume (RRVOL) are color-coded to instantly convey volume concentration levels, enhancing visual analysis across multiple charts.
7. Volume Bars with Bullish and Bearish Highlights: Traditional volume bars are color-highlighted according to corresponding candle patterns, aiding in the identification of market sentiment.
Key Points:
The RVOL is a cumulative metric, considering time-of-day volume comparisons for intraday analysis. This approach offers a nuanced understanding of volume patterns specific to the timeframe being viewed.
The RRVOL provides a comparative analysis against the market, offering insights into stock-specific volume activity relative to market trends.
Note: This indicator is designed for intraday analysis and may not function as intended on timeframes above daily due to the cumulative nature of its volume calculations.
Объем
Effective Volume Z-ScoreThis indicator aims at responding the question: is the current trend supported by volume?
The concept and formula
The central concept is the Effective Volume, calculated as follow:
effectiveVolume = volume * (close - open) / (high - low)
Then the Effective Volume Z-Score indicator is calculated by smoothing the effective volume and applying the z-score function:
zscore(x) = (x - mean) / stdev
Essentially, the indicator's value represents the number of standard deviations of the effective volume away from the mean.
How to use it
This indicator should be used for trend confirmation.
For an uptrend, the bigger the indicator value, the greater the volume support, while for a downtrend, the lower the indicator value, the greater the volume support.
Divergences are also important, as with every volume indicator.
Liquidity Finder v2.0Description:
The Liquidity Finder v2.0 is a powerful technical indicator designed to identify divergence between volume and price movements in financial markets. Divergence occurs when there is a significant disparity between trading volume and price action, often signaling potential changes in market direction or trends.
This indicator calculates the relative volume and relative price change over a user-defined lookback period. Relative volume is determined by comparing the current volume to the average volume over the specified period, while relative price change compares the current price change to the average price change over the same period.
Key Features:
Customizable parameters allow users to adjust the lookback period, volume threshold, and price threshold to suit their trading preferences.
Divergence detection is visually represented by changing the color of price bars, making it easy for traders to identify potential trading opportunities.
Alerts can be set to notify traders when divergence is detected, enabling timely decision-making and trade execution.
The Volume-Price Divergence Detector is a valuable tool for traders and investors seeking to enhance their technical analysis toolkit. By spotting divergence between volume and price movements, traders can anticipate potential trend reversals or continuations, leading to more informed trading decisions and improved trading outcomes.
Periodic Activity Tracker [LuxAlgo]The Periodic Activity Tracker tool periodically tracks the cumulative buy and sell volume in a user-defined period and draws the corresponding matching bars and volume delta for each period.
Users can select a predefined aggregation period from the following options: Hourly, Daily, Weekly, and Monthly.
🔶 USAGE
This tool provides a simple and clear way of analyzing volumes for each aggregated period and is made up of the following elements:
Buy and sell volumes by period as red and green lines with color gradient area
Delta (difference) between buy & sell volume for each period
Buy & sell volume bars for each period
Separator between lines and bars, and period tags below each pair of bars for ease of reading
On the chart above we can see all the elements displayed, the volume level on the lines perfectly matches the volume level on the bars for each period.
In this case, the tool has the default settings so the anchor period is set to Daily and we can see how the period tag (each day of the week) is displayed below each pair of bars.
Users can disable the delta display and adjust the bar size.
🔹 Reading The Tool
In trading, assessing the strength of the bulls (buyers) and bears (sellers) is key to understanding the current trading environment. Which side, if any, has the upper hand? To answer this question, some traders look at volume in relation to price.
This tool provides you with a view of buy volume versus sell volume, allowing you to compare both sides of the market.
As with any volume tool, the key is to understand when the forces of the two groups are balanced or unbalanced.
As we can observe on the chart:
NOV '23: Buy volume greater than sell volume, both moving up close together, flat delta. We can see that the price is in range.
DEC '23: Buy volume bigger than Sell volume, both moving up but with a bigger difference, bigger delta than last month but still flat. We can see the price in the range above last month's range.
JAN '24: Buy and sell volume tied together, no delta whatsoever. We can see the price in range but testing above and below last month's range.
FEB '24: Buy volume explodes higher and sell volume cannot keep up, big growing delta. Price explodes higher above last month's range.
Traders need to understand that there is always an equal number of buyers and sellers in a liquid market, the quality here is how aggressive or passive they are. Who is 'attacking' and who is 'defending', who is using market orders to move prices, and who is using limit orders waiting to be filled?
This tool gives you the following information:
Lines: if the top line is green, the buyers are attacking, if it is red, the sellers are attacking.
Delta: represents the difference in their strength, if it is above 0 the buyers are stronger, if it is below 0 the sellers are stronger.
Bars: help you to see the difference in strength between buyers and sellers for each period at a glance.
🔹 Anchor Period
By default, the tool is set to Hourly. However, users can select from a number of predefined time periods.
Depending on the user's selection, the bars are displayed as follows:
Hourly : hours of the current day
Daily : days of the current week
Weekly : weeks of the current month
Monthly : months of the current year
On the chart above we can see the four periods displayed, starting at the top left and moving clockwise we have hourly, daily, weekly, and monthly.
🔶 DETAILS
🔹 Chart TimeFrame
The chart timeframe has a direct impact on the visualization of the tool, and the user should select a chart timeframe that is compatible with the Anchor period in the tool's settings panel.
For the chart timeframe to be compatible it must be less than the Anchor period parameter. If the user selects an incompatible chart timeframe, a warning message will be displayed.
As a rule of thumb, the smaller the chart timeframe, the more data the tool will collect, returning indications for longer-term price variations.
These are the recommended chart timeframes for each period:
Hourly : 5m charts or lower
Daily : 1H charts or lower
Weekly : 4H charts or lower
Monthly : 1D charts or lower
🔹 Warnings
This chart shows both types of warnings the user may receive
At the top, we can see the warning that is given when the 'Bar Width' parameter exceeds the allowed value.
At the bottom is the incompatible chart timeframe warning, which prompts the user to select a smaller chart timeframe or a larger "Anchor Period" parameter.
🔶 SETTINGS
🔹 Data Gathering
Anchor period: Time period representing each bar: hours of the day, days of the week, weeks of the month, and months of the year. The timeframe of the chart must be less than this parameter, otherwise a warning will be displayed.
🔹 Style
Bars width: Size of each bar, there is a maximum limit so a warning will be displayed if it is reached.
Volume color
Delta: Enable/Disable Delta Area Display
VR1 DEMASure, here's a description for the "Volume Range Dual EMA" indicator:
---
**Indicator Name:** Volume Range Dual EMA
**Description:**
The "Volume Range Dual EMA" indicator is a technical analysis tool designed for TradingView charts. It calculates the ratio of volume to the price range of each bar and plots two Exponential Moving Averages (EMAs) of this ratio.
**Usage:**
- This indicator helps traders analyze the relationship between volume and price range in a given timeframe.
- The primary purpose of the indicator is to identify trends and potential changes in market sentiment based on volume and price movements.
- Traders can adjust the lengths of the EMAs according to their trading strategies and preferences.
- When the shorter EMA crosses above the longer EMA, it may signal a bullish trend, whereas a crossover in the opposite direction could indicate a bearish trend.
**Parameters:**
1. **EMA Length 1:** Defines the length of the first Exponential Moving Average (EMA) used in the calculation.
2. **EMA Length 2:** Defines the length of the second Exponential Moving Average (EMA) used in the calculation.
Volume Quartile IndicatorThe Volume Quartile Indicator is a tool designed to analyze and classify trading volumes based on quartile levels, offering traders a visual means to assess market strength and momentum. This indicator calculates volume levels using a default length of 60 periods to determine the quartiles at 10%, 30%, 50%, 70%, and 90%. Each quartile range is represented by a specific color, providing a clear, visual representation of volume intensity relative to historical data.
Color-Coded Volume Strength: Volume strength is visually represented through a color-coded system for quick and intuitive analysis:
Red: Volume below the 10% level indicates very weak market activity.
Orange: Volume between 10% and 30% signifies weak market activity.
Gray: Volume in the 30% to 50% range represents medium activity with a weak bias.
Silver: Volume between 50% and 70% indicates medium activity with a strong bias.
Blue: Volume in the 70% to 90% range denotes strong market activity.
Green: Volume above the 90% level signifies very strong market activity.
Special Volume Markers: Yellow diamond markers highlight volumes that stand out due to their significance, providing traders with visual cues for potential market entry or exit points.
Q-Lines: The indicator draws q-lines at the 70%, 90%, and the midpoint between these two levels. The convergence of these q-lines suggests potential volatility in volume, which could significantly impact price movements.
The Volume Quartile Classification Indicator is atool for traders looking to incorporate volume analysis into their trading strategy.
OI Bubbles aggrThis indicator visually represents the positioning of market participants using open interest (OI) data of Bitcoin futures obtained from multiple exchanges.
The main features and functions of the indicator are as follows:
1. Aggregation of OI data from multiple exchanges
- Retrieves and sums OI data from 5 symbols: Binance (BTCUSDTPERP, BTCPERP), Kraken (BTCUSDTPERP), and BitMEX (XBTUSD, XBTUSDT)
2. Calculation of Z-score for OI
- Calculates the Z-score for the total OI
- Uses a moving average (default period is 21) specified for the Z-score calculation
- The Z-score expresses how much the OI value deviates from the average in units of standard deviation
3. Display of signals based on Z-score
- Displays signals when the Z-score exceeds/falls below multiple predefined thresholds (default is 5 levels: 2, 2.5, 3, 4, 5)
- Signals are displayed as colored circles in the middle of the corresponding candle
- The size of the circle increases as the threshold is significantly exceeded, visually emphasizing the magnitude of the position bias
4. Customizable parameters
- Selection of exchanges and symbols to use
- Setting of the type and period of moving average used for Z-score calculation
- Setting of Z-score thresholds
- Setting of signal colors
Extreme position biases may lead to subsequent price movements, making them a key signal for trading.
However, this indicator is based solely on OI data and does not consider other market data such as price action or trading volume.
Therefore, it is crucial to combine the signals obtained from this indicator with other analytical methods for a comprehensive assessment.
Furthermore, the results can be greatly influenced by the parameter settings of the indicator, such as the Z-score thresholds and calculation periods. As a result, it is necessary to conduct thorough backtesting on historical data to find the optimal settings.
Smart Money Concepts [UAlgo]🔶 Description:
Smart Money Concepts (SMC) refer to a trading strategy that revolves around understanding and following the actions of institutional investors, such as banks and hedge funds, who are considered the “smart money” in the market. The concept is based on the idea that these institutions have more information and resources, and thus their market activities can indicate future market movements.
This script designed to be a tool that will automatically provide many features related to SMC concept for investors, offering a market structure analysis that includes the identification of order blocks, breaker blocks, and liquidity points. It also delineates premium and discount zones, highlights Fair Value Gaps (FVG), Volume Imbalance (VI) and Order Gap (OG) areas, providing users with a multifaceted view of market dynamics.
🔶 Key Features:
Market Structure Analysis : Simplifies the overview of market behavior, identifies market breakouts or trend continuation.
It detects the market structure as shown in the image below :
Order Blocks : Detects Order Blocks based on market structure analysis and volume characteristics. It draws these blocks and provides information such as volume.
Order Block Identification:
Breaker Blocks : Detects Breaker Blocks based on market structure analysis.
Breaker Block Identification:
When Order Block above is broken,
As you can see, it has now turned into a Bearish Breaker Block,
And it seems that the price is getting a reaction from this breaker block above.
Liquidity Sweeps : Tracks liquidity sweeps on both the buy and sell sides, offering traders a perspective on market momentum and potential shifts.
Multi-Timeframe Fair Value Gap (FVG), Volume Imbalance (VI), Order Gaps (OG) Detection : Detects Fair Value Gap (FVG), Volume Imbalance (VI) and Order Gaps (OG) based on different criteria such as price movements and volume characteristics. It marks these gaps/voids and provides visual cues for analysis.
Examle for FVG:
Premium & Discount Zone Analysis : Analyzes premium and discount zones, showing prices within these zones and highlighting equilibrium (0.5) levels.
Customizable Options : Provides various input parameters for customization, such as market structure length, sensitivity settings, display preferences, and mitigation methods.
Previous Key Levels : Identifies previous key levels include previous highs, lows, equilibrium points, and open prices across different timeframes such as daily, weekly, and monthly.
🔶 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.
Volume Liqidations [EagleVSniper]The Volume Liquidations Indicator is designed for traders who want to spot significant liquidation events in the cryptocurrency markets, particularly between spot and futures volumes. This powerful tool auto-detects the trading asset and compares the volume data from both spot and futures markets to highlight potential high-volume liquidation points that can significantly impact price movement. Raw source code owner - tartigradia
Features:
Auto-Detect Functionality: Automatically identifies the current trading asset, providing an option for manual selection for both spot and futures symbols.
Volume Comparison: Calculates the difference between futures and spot volumes within a user-defined timeframe, helping to identify liquidation events.
Customizable Parameters: Offers customizable options for multipliers, lookback periods, and timeframe selection to tailor the indicator to your trading strategy.
Visual Indicators: Displays liquidation volumes as color-coded columns, with green indicating potential long liquidations and red for short liquidations. It also highlights bars that exceed the high-volume threshold, providing a clear visual cue for significant liquidation events.
Spot and Futures Volume MA: Includes optional moving average plots for both spot and futures volumes, allowing for a deeper analysis of market trends.
Highlighting High-Volatility Candles: The indicator uniquely colors candles that reach a predefined volatility threshold, determined by the user-set multiplier. This functionality aims to spotlight moments of significant market volatility, providing traders with immediate visual cues.
Dynamic Ticker Selection: Seamlessly switches between auto and manual ticker selection, providing flexibility for all types of traders.
How to Use:
Setup: Configure the indicator to your preferences. You can choose between automatic or manual ticker selection, set the multiplier for the high-volume threshold, and define the lookback period for the moving average calculation.
Analysis: The indicator plots differences in volume between futures and spot markets as columns on your chart, color-coded to indicate the direction of potential liquidations.
Decision Making: Use the indicator to identify potential liquidation events. High-volume thresholds are highlighted, suggesting significant market movements. Combine this information with other analysis tools to make informed trading decisions.
VWAP SpiderThe VWAP Spider indicator enhances the conventional Volume Weighted Average Price (VWAP) analysis by anchoring it to the first candle and incorporating an extensive series of standard deviation (SD) lines, extending up to +8 SDs with additional half-step increments. This configuration provides a more suitable set of lines for identifying support and resistance, distinguishing it from existing VWAP and SD indicators. Its design, featuring color gradients for fills and distinct labels for each line, aims to improve the utility and user experience.
Optimal Timeframes:
It is recommended for use on weekly or monthly resolutions to ensure all price and volume history is included.
Distinctive Features:
The indicator includes a more extensive array of SD lines than typically found in VWAP indicators, enhancing the depth of market analysis.
The visual presentation is optimized with color gradients and clear labeling, facilitating ease of use and integration into trading strategies.
Practical Use of the VWAP Spider:
SD Lines as Support and Resistance : Observe the interactions between the price and the SD lines closely. These can serve as dynamic support and resistance indicators, influencing trading decisions.
Analyzing Historical Price Action : Investigate how the price has historically interacted with the SD lines. Identify which lines have frequently acted as support and resistance in the past, as they will often continue to be revisited.
Strategic Application : Leverage insights from the interactions between price and SD lines to fine-tune entry and exit points. For example, a rebound from an SD line may suggest a strong entry point, while breaching an SD line could indicate a potential exit.
This indicator is freely available and open-source on TradingView for all. It is designed to help traders enhance their market analysis and strategic decision-making.
Entry FraggerEntry Fragger is a simple buy signal indicator.
It is most suitable for cryptocurrency, especially for altcoins on the 5 minute to daily timeframe and is based on simple volume calculations, in combination with EMA's.
Main Signal Logic explained:
A buy signal is generated by counting candles with an above average sell volume of 130% to 170%, taking into account the candles position below and above the 50 and 200 EMA.
If criteria meet, the first green candle above the 50 EMA's suggests upcoming higher prices.
The indicator has 2 input variables.
"Signal Confirmations (0 - 7):" Changes signal accuracy by a defining an ammount of high sell volume candles necessary below the 50 EMA.
"Volume Calculation Base (9 - 200):" Sets the exponential volume multiplier, this affects candle coloring and the volume calculation inside the candle.
"Style Settings": Turn ON/OFF Signals, Cloud, Bar Coloring, EMA's, etc...
There are no generally suitable default numbers for those 2 inputs, those have to be tested out, depending on cryptocurrency and timeframe.
The calculation is very basic, the underlying idea being, market maker initiating range breakouts through rapid increase of volume above or below the EMA's .
Example settings:
SOLUSDT: Signal Confirmations: 2, Volume Calculation Base 13.
SOLUSDT: Signal Confirmations: 0, Volume Calculation Base 20.
As you can see it affects signals quite a lot, but staying accurate.
Finetune the inputs to your preference.
Risk to Reward, Stoploss, Take Profit, position sizing, etc... is up to the user.
Recommended entry is to wait for following candle closes, entering half of the candle size and setting Stoploss outside the structure, like this:
Or right below the candles open, for safety.
Liquidity SpotterIndicator Setup:
The script sets up a TradingView indicator titled "Liquidity Spotter" with a short title "PWWTC LS". It's designed to overlay on the price chart (overlay=true).
Input Variables:
The script defines input variables that allow users to customize the behavior of the indicator:
atr_length: Length of the Average True Range (ATR) used in calculations.
volume_multiplier: Multiplier used to compare the volume of the current bar with the average volume.
range_multiplier: Multiplier used to calculate the range condition.
highlight_color: Color used to highlight bars when conditions are met.
Calculations:
The script calculates the ATR and average volume using the ta.atr and ta.sma functions provided by TradingView's Pine Script.
It sets the avg_range to the value of the ATR, essentially making it the same as atr_value.
Conditions:
The script checks several conditions based on the calculated values:
range_condition: Compares the range (high - low) of the current bar with the average range multiplied by the range multiplier.
volume_condition: Compares the volume of the current bar with the average volume multiplied by the volume multiplier.
range_volume_condition: Compares the ratio of range to volume with the ratio of average range to average volume.
Plotting:
Based on the conditions being met or not, the script sets the color of the price bars. If all conditions are met, the color of the bars will be set to highlight_color, otherwise, it will remain unchanged (na).
Overall, this script visually highlights price bars on the chart where specific conditions related to range, volume, and their ratio are met, potentially indicating trading opportunities.
REV01 - Combined WT and SQZMOM Indicator and VWAP [KMARHOUMI]The Combined WaveTrend and Squeeze Momentum Indicator with VWAP (CWT_SQZMOM) is a powerful trading tool designed for traders looking to capitalize on market momentum and volatility squeezes, with the added insight of volume-weighted average price (VWAP) levels.
This custom indicator integrates three key components:
WaveTrend Oscillator: A momentum indicator that highlights potential reversal points in the market by identifying overbought and oversold conditions.
Squeeze
Momentum Indicator (SQZMOM): Identifies market consolidation periods (squeeze) and potential momentum breakouts, offering visual cues for significant price movements.
Volume-Weighted Average Price (VWAP): Provides a baseline measure of the average price based on volume, crucial for understanding market direction within a trading day.
Features
Visual Cues: Utilizes color-coded histograms, circles, and triangles to provide clear visual signals for trading opportunities.
Customizable Parameters: Allows traders to adjust input values for the WaveTrend Oscillator and Squeeze Momentum Indicator to fit various trading styles and timeframes.
Dynamic Indicators: Combines price momentum with volume data, offering a comprehensive view of market conditions.
How to Use
Setup: Apply the indicator to any chart in a trading platform that supports Pine Script (e.g., TradingView). Adjust the input parameters as needed to match your trading strategy and the asset's volatility.
Reading the Indicator:
WaveTrend Crossovers: Look for blue circles indicating a bullish crossover of the WaveTrend lines (wt1 crosses above wt2) and fuchsia circles for a bearish crossover (wt1 crosses below wt2). These points signal potential reversal opportunities.
Squeeze Momentum (SQZMOM): Green triangles at the bottom indicate a "Squeeze On" condition, suggesting market consolidation and potential for a breakout. Red triangles at the top signal a "Squeeze Off" condition, indicating the end of the squeeze and the start of a momentum phase.
VWAP: The price position relative to the VWAP line helps identify the overall market trend. Prices above VWAP may indicate bullish conditions, while prices below VWAP suggest bearish conditions.
Example Scenario for Going Long
Imagine the asset's price has been consolidating, and you observe a green triangle ("Squeeze On") at the bottom of the chart, indicating a potential breakout. Shortly after, a blue circle appears, signaling a bullish crossover in the WaveTrend Oscillator. If this crossover occurs above the VWAP line, it strengthens the signal for a long position. Traders might enter a long trade at this point, setting a stop loss below the recent low and a take profit at a previous resistance level or using a risk-reward ratio that suits their strategy.
Effort Versus ResultsThis indicator, named "Effort Versus Results" (CCB), is designed to visually highlight price bars on a TradingView chart based on user-defined criteria. The purpose of this indicator is to identify potential trading opportunities or signal areas of interest for further analysis.
Once the inputs are specified, the indicator calculates the ratio of the first ATR to the average volume and compares it to the product of the multiplier and the ratio of the second ATR to the average volume. If the calculated condition is met, indicating that the first ATR relative to volume is greater than the second ATR relative to volume multiplied by the specified multiplier, the indicator colors the corresponding price bars red.
By customizing the parameters, traders can adapt the indicator to suit their trading strategies, risk tolerance, and market conditions. The highlighted bars may signify potential areas of increased volatility or trading activity, prompting traders to further investigate potential trading opportunities. However, as with any technical indicator, it is essential to use this tool in conjunction with other analysis techniques and risk management strategies for informed decision-making.
The indicator utilizes three main inputs that users can customize:
1. **ATR Length 1 (`atr_length_1`)**: This parameter allows users to specify the length of the first Average True Range (ATR) period. ATR is a measure of market volatility and represents the average range of price movement over a specified period.
2. **ATR Length 2 (`atr_length_2`)**: Users can set the length of the second ATR period, allowing for comparison between two different ATR values.
3. **Volume Length (`volume_length`)**: This input enables users to define the length of the volume period. Volume is a measure of the number of shares or contracts traded during a given period and is often used to confirm price movements.
4. **Multiplier (`multiplier`)**: Users can specify a multiplier value to adjust the threshold for comparison between the two ATR values divided by volume. This parameter allows for flexibility in setting the sensitivity of the indicator.
High Volume Price Bar ChannelThe "High Volume Price Bar Channel" indicator for TradingView is a tool designed to highlight price bars that experience unusually high trading volume compared to the average volume over a specified lookback period. When the volume of a price bar exceeds a certain multiple of the average volume, a channel is drawn extending from the high to the low of that bar, indicating a potential surge in trading activity.
Key Features:
Customizable Parameters: Users can adjust the color of the channel, the lookback period for calculating the average volume, and the factor by which the current volume should exceed the average volume to trigger the drawing of the channel.
Volume-based Highlighting: The indicator identifies price bars with high volume relative to the average and visually highlights them by drawing a channel.
Flexibility: Traders can tailor the indicator settings to suit their trading strategies and preferences, allowing for adaptability across various market conditions.
Usage:
High volume often indicates increased market activity and potential price volatility. Traders may use this indicator to identify periods of heightened interest or potential trend reversals.
When the channel is drawn, traders may look for confirmation from other technical indicators or price action to make informed trading decisions, such as entering or exiting positions, adjusting stop-loss levels, or assessing the strength of a trend.
The indicator can be applied to various timeframes and financial instruments, providing insights into volume dynamics across different market environments.
Overall, the "Customizable Volume Channel" indicator offers traders a versatile tool to spot significant volume spikes and potential trading opportunities within the context of price movements, aiding in more informed decision-making and risk management strategies.
Delta ZigZag [LuxAlgo]The Delta ZigZag indicator is focused on volume analysis during the development of ZigZag lines. Volume data can be retrieved from a Lower timeframe (LTF) or real-time Tick data.
Our Delta ZigZag publication can be helpful in detecting indications of a trend reversal or potential weakening/strengthening of the trend.
This indicator by its very nature backpaints, meaning that the displayed components are offset in the past.
🔶 USAGE
The ZigZag line is formed by connecting Swings , which can be set by adjusting the Left and Right settings.
Left is the number of bars for evaluation at the left of the evaluated point.
Right is the number of bars for evaluation at the right of the evaluated point.
A valid Swing is a value higher or lower than the bars at the left/right .
A higher Left or Right set number will generally create broader ZigZag ( ZZ ) lines, while the drawing of the ZZ line will be delayed (especially when Right is set higher). On the other hand, when Right is set at 0, ZZ line are drawn quickly. However, this results in a hyperactive switching of the ZZ direction.
To ensure maximum visibility of values, we recommend using " Bars " from the " Bar's style " menu.
🔹 Volume examination
The script provides two options for Volume examination :
Examination per ZigZag line
Examination per bar
Bullish Volume is volume associated with a green bar ( close > open )
Bearish Volume is volume associated with a red bar ( close < open )
Neutral Volume (volume on a " close == open" bar) is not included in this publication.
🔹 Examination per ZigZag line
As long as the price moves in the same direction, the present ZZ line will continue. When the direction of the price changes, the bull/bear volume of the previous ZZ line is evaluated and drawn on the chart.
The ZZ line is divided into two parts: a bullish green line and a bearish red line.
The intercept of these two lines will depend on the ratio of bullish/bearish volume
This ratio is displayed at the intercept as % bullish volume (Settings -> Show % Bullish Volume)
* Note that we cannot draw between 2 bars. Therefore, if a ZZ line is only 1 bar long, the intercept will be at one of those 2 bars and not in between. The percentage can be helpful in interpreting bull/bear volume.
In the example above (2 most right labels), you can see that an overlap of 2 labels is prevented, ensuring the ability to evaluate the bullish % volume of the ZZ line .
The percentage will be colored green when more than 50%, red otherwise. The color will fade when the direction is contradictory; for example, 40% when the ZZ line goes up or 70% when the ZZ line falls.
More details can be visualized by enabling " Show " and choosing 1 of 3 options:
Average Volume Delta/bar
Average Volume/bar
Normalised Volume Delta
For both 'averages', the sum of " Volume "/" Volume Delta " of every bar on the ZZ line is divided by the number of bars (per ZZ line ).
The " Normalised Volume Delta " is calculated by dividing the sum of " Delta Volume " by the sum of " Volume " (neutral volume not included), which is displayed as a percentage.
All three options will display a label at the last point of the ZZ line and be coloured similarly: green when the ratio bullish/bearish volume of the ZZ line is bullish and red otherwise. Here, the colour also fades when it is bullish, but the ZZ line falls or when it is bearish with a rising ZZ line .
A tooltip at each label hints at the chosen option.
You can pick one of the options or combine them together.
🔹 Examination per bar
Besides information about what's happening during the ZZ line , information per bar can be visualized by enabling " Show Details " in Settings .
Split Volume per bar : show the sum of bullish (upV) and bearish (dnV) volume per bar
Volume (bar) : Total Volume per bar (bullish + bearish volume, neutral volume not included)
Δ Volume (bar) : Show Delta Volume (bullish - bearish volume)
🔹 Using Lower Timeframe Data
The ZigZag lines using LTF data are colored brighter. Also note the vertical line where the LTF data starts and the gap between ZZ lines with LTF data and without.
When " LTF " is chosen for the " Data from: " option in Settings , data is retrieved from Lower Timeframe bars (default 1 minute). When the LTF setting is higher than the current chart timeframe, the LTF period will automatically be adjusted to the current timeframe to prevent errors.
As there is a 100K limit to the number of LTF intrabars that can be analyzed by a script, this implies the higher the difference between LTF and current TF; the fewer ZZ lines will be seen.
🔹 Using real-time tick data
The principles are mostly the same as those of LTF data. However, in contrast with LTF data, where you already have LTF ZZ lines when loading the script, real-time tick data-based ZZ lines will only start after loading the chart.
Changing the settings of a ticker will reset everything. However, returning to the same settings/ticker would show the cached data again.
Here, you can see that changing settings reset everything, but returning after 2 minutes to the initial settings shows the cached data. Don't expect it to be cached for hours or days, though.
🔶 DETAILS
The timeframe used for LTF data should always be the same or lower than the current TF; otherwise, an error occurs. This snippet prevents the error and adjusts the LTF to the current TF when LTF is too high:
res = input.timeframe('1')
res := timeframe.from_seconds( math.min( timeframe.in_seconds(timeframe.period), timeframe.in_seconds(res) ) )
🔶 SETTINGS
Data from: LTF (Lower TimeFrame) or Ticks (Real-time ticks)
Res: Lower TimeFrame (only applicable when choosing LTF )
Option: choose " high/low " or " close " for Swing detection
🔹 ZigZag
Left: Lookback period for Swings
Right: Confirmation period after potential Swing
🔹 ZigZag Delta
Show % Bullish Volume : % bullish volume against total volume during the ZZ line
Show:
Average Volume Delta/bar
Average Volume/bar
Normalised Volume Delta
See USAGE for more information
🔹 Bar Data
Split Volume per bar: shows the sum of bullish ( upV ) and bearish ( dnV ) volume per bar
Volume (bar): Total Volume per bar (bullish + bearish volume, neutral volume not included)
Δ Volume (bar): Show Volume Delta (bullish - bearish volume)
OBV 1min Volume SqueezeIn the vast realm of trading strategies, few terms evoke as much intrigue as the word "squeeze." It conjures images of pent-up energy, ready to burst forth in a sudden and decisive move. In this blog post, we'll delve into a new trading idea titled the "OBV 1-Minute Volume Squeeze" which aims to catch bigger market movements by fetching 1 minute OBV data on higher time charts.
The Essence of Squeeze
In trading parlance, a "squeeze" typically denotes a scenario where volatility contracts, and prices consolidate within a narrow range. Translating this concept to volume dynamics, a "volume squeeze" suggests a period of compressed volume activity. It is unclear if the Bulls or the Bears are at winning hand and price is thus consolidating. The script calculates buying and selling pressure by fetching 1 min data. The total volume presure is the sum of absolute values of the buying and selling pressure added up. By deviding the Buying volume by the total volume we know the Buying Pressure.
The trading theory suggest that when the buying pressure exceeds a certain value eg. 50% (default value in the script is 55%) it is likely the trend will continue to go up for a longer period of time. Vice Versa when selling pressure is higher, the trend is likely to continue down. In the script you can adjust the sensitivity in such way a higher "Volume Pressure %" result in less trading signals.
Fetching 1 min data
The OBV is a wonderful indicator to measure the buying and selling pressure. A disadvantage of the script is that the total volume pressure is presented as a positive (buying) or negative value (selling) value in the Oscillator. It does not offset the Bulls power against the Bears power at given time. The script aims to do measure the directional volume power by defining a volume pressure % (oulier value) by fetching 1 min OBV data on higher time frame charts comparing the Bulls power against the Bears Power. The code is included below:
// Fetch Lower Timeframe Data in an array
// nV = ZeroValue, sV = Selling Volume, bV = Buying Volume, tV = Total Volume
= request.security_lower_tf(syminfo.tickerid, '1', )
sum_bV_Lengthbars = array.sum(bV)
sum_sV_Lengthbars = array.sum(sV)
sum_tV_Lengthbars = sum_bV_Lengthbars + sum_sV_Lengthbars // Combine buying and selling volumes to get total volume
// Calculate buying and selling volume as percentage of the total volume, but ensure the denominator isn't zero.
buying_percentage = sum_tV_Lengthbars != 0 ? sum_bV_Lengthbars / sum_tV_Lengthbars * 100 : na
selling_percentage = sum_tV_Lengthbars != 0 ? -(sum_sV_Lengthbars / sum_tV_Lengthbars * 100) : na
OBV Oscillator Explanation
The On Balance Volume (OBV) indicator is a technical analysis tool used to measure buying and selling pressure in the market. It does this by keeping a running total of volume flows. OBV is typically calculated by adding the volume on a candle when the price closes higher than the previous candle's close and subtracting the volume on candles when the price closes lower than the previous candles close. If the price closes unchanged from the previous candle, the volume is not added to or subtracted from the OBV. The OBV can be presented as an oscillator. Positve value is the buying pressure and negative values is the selling pressure. In the settings the OBV is calculated based on 1 min data and comes with the following input options for visualization on the chart:
Higher Time Frame Settings (make sure the HTF is higher than the chart you have open)
Type of MA being: EMA, DEMA, TEMA, SMA, WMA, HMA, McGinley
Volume Pressure % (outlier value)
Length of number of bars (of the choosen HTF settings)
Smoothing of number candles of hte opened timechart. Note that higher number of bars to smoothen the indicator results in less signals, but lag of the indicator increases.
The Oscilator contains 3 main lines which are used to determin the entry signals:
Orange Line = the Outlier value in settings described as "Volume Pressure %"
Green Line = Total Buying Pressure OBV
Red Line = Total Selling Pressure OBV
If the Green or Red line is in between the zero line and the orange line the volume is squeezed and waiting for a directional break out.
If the Green line crosses over the orange line the buying pressure is > 55% and triggers a long entry position (green dot). If the Red line crosses under the orange line the selling pressure is > 55% and triggers an short entry (red dot). In the strategy settings this option is called: "Wait for total volume to increase?".
Alternative Strategy Options
In order to play around with different settings users can opt for two more strategy entry settings, called:
"Wait for total volume to deacrease?" --> Only gives a signal when total volume is declining, but buying or selling pressure maintains and crosses % threshold.
"Wait for Pull Back?" --> After a pullback occured and opposite buy/sell pressure gets lower than threshold (direction is shifting)
Turning on all options will logically result into more signals. Note these strategy ideas are experimental and can best be used in confirmation with other indicators.
Moving Average Filter (HTF)
The Oscillator has a horizontal line at the bottom. The line is green when the moving average is in a uptrend and red when the moving average is in a downtrend. The MA Filter comes with the following settings:
Higher Time Frame Setting
Type of MA being: EMA, DEMA, TEMA, SMA, WMA, HMA, McGinley
Length of number of bars (of the choosen HTF settings)
At last I hope you like this volume trading idea and if you have any comments let me know!
VITAMIN: Volume Insight Trend Analyzer - Multilayered INdicator)Meet VITAMIN, an indicator created mainly to function as a confirmation volume indicator to integrate into strategies as a signal filter, but it can also be used as a general-purpose indicator to enhance market analysis through volume trend insights.
The name was choses to help with recall, with VITAMIN short for "Volume Insight Trend Analyzer - Multilayered INdicator".
The indicator is grounded in the net volume calculation, using TradingView's built-in Net Volume indicator as a starting point, and taking as a series of simple Moving Averages based on the Net Volume data.
Core Features:
Multilayered Analysis: VITAMIN layers multiple moving averages on top of net volume—volume adjusted for price movement direction—to filter market noise and reveal clearer volume trends.
Foundation in Net Volume: The starting point is net volume, which combines volume magnitude with the direction of price changes, offering a baseline for momentum analysis.
Visual Trend Indicators: The indicator uses green and red shading between its moving average layers and a reference zero line to visually denote bullish (green) and bearish (red) volume trends, simplifying the interpretation of market sentiment.
Utility of VITAMIN:
Volume plays a crucial role in market analysis, but interpreting volume directly can be complex due to inherent market noise. Net Volume in particular features a great deal of noise, as a sequence of spikes and dips from bar to bar. My purpose with this indicator was to separate the signal from the noise. VITAMIN's multilayered moving averages provide a smoother, more interpretable trend line that distinguishes significant market moves from short-term fluctuations.
Applications:
Confirming Trends: VITAMIN can help validate price trends. A price uptrend paired with a bullish volume trend indicated by VITAMIN may reinforce the strength of the movement.
Identifying Divergences: Observing discrepancies between price trends and VITAMIN's volume trends can highlight potential reversals or continuations.
Assessing Market Sentiment: The overall trend and colour shading within VITAMIN aims to provide insight into market sentiment.
VITAMIN is designed for simplicity and effectiveness, aiming to provide deeper insights into volume trends, supporting more informed decisions.
Like any indicator featuring moving averages, and averages of those averages, there is a built-in lag to this indicator, but this is the trade-off for removing noise from the signal. Adjust the user inputs to suit your time frame.
Volume - Plus / Connectable [Azullian]The connectable volume plus indicator enhances your trading strategy by providing an in-depth analysis of volume data within the connectable indicator system . This tool extends beyond the scope of traditional volume analysis, enabling a comprehensive examination of market trends without the necessity for coding. As part of our range of connectable indicators , it effectively works with TradingView's input source as a signal connector , facilitating a synchronized and interactive approach. Each connectable indicator, including Volume - Plus, contributes signal weight , allowing for a detailed and nuanced analysis which then informs a connectable signal monitor, signal filter, or strategy.
█ DISTINCTIVE FEATURES
Volume - Plus is equipped with features that enhance market analysis:
• Advanced Volume Analysis: Select from sophisticated volume modes like Volume waves and Time segmented volume for comprehensive market insights.
• Customizable Periods & Sources: Adjust the volume calculation settings to align with your specific strategy, using adjustable periods and alternative data sources.
• Versatile Scoring Conditions: Utilize six different thresholds for scoring to create a tailored approach for volume-based signal generation.
• Intuitive Visual Representation: Clear visual cues on volume trends and conditions are displayed directly on your charts, aiding in decision-making.
█ UNIFORM SETTINGS AND A WAY OF WORK
Although connectable indicators may have specific weight scoring conditions, they all aim to follow a standardized general approach to weight scoring settings, as outlined below.
■ Connectable indicators - Settings
• 🗲 Energy: Energy applies an ATR multiplier to the plotted shapes on the chart. A higher value plots shapes farther away from the candle, enhancing visibility.
• ☼ Brightness: Brightness determines the opacity of the shape plotted on the chart, aiding visibility. Indicator weight also influences opacity.
• BC - Bar coloring: Color candles based on your volume settings.
• → Input: Use the input setting to specify a data source for the indicator. Here you can connect the indicator to other indicators.
• ⌥ Flow: Determine where you want to receive signals from:
○ Both: Weights from this indicator and the connected indicator will apply
○ Indicator only: Only weights from this indicator will apply
○ Input only: Only weights from the connected indicator will apply
• ⥅ Weight multiplier: Multiply all weights in the entire indicator by a given factor, useful for quickly testing different indicators in a granular setup.
• ⥇ Threshold: Set a threshold to indicate the minimum amount of weight it should receive to pass it through to the next indicator.
• ⥱ Limiter: Set a hard limit to the maximum amount of weight that can be fed through the indicator.
■ Connectable indicators - Weight scoring settings
▢ Weight scoring conditions
• SM – Signal mode: Enable specific conditions for weight scoring
○ Start: A new trend in volume starting will score
○ End: A new trend in volume ending will score
○ Zone: Continuous scoring for each candle between the start and the end.
• SP – Signal period: Defines a range of candles within which a signal can score.
• SC - Signal count: Specifies the number of bars to retrospectively examine and score.
○ Single: Score for a single occurrence
○ All occurrences: Score for all occurrences
○ Single + Threshold: Score for single occurrences within the signal period (SP)
○ Every + Threshold: Score for all occurrences within the signal period (SP)
▢ Weight scoring direction
• ES: Enter Short weight
• XL: Exit long weight
• EL: Enter Long weight
• XS: Exit Short weight
▢ Weight scoring values
• Weights can hold either positive or negative scores. Positive weights enhance a particular trading direction, while negative weights diminish it.
█ Volume - Plus - INDICATOR SETTINGS
■ Main settings
• Enable/Disable Indicator: Toggle the entire indicator on or off.
• V - Volume mode: Choose between Volume waves and Time segmented volume
• P - Period: Set a period on which the volume is calculated.
• S - Source: Choose an alternative data source for the Volume calculation.
• T - Timeframe: Select an alternative timeframe for the Volume calculation.
• C - Candletype: Choose a candletype for the alternative source.
• B - Scaling bottom: Scale volume to this bottom level
• T - Scaling top: Scale volume to this top level
• A - Moving average type: Filter and smooth with these moving average types (ALMA, EMA, HMA, RMA, SMA, SWMA, VWMA, WMA)
• L - Moving average length: Set the length for the moving average.
• M - Moving average mode: Set the moving average mode
○ Source: Set as source
○ Banded threshold: Make the threshold levels move with a moving average
■ Conditions
Set six thresholds for scoring and determine your own type of scoring mechanism
• Enable/Disable condition: Toggle a condition on or off
• Conditional direction: Choose a direction for scoring
○ Above: Volume breaches the threshold
○ Rising: Volume rises above the threshold
○ Falling: Volume falls under the threshold
○ Crossover: Volume crosses over the threshold
○ Crossunder: Volume crosses under the threshold
• TH: Set a threshold level
• BBN: Set a sentiment for your condition
○ Bullish
○ Bearish
○ Neutral
■ Scoring functionality
• For each threshold you are able to set a sentiment. Sentiment scoring is incorporated in the weight conditions as usual.
█ PLOTTING
• Standard: Symbols (EL, XS, ES, XL) Volume is plotted according to the volume mode in the seperate pane and also with bar coloring on the candle if this option is enabled.
• Conditional Settings: A larger icon appears if global conditions are met. For instance, with a Threshold(⥇) of 12, Signal Period (SP) of 3, and Scoring Condition (SC) set to "EVERY", a volume threshold signaling over two times in 3 candles (scoring 6 each) triggers a larger icon.
█ USAGE OF CONNECTABLE INDICATORS
■ Connectable chaining mechanism
Connectable indicators can be connected directly to the signal monitor, signal filter or strategy , or they can be daisy chained to each other while the last indicator in the chain connects to the signal monitor, signal filter or strategy. When using a signal filter you can chain the filter to the strategy input to make your chain complete.
• Direct chaining: Connect an indicator directly to the signal monitor, signal filter or strategy through the provided inputs (→).
• Daisy chaining: Connect indicators using the indicator input (→). The first in a daisy chain should have a flow (⌥) set to 'Indicator only'. Subsequent indicators use 'Both' to pass the previous weight. The final indicator connects to the signal monitor, signal filter, or strategy.
■ Set up this indicator with a signal filter and strategy
The indicator provides visual cues based on signal conditions. However, its weight system is best utilized when paired with a connectable signal filter, monitor, or strategy .
Let's connect the volume - plus to a connectable signal filter and a strategy :
1. Load all relevant indicators
• Load Volume - Plus / Connectable
• Load Signal filter / Connectable
• Load Strategy / Connectable
2. Signal Filter: Connect the Volume - Plus to the Signal Filter - Plus
• Open the signal filter settings
• Choose one of the five input dropdowns (1→, 2→, 3→, 4→, 5→) and choose : Volume - Plus / Connectable: Signal Connector
• Toggle the enable box before the connected input to enable the incoming signal
3. Signal Filter: Update the filter settings if needed
• The default filter mode for the trading direction is SWING, and is compatible with the default settings in the strategy and indicators.
4. Signal Filter: Update the weight threshold settings if needed
• All connectable indicators load by default with a score of 6 for each direction (EL, XL, ES, XS)
• By default, weight threshold is 'ABOVE' Threshold 1 (TH1) and Threshold 2 (TH2), both set at 5. This allows each occurrence to score, as the default score is 1 point above the threshold.
5. Strategy: Connect the strategy to the signal filter in the strategy settings
• Select a strategy input → and select the Signal filter: Signal connector
6. Strategy: Enable filter compatible directions
• As the default setting of the filter is SWING, we should also set the SM (Strategy mode) to SWING.
Now that everything is connected, you'll notice green spikes in the signal filter representing long signals, and red spikes indicating short signals. Trades will also appear on the chart, complemented by a performance overview. Your journey is just beginning: delve into different scoring mechanisms, merge diverse connectable indicators, and craft unique chains. Instantly test your results and discover the potential of your configurations. Dive deep and enjoy the process!
█ BENEFITS
• Adaptable Modular Design: Arrange indicators in diverse structures via direct or daisy chaining, allowing tailored configurations to align with your analysis approach.
• Streamlined Backtesting: Simplify the iterative process of testing and adjusting combinations, facilitating a smoother exploration of potential setups.
• Intuitive Interface: Navigate TradingView with added ease. Integrate desired indicators, adjust settings, and establish alerts without delving into complex code.
• Signal Weight Precision: Leverage granular weight allocation among signals, offering a deeper layer of customization in strategy formulation.
• Advanced Signal Filtering: Define entry and exit conditions with more clarity, granting an added layer of strategy precision.
• Clear Visual Feedback: Distinct visual signals and cues enhance the readability of charts, promoting informed decision-making.
• Standardized Defaults: Indicators are equipped with universally recognized preset settings, ensuring consistency in initial setups across different types like momentum or volatility.
• Reliability: Our indicators are meticulously developed to prevent repainting. We strictly adhere to TradingView's coding conventions, ensuring our code is both performant and clean.
█ COMPATIBLE INDICATORS
Each indicator that incorporates our open-source 'azLibConnector' library and adheres to our conventions can be effortlessly integrated and used as detailed above.
For clarity and recognition within the TradingView platform, we append the suffix ' / Connectable' to every compatible indicator.
█ COMMON MISTAKES, CLARIFICATIONS AND TIPS
• Removing an indicator from a chain: Deleting a linked indicator and confirming the "remove study tree" alert will also remove all underlying indicators in the object tree. Before removing one, disconnect the adjacent indicators and move it to the object stack's bottom.
• Point systems: The azLibConnector provides 500 points for each direction (EL: Enter long, XL: Exit long, ES: Enter short, XS: Exit short) Remember this cap when devising a point structure.
• Flow misconfiguration: In daisy chains the first indicator should always have a flow (⌥) setting of 'indicator only' while other indicator should have a flow (⌥) setting of 'both'.
• Hide attributes: As connectable indicators send through quite some information you'll notice all the arguments are taking up some screenwidth and cause some visual clutter. You can disable arguments in Chart Settings / Status line.
• Layout and abbreviations: To maintain a consistent structure, we use abbreviations for each input. While this may initially seem complex, you'll quickly become familiar with them. Each abbreviation is also explained in the inline tooltips.
• Inputs: Connecting a connectable indicator directly to the strategy delivers the raw signal without a weight threshold, meaning every signal will trigger a trade.
█ A NOTE OF GRATITUDE
Through years of exploring TradingView and Pine Script, we've drawn immense inspiration from the community's knowledge and innovation. Thank you for being a constant source of motivation and insight.
█ RISK DISCLAIMER
Azullian's content, tools, scripts, articles, and educational offerings are presented purely for educational and informational uses. Please be aware that past performance should not be considered a predictor of future results.
Fourier Smoothed Hybrid Volume Spread AnalysisIndicator id:
USER;91bdff47320b4284a375f428f683b21e
(only relevant to those that use API requests)
MEANINGFUL DESCRIPTION:
The Fourier Smoothed Hybrid Volume Spread Analysis (FSHVSA) indicator is an innovative trading tool designed to fuse volume analysis with trend detection capabilities, offering traders a comprehensive view of market dynamics.
This indicator stands apart by integrating the principles of the Discrete Fourier Transform (DFT) and volume spread analysis, enhanced with a layer of Fourier smoothing to distill market noise and highlight trend directions with unprecedented clarity.
This smoothing process allows traders to discern the true underlying patterns in volume and price action, stripped of the distractions of short-term fluctuations and noise.
The core functionality of the FSHVSA revolves around the innovative combination of volume change analysis, spread determination (calculated from the open and close price difference), and the strategic use of the EMA (default 10) to fine-tune the analysis of spread by incorporating volume changes.
Trend direction is validated through a moving average (MA) of the histogram, which acts analogously to the Volume MA found in traditional volume indicators. This MA serves as a pivotal reference point, enabling traders to confidently engage with the market when the histogram's movement concurs with the trend direction, particularly when it crosses the Trend MA line, signalling optimal entry points.
It returns 0 when MA of the histogram and EMA of the Price Spread are not align.
HOW TO USE THE INDICATOR:
The FSHVSA plots a positive trend when a positive Volume smoothed Spread and EMA of Volume smoothed price is above 0, and a negative when negative Volume smoothed Spread and EMA of Volume smoothed price is below 0. When this conditions are not met it plots 0.
ORIGINALITY & USEFULNESS:
The FSHVSA is unique because it applies DFT for data smoothing, effectively filtering out the minor fluctuations and leaving traders with a clear picture of the market's true movements. The DFT's ability to break down market signals into constituent frequencies offers a granular view of market dynamics, highlighting the amplitude and phase of each frequency component. This, combined with the strategic application of Ehler's Universal Oscillator principles via a histogram, furnishes traders with a nuanced understanding of market volatility and noise levels, thereby facilitating more informed trading decisions.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is the meaning of price spread?
In finance, a spread refers to the difference between two prices, rates, or yields. One of the most common types is the bid-ask spread, which refers to the gap between the bid (from buyers) and the ask (from sellers) prices of a security or asset.
We are going to use Open-Close spread.
What is Volume spread analysis?
Volume spread analysis (VSA) is a method of technical analysis that compares the volume per candle, range spread, and closing price to determine price direction.
What does this mean?
We need to have a positive Volume Price Spread and a positive Moving average of Volume price spread for a positive trend. OR via versa a negative Volume Price Spread and a negative Moving average of Volume price spread for a negative trend.
What if we have a positive Volume Price Spread and a negative Moving average of Volume Price Spread ?
It results in a neutral, not trending price action.
Thus the indicator returns 0.
In the next Image you can see that trend is negative on 4h, neutral on 12h and neutral on 1D. That means trend is negative .
I am sorry, the chart is a bit messy. The idea is to use the indicator over more than 1 Timeframe.
What is approximation and smoothing?
They are mathematical concepts for making a discrete set of numbers a
continuous curved line.
Fourier and Euler approximation of a spread are taken from aprox library.
Key Features:
Noise Reduction leverages Euler's White noise capabilities for effective Volume smoothing, providing a cleaner and more accurate representation of market dynamics.
Choose between the innovative Double Discrete Fourier Transform (DTF32) and Regular Open & Close price series.
Mathematical equations presented in Pinescript:
Fourier of the real (x axis) discrete:
x_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
x_1 = array.get(x, 0) + array.get(x, 1) * math.cos( -2 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -4 * math.pi * _dir / 3 )
x_2 = array.get(x, 0) + array.get(x, 1) * math.cos( -4 * math.pi * _dir / 3 ) - array.get(y, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.cos( -8 * math.pi * _dir / 3 ) - array.get(y, 2) * math.sin( -8 * math.pi * _dir / 3 )
Fourier of the imaginary (y axis) discrete:
y_0 = array.get(x, 0) + array.get(x, 1) + array.get(x, 2)
y_1 = array.get(x, 0) + array.get(x, 1) * math.sin( -2 * math.pi * _dir / 3 ) + array.get(y, 1) * math.cos( -2 * math.pi * _dir / 3 ) + array.get(x, 2) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(y, 2) * math.cos( -4 * math.pi * _dir / 3 )
y_2 = array.get(x, 0) + array.get(x, 1) * math.sin( -4 * math.pi * _dir / 3 ) + array.get(y, 1) * math.cos( -4 * math.pi * _dir / 3 ) + array.get(x, 2) * math.sin( -8 * math.pi * _dir / 3 ) + array.get(y, 2) * math.cos( -8 * math.pi * _dir / 3 )
Euler's Smooth with Discrete Furrier approximated Volume.
a = math.sqrt(2) * math.pi / _devided
b = math.cos(math.sqrt(2) * 180 / _devided)
c2 = 2 * math.pow(a, 2) * b
c3 = math.pow(a, 4)
c1 = 1 - 2 * math.pow(a, 2) * math.cos(b) + math.pow(a, 4)
filt := na(filt ) ? 0 : c1 * (w + nz(w )) / 2.0 + c2 * nz(filt ) + c3 * nz(filt )
Usecase:
First option:
Leverage the script to identify Bullish and Bearish trends, shown with green and red triangle.
Combine Different Timeframes to accurately determine market trend.
Second option:
Pull the data with API sockets to automate your trading journey.
plot(close, title="ClosePrice", display=display.status_line)
plot(open, title="OpenPrice", display=display.status_line)
plot(greencon ? 1 : redcon ? -1 : 0, title="position", display=display.status_line)
Use ClosePrice, OpenPrice and "position" titles to easily read and backtest your strategy utilising more than 1 Time Frame.
Indicator id:
USER;91bdff47320b4284a375f428f683b21e
(only relevant to those that use API requests)
(mab) Dynamic Bitcoin NVT SignalBitcoin`s NVT is calculated by dividing the Network Value (market cap) by the USD volume transmitted through the blockchain daily. Note this equivalent of the bitcoin token supply divided by the daily BTC value transmitted through the blockchain, NVT is technically inverse monetary velocity.
Credits go to Willy Woo for creating the Network Value Transaction Ratio (NVT). Credits go also to Dimitry Kalichkin improving NVT and creating the NVT Signal (NVTS).
According to its creator, the NVT Ratio is somewhat similar to the PE Ratio used in equity markets. When Bitcoin`s NVT is high, it indicates that its network valuation is outstripping the value being transmitted on its payment network, this can happen when the network is in high growth and investors are valuing it as a high return investment, or alternatively when the price is in an unsustainable bubble.
I created this indicator because the NVT indicator I was using suddenly stopped working. I tried a number of other NVT indicators, but all of them seem to have the same problem and stopped updating after a certain date. The cause is that the data feed from 'Quandl' that is used by most NVT indicators is no longer updated through the previous API.
Instead TradingView created a special API to access 'Quandl" data. This indicator not only uses the new API for 'Quandl', it can also access data from other providers like 'Glassnode', 'CoinMetrics' and 'IntoTheBlock'. However, the 'Quandl' data feed seems to produce the best results with this indicator.
The indicator provides dynamically adjusting overbought and oversold thresholds based on a two year moving average and standard devition with adjustable multipliers. It also implements alerts for NVT going into overbought, oversold or crossing the moving average.
Version 1.0
--
Version history
0.1 Beta
- Initial version
1.0
- First release
MultiWAPThe VWAP tracks the average price, giving weight to each candle based upon its' relative volume.
In other words, high-volume candles move the VWAP faster than low-volume candles.
On a good day, market maker:
-Buys the dip
-Pumps past resistance, causing bullish FOMO
-Sells into the bullish FOMO, causing bearish FOMO
-Buys the dip (rinse and repeat)
By default, MultiWAP begins at the first visible bar.
Range low/high - tracks the most recent high/low
Upper VWAP - tracks retail's average buy price (MM is selling)
Lower VWAP - tracks MM's average buy price (MM is buying)
If price closes below the lower VWAP or the range low, the lower VWAP and range low are reset.
If price closes above the upper VWAP or the range high, the upper VWAP and range high are reset.
Resets are indicated by the dots. Resetting either VWAP moves it close to last price, making it easy to breach again.
A down-trend that lasts many bars will produce a string of green dots. When the accumulation phase ends, price pulls away from the lower VWAP, so it stops resetting. The ABSENCE of green dots tells you that we're in the markup phase/up-trend.
An up-trend that lasts many bars will produce a string of red dots. When the distribution phase ends, price pulls away from the upper VWAP, so it stops resetting. The ABSENCE of red dots tells you that we're in the markdown phase/down-trend.
By default, the net result is two VWAP's that automatically anchor themselves to the most recent, significant, and visible, high and low.
Usage:
For any timeframe, I recommend starting zoomed way out. Find the last green dot and drop an "Anchored VWAP" there. Now, zoom in until that candle is no longer visible. Find the last green dot and drop an anchored VWAP there. Continue doing so until you notice the lower VWAP getting reset to basically the same place.
This works the same, in reverse, during down-trends.
Trend ScopeIntroduction:
The Trend Scope presents a cutting-edge approach to technical analysis, offering traders a distinctive perspective on market momentum through dynamic visualization. This innovative indicator harmoniously blends the momentum-based Rate of Change (RoC) with the smoothing precision of a Butterworth filter and the clarity of a Fisher Transform, all encapsulated within an intuitive color-coded environment.
How Trend Scope Works:
The Trend Scope operates on a multi-faceted computational framework:
1. Rate of Change (RoC): The core of Trend Scope, RoC, measures the velocity of price movements, providing an initial momentum footprint that is both raw and telling.
2. Butterworth Filter: To refine the momentum signal and strip away the erratic noise of the market, we introduce the Butterworth filter. Celebrated for its flat frequency response, it ensures the retention of the signal's integrity with minimal lag.
3. Fisher Transform: To further distill the signal, the Fisher Transform is applied. It recalibrates the smoothed data to fit within specified bounds, thus accentuating the extremities of price actions where potential reversals might loom.
4. Adaptive Color Bands: The centerpiece of the Trend Scope's visual prowess lies in its adaptive color bands. These bands stretch over the momentum landscape, painted in vivid reds and greens based on the directional bias of the smoothed RoC. Intensity varies with momentum strength, offering an immediate, graphical representation of market trends.
Why Trend Scope Stands Out:
In the crowded realm of market indicators, Trend Scope distinguishes itself with its visual-forward approach and adaptive nuances. The intensity-adapting bands offer an instant read on the market's pulse—brighter shades signal stronger momentum, while muted tones suggest caution.
Key Features:
- Momentum Intensity Bands: Instead of mere lines, the Trend Scope deploys color bands that dynamically adapt in opacity to reflect the strength of the trend, making it easier for traders to spot significant movements at a glance.
- Volatility-Sensitive Smoothing: By leveraging the Butterworth filter, the Trend Scope finely tunes the noise reduction process in sync with the asset's natural volatility, ensuring the trends are not only smooth but also relevant.
- Sharper Reversal Signals: The Fisher Transform sharpens the ability to spot potential turning points, providing a statistical edge in anticipating market movements.
- Customizable Parameters: The Trend Scope is fully customizable, allowing traders to calibrate the indicator to the unique demands of different assets and market conditions.