Volume SuperTrend AI (Expo)█ Overview
The Volume SuperTrend AI is an advanced technical indicator used to predict trends in price movements by utilizing a combination of traditional SuperTrend calculation and AI techniques, particularly the k-nearest neighbors (KNN) algorithm.
The Volume SuperTrend AI is designed to provide traders with insights into potential market trends, using both volume-weighted moving averages (VWMA) and the k-nearest neighbors (KNN) algorithm. By combining these approaches, the indicator aims to offer more precise predictions of price trends, offering bullish and bearish signals.
█ How It Works
Volume Analysis: By utilizing volume-weighted moving averages (VWMA), the Volume SuperTrend AI emphasizes the importance of trading volume in the trend direction, allowing it to respond more accurately to market dynamics.
Artificial Intelligence Integration - k-Nearest Neighbors (k-NN) Algorithm: The k-NN algorithm is employed to intelligently examine historical data points, measuring distances between current parameters and previous data. The nearest neighbors are utilized to create predictive modeling, thus adapting to intricate market patterns.
█ How to use
Trend Identification
The Volume SuperTrend AI indicator considers not only price movement but also trading volume, introducing an extra dimension to trend analysis. By integrating volume data, the indicator offers a more nuanced and robust understanding of market trends. When trends are supported by high trading volumes, they tend to be more stable and reliable. In practice, a green line displayed beneath the price typically suggests an upward trend, reflecting a bullish market sentiment. Conversely, a red line positioned above the price signals a downward trend, indicative of bearish conditions.
Trend Continuation signals
The AI algorithm is the fundamental component in the coloring of the Volume SuperTrend. This integration serves as a means of predicting the trend while preserving the inherent characteristics of the SuperTrend. By maintaining these essential features, the AI-enhanced Volume SuperTrend allows traders to more accurately identify and capitalize on trend continuation signals.
TrailingStop
The Volume SuperTrend AI indicator serves as a dynamic trailing stop loss, adjusting with both price movement and trading volume. This approach protects profits while allowing the trade room to grow, taking into account volume for a more nuanced response to market changes.
█ Settings
AI Settings:
Neighbors (k):
This setting controls the number of nearest neighbors to consider in the k-Nearest Neighbors (k-NN) algorithm. By adjusting this parameter, you can directly influence the sensitivity of the model to local fluctuations in the data. A lower value of k may lead to predictions that closely follow short-term trends but may be prone to noise. A higher value of k can provide more stable predictions, considering the broader context of market trends, but might lag in responsiveness.
Data (n):
This setting refers to the number of data points to consider in the model. It allows the user to define the size of the dataset that will be analyzed. A larger value of n may provide more comprehensive insights by considering a wider historical context but can increase computational complexity. A smaller value of n focuses on more recent data, possibly providing quicker insights but might overlook longer-term trends.
AI Trend Settings:
Price Trend & Prediction Trend:
These settings allow you to adjust the lengths of the weighted moving averages that are used to calculate both the price trend and the prediction trend. Shorter lengths make the trends more responsive to recent price changes, capturing quick market movements. Longer lengths smooth out the trends, filtering out noise, and highlighting more persistent market directions.
AI Trend Signals:
This toggle option enables or disables the trend signals generated by the AI. Activating this function may assist traders in identifying key trend shifts and opportunities for entry or exit. Disabling it may be preferred when focusing on other aspects of the analysis.
Super Trend Settings:
Length:
This setting determines the length of the SuperTrend, affecting how it reacts to price changes. A shorter length will produce a more sensitive SuperTrend, reacting quickly to price fluctuations. A longer length will create a smoother SuperTrend, reducing false alarms but potentially lagging behind real market changes.
Factor:
This parameter is the multiplier for the Average True Range (ATR) in SuperTrend calculation. By adjusting the factor, you can control the distance of the SuperTrend from the price. A higher factor makes the SuperTrend further from the price, giving more room for price movement but possibly missing shorter-term signals. A lower factor brings the SuperTrend closer to the price, making it more reactive but possibly more prone to false signals.
Moving Average Source:
This setting lets you choose the type of moving average used for the SuperTrend calculation, such as Simple Moving Average (SMA), Exponential Moving Average (EMA), etc.
Different types of moving averages provide various characteristics to the SuperTrend, enabling customization to align with individual trading strategies and market conditions.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Volum
AlpHay : ToolKitToolKit:
First Impressions for Securities; (like crime scene investigators) 🧐
Our first job is to understand "What did happen here?" (historically, like Price Ranges or Price Performances) 🤔
Secondly, we try to figure out "where are we now?" (like common indicators or Moving Averages) 🤔
Then "What was the chain of events?" (macro, local, fundamentals, shorts, etc.)
Note: There are a lot of useful scripts out there, but If you want to see my approach for "Fundamentals" or "Finra Short Report" scripts, have a look.
Now we have a Clue. 😎
Includes;
1. Daily Metrics (Price performance, Price Difference, Volume, Trade)
2. Historic Price Performances
3. Historic Price ranges
4. RSI and MACD (you can change) Indicators for four "Time Frame" (you can change also)
5. Moving Averages (also shows daily values on the chart)
* Easy to customize.
* You can be positioned where ever you need. (be careful about overlays)
* You can turn on/off tables for your daily usage.
* You can flip Horizontally for some of the tables.
* Always look at tooltips (mouse over for Averages etc.)
I hope you enjoy it.
Disclaimer and Warning!
* Do not forget this is my Interpolation of the data sets. You can't invest in relying on this indicator. This is just a visual representation of the data sets.
* Just be careful what you wish for. And search for anomalies.
// ToDO List.
* Pre/Post Market Price and Volume
Exceptional Volume Spike - Potential Trend Reversal IndicatorWhat the Script Does:
The indicator aims to identify potential trend reversal points using the following steps:
Input Parameters: The script has three main input parameters that you can adjust:
relative_volume_threshold: This parameter sets the threshold for what is considered an exceptional volume spike in relation to the average volume.
ema_length: The length of the exponential moving average (EMA) used for smoothing calculations.
lookback_period: The period over which the script calculates potential support and resistance levels.
Relative Volume Calculation: The script calculates the relative volume by dividing the current volume by the average volume over the specified lookback_period.
Exceptional Volume Spikes: The script identifies exceptional volume spikes when the calculated relative volume exceeds the specified relative_volume_threshold.
EMA of Exceptional Volume Spikes: The script calculates the exponential moving average (EMA) of volume spikes. This EMA smooths out the volume spikes over the chosen ema_length.
Trend Direction: The script determines the trend direction using the crossovers of the EMA of exceptional volume spikes. If the EMA crosses above the EMA of regular volume (not spikes), it suggests a potential upward trend reversal. Conversely, if the EMA crosses below, it suggests a potential downward trend reversal.
Support and Resistance Levels: The script calculates potential support and resistance levels based on the highest high (hh) and lowest low (ll) over the specified lookback_period. These levels are then plotted on the chart.
Plot Shapes and EMA: The script plots triangle shapes below the bars for potential upward reversals and above the bars for potential downward reversals. Additionally, it plots the EMA of the closing price with different colors based on the trend direction.
By using this script as an indicator on your chart, you can visually assess potential trend reversal points based on exceptional volume spikes, trend direction crossovers, and support/resistance levels. Remember that this script serves as a tool to assist your analysis, and it's important to combine it with other technical analysis tools and strategies before making trading decisions.
Fibo Levels with Volume Profile and Targets [ChartPrime]The Fib Levels With Volume Profile and Targets (FIVP) is a trading tool designed to provide traders with a unique understanding of price movement and trading volume through the lens of Fibonacci levels. This dynamic indicator merges the concepts of Fibonacci retracement levels with trading volume analytics to offer predictive insights into potential price trajectories.
Features:
1. Fibonacci Levels: The FPI showcases three prominent Fibonacci levels on both sides of the current price, offering an intricate picture of potential support and resistance levels.
2. Support and Resistance Recognition: Harnessing the power of Fibonacci levels, the FPI provides traders with potential areas of support and resistance, aiding in informed decision-making for entries, exits, and stop placements.
3. Customizable Timeframe Settings: In order to cater to different trading strategies and styles, users can manually select their preferred timeframe for the Fibonacci calculations, ensuring optimal relevance and accuracy for their trading approach.
4. Volume Analytics: One of the standout features of the FIVP is its ability to calculate trading volume for every bar that is sandwiched between the top and lower Fibonacci levels. This ensures traders have a clear vision of where the majority of trading activity is occurring, lending weight to the credibility of the displayed support and resistance zones.
5. Volume-Derived Price Targeting: The Possible Target Arrow function is an innovative feature. By analyzing and comparing the trading volume in the bearish and bullish zones, it provides an arrow indicating the potential direction the market might take. If the bull volume surpasses the bear volume, the market is likely skewing bullish and vice versa.
Usage
Ideal for both novice and seasoned traders, the FPI offers a rich tapestry of information. It allows for refined technical analysis, more precise entries and exits, and a holistic view of the interplay between price and trading volume. Whether you're scalping, day trading, or swing trading, the Fibonacci Profile Indicator is designed to enhance your trading strategy, providing a comprehensive perspective of the market's potential movements.
OBV Oscillator Volume FilterOBV Oscillator Volume Filter
Introduction
The On-Balance Volume (OBV) is a widely-used technical indicator that aims to relate price and volume in trading. Price and volume are two of the most basic and yet crucial concepts in price movement. Together, they can reveal a lot about the instruments trends and the market's sentiment. This On Balance Volume (OBV) Oscillator incorporates enhanced features like a volume filter using a rolling window to detect outliers in accumulated volume, making it an advanced and more refined version of the standard OBV.
Interpreting the OBV Indicator
The primary function of the OBV is to accumulate volume. In simpler terms:
When the market closes higher than the previous candle, all of that candle's volume is considered 'up-volume'.
Conversely, when the market closes lower than the previous day, all of that candle's volume is considered 'down-volume'.
A rising OBV suggests that volume is being accumulated, indicating bullish market sentiment. A declining OBV, on the other hand, points to a bearish sentiment.
Features of the Script
1. Moving Averages Selection:
The script provides users with the option to select among six types of moving averages (EMA, DEMA, TEMA, SMA, WMA, HMA) to calculate the OBV. This feature offers flexibility and enables traders to choose an MA type they're most comfortable with or find the most effective.
2. Smoothing Option:
To reduce the inherent noise in the indicator, there's an option to apply smoothing. It uses a Simple Moving Average (SMA) to produce a clearer signal, making it easier for traders to interpret and respond to. If you don't want to use smoothing, just simply change the input length of smoothing to 1 in the settings.
3. Outlier Detection:
One of the standout features is the use of a rolling window to detect volume outliers. This ensures that the OBV only reacts to significant volume changes and isn't overly influenced by random spikes or drops. The volume filter is calculated based on a % of the highest OBV volume of X number of bars back. Users can adjust the time (# bars) and the sensitivity (%) of the volume filter. A longer timeperiode (# bars) and a higher % (sensitivity) in the settings result to less signals presented by the indicator.
4. Divergence Detection:
The script automatically highlights both regular and hidden divergences on the chart. Divergences can be a powerful signal of potential price reversals. This feature aids traders in spotting potential buy or sell opportunities based on divergences between price and OBV.
Regular Bullish Divergence: When the price makes lower lows, but the OBV makes higher lows.
Hidden Bullish Divergence: When the price makes higher lows, but the OBV makes lower lows.
Regular Bearish Divergence: When the price makes higher highs, but the OBV makes lower highs.
Hidden Bearish Divergence: When the price makes lower highs, but the OBV makes higher highs.
5. Alerts for Trend Reversals:
The script incorporates alerts that notify traders when the OBV indicates potential trend reversals. This feature can be instrumental in catching early entries or exits.
Disclaimer
It's crucial to understand that no single indicator should be used in isolation. To increase the probability of making accurate market predictions, always use the OBV Oscillator in conjunction with other indicators and tools. Remember that all trading involves risk, and it's possible to lose your invested capital. Always seek advice from a financial advisor before making any trading decisions. By enhancing the OBV with features like the volume filter, multiple MA types, smoothing, and divergence detection, this script becomes a potent tool in a trader's arsenal. Use it wisely, and always ensure to maintain proper risk management.
Market Sessions and TPO (+Forecast)This indicator "Market Sessions and TPO (+Forecast)" shows various market sessions alongside a TPO profile (presented as the traditional lettering system or as bars) and price forecast for the duration of the session.
Additionally, numerous statistics for the session are shown.
Features
Session open and close times presented in boxes
Session pre market and post market shown
TPO profile generated for each session (normal market hours only)
A forecast for the remained of the session is projected forward
Forecast can be augmented by ATR
Naked POCs remain on the chart until violated
Volume delta for the session shown
OI Change for the session shown (Binance sourced)
Total volume for the session shown
Price range for the session shown
The image above shows processes of the indicator.
Volume delta, OI change, total volume and session range are calculated and presented for each session.
Additionally, a TPO profile for the most recent session is shown, and a forecast for the remainder of the active session is shown.
The image above shows an alternative display method for the session forecast and TPO profile!
Additionally, the pre-market and post-market times are denoted by dashed boxes.
The image above exemplifies additional capabilities.
That's all for now; further updates to come and thank you for checking this out!
And a special thank you to @TradingView of course, for making all of this possible!
Trend Change DetectorThe trend change detector oscillator is a tool designed to help traders identify the current trend direction paired with the potential reversal zones.
The oscillator is made of multiple parts:
- The colored histogram, that displays the current long-term trend direction (long if above 0, short if below)
- The trend line, which shows the price in relation to the fair value of the current trend
- The reversal zones, which are the area that alarms the traders that the price might reverse soon after having touched them
The indicator can work with three different inputs. In the Source panel, you can choose between "Price", "Price and Volume" and "Ponderated Volume". The price input uses only the price, the price and volume use the average between the price and the ponderated volume, and the ponderated volume shows the indicator working with volume data, with formulas such as the On Balance Volume and the Accumulation-Distribution line.
This indicator can be used both for trend following technique, using the cross of the trend line with the 0-line as signals in conjunction with the bias given by the histogram, and for mean reversal technique thanks to the reversal zones that allow traders to identify potential tops and bottoms.
Filtered Volume Profile [ChartPrime]The "Filtered Volume Profile" is a powerful tool that offers insights into market activity. It's a technical analysis tool used to understand the behavior of financial markets. It uses a fixed range volume profile to provide a histogram representing how much volume occurred at distinct price levels.
Profile in action with various significant levels displayed
How to Use
The script is designed to analyze cumulative trading volumes in different price bins over a certain period, also known as `'lookback'`. This lookback period can be defined by the user and it represents the number of bars to look back for calculating levels of support and resistance.
The `'Smoothing'` input determines the degree to which the output is smoothed. Higher values lead to smoother results but may impede the responsiveness of the indicator to rapid changes in volatility.
The `'Peak Sensitivity'` input is used to adjust the sensitivity of the script's peak detection algorithm. Setting this to a lower value makes the algorithm more sensitive to local changes in trading volume and may result in "noisier" outputs.
The `'Peak Threshold'` input specifies the number of bins that the peak detection mechanism should account for. Larger numbers imply that more volume bins are taken into account, and the resultant peaks are based on wider intervals.
The `'Mean Score Length'` input is used for scaling the mean score range. This is particularly important in defining the length of lookback bars that will be used to calculate the average close price.
Sinc Filter
The application of the sinc-filter to the Filtered Volume Profile reduces the risk of viewing artefacts that may misrepresent the underlying market behavior. Sinc filtering is a high-quality and sharp filter that doesn't manifest any ringing effects, making it an optimal choice for such volume profiling.
Histogram
On the histogram, the volume profile is colored based on the balance of bullish to bearish volume. If a particular bar is more intense in color, it represents a larger than usual volume during a single price bar. This is a clear signal of a strong buying or selling pressure at a particular price level.
Threshold for Peaks
The `peak_thresh` input determines the number of bins the algorithm takes in account for the peak detection feature. The 'peak' represents the level where a significant amount of volume trading has occurred, and usually is of interest as an indicative of support or resistance level.
By increasing the `peak_thresh`, you're raising the bar for what the algorithm perceives as a peak. This could result in fewer, but more significant peaks being identified.
History of Volume Profiles and Evolution into Sinc Filtering
Volume profiling has a rich history in market analysis, dating back to the 1950s when Richard D. Wyckoff, a legendary trader, introduced the concept of volume studies. He understood the critical significance of volume and its relationship with market price movement. The core of Wyckoff's technical analysis suite was the relationship between prices and volume, often termed as "Effort vs Results".
Moving forward, in the early 1800s, the esteemed mathematician J. R. Carson made key improvements to the sinc function, which formed the basis for sinc filtering application in time series data. Following these contributions, trading studies continued to create and integrate more advanced statistical measures into market analysis.
This culminated in the 1980s with J. Peter Steidlmayer’s introduction of Market Profile. He suggested that markets were a function of continuous two-way auction processes thus introducing the concept of viewing markets in price/time continuum and price distribution forms. Steidlmayer's Market Profile was the first wide-scale operation of organized volume and price data.
However, despite the introduction of such features, challenges in the analysis persisted, especially due to noise that could misinform trading decisions. This gap has given rise to the need for smoothing functions to help eliminate the noise and better interpret the data. Among such techniques, the sinc filter has become widely recognized within the trading community.
The sinc filter, because of its properties of constructing a smooth passing through all data points precisely and its ability to eliminate high-frequency noise, has been considered a natural transition in the evolution of volume profile strategies. The superior ability of the sinc filter to reduce noise and shield against over-fitting makes it an ideal choice for smoothing purposes in trading scripts, particularly where volume profiling forms the crux of the market analysis strategy, such as in Filtered Volume Profile.
Moving ahead, the use of volume-based studies seems likely to remain a core part of technical analysis. As long as markets operate based on supply and demand principles, understanding volume will remain key to discerning the intent behind price movements. And with the incorporation of advanced methods like sinc filtering, the accuracy and insight provided by these methodologies will only improve.
Mean Score
The mean score in the Filtered Volume Profile script plays an important role in probabilistic inferences regarding future price direction. This score essentially characterizes the statistical likelihood of price trends based on historical data.
The mean score is calculated over a configurable `'Mean Score Length'`. This variable sets the window or the timeframe for calculation of the mean score of the closing prices.
Statistically, this score takes advantage of the concept of z-scores and probabilities associated with the t-distribution (a type of probability distribution that is symmetric and bell-shaped, just like the standard normal distribution, but has heavier tails).
The z-score represents how many standard deviations an element is from the mean. In this case, the "element" is the price level (Point of Control).
The mean score section of the script calculates standard errors for the root mean squared error (RMSE) and addresses the uncertainty in the prediction of the future value of a random variable.
The RMSE of a model prediction concerning observed values is used to measure the differences between values predicted by a model and the values observed.
The lower the RMSE, the better the model is able to predict. A zero RMSE means a perfect fit to the data. In essence, it's a measure of how concentrated the data is around the line of best fit.
Through the mean score, the script effectively predicts the likelihood of the future close price being above or below our identified price level.
Summary
Filtered Volume Profile is a comprehensive trading view indicator which utilizes volume profiling, peak detection, mean score computations, and sinc-filter smoothing, altogether providing the finer details of market behavior.
It offers a customizable look back period, smoothing options, and peak sensitivity setting along with a uniquely set peak threshold. The application of the Sinc Filter ensures a high level of accuracy and noise reduction in volume profiling, making this script a reliable tool for gaining market insights.
Furthermore, the use of mean score calculations provides probabilistic insights into price movements, thus providing traders with a statistically sound foundation for their trading decisions. As trading markets advance, the use of such methodologies plays a pivotal role in formulating effective trading strategies and the Filtered Volume Profile is a successful embodiment of such advancements in the field of market analysis.
Daily Network Value to Transactions Signal (NVTS)
Quote of GlassNode ...
The NVT Signal (NVTS) is a modified version of the original NVT Ratio.
It uses a 90 day moving average of the daily transaction volume in the denominator instead of the raw daily transaction volume.
This moving average improves the ratio to better function as a leading indicator.
The Network Value to Transactions (NVT) Ratio is calculated by dividing the market cap by the transferred on-chain volume measured in USD.
GlassNode says the NVT Ratio was created by Willy Woo.
I have peaked into Glassnode and took their idea.
I also added a few more Moving Averages to select from, and the length can also be changed.
This script does not depend on Glassnode alone, instead I pulls data of several services...
CoinMarketCap
CoinMetrics
GlassNode
IntoTheBlock
Therefor we have more Tokens to select from.
I have also blocked some faulty data of each service.
If you get a study error of any kind then there is no data available,
or you on a wrong timeframe.
Best to use this script in a daily chart.
And keep in mind it pulls data of yesterday.
Therefor the plot is offset by 1 to the left.
The script will check each service if the data for the chart is available.
Market Cap is taken in the following order ...
CainMarketCap
GlassNode
CoinMetrics
Transaction volume as USD is taken in the following order ...
IntoTheBlock
CoinMetrics
GlassNode
Happy Trading!
Buying Selling Volume StrategyFirst I would like to give the original credit and thanks to @ceyhun for his amazing volume script.
The way I decided to convert it into a strategy is divided into multiple types.
First, I decided in order to smooth out the values and make it more accurate to adapt the values to multiple timeframes.
After that I took the initial values from the buyers and sellers , and made a rest operation between them to have a flat difference between the power of both sides.
WIth that later on I decided to to apply a volatility filter,in this case bollinger bands, in order to find out potential leading trends.
At the same time in order to filter even more, I decided to make use as well for weekly VWAP values of the asset used.
Lastly I added a dynamic risk management into it , based on the ATR Daily values of the asset values.
As for the rules used, for example for long, I am looking that the price of the asset is above the weekly VWAP, after that I am checking that the MTF volume rest operation is both bullish and above the upper side of the bollinger.
For short we would want the asset to be below the weekly VWAP, and the volume to be bearish and above the upper side of bollinger.
The exit is either based on daily ATR values multipliers, or if we have a reverse condition.
If you have any questions, please let me know !
Truncate Volume SpikesTruncates or caps the height of the volume bar. Many times, there is a day where the volume eclipses the recent volume and makes the rest of the volume compressed and difficult to see.
This script cuts off the volume at a user defined multiple of average daily volume and places a label above and to the left showing the true volume.
My one gripe is that it doesn't yet handle overlapping labels. At some point, I will see if I can fix that.
Strategy - Relative Volume GainersStrategy - Relative Volume Gainers
Overview:
This trading strategy, called "Relative Volume Gainers," is designed for Long Entry opportunities in the stock market. The strategy aims to identify potential trading candidates based on specific technical conditions, including volume, price movements, and indicator alignments.
Strategy Rules:
The strategy is focused solely on Long Entry positions.
The volume for the current trading day must be greater than or equal to the volume of the previous day.
The percentage change in price must be greater than or equal to 2.5%.
The Last Traded Price (LTP) must be greater than or equal to the Exponential Moving Average (EMA) 200.
The Relative Volume for the current trading day (calculated over the last 30 days) must be greater than or equal to the Simple Moving Average (SMA) of Relative Volume over the same 30 days.
The current candle on the chart should be Green or Bullish, indicating positive price movement.
The price difference between bid and ask prices should be kept to a minimum.
It's recommended to also analyze market depth for better insights.
Strategy Requirements:
Add the Exponential Moving Average (EMA) 200 to your trading chart.
This strategy can be applied on charts of any timeframe.
For intraday trading, particularly for early entry, consider using a 1-minute timeframe.
It is advisable to create a screener to identify potential trades in real-time market conditions.
Risk Warning:
Stocks that meet the strategy criteria might exhibit high volatility and a high beta, making them inherently risky to trade. Exercise caution and adhere to predetermined risk management strategies.
Determine your trading quantity based on your entry price and stop loss in order to manage risk effectively.
Quantity Calculation Formula:
Quantity calculation is crucial to manage risk and position sizing. The following formulas can be used based on your trading scenario:
Quantity with Leverage:
Quantity = (((Using Capital / 100) * Risk Percent) / (Entry Price - Stop Loss)) * Leverage
Eg: Quantity = (((10000 / 100) * 0.2) / (405.5 - 398.5)) * 5
Quantity = 14
Risk = Rs.100 (Rs.100 is 1% of Rs.10000. So the risk is 1%, means we lose only Rs.100 when the SL is hit. If SL is increased the Quantity will get reduced to maintain a fixed risk of Rs.100)
Quantity without Leverage:
Quantity = (((Using Capital / 100) * Risk Percent) / (Entry Price - Stop Loss))
Note:
Always stay informed about market conditions and be prepared for potential rapid price movements when trading stocks that meet the strategy criteria. Strictly adhere to your predefined risk management strategy to safeguard your capital.
FastlaneIt will show a Marking (dot) above/below the candle where the Volume is 500000 and is up more than 5%.
Volume Delta CandlesThis indicator is designed to visualize the volume delta, which represents the difference between buying and selling volumes during each candle period. The indicator plots custom candlesticks on the chart, with OHLC values calculated based on the volume delta.
Calculations:
To calculate the volume delta, the indicator first determines the buying and selling volumes. If the closing price is higher than the opening price (close > open), the volume is considered as buying volume. If the closing price is lower than the opening price (close < open), the volume is considered as selling volume. Otherwise, the volume is set to zero. The volume delta is then calculated as the difference between the buying volume and the selling volume.
The custom OHLC values are derived from the volume delta. The custom open is obtained by subtracting the volume delta from the closing price. The custom close is obtained by adding the volume delta to the closing price. The custom high is set as the maximum value between the closing price and the custom open, ensuring that the candle represents the highest value within the range. The custom low is set as the minimum value between the closing price and the custom open, ensuring that the candle represents the lowest value within the range.
Interpretation:
The indicator's custom candles provide visual insights into the volume delta. Each candlestick's color (lime for positive volume delta, fuchsia for negative volume delta) indicates the dominance of buying or selling pressure during that period. When the volume delta is positive, it suggests that buying volume exceeded selling volume, possibly indicating a bullish sentiment. Conversely, when the volume delta is negative, it indicates that selling volume was higher, potentially signaling a bearish sentiment. The indicator also plots a zero line to represent the equilibrium point, where buying and selling volumes are equal.
Potential Uses and Limitations:
Traders can use the indicator to gain insights into the strength and direction of buying and selling pressures. Positive volume delta during an uptrend could suggest the presence of strong buying interest, potentially supporting further bullish moves. On the other hand, negative volume delta during a downtrend could indicate intensified selling pressure, hinting at potential further declines. Traders might use the indicator in conjunction with other technical analysis tools, such as support and resistance levels, trendlines, or oscillators, to confirm potential reversal points or trend continuations.
It's essential to interpret the indicator in the context of the overall market environment. While volume delta can provide valuable insights into short-term buying and selling imbalances, it is just one aspect of market analysis. Traders should consider other factors, such as market structure, fundamental events, and overall sentiment, to make informed trading decisions. Additionally, the indicator's efficacy might vary across different market conditions, and it may produce false signals during low-volume periods or choppy markets.
Conclusion:
By visualizing volume delta through custom candlesticks, traders can gauge market sentiment and potentially identify key reversal or continuation points. As with any technical indicator, it is advisable to use the Volume Delta Candles in combination with other tools to gain a comprehensive understanding of market conditions and make well-informed trading choices. Additionally, traders should practice proper risk management techniques to protect their capital while using the indicator in their trading strategy.
Volume as a Percent of Float by 3iauVolume as a Percent of Float
Plot the difference between current Chart Volume as a percent of Float/Outstanding and the moving average of the same.
Apply a multiplier to this value.
Plot the moving average of the difference between current Chart Volume as a percent of Float/Outstanding and the moving average of the same.
Price Range Volume Profile [Pt]█ Introduction
The Price Range Volume Profile (PRVP) is a revolutionary indicator. This tool stands out from its peers due to its unique ability to capture the entire price chart history, thus providing a comprehensive volume profile of the entire asset's trading history, as available on TradingView chart. It's worth noting that I believe this tool is the first of its kind to accomplish such a feat. A much recommended tool if you are a volume profile trader.
█ Main Features
► Historical Lookback: This feature dives deep into the past, grasping all the historical data of an asset. It's equipped to handle up to 20,000 bars, although users without a premium TradingView account are advised to keep it at a maximum of 10,000 bars, or just use the "Full Historical Lookback" feature.
► Volume Profile / POC: Displays the distribution of volume across price levels for the selected price range. The Point of Control (POC), which is the price level with the highest traded volume, is also highlighted.
► Customization: Users have the flexibility to adjust the profile's appearance, including profile width, horizontal offset, and the option to fill the background of the profile range.
► Time Weighting: This feature allows users to give more weight to recent trading activity, which can be especially useful for intraday traders or during times of high volatility. Note that this feature will impact the volume profile and POC level.
► Settings Table: A settings table is displayed on the chart for users to quickly reference their input parameters.
█ Input Parameters
► Lookback Timeframe: Determines the period for which the volume profile is generated.
► Price Range: The percentage distance to consider for the profile, adjusted above and below the current closing price.
► Profile Step size: The granularity of the volume profile. Users can opt for automatic step size based on a predefined calculation or set their preferred tick step size.
► Historical Bars Lookback: Determines the number of bars to include in the volume profile calculation.
► Profile Visuals: Adjust the appearance and layout of the volume profile on the chart.
► Extra: Additional settings including the display of a settings table and its location.
█ Basic Understanding of Volume Profile - How to use PRVP?
Volume Profile is a valuable tool for traders who want insights into where the majority of trading activity has occurred. Here are some tips to make the most of it:
► Understand the Basics: Before using the Volume Profile, ensure you understand the difference between it and the standard volume histogram. While both represent volume, the former displays it against price while the latter shows it against time.
► Identify High Volume Nodes (HVN) and Low Volume Nodes (LVN):
◊ HVN: Areas where there's a lot of trading activity and where the price has spent a lot of time. These areas can act as strong support or resistance.
◊ LVN: Areas where there's a lack of trading activity. Prices might move quickly through these areas, and they can act as potential breakpoints or accelerators for price movement.
► Locate the Point of Control (POC): This is the price level with the highest traded volume for a specified period. It often acts as a magnet for price, and it can serve as a pivot or reference point.
► Trend Confirmation: A shift in the volume profile from one price level to another can confirm a trend. For instance, if higher volume starts to build at higher price levels, it may indicate a strong uptrend.
► Watch for Volume Gaps: If there's a significant gap in the volume profile, prices may move quickly through these levels as there's little historical trading activity to act as support or resistance.
█ Other Usage Tips
◊ For optimal performance, ensure that the chosen timeframe aligns closely with the chart timeframe. Differences in timeframes may lead to minor discrepancies in the volume profile.
◊ To address any errors arising from too many levels displayed on the volume profile, consider increasing the Profile Step size or reducing the Price Range.
Volume Delta Compare [Ticks ~ LTF data]
The "Volume Delta Compare " publication shows 2 different techniques to show into-depth details of Volume, using Tick and Lower-Time-Frame (LTF) data.
🔶 USAGE
Check for divergences between price and volume movement
Check details (why and when a ΔV developed)
Or if you want to see a lot of data stacked on each other )
🔶 CONCEPTS
🔹 Tick vs. LTF data
a Tick is an measure of (upward or downward) movement in price OR volume.
We can use this data by using varip in the code.
Advantage:
• Detail, detail, detail
• Accurate, per tick
Disadvantage:
• Only realtime
• Can reset 'easily' -> loss of data
• Will reset when settings are changed
LTF data, through the request.security_lower_tf() function, measures the OHLCV data per LTF bar
Advantage:
• Access to history when loading a chart
• No 'loss' of data when chart resets
Disadvantage:
• Less detailed
• Less accurate
This script makes it possible to compare the 2 techniques and enables you to show different values.
🔹 Values
There are mainly 3 important values:
• UP volume (uV): volume when price rises
• DOWN volume (dV): volume when price falls
• NEUTRAL volume (nV): volume when price stays the same
From this, additional data is calculated:
• Volume Delta (ΔV): uV minus dV
• Cumulative Delta Volume (cΔV): sum of ΔV
One typical nV is at open: at that moment there isn't a base price to compare with,
so when the first trade doesn't fully fill the first supply (up or down), volume will rise, but price just is 'open', no movement -> no uV or dV.
• Tick data: every volume changement per tick will be added to the concerning variable (uV, dV or nV)
• LTF data: every volume changement of each bar will be added to the concerning variable (uV, dV or nV)
-> this can easily give a difference, for example (Tick vs. 1 minute LTF), when most of the ticks caused a rise of price, but at the last few seconds, a few ticks causes the close to come below open, with Tick data this could give more UP Volume, while LTF data will show 1 value of DOWN Volume.
🔶 EXAMPLES
🔹 Details
In these examples you can see:
• grey line: Total volume (higher precision)
• UP/DOWN/NEUTRAL Volume
• green columns: uV
• orange columns: dV
• blue pillars: nV
• coloured stepline: reflects ΔV
• close > open and positive ΔV -> green
• close > open but negative ΔV -> fuchsia
• close < open and negative ΔV -> orange
• close < open but positive ΔV -> bright lime green
• Right side -> indication of used data (Tick/LTF data) + last ΔV
• labels (can be disabled)
Above 0 (only with Tick data): data from EVERY tick (ΔV ):
• first the amount of Volume (0 when the amount is very minimal)
• between brackets: price movement
Below 0:
• Σ V: sum of uV, dV and nV, for that bar
• Σ up: sum of uV for that bar
• Σ dn: sum of dV for that bar
• Σ nt: sum of nV for that bar
• Σ P: sum of price movement, for that bar (only at Tick data)
(At the right you'll see a new bar just started)
Here is a detail of the first second at opening:
🔹 Cumulative Volume Delta (CVD)
Difference CVD based on Tick vs. LTF data :
(horizontal lines added for reference)
🔶 FEATURES
🔹 Minimal plotting of na values
Data window and status line only show what is applicable (tick or LTF data) to diminish clutter of data values:
The Tick option has a label above 0 which includes details of every Tick.
If data is added every tick, that label on a 10 minute chart will be filled beyond limitations pretty quickly (string max_length = 4096 limit).
To prevent the script stopping to execute, at a certain limit, this label will stop updating and show the message "Too much data".
The label below the 0-line won't reach that limit, so it will keep on updating.
Timeframes closer to 1 second will have less risk to reach that 4096 limit. Details will remain to show in this case.
🔹 Automatic label colour adaption when changing between dark/light mode values
Label background/text-colour will adapt according to the dark/light-mode by using chart.fg_color / chart.bg_color
🔶 SETTINGS
🔹 Data from: Ticks vs. LTF data
🔹 LTF: Lower Time-Frame for when LTF option is chosen: 1, 5, 10, 15, 30 Seconds or 1 minute
🔹 Also start when bar already has data: only for tick data -> when disabled calculations only start on a new bar.
🔹 CVD, Only show Cumulative Delta Volume: enable to just display CVD
🔹 Colours: colour at the right is for price/volume direction divergences
🔹 Label: choose what you want to display + size labels
🔹 0-line: The label under the 0-line sometimes goes below the chart. this can be adjusted with this setting.
nVPSA - Normalized Volume-Price Spread AnalysisNormalized volume-price spread analysis indicator can be helpfully tool in Tom's William metodology - VSA.
The indicator use normalized data by y/x(max) operation, where x(max) is the biggest value in range. Indicator separate spread to four levels - standard divation is separator.
The indicator graphically shows:
- normalized volume, visualized by wide column,
- normalized price spread, visualized by narrow column,
- linear regression calculated from normalized volume, visualised by crosses,
- linear regression from normalized price spread, visualized by circles.
Columns are marked by five colors according to standard deviation:
- blue xsecond deviation, xfourth deviation,
- gold when volume or price spread achive new maximum in analysis range.
Linear regression uses three colors:
- green when volume/spread is up bar by bar,
- red when volume/spread is down bar by bar,
- black when volume/spread is down two times bar by bar.
Additionally, it is posible to use alarm on Golden Bar. Colors and range values are editable from indicator settings.
Volume Delta Methods (Chart) [LuxAlgo]The Volume Delta Methods (Chart) aims at highlighting the relationship between Buying or Selling Pressure and Price by presenting Volume Delta , and multiple derivatives of volume delta such as Cumulative Volume Delta (CVD) , Buy/Sell Volume , Total Volume , etc on top of the Main Price Chart .
The script uses two different intrabar (chart bars at a lower timeframe than the chart's) analyses to achieve the most approximate calculation of the volume delta and offers fully customizable visualization features using various types of charts such as line, area, baseline, candles, and histograms.
The script allows traders to see "within" the price bar, provides more transparency over a traditional volume histogram, and also allows users to monitor price and volume activity together.
🔶 USAGE
Volume delta is the difference between the buying volume and the selling volume, in other words, it is the net demand at a given bar allowing traders a more detailed insight when analyzing the market sentiment. A volume delta greater than 0 indicates more buying than selling pressure, whereas a volume delta less than 0 indicates more selling than buying pressure.
Volume delta plus total volume (regular volume) adds additional insight, where the total volume represents all the recorded trades for security that occurs in a given time interval. It is a measurement of the participation, enthusiasm, and interest in a given security.
Divergences occur when the polarity of the volume delta does not match the polarity of the price bar.
The users can enable the display of the numerical values of the volume delta.
Cumulative Volume Delta (CVD) is a way of using Volume Delta to measure an asset’s mid-to-long-term buy and sell pressure. It compares buying and selling volume over time and offers insights into market behavior at specific price points. Cumulative Volume Delta is effectively a continuation of the principles of Volume Delta but involves longer time periods and offers different trading signals.
Like the Volume Delta, the Cumulative Volume Delta (CVD) indicator measures the relationship between buy and sell pressure but does not focus on one specific candle in particular. Rather, the Cumulative Volume Delta takes the relative differences and combines them all over an extended time period.
Users have the ability Cumulative Volume Delta in various types of charts along with an optional smoothing line.
Placed above price bars options.
Interacting with price bar options helps to better identify CVD Divergences.
CVD Divergences
CVD reveals buying and selling trends that may or may not complement the price trend of the asset itself. Sometimes, price trends can run in contrast to trading behavior — sell volume can be dominant while the spot price is rising, and vice versa.
🔶 DETAILS
Theoretically, volume delta is calculated by taking the difference between the volume that traded at the ask price and the volume that traded at the bid price. The most precise calculation method uses tick data but requires huge amounts of data on historical bars, which usually limits the historical depth of charts. This indicator uses two different intrabar analysis methods for the volume delta calculation, where intrabars are chart bars at a lower timeframe than the chart's timeframe:
The logic used to assign intrabar volume to the "up" or "down".
- Buying/Selling pressure of the intrabar option (default)
(close - low) > (high - close) => UP
(close - low) < (high - close) => DOWN
(close - low) = (high - close) => close - previous close is used
- Polarity of the intrabar option
close > open => UP
close < open => DOWN
close = open => close - previous close is used
🔶 SETTINGS
The script takes into account user-defined parameters and performs calculations and presentations based on them, where detailed usage for each user-defined input parameter in indicator settings is provided with the related input's tooltip.
🔹 Calculation Settings
Calculation Method: Calculation method selection, available options 'Intrabar Buying/Selling Pressure' or 'Intrabar Polarity'.
Lower Timeframe Precision: Sets indicator precision, default option is 'Auto'.
🔹 Presentation Settings
Volume Delta: Toggles the visibility of the Volume Delta
Cumulative Volume Delta: Toggles the visibility of the Cumulative Volume Delta
Volume Delta/Price Bar Divergences: Toggles the visibility of the Volume Delta Divergences
Volume Delta Numerical Values: Toggles the visibility of the Volume Delta Numerical Values
🔹 Other Features
Volume MA: Toggles the visibility of the Volume Moving Average
CVD Smoothing: Toggles the visibility of the Cumulative Volume Delta's Smoothing Line
🔹 Volume Delta, Others
Volume Delta: Positive, Negative: Volume Delta color customization options
Volume Histogram: Growing, Falling: Volume Histogram color customization options
Display Length: Length of the visual objects presented with this indicator
Volume Delta Height: Volume delta height customization options
Volume Histogram Height: Volume histogram height customization options
Vertical Offset: Volume delta and histogram vertical positioning customization options
🔹 Cumulative Volume Delta, Others
CVD Line, Width, and Color: Cumulative Volume Delta - Line Width and Color customization options
CVD Area/Baseline, Gradient Coloring: Cumulative Volume Delta - Area and Baseline background gradient coloring customization options
CVD Candles Color, Positive, and Negative: Cumulative Volume Delta - Candles coloring customization options
CVD/Smoothing Background: Highlights and adjusts the transparency of the area between the Cumulative Volume Delta Line and it's Smoothing Line
🔶 RELATED SCRIPTS
Liquidity-Sentiment-Profile
EquiVolume
Volume-Footprint
RVol LabelThis Code is update version of Code Provided by @ssbukam, Here is Link to his original Code and review the Description
Below is Original Description
1. When chart resolution is Daily or Intraday (D, 4H, 1H, 5min, etc), Relative Volume shows value based on DAILY. RVol is measured on daily basis to compare past N number of days.
2. When resolution is changed to Weekly or Monthly, then Relative Volume shows corresponding value. i.e. Weekly shows weekly relative volume of this week compared to past 'N' weeks. Likewise for Monthly. You would see change in label name. Like, Weekly chart shows W_RVol (Weekly Relative Volume). Likewise, Daily & Intraday shows D_RVol. Monthly shows M_RVol (Monthly Relative Volume).
3. Added a plot (by default hidden) for this specific reason: When you move the cursor to focus specific candle, then Indicator Value displays relative volume of that specific candle. This applies to Intraday as well. So if you're in 1HR chart and move the cursor to a specific candle, Indicator Value shows relative volume for that specific candlestick bar.
4. Updating the script so that text size and location can be customized.
Changes to Updated Label by me
1. Added Today's Volume to the Label
2. Added Total Average Volume to the Label
3. Comparison vs Both in Single Line and showing how much volume has traded vs the average volume for that time of the day
4. Aesthetic Look of the Label
How to Use Relative Volume for Trading
Using Relative Volume (RVol) in trading can be a valuable tool to help you identify potential trading opportunities and gain insight into market behavior. Here are some ways to use RVol in your trading strategy:
Identifying High-Volume Breakouts: RVol can help you spot potential breakouts when the volume surges significantly above its average. High RVol during a breakout suggests strong market interest, increasing the probability of a sustained move in the direction of the breakout.
Confirming Trends and Reversals: RVol can act as a confirmation tool for trends and reversals. A trend accompanied by rising RVol indicates a strong and sustainable move. Conversely, a trend with declining RVol might suggest a weakening trend or potential reversal.
Spotting Volume Divergence: When the price is moving in one direction, but RVol is declining or not confirming the move, it may indicate a divergence. This discrepancy could suggest a potential reversal or trend change.
Support and Resistance Confirmation: High RVol near key support or resistance levels can indicate potential price reactions at those levels. This confirmation can be valuable in determining whether a level is likely to hold or break.
Filtering Trade Signals: Incorporate RVol into your existing trading strategy as a filter. For example, you might consider taking trades only if RVol is above a certain threshold, ensuring that you focus on high-impact trading opportunities.
Avoiding Low-Volume Traps: Low RVol can indicate a lack of interest or participation in the market. In such situations, price movements may be erratic and less reliable, so it's often wise to avoid trading during low RVol periods.
Monitoring News Events: Around significant news events or earnings releases, RVol can help you gauge the market's reaction to the information. High RVol during such events can present trading opportunities but be cautious of increased volatility and potential gaps.
Adjusting Trade Size: During periods of extremely high RVol, it might be prudent to adjust your position size to account for higher risk.
Using Relative Volume in Morning Session
If the Volume traded in first 15 minute to 30 Minutes is already at 50% or 100% depending upon the ticker, it means that it is going to have very high Volume vs average by end of the day.
This gives me conviction for Long or Short Trades
Remember that RVol is not a standalone indicator; it works best when used in conjunction with other technical and fundamental analysis tools. Additionally, RVol's effectiveness may vary across different markets and trading strategies. Therefore, backtesting and validating the use of RVol in your trading approach is essential.
Lastly, risk management is crucial in trading. While RVol can provide valuable insights, it cannot guarantee profitable trades. Always use appropriate risk management strategies, such as setting stop-loss levels, and avoid overexposing yourself to the market based solely on RVol readings.
Equity Sessions [vnhilton]Note: Numbers in the chart above, particularly volume, are incorrect as I didn't have extra market data at the time of publication. Default settings are set for US markets.
(OVERVIEW)
This indicator was made specifically for equity markets which have pre-market and after-hours trading, though can be used for any other markets without these sessions, there are many other session indicators better suited for those markets. What makes this indicator different to the hundreds of session indicators out there will be highlighted in bold in the Features section below.
(FEATURES)
- After-Hours session can start earlier if the day ends short and starts after-hours trading earlier due to holidays for example
- Sessions constrained to regular trading hours can also adjust for short days as well
- Show volume for each session and also as a percentage/multiplier of day volume, average day volume with customisable period
- Show range for each session and also as a percentage/multiplier of the daily ATR with customisable period
- Lookback period for the boxes
- Customisable text size, placement, colour, name
- Customisable session lengths and constraints (regular trading hours or all including extending trading hours)
- Customisable border widths, styles and colours, and session background colour
- Toggles to show/hide sessions, volume, day volume, average day volume, session range and day ATR
Volume [Entoryx]
Certainly! Here's a more concise description for the "Entoryx Volume" indicator, with less focus on the specifics of the order block bar detection:
The "Entoryx Volume" is a versatile technical indicator that analyzes the relationship between price ranges and volume over a user-defined number of bars. By calculating a delta between the highest high and lowest low, it offers insights into market momentum and direction.
Key features of this indicator include:
1) Current Value Plotting: A dynamic line plotted on the chart represents the current value, which reflects market trends. The color of the line changes to green for bullish conditions and red for bearish conditions, depending on its relationship with the Exponential Moving Average (EMA) of the close.
2) Color-Coded Regions: The area between the current value plot and a baseline zero line is filled with a corresponding color, providing a visual representation of market sentiment.
3) Boundary Lines: Horizontal lines at +10 and -10 serve as reference points to highlight significant market movements.
4) Order Block Bar Detection (Optional): An optional feature that places visual markers on the chart to signal potential reversals. This can be enabled or disabled by the user, according to preference.
The "Entoryx Volume" indicator is tailored for traders aiming to understand market momentum with a clear and visually intuitive display. It is suitable across various trading strategies and market conditions, with customization options to fit individual needs.
The source code for this indicator is subject to the terms of the Mozilla Public License 2.0.
Price by Volume ColumnsThis indicator allows you to identify how price changes for a given time period are sensitive to the volume. You will identify these changes as bars in the bottom of the chart. You may see the changes in bars for better understanding of price movements, identify trends. Please take trades at your own risk and discretion