Liquidity LevelsThe "Liquidity Levels" indicator on TradingView is designed to identify and highlight liquidity levels in the market. This indicator is based on pivot highs and lows with an adjustable offset to adjust the importance and length of the identified levels.
The strength of this indicator lies in its ability to highlight changes in liquidity levels, which can be crucial for traders. By marking pivot highs and lows, potential areas of high liquidity are highlighted, which can indicate where significant market movements or reversal points may occur.
The flexibility of whether the calculation is based on the closing price or the high/low prices allows for customisable analysis. The visual representation of liquidity levels by lines makes it easier to identify and monitor these key areas in the chart, which can provide additional value for traders.
Volume
SMA Custom Volume BandsThe "SMA Custom Volume Bands" indicator is a custom technical analysis tool designed for use on the TradingView platform. This indicator allows users to analyze and visualize key aspects of a stock's volume within the context of its 200-period Simple Moving Average (SMA). It features the following components:
Volume Bars: The indicator displays the volume of a selected financial instrument using colored bars. Green bars represent days when the trading volume is higher than the previous day, while red bars represent days when the trading volume is lower.
200 SMA of Volume: A blue line on the chart represents the 200-period Simple Moving Average of the trading volume, providing insight into the longer-term volume trend.
Customizable Percentage Line: Users have the flexibility to set a custom percentage value above or below the 200 SMA of trading volume. This line is plotted as a blue line on the chart, allowing traders to identify when volume meets their preferred percentage threshold.
The "SMA Custom Volume Bands" indicator is a simple tool for traders, aiding in the assessment of volume trends and potential price reversals in the context of moving averages. It offers customization options, enhancing its adaptability to individual trading strategies and preferences.
Harmony Or Divergence WavesThis script visually identifies harmony and divergence within the market through an analysis of volume and price action over a specified lookback period. The script highlights these phenomena on the price chart, aiding traders in making informed decisions based on observed patterns.
What It Does:
The script operates on the principle of comparing volume and candle body sizes within two halves of a user-defined lookback period. It aims to detect periods of harmony, where price and volume trends move in synchrony, and periods of divergence, where they do not. Specifically, it:
Calculates the highest volume and corresponding lowest price point in the first and second halves of the lookback period.
Determines the increase ratios for price and volume between these two points.
Visualizes these findings by drawing lines and labels on the chart, with the color indicating harmony (green) or divergence (red).
Optionally displays a table with detailed metrics and an "End H/D Period" label to mark the analysis boundary.
How It Does It
It begins by iterating over each candle within the specified lookback period, dividing the period into two halves to compare early and later segments.
For each half, it identifies the candle with the highest volume and records its volume, the price at its lowest point, and the size of its candle body.
After identifying these key points, the script calculates ratios of price increase and volume increase from the first half to the second.
Using these ratios, it determines whether price and volume are moving in harmony or diverging.
Based on this analysis, it then dynamically draws lines connecting the two key points, with the line color indicating whether the period is classified as harmony or divergence.
Additionally, it can display a table with the calculated metrics for both points and their ratios, and optionally, a label to mark the end of the analyzed period.
How Traders Might Use It:
It Can Be Used To
Identifying potential reversal points: Periods of divergence may indicate upcoming changes in market direction, offering traders clues for entry or exit points.
Confirming trend strength: Harmony between price and volume trends can serve as a confirmation of the current market direction, suggesting a stronger trend that traders might follow.
Adjusting strategies: By observing the dynamics of price and volume, traders can adjust their trading strategies to better align with market conditions, potentially increasing their chances of successful trades.
Educational insights: The visual and tabular data provided by the script can help traders understand the relationship between volume and price action, enriching their market analysis skills.
Harmony or Divergence Single CandleThis script is designed for traders who seek to visually identify and analyze patterns of harmony and divergence in the price action of securities directly on their trading charts. The script provides a nuanced approach to understanding market sentiment and potential price movement directions by examining candle sizes and volumes over a specified lookback period.
What the Script Does:
The script overlays indicators on the price chart that highlight periods of harmony and divergence using background colors. These periods are determined based on comparisons between current candle sizes, candle volumes, and their respective simple moving averages (SMAs) over a user-defined lookback period.
Harmony : A state where the candle size and volume are either both above or below their respective averages, indicating a consensus or agreement in market direction.
Divergence : A state where there's a mismatch, such as a larger candle size with lower volume or vice versa, suggesting uncertainty or potential reversal in market trends.
How It Does It:
User Inputs : Traders can customize several parameters, including the lookback period for averages, whether to include wicks in candle size calculations, and preferences for displaying harmony and divergence indicators with specific colors.
Calculations :
- The script calculates the simple moving average (SMA) of volume and candle sizes (with an option to consider the full candle range including wicks or just the body) over the specified lookback period.
- It then compares the current candle's size and volume against these averages to identify states of harmony or divergence.
Visualization :
- Based on the user's input, it colors the background of the chart to reflect identified patterns. Each state (harmony above or below average, divergence with higher volume or larger candle body) can be highlighted with different colors, providing immediate visual cues to the trader.
What Traders Can Do With the Script:
Traders can utilize this script to enhance their technical analysis by:
Identifying Trend Consistency : Harmony indicators can signal strong trends where price action and volume confirm each other, possibly supporting continuation strategies.
Spotting Potential Reversals : Divergence indicators may highlight potential exhaustion points or reversals, especially when price moves significantly without corresponding volume support.
Customizing Analysis : By adjusting the lookback period, candle size consideration (body or including wicks), and visualization options, traders can tailor the analysis to fit their trading style and strategy.
Advanced VolumeThe "Advanced Volume" indicator is a versatile tool designed for traders who need a detailed analysis of market volume dynamics. It provides three unique modes of volume analysis: Simple, Complex, and Analytics, each offering distinct insights for various trading styles.
Key Features:
Modes of Operation:
Simple Mode: Displays traditional volume data for a quick overview of market activity.
Complex Mode: Reveals the differential volume between buyers and sellers in a lower time frame. This mode features two average lines - one showing the current average volume level and another depicting the past average, based on the chosen length. These lines provide a comparative view of current and historical market dynamics.
Analytics Mode: Combines buyers' and sellers' volume in a lower time frame with their average. The average line in this mode changes color based on the dominant volume: it turns blue (default color for positive volume) if the average buy volume is higher, and switches to the sell volume color if the average sell volume is predominant.
Customizable Settings:
Average Length: Allows you to adjust the length for moving average calculations.
Definition: Select from 'Maximum', 'High', or 'Medium' for time frame granularity.
Visual Preferences: Customize the width and colors of the volume bars and average lines to suit your visual preference.
Dynamic Calculations and Plots:
Differentiates between up-volume and down-volume for nuanced market sentiment analysis.
Includes various plots such as volume bars, moving averages, and dynamic lines for comprehensive analysis.
Usage Tips:
Utilize 'Simple Mode' for a quick market overview.
Engage 'Complex Mode' to assess buying vs. selling pressures and compare current volume trends against historical averages.
Apply 'Analytics Mode' for an in-depth analysis of volume trends, with color-coded average lines indicating dominant market forces.
Asset Rotation ApertureAsset Rotation Aperture visualizes volume accumulation momentum, of multiple assets, side by side.
It's a surgical, multi-purpose leading indicator of price, market narratives and capital rotation.
Each colored line represents the rolling cumulative volume (or open interest) of an asset, index, narrative, or symbol equation. Normalized to each other, relative to each other.
This enables Asset Rotation Aperture to visualize assets and narratives with dramatically different market caps (and therefore different volume accumulation profiles), side by side.
METRIC CONSTRUCTION
Asset Rotation Aperture is a fork of Money Flow Index, like a centered On Balance Volume.
Modified to more effectively lead price, smoothed to more clearly visualize with clarity, and recursively printed.
SYMBOL SELECTION
I highly recommend selecting symbols from exchanges that dominate volume for the asset(s) you're visualizing.
For crypto, this typically means Binance pairs.
Keep the exchange consistent across symbols whenever possible.
To construct an index / narrative, use the following formula format:
(BINANCE:UNIUSDT*BINANCE:SNXUSDT*BINANCE:AAVEUSDT*BINANCE:CRVUSDT)^(1/4)
THE Y AXIS
The Y axis represents the asset's percentage of volume accumulated, relative to its norm AND relative to other assets.
It's a made up figure, and I recommend ignoring it.
A visual scan of the data viz is more effective than studying any Y-axis output.
Intraday volume pressureThis indicator shows the difference of bullish and bearish trading volume during intraday
The idea
Especially in "6E1!" it caught my eye, that often outside regular trading hours the price moves in one direction with thin volume and inside regular trading hours it moves back with much higher volume. It is possible, that the market closes e.g. with a plus. And over some days maybe you can see e.g. weak rising prices. But in this time the movements with high volume are going down every day. And one day - maybe within view minutes - the market rushs a level deeper.
Maybe some are manipulating the market in this way, maybe not, it doesn't matter. So my question was, can I find a way to show such divergences? I guess I can do.
How to use this indicator
Use it at your own risk! I don't take over any responsibility. You are the only one, who is responsible for your decisions. Always collect information from different independent sources!
Watch it in the daily chart - not intraday, not weekly! Of course this indicator just analyzes the past as all indicators. Everytime everything may happen that influences the market in any direction, no indicator can predict any news.
Watch it in sideways market or when the price is moving quite slow over days! An average volume pressure
below zero shows a volume-driven bearish pressure
above zero shows a volume-driven bullish pressure
of the last days. So there is a chance, that the market may follow the volume pressure within the next days. But of course, I cannot guarantee anything. The indicator just can give you an idea, why this will happen, when it will happens. Otherwise, the indicator indicated nothing helpfull.
Of course you also can try other securities. Maybe it will work there better or worse - difficult to say. I guess, it depends on the market.
Possible settings aside of colors
Intraday minute bars: Default is 15 minutes, in 6E in my point of view it is a good value. If you choose a smaller value, the chart gets too noisy, the results are getting too small. With a bigger timeframe some moves are hidden in bigger candles, the results are getting a large spread
Average over days: Default is 5 days - so one week. In 6E in my point of view it is a good value. A smaller value is too noisy. A bigger value reacts too slow. Often 6E has a trend over weeks. Sometimes it changes within some days - the indicator may help. But sometimes the market changes with a buying or selling climax. Such a case this indicator cannot recognize. But with the 5 days average maybe you get a change in the indicator within one or two days. Anyway, it is always a good idea to learn recognizing climaxes otherwise.
How the indicator works
It uses the function request.security_lower_tf to get the intraday candles. The volume of intraday up-candles is added to the intraday summary volume. The volume of down candles is substracted from the intraday summary volume.
In the oscillator area I plot a green bar on a day with a higher close than open and a red bar on a day with a lower close than open. The bar has a positive value, if the volume pressure is positive and a negative value if the volume pressure is negative. So it happens, that a green bar has a negative value or a red bar has a positive value.
The average is calculated with a floating sum. Once we have enough days calculated, I devide the floating sum by the length of the "Average over days" and plot the result. Then I substract the first value of the queue and I remove it.
Ticker Screener by Volume Heatmap [SS]Fun little screener that creates a heatmap by daily volume trend.
The numbers expressed are the Sell to Buy ratio (Selling volume / buying volume). The % is the % change over the lookback period.
The default lookback period is 25 days, but you can adjust it as you see fit. The brightness of the green and red will change based on the extent of buying / selling.
Anything 1 or over means there is a lot of selling. A percent change in the negatives is good, it means that selling is decreasing and buying is increasing. Vice versa for a percent change in the positives.
It will accomodate up to 12 tickers, there are some pre-set but you can obviously customize it with your own tickers of interest.
And that's pretty much the indicator, pretty simple indicator but I hope you enjoy!
Safe trades everyone!
Volume Footprint Voids [BigBeluga]Volume Footprint Voids is a unique tool that uses lower timeframe calculation to plot different styles of single candle POC.
This indicator is very powerful for scalping and finding very precise entry and exits, spotting potential trapped traders, and more.
Unlike many other volume profiles, this aims to plot single candle profiles as well as their own footprints.
🔶 FEATURES
The script includes the following settings:
Windows: Plotting style and calculations
Coloring modes
Display modes
lower-timeframe calculations
🔶 CALCULATION
In the image above we can see how the script calculates each level position that will serve as a calculation process to see how much volume/closes there are within the levels.
In the image above, we can have a more clear example of how we count each candle close.
We use the prior screenshot as an example, after setting each level we will use the lower-timeframe input to measure the amount of closes within the ranges.
Depending on the lot size, the box will be larger or smaller, usually the POC will always have the highest box size.
NOTE: Size is the starting point, always from the low of the candle.
To find more voids, select a closer LTF to the current one you're using.
To find fewer voids, select a timeframe away from your current one.
Due to Pine Script limitations, we are only able to plot a certain amount of footprints, and we can't plot the whole history chart.
POC will be the largest block displayed, indicating the time point of control
Gray areas are closes above the average
Black are Void or imbalance that price will fill in the future, like FVG
The image above shows an incorrect size input that will lead to bad calculations, while on the other side, a correct size input that will lead to a clear vision and better calculation.
🔶 WINDOWS
The "▲▼" Mode will display delta buyers and delta sellers coloring with voids as black.
It also offers a gradient mode for a beautier visualization
The "Total Volume" mode will display the net volume within the lot size (closes within the levels).
This is useful to spot possible highest net volume within the same highest lot size.
The "POC + Gaps" will show both POC and Gaps as the highest block while all the rest will be considered as the smaller block.
This is useful to see where the highest lot were and if there are higher or lower imbalances within the candle
The last option "Gaps" will simply display the gaps as the highest block, while the POC as the lowest block.
This is useful to have a better view of the gaps areas
🔶 EXAMPLE
This is one of the most basic examples of how this script can be used. POC at the bottom creating a strong support area as price holds and creates higher voids gap that price fills while rising.
🔶 SETTINGS
Users have full control over the script, from colors to choosing the lower-timeframe inputs to disabling the lot size.
Highest Volume Bar from a Lower TimeframeVolume is an essential indicator in technical analysis as it can signal confirmations of movement, reversals, and more. This indicator was developed to identify candles with high volume in both the current timeframe and a lower timeframe
SETTINGS
The indicator has two display modes: Candles and Volume.
- Candles: it presents a traditional candlestick chart that shows the candles of the current timeframe, along with the candle with the highest volume from the lower timeframe.
- Volume: it features a volume chart displaying the volume of the current timeframe in histogram form, as well as the bar with the highest volume from the lower timeframe represented in columns.
LOWER TIME FRAME SETTINGS
- Lower Time Frame: the lower timeframe to be taken into consideration.
- LTF Candle Display: determines which candles from the current timeframe chart will display the candles with the highest volume from the lower timeframe.
- Volume Display: determines how the volume bars will be presented for both the current timeframe and the lower timeframe.
VOLUME LEVEL SETTINGS
- SMA Period: the time period for calculating the volume average.
- High Volume: the multiplier used to classify a candle as having high volume.
- Medium Volume: the multiplier used to classify a candle as having medium volume.
- Low Volume: the multiplier used to classify a candle as having low volume.
- Show Volume MA: enable this option to display the Volume MA on the chart.
COLOR SETTINGS
- Candle Color: the color to be used in the charts.
- Shade Intensity : the intensity of the shades for volume levels.
- Transparency : the transparency to be used for the candles of the current timeframe when displaying candles with higher volume from the lower timeframe.
Williams Percent Range with Trendlines and BreakoutsHere is my "Williams Percent Range with Trendlines and Breakouts" indicator, a simple yet powerful tool for traders. This indicator combines the classic Williams %R oscillator, which helps identify overbought and oversold levels, with added trendlines for easier trend analysis at a glance.
It's designed to make spotting potential breakouts easier by drawing attention to significant price movements. With customizable settings for the Williams %R period and trendline sensitivity, it's a flexible tool for various symbols and trading styles.
Whether you're looking to refine your trading strategy or just need a clearer view of market trends, this indicator should offer a straight forward approach to hopefully enhance your trading decisions.
Disclaimer: This indicator is intended for educational and informational purposes only. Always conduct your own research and analysis before making trading decisions.
VOIThis indicator just divide Volumes by Open Interest. This is usefull to see the average size of positions of orders in OI. You can easly see if actors in OI are huges one or just retails.
Volume-Based Reversal and Breakout [The_lurker]Indicator Overview:
The "Volume-Based Reversal and Breakout Indicator" is designed for use on the TradingView platform. Its primary function is to identify potential reversal candles using volume and price criteria and to mark significant breakout points. This tool is particularly valuable for traders who incorporate reversal patterns and volume analysis in their trading strategies.
Detailed Functionality:
Customizable Label Color:
Traders can choose the color of the labels that mark breakout points, allowing for personalization and better visibility on different chart backgrounds.
Volume Multiplier Input:
Users can set a 'Volume Multiplier' to define what constitutes significant trading volume. This multiplier is used to compare the current candle's volume with that of the previous candle. A higher volume on the current candle, as defined by this multiplier, is indicative of a significant trading activity.
Reversal Candle Criteria:
The script identifies a candle as a reversal candle if it meets the following conditions:
The closing price of the candle is lower than its opening price, indicating a bearish sentiment.
The trading volume of the candle is greater than the product of the previous candle's volume and the user-set volume multiplier. This implies increased trading activity during the formation of this candle.
The length of the candle's lower tail is greater than its body, suggesting a rejection of lower prices and potential bullish sentiment building up.
Breakout Identification and Marking:
Upon detecting a reversal candle, the indicator draws lines at the high and low of this candle.
These lines represent potential breakout levels. A breakout is confirmed if the price crosses above the high (indicating a bullish breakout) or below the low (indicating a bearish breakout) of the reversal candle.
When a breakout occurs, the indicator places an arrow marker at the breakout point. The direction of the arrow (upwards or downwards) and its color (customizable by the user) indicate the nature of the breakout.
Breakout Alerts:
The indicator includes an alert condition that notifies traders when a breakout occurs. This feature helps traders to quickly react to potential trading opportunities.
Practical Application:
The indicator is best used in markets with distinct volume patterns, as volume is a key component of its analysis.
It can be combined with other technical analysis tools, such as trend lines or moving averages, for additional confirmation of trading signals.
Traders should consider adjusting the volume multiplier based on the typical volume characteristics of the specific asset they are analyzing.
Conclusion:
This "Volume-Based Reversal and Breakout Indicator" is a robust tool that aids traders in identifying potential reversals and breakouts with an emphasis on volume analysis. It's customizable and alert-enabled features make it a versatile addition to a trader's toolkit, suitable for various trading styles and market conditions.
Disclaimer:
This indicator is provided "as is" without any warranties, either express or implied. The information and data contained within this indicator do not constitute investment advice or a recommendation to buy or sell any security. Users assume full responsibility for any trading decisions made based on the use of this indicator.
Past performance of indicators does not guarantee future results. Investing in financial markets involves risks, including the potential loss of capital. It is strongly advised to consult with a qualified financial advisor before making any investment decisions.
The development of this indicator does not constitute an endorsement or recommendation by TradingView or any other entity. All trademarks and trade names mentioned herein are the property of their respective owners.
Inversion Fair Value Gaps | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Inversion Fair Value Gaps (IFVG) indicator! Inversion Fair Value Gaps occur when a Fair Value Gap becomes invalidated. They reverse the role of the original Fair Value Gap, making a bullish zone bearish and vice versa. With this indicator, you can now see the volume of the bar that invalidated the FVG, which is also the bar that IFVG occurred. For more information about the process, read the " HOW DOES IT WORK " section of the description.
Features of the IFVG Indicator :
Render Bullish / Bearish IFVG Zones
See The Occurrence Volume Of The IFVG Zones
Combination Of Overlapping FVG Zones
Variety Of Zone Detection / Sensitivity / Filtering / Invalidation Settings
High Customizability
🚩UNIQUENESS
This indicator stands out with its ability to render the occurrence volume of IFVGs. Also the ability to combine overlapping FVG zones will result in cleaner charts for traders. You can customize the FVG Filtering method, FVG & IFVG Zone Invalidation, Detection Sensitivity etc. according to your strategy to get the best performance from the indicator.
📌 HOW DOES IT WORK ?
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. An Inversion Fair Value Gap is when a FVG becomes invalidated, thus reversing the direction of the FVG.
⚙️SETTINGS
1. General Configuration
FVG Zone Invalidation -> Select between Wick & Close price for FVG Zone Invalidation.
IFVG Zone Invalidation -> Select between Wick & Close price for IFVG Zone Invalidation.
Zone Filtering -> With "Average Range" selected, algorithm will find FVG zones in comparison with average range of last bars in the chart. With the "Volume Threshold" option, you may select a Volume Threshold % to spot FVGs with a larger total volume than average.
FVG Detection -> With the "Same Type" option, all 3 bars that formed the FVG should be the same type. (Bullish / Bearish). If the "All" option is selected, bar types may vary between Bullish / Bearish.
Detection Sensitivity -> You may select between Low, Normal or High FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivies resulting in spotting bigger FVGs, and higher sensitivies resulting in spotting all sizes of FVGs.
Show Historic Zones -> If this option is on, the indicator will render invalidated IFVG zones as well as current IFVG zones. For a cleaner look at current IFVG zones which are not invalidated yet, you can turn this option off.
Simple Volume-Based Support & Resistance IndicatorWelcome to my open-source indicator that uses trading volume and market trends to identify potential support and resistance levels. This tool is great for seeing where the price might pause or reverse, helping you make more informed trading decisions.
Why You'll Love This Indicator:
Volume Awareness: It looks at how much trading is happening to better predict support (where the price might stop falling) and resistance (where the price might stop rising).
Trend Tracking: The indicator uses the market's ups and downs to refine these support and resistance areas.
Easy to Read: We've made the lines and zones clear and simple to understand, so you can focus on what matters.
How to Use This Tool:
No complicated settings needed! Since it's open-source, feel free to explore the code and tweak it if you like.
The chart will show support zones in green and resistance zones in red. These are your clues for potential price turns.
The Open-Source Advantage:
This script is completely open for you to use, modify, and share. I believe in community-driven improvements, so dive into the code, see how it works, and if you've got a knack for coding, you can even make it better!
Understanding the Chart:
You'll see the support and resistance levels dynamically drawn on your chart. Green shades are where the price might bounce up, and red shades indicate where it might bounce down.
This indicator is my way of giving back to the trading community. By sharing it openly, I hope we can all help improve it and learn from each other. Happy trading!
Standardized Orderflow [AlgoAlpha]Introducing the Standardized Orderflow indicator by AlgoAlpha. This innovative tool is designed to enhance your trading strategy by providing a detailed analysis of order flow and velocity. Perfect for traders who seek a deeper insight into market dynamics, it's packed with features that cater to various trading styles. 🚀📊
Key Features:
📈 Order Flow Analysis: At its core, the indicator analyzes order flow, distinguishing between bullish and bearish volume within a specified period. It uses a unique standard deviation calculation for normalization, offering a clear view of market sentiment.
🔄 Smoothing Options: Users can opt for a smoothed representation of order flow, using a Hull Moving Average (HMA) for a more refined analysis.
🌪️ Velocity Tracking: The indicator tracks the velocity of order flow changes, providing insights into the market's momentum.
🎨 Customizable Display: Tailor the display mode to focus on either order flow, order velocity, or both, depending on your analysis needs.
🔔 Alerts for Critical Events: Set up alerts for crucial market events like crossover/crossunder of the zero line and overbought/oversold conditions.
How to Use:
1. Setup: Easily configure the indicator to match your trading strategy with customizable input parameters such as order flow period, smoothing length, and moving average types.
2. Interpretation: Watch for bullish and bearish columns in the order flow chart, utilize the Heiken Ashi RSI candle calculation, and look our for reversal notations for additional market insights.
3. Alerts: Stay informed with real-time alerts for key market events.
Code Explanation:
- Order Flow Calculation:
The core of the indicator is the calculation of order flow, which is the sum of volumes for bullish or bearish price movements. This is followed by normalization using standard deviation.
orderFlow = math.sum(close > close ? volume : (close < close ? -volume : 0), orderFlowWindow)
orderFlow := useSmoothing ? ta.hma(orderFlow, smoothingLength) : orderFlow
stdDev = ta.stdev(orderFlow, 45) * 1
normalizedOrderFlow = orderFlow/(stdDev + stdDev)
- Velocity Calculation:
The velocity of order flow changes is calculated using moving averages, providing a dynamic view of market momentum.
velocityDiff = ma((normalizedOrderFlow - ma(normalizedOrderFlow, velocitySignalLength, maTypeInput)) * 10, velocityCalcLength, maTypeInput)
- Display Options:
Users can choose their preferred display mode, focusing on either order flow, order velocity, or both.
orderFlowDisplayCond = displayMode != "Order Velocity" ? display.all : display.none
wideDisplayCond = displayMode != "Order Flow" ? display.all : display.none
- Reversal Indicators and Divergences:
The indicator also includes plots for potential bullish and bearish reversals, as well as regular and hidden divergences, adding depth to your market analysis.
bullishReversalCond = reversalType == "Order Flow" ? ta.crossover(normalizedOrderFlow, -1.5) : (reversalType == "Order Velocity" ? ta.crossover(velocityDiff, -4) : (ta.crossover(velocityDiff, -4) or ta.crossover(normalizedOrderFlow, -1.5)) )
bearishReversalCond = reversalType == "Order Flow" ? ta.crossunder(normalizedOrderFlow, 1.5) : (reversalType == "Order Velocity" ? ta.crossunder(velocityDiff, 4) : (ta.crossunder(velocityDiff, 4) or ta.crossunder(normalizedOrderFlow, 1.5)) )
In summary, the Standardized Orderflow indicator by AlgoAlpha is a versatile tool for traders aiming to enhance their market analysis. Whether you're focused on short-term momentum or long-term trends, this indicator provides valuable insights into market dynamics. 🌟📉📈
Volume Oscillators Focus IndicatorVolume Oscillators Focus Indicator
Short name VolumeFocus
This indicator seeks to show episodes of high and low volumes analyzing these by calculating three lines and create colorings on the basis of where these lines go relative to each other.
The first line is a percent based on the current volume level, for which a 3 period sma is taken.
It is calculated by using the lowest volume in the lookback as zero, the highest as 100 percent
This line is called “current volume level”
The second line is a percent, based on the median volume of the last five periods. This line is called “new normal volume”
The third line is a percent, based on the median volume of the lookback period. This is called “old normal volume”
For the second and third line the lowest “new normal volume” in the lookback is used as zero while the 100 percent level is the same as in the calculation of the first line.
The reasoning for the colors is as follows:
When both current en new normal level are below old normal, the volume is to be considered ‘low’. When volume is low, the background color is gray and the fill color between the old normal and current lines is navy.
When both current and new normal level are above old normal, the volume is to be considered ‘significantly expanded’. When this happens the fill color between current and old normal is orange.
When volume is not low it is considered normal or high and the background color is green.
The lookback is set to 50, it advise to keep it that way.
Use of the indicator.
Volume results from focus of the market on the instrument. When the price seems correct, some buy it, some sell it but most don’t care. Then the volume is low, the background is gray. The navy fill color indicates ‘how low’.
When the price seems off, many will care and start trading. Then volume is high, background is green. When the trading is really heating up the orange fill color appears, showing that the market has high focus on this instrument, perhaps move in a trend.
Of course we don’t know in which way the market tries to ‘correct’ the price, for that purpose I use this indicator together with REVE Cohorts which provide useful markers to explain what the excess volume means.
Eykpunter
Volume-Trend Sentiment (VTS) [AlgoAlpha]Introducing the Volume-Trend Sentiment by AlgoAlpha, a unique tool designed for traders who seek a deeper understanding of market sentiment through volume analysis. This innovative indicator offers a comprehensive view of market dynamics, blending volume trends with price action to provide an insightful perspective on market sentiment. 🚀📊
Key Features:
1. 🌟 Dual Trend Analysis: This indicator combines the concepts of price movement and volume, offering a multi-dimensional view of market sentiment. By analyzing the relationship between the closing and opening prices relative to volume, it provides a nuanced understanding of market dynamics.
2. 🎨 Customizable Settings: Flexibility is at the core of this indicator. Users can adjust various parameters such as the length of the volume trend, standard deviation, and SMA length, ensuring a tailored experience to match individual trading strategies.
3. 🌈 Visual Appeal: With options to display noise, the main plot, and background colors, the indicator is not only informative but also visually engaging. Users can choose their preferred colors for up and down movements, making the analysis more intuitive.
4. ⚠️ Alerts for Key Movements: Stay ahead of market changes with built-in alert conditions. These alerts notify traders when the Volume-Trend Sentiment crosses above or below the midline, signaling potential shifts in market momentum.
How It Works:
The core of the indicator is the calculation of the Volume-Trend Sentiment (VTS). It is computed by subtracting a double-smoothed Exponential Moving Average (EMA) of the price-volume ratio from a single EMA of the same ratio. This method highlights the trend in volume relative to price changes.
volumeTrend = ta.ema((close - open) / volume, volumeTrendLength) - ta.ema(ta.ema((close - open) / volume, volumeTrendLength), volumeTrendLength)
To manage volatility and noise in the volume trend, the indicator employs a standard deviation calculation and a Simple Moving Average (SMA). This smoothing process helps in identifying the true underlying trend by filtering out extreme fluctuations.
standardDeviation = ta.stdev(volumeTrend, standardDeviationLength) * 1
smoothedVolumeTrend = ta.sma(volumeTrend / (standardDeviation + standardDeviation), smaLength)
A unique feature is the dynamic background color, which changes based on the sentiment level. This visual cue instantly communicates the market's bullish or bearish sentiment, enhancing the decision-making process.
getColor(volumeTrendValue) =>
sentimentLevel = math.abs(volumeTrendValue * 10)
baseTransparency = 60 // Base transparency level
colorTransparency = math.max(90 - sentimentLevel * 5, baseTransparency)
volumeTrendValue > 0 ? color.new(upColor, colorTransparency) : color.new(downColor, colorTransparency)
bgcolor(showBackgroundColor ? getColor(smoothedVolumeTrend) : na)
In summary, the Volume-Trend Sentiment by AlgoAlpha is a comprehensive tool that enhances market analysis through a unique blend of volume and price trends. Whether you're a seasoned trader or just starting out, this indicator offers valuable insights into market sentiment and helps in making informed trading decisions. 📈📉🔍🌐
Volume Profile [TFO]This indicator generates Volume Profiles from which to display insights about recent Volume Points of Control and High Volume Nodes. Volume Profile is a way to view trading volume by the price where trades have occurred, rather than the time when they occur (as seen by traditional Volume indicators).
By selecting a Resolution Timeframe (1m in this example), we can aggregate the volume at different prices to build a Volume Profile for a specified Profile Timeframe (1D in this example). In this indicator, we make the simple assumption that a given candle's volume is distributed evenly across all points. Realistically, this is seldom the case, but it gives us a starting point to easily estimate the volume at a given price, in turn helping us to build our profiles in a trivial way.
If we do this for all Resolution Timeframe candles within a Profile Timeframe (all 1m candles in a single 1D candle, in this example), then we can successfully aggregate this data and build a full Volume Profile. And thankfully, Pine Script's new polyline feature ultimately allow us to keep more Volume Profiles on our charts. Before polylines, we would have to consider using lines or boxes to represent the individual levels within a given profile, and each script currently has a cap of 500 lines and boxes, respectively. However, one single polyline can be used to draw the complex shape of an entire profile, and we may show up to 100 polylines in a given script. This helps us keep a lot more data on our charts!
Compared to TradingView's Session Volume Profile indicator (blue/yellow), we can see that our indicator (grey) is nearly identical, which verifies that our assumption of a uniform volume distribution is enough to roughly estimate a given Volume Profile. Note in this example the Row Size was set to 200, meaning that 200 levels are used to approximate profiles from each session's high to its low.
Show VPOC will show the volume point of control of each profile, which represents the price level where the largest amount of volume was traded for a given profile. This is shown with the red lines in the following chart.
Extend Last N VPOCs will look for the most recent, user-defined number of VPOCs (not including the current session's VPOC that's still developing) and extend them to the right of the chart as points of reference. The Show Labels Above option will annotate each VPOC with its respective date above a specified timeframe. This way, if one was using Volume Profiles on intraday timeframes, there wouldn't need to be several date strings all showing the same day.
Show Previous HVNs will show high volume nodes from the previous session. The HVN Strength setting is similar to a "pivot strength" that I use in a lot of my scripts - essentially, HVNs are validated by treating them as local highs. With a HVN Strength of 10 for example, if a given level contains more volume than the 10 levels above and below it, then it is validated as a HVN.
For a cleaner look and feel, HVNs can instead be shown as levels (lines) instead of areas (boxes). With levels enabled, solid lines denote the previous session's VPOC, and dotted lines represent all other HVNs. With areas enabled instead, the tops and bottoms will extend above/below the HVN level until a point with greater volume is discovered (marking the "end" of the node).
This indicator can be computationally intensive and may crash from taking too long to execute. In these cases, it's best to disable unused features, decrease the number of Rows, and/or simply reload the chart until it populates.
Cumulative Volume Price (Candle Body, High-Low)Indicator Description: Cumulative Volume Price (Candle Body, High Low)
This indicator features three cumulative plots that continuously accumulate values over time.
Cumulative Volume Plot:
The first plot displays the cumulative volume, calculated by continuously adding the volume values from zero.
Cumulative Candle Body Width Plot:
The second plot displays the cumulative width of the candle bodies, obtained by continuously adding the actual body widths from zero.
Cumulative Candle High-Low Width Plot:
The third plot displays the cumulative width of the candle high-low ranges, calculated by continuously adding the widths between the high and low prices from zero.
Usage Guidelines:
Due to the different orders of magnitude in value range used for volume and candlesticks, it is advisable to typically select and display any single plot.
説明
このインジケーターは、時間の経過とともに値を累積し続ける3つのプロットを備えています。
累積ボリューム:
ボリュームの値をゼロから累積的に加算しています。
ローソク足の累積実体幅:
ローソク足の実体幅の値をゼロから累積的に加算しています。
ローソク足の累積高安幅:
ローソク足の高安の幅の値をゼロから累積的に表示しています。
使用ガイドライン:
ボリュームとローソク足で使用する数値のオーダーが異なるため、通常は任意の一本を選択して表示することを想定しています。
Emibap's Uniswap V3 HEX/WETH 0.3% Liquidity PoolThis script will display a histogram of the Uniswap V3 HEX / WETH 3% liquidity pool.
Similar to what you can see in the liquidity section of the Uniswap pool page but conveniently rendered alongside your chart.
It's meant to be used on a HEX / WETH chart only. The price should be expressed in WETH for it to work.
One of the main motivations for using this in your chart is to get an idea of the current sentiment: If most of the volume is below the price it might be an indication of an upcoming move up, for instance.
I'll try to update the liquidity regularly.
Using the 4h, daily, or weekly time frames is highly recommended.
The options are straightforward:
Histogram bars color. Default is blue
Histogram background color. Default is black at 20% opacity
Upper price limit of the diagram: Visible upper bound price limit for the histogram, based on the current price. I.E: 200%: If the price is 1, the histogram will show 3 as the upper bound
Lower price limit of the diagram. Visible lower bound price limit for the histogram, based on the current price. I.E: 99%: If the price is 1, the histogram will show 0. 01 as the upper bound
Width of the widest bar: Width (in bars) for the widest bar of the histogram. The more the higher resolution you'll get
RSI/MFI Selling Sentiment IndexPsychological Sales Index (Psychological Sales Index)
Fundamental Indicators of Market Sentiment: The Importance of MFI and RSI
The two fundamental indicators that best reflect market sentiment are Money Flow Index (MFI) and Relative Strength Index (RSI). MFI is an indicator of the flow of funds in a market by combining price and volume, which is used to determine whether a stock is over-bought or over-selling. RSI is an indicator of the overheating of the market by measuring the rise and fall of prices, which is applied to the analysis of the relative strength of stock prices. These two indicators allow a quantitative assessment of the market's buying and selling pressure, which provides important information to understand the psychological state of market participants.
Using timing and fundamental metrics
In order to grasp the effective timing of the sale, in-depth consideration was needed on how to use basic indicators. MFI and RSI represent the buying and selling pressures of the market, respectively, but there is a limit to reflecting the overall trend of the market alone. As a result, a study on how to capture more accurate selling points was conducted by comprehensively considering technical analysis along with psychological factors of the market.
The importance of ADX integration and weighting
The "Average Regional Index (ADX)" was missing in the early version. ADX is an indicator of the strength of a trend, and has experienced a problem of less accuracy in selling sentiment indicators, especially in the upward trend. To address this, we incorporated ADX and adopted a method of adjusting the weights of MFI and RSI according to the values of ADX. A high ADX value implies the existence of a strong trend, in which case it is appropriate to reduce the influence of MFI and RSI to give more importance to the strength of the trend. Conversely, a low ADX value increases the influence of MFI and RSI, putting more weight on the psychological elements of the market.
How to use and interpret
The user can adjust several parameters. Key inputs include 'Length', 'Overbought Threshold', 'DI Length', and 'ADX Smoothing'. These parameters are used to set the calculation period, overselling threshold, DI length, and ADX smoothing period of the indicator, respectively. The script calculates the psychological selling index based on MFI, RSI, and ADX. The calculated index is normalized to values between 0 and 100 and is displayed in the graph. Values above 'Overbought Threshold' indicate an overselling state, which can be interpreted as a potential selling signal. This index allows investors to comprehensively evaluate the psychological state of the market and the strength of trends, which can be used to make more accurate selling decisions.
Relative Volume Standard DeviationThe Relative Volume Standard Deviation indicator is a powerful tool designed for traders seeking insights into volume dynamics. This indicator assesses the deviation of a security's trading volume from its moving average, shedding light on potential shifts in market sentiment.
Key Features:
-Length: Tailor the indicator's sensitivity by adjusting the length of the moving average.
-Number of Deviations: Customize the analysis by specifying the number of standard deviations to consider.
-Show Negative Values: Toggle the visibility of negative values in the plot for a comprehensive view.
How it Works:
-Moving Average Calculation: The script computes the simple moving average (SMA) of the trading volume over the specified length, providing a baseline for comparison.
-Standard Deviation Analysis: It calculates the standard deviation of the volume, identifying deviations from the average volume.
-Relative Volume Standard Deviation: The indicator then normalizes the difference between the volume and its moving average by the calculated standard deviation, producing a relative measure of volume deviation.
-Visual Representation: The result is visually represented on the chart using columns. Green columns signify relative volume standard deviation values greater than or equal to the specified number of deviations, while red columns represent values below this threshold.
-Enhancements:
Show Deviation Level: Optionally, a dashed horizontal line at the specified deviation level adds an extra layer of analysis, aiding in the identification of significant deviations.