Up Down Volume Ratio by 3iauThis script considers the total volume within a user specified time frame, and whether price closed higher or lower at the end of each period within that time frame.
EXAMPLE:
* If the time period of interest is 50-periods, the script considers the volume within each of those 50 periods beginning with the most recent closed period.
* SumUpVol = the sum of all volume occurring within only those periods where price closed higher than that of the previous period.
* SumDnVol = the sum of all volume occurring within only those periods where price closed lower than that of the previous period.
* Difference = the difference between SumUpVol and SumDnVol = SumUpVol - SumDnVol
* Total = the sum of SumUpVol and SumDnVol = SumUpVol + SumDnVol
* The plot will present the change in Difference divided by Total = Difference/Total = (SumUpVol - SumDnVol)/(SumUpVol + SumDnVol) occurring within those 50 periods. What will be plotted is the moving average of this value. The user can specify the moving average type and the number of period for which the average is calculated.
* The plot needs to be fitted into a range, for example, +/- 50 (default) or +/-100, by multiplying the result of Difference/Total by a user specified constant. The constant will contain the majority (not all) of the values within +/- the specified value.
* Range = the user specified constant. If Range = 50, the majority of values plotted will be fall within the range +/- 50.
* Therefore, what is plotted is the moving average of Range * Difference / Total.
* When the value = 0, accumulation = distribution over the user specified 50-periods time frame.
* When the value is positive, accumulation > distribution over the user specified 50-periods time frame.
* When the value is negative, distribution > accumulation over the user specified 50-periods time frame.
This plot allows one to see possible accumulation and distribution occurring within a particular stock. The slope of this plot must be considered, and not any single value. The selected constant (“Range” in the example above) does not have an effect on the slope of the plot.
Three values may be plotted at once, for comparison of accumulation or distribution occurring over different time frames. For example, compare Difference / Total calculated over a 50-periods timeframe with 10-periods timeframe, both time frames beginning with the most recent closed period.
In addition to the above, J. Welles Wilder’s Relative Strength Index (RSI) can be plotted over the Difference / Total.
NOTE: this script is not the same as the more commonly used Up/Down Volume Ratio defined as SumUpVol / SumDnVol over a 50-periods time frame, where SumUpVol = the sum of all volume occurring within only those periods where price closed higher than that of the previous period, and SumDnVol = the sum of all volume occurring within only those periods where price closed lower than that of the previous period.
Compare...
Up Down Volume Ratio = SumUpVol / SumDnVol
Up Down Volume Ratio by 3iau = the moving average of Range * (SumUpVol - SumDnVol) / (SumUpVol + SumDnVol)
Volume
Kzx | RSI + Div + MACDComponents Description:
Relative Strength Index (RSI):
Purpose: Measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.
Implementation: The script allows users to set the length of the RSI calculation and defines overbought and oversold levels, which can be visually represented on the chart. Additional features include options to fill and/or color the background of the chart when overbought or oversold levels are reached.
Divergence (Div):
Purpose: Identifies instances where the price of an asset is moving in the opposite direction of a momentum indicator, such as the RSI in this script. Divergences can signal potential trend reversals.
Implementation: The script provides options for users to define the conditions under which divergences are identified, including the source of price tops/bottoms, detection limits, and the maximum lookback period for divergence analysis. It visually highlights these divergences on the chart.
Moving Average Convergence Divergence (MACD):
Purpose: Tracks the relationship between two moving averages of a security's price. The MACD is used to identify trend direction, momentum, and potential reversal points through crossovers.
Implementation: The script calculates the MACD line and its signal line. It plots buy or sell markers based on crossovers between these two lines, indicating potential entry or exit points.
Script Category:
Category: Technical Analysis / Indicators and Strategies
Subcategory: Oscillators (for RSI and MACD) and Trend Analysis (for Divergence)
Usage:
The script is designed for traders and analysts who rely on technical analysis to make informed decisions in the financial markets. By integrating RSI, divergence detection, and MACD analysis into a single script, users can gain a more nuanced understanding of market conditions, potentially improving their trading strategies.
Customization and Visualization:
Users can customize various parameters, including lengths for RSI and MACD, overbought/oversold levels, divergence detection criteria, and visual aspects like colors and marker sizes.
The script provides visual cues directly on the price chart, making it easy to spot potential buy/sell signals, overbought/oversold conditions, and divergences without the need to switch between different indicators.
Cumulative Volume Delta (CVD)█ OVERVIEW
Cumulative Volume Delta (CVD) is a volume-based trading indicator that provides a visual representation of market buying and selling pressure by calculating the difference in traded volumes between the two sides. It uses intrabar information to obtain more precise volume delta information than methods using only the chart's timeframe.
Volume delta is the net difference between Buy Volume and Sell Volume. Positive volume delta indicates that buy volume is more than sell volume, and opposite. So Cumulative Volume Delta (CVD) is a running total/cumulation of volume delta values, where positive VD gets added to the sum and negative VD gets subtracted from the sum.
I found simple and fast solution how to calculate CVD, so made plain and concise code, here is CVD function :
cvd(_c, _o, _v) =>
var tcvd = 0.0, delta = 0.0
posV = 0.0, negV = 0.0
totUV = 0.0, totDV = 0.0
switch
_c > _o => posV += _v
_c < _o => negV -= _v
_c > nz(_c ) => posV += _v
_c < nz(_c ) => negV -= _v
nz(posV ) > 0 => posV += _v
nz(negV ) < 0 => negV -= _v
totUV += posV
totDV += negV
delta := totUV + totDV
cvd = tcvd + delta
tcvd += delta
cvd
where _c, _o, _v are close, open and volume of intrabar much lower timeframe.
Indicator uses intrabar information to obtain more precise volume delta information than methods using only the chart's timeframe.
Intrabar precision calculation depends on the chart's timeframe:
CVD is good to use together with open interest, volume and price change.
For example if CVD is rising and price makes good move up in short period and volume is rising and open interest makes good move up in short period and before was flat market it is show big chance to pump.
Footprint liteFootprint Lite enables you to monitor volume distribution for the current ticker, offering resolutions as 1 second, segmented by specified price levels with visual representations. Additionally, you have the flexibility to customize the displayed Imbalance price level and the number of consecutive Imbalance level lines.
Here are the input options:
Group Display:
This section allows you to adjust how Footprints are displayed.
"Count show bars": Directly adjusts the display to show the last 'n' bars.
"Display all available bars": Shows all available bars.
Group Row size:
Adjusts the parameters for generating Footprints based on price step size.
"Ticks Per Row": Directly sets the price step, calculated by multiplying the entered value by syminfo.mintick.
"Auto": Enables automatic mode for selecting the "Ticks Per Row" value.
"Max row": Relevant for auto mode, it sets the acceptable number of rows within a bar. The automatic "Ticks Per Row" calculation is based on the first available bar and applied to subsequent bars.
Group Imbalance:
Customizes the display of price levels represented by Imbalance and emphasizes consecutive lines.
"Imbalance Percent": A coefficient expressed as a percentage to determine the Imbalance of price levels, comparing the buy price diagonally to the previous sell price.
"Stacked levels": Sets the minimum number of consecutive Imbalance levels required to draw extended lines.
Alerts:
You can set alerts for various events:
"New imbalance line sell": Alerts on the appearance of a new imbalance line for selling.
"New imbalance line buy": Alerts on the appearance of a new imbalance line for buying.
"Stop past imbalance line sell": Alerts when the previous imbalance line for selling stops, indicating it has reached the range from low to high of the current bar.
"Stop past imbalance line buy": Alerts when the previous imbalance line for buying stops, indicating it is within the range from low to high of the current bar.
"New imbalance buy": Alerts on the appearance of a new or change in the current imbalance level for buying.
"New imbalance sell": Alerts on the appearance of a new or change in the current imbalance level for selling.
Forex Multi-Factor IndicatorMoving Averages (MA):
Two moving averages are plotted on the chart: a fast MA (blue line) and a slow MA (red line).
The fast MA is calculated using a shorter period (10 periods by default), while the slow MA is calculated using a longer period (30 periods by default).
Moving averages help identify trends by smoothing out price fluctuations. When the fast MA crosses above the slow MA, it suggests a bullish trend, and when the fast MA crosses below the slow MA, it suggests a bearish trend.
Relative Strength Index (RSI):
The RSI indicator (orange line) is plotted on a separate axis.
RSI measures the speed and change of price movements and oscillates between 0 and 100.
RSI values above 70 are considered overbought, indicating a potential reversal to the downside, while RSI values below 30 are considered oversold, indicating a potential reversal to the upside.
Volume Moving Average (Volume MA):
The volume moving average (purple line) is plotted on the same axis as the volume.
The volume moving average is calculated over a specified period (20 periods by default).
Volume analysis provides insights into the strength of price movements. When the volume increases along with price movements, it suggests strong conviction from traders.
Buy and Sell Signals:
Buy signals (green triangle) are generated when all of the following conditions are met:
The fast MA crosses above the slow MA (indicating a bullish trend).
The RSI is below the oversold level (indicating potential upward momentum).
The current price is above the fast MA, and the volume is higher than the volume MA (indicating positive volume trend).
Sell signals (red triangle) are generated when all of the following conditions are met:
The fast MA crosses below the slow MA (indicating a bearish trend).
The RSI is above the overbought level (indicating potential downward momentum).
The current price is below the fast MA, and the volume is lower than the volume MA (indicating negative volume trend).
Overall, this multi-factor indicator combines moving averages, RSI, and volume analysis to identify potential buying and selling opportunities in the Forex market. Traders can use the signals generated by this indicator as part of their trading strategy, but it's important to consider other factors such as risk management and market conditions before making trading decisions
Rolling Strategic AVWAPThe Rolling Strategic AVWAP gives you the ability to have the standard AVWAP indicators applied across all charts in all timeframes. There is no manual intervention necessary to keep all the standard VWAPs up to date. This indicator is written so that all weekends and trading holidays are taken into account so you never have any gaps or days where the indicator isn't working.
Standard rolling AVWAP indicators:
Daily
2-day
3-day
Week-to-Date
Month-to-Date
Year-to-Date
Additionally I have supplied several custom labeled AVWAP indicators that the user can adjust the date themselves
Custom Fixed AVWAP indicators:
Prior Week-to-Date
Prior Month-to-Date
Prior Year-to-Date
Fed rate decision
Inflation report
GDP report
Jobs report
3 more labeled Custom1-3
These custom locations will allow the user to anchor the VWAP to meaningful dates and times in the market. Often there are large moves due to global macro events that can give the trader an edge by referencing the VWAP to the date and time.
Labels and Display
There are options to turn on and off any of the AVWAPs, as well as turning on and off the display labels below the candles.
VEMA_LTFVEMA indicator is based on lower time frame volume data and it has 3 lines.
20, 50, 100 moving averages of the close price in each candle with the highest volume.
Effectively working fine and hence sharing.
Will Add more information with examples in next update
Open Liquidity Heatmap [BigBeluga]Open Liquidity Heatmap is an indicator designed to display accumulated resting liquidity on the chart.
Unlike any other liquidity heatmap, this aims to accumulate liquidity at specific levels that build up over time, showing larger areas of liquidity.
🔶 FEATURES
The indicator includes the following settings:
Lookback : Used to determine the range calculation of the heatmap.
Leverage : Leverage of the liquidation (Counted as % in price, Example: 4.5 will return a distance from price of 4.5%, indicating any possible resting liquidity in this range).
Levels : Amount of levels to display (Each level is counted as liquidity resting on the chart; fewer levels will return a bigger area of liquidity sitting on the chart).
Mode : Apply a color gradient from the minimum liquidation to the maximum liquidity level. Set the maximum color gradient value (Counted as volume).
Offset : Automatically determine the offset range of the Volume Profiles. Manual offset of the Volume Profiles.
🔶 CALCULATION
for i = 0 to step - 1
float plotter = na
switch i
0 =>
plotter := hs
=>
plotter := hs - diff * ( i )
cls.hm.gnL(plotter)
cls.vp.put(plotter, 0)
We calculate levels like a normal volume profile with steps, from the highest point within the lookback to the lowest one. Each level will contain the corresponding amount of volume that the candle has closed in that range.
As we can see in the image above, we add liquidity each time the distance in % from price is between two levels.
Unlike many liquidity indicators that provide a single candle liquidity heatmap, this aims to add up liquidity (volume) in already present levels.
This can be extremely useful to see which levels are likely to be more liquid and tend to get a bigger reaction to the price.
Imagine it like a range of levels that each time price revisits that area, a new position area is added; we add volume in that area each time price visits that zone. Liquidity builds up in those zones, causing a bigger reaction to the price once the price visits it.
This indicator is not the same as a single candle heatmap like many others. What is a single candle heatmap?
A single candle heatmap is when a level is created on every new candle, coloring the level based on the total volume of it.
This indicator, on the contrary, aims to provide a more specific use by adding up liquidity each time price visits it.
🔶 BASIC DEMOSTRATION
This is a basic demonstration of how we can spot high liquidity points overall using confluence:
We see the POC of the liquidation in a low volume area of the normal volume profile adding up as confluence.
Resistance from the POC Volume Profile suggesting price will go lower.
Major long open liquidity down.
As we can see, price takes out all the long liquidity and right after pumping, indicating that all the major liquidity got taken out.
Some key note to take is that a POC in the liquidation heatmap in a low volume area of the normal Volume Profile add confluence of a possible big reaction in that zone.
In the forex market, we suggest to use a low distance from price (Leverage) while in a crypto market you can use the one that fit the best the current timeframe.
🔶 CONCLUSION
This indicator aims to show open resting liquidity that had built up over time, showing the most amount of liquidation in specific areas in an aggregated way unlike many liquidation heatmap indicators that show single-level liquidation.
🔶 RELATED SCRIPT
RVOL++Overview
RVOL++ is a valuable tool for intraday traders to gauge market participation and anticipate the pace of the market. By understanding the RVOL levels, traders can adjust their strategies and expectations to align with the current market conditions. RVOL is a simple mathematical formula that compares the current volume to a prior lookback period, such as the previous 5 days or previous 10 days. This indicator helps traders understand the level of interest or participation in the market, which in turn can indicate the speed or pace of the market.
How to calculate RVOL at Time
Check if the current time is within the specified time period (e.g., 9:30 AM to 5:00 PM EST).
If it is, calculate the current cumulative volume for that period.
Find the average cumulative volume for the same period over the past X days (where X is the lookback period).
Calculate the RVOL at Time as:
RVOL at Time =(Current Cumulative Volume/Average Cumulative Volume)×100
For more info about calculating RVOL at time please refer to the Tradingview article.
www.tradingview.com
Key Features of RVOL++
Two Session and Daily Modes: In Two Session mode, it calculates RVOL for two distinct trading sessions, while in Daily mode, it calculates RVOL for the entire trading day. Two Session mode helps for instruments like futures, forex, crypto that trade 23+ hours. If you are using an instrument such as a stock like AAPL, if you don't have pre-market/extended hours enabled you will want to use "Daily Mode".
Session Time Settings: The indicator allows users to define the trading session times in Eastern Standard Time (EST) for more accurate RVOL calculations.
Customizable Lookback Period: Users can set the number of days for the lookback period, allowing for flexibility in calculating the average volume at time (RVOL).
Color-Coded RVOL Histogram: The indicator displays a color-coded histogram to visualize RVOL levels. Different colors represent different RVOL ranges, making it easy to identify low, neutral, and high RVOL periods.
RVOL Ranges**: The indicator defines RVOL ranges as follows:
40 - 80: Low RVOL (Red/Yellow)
80 - 120: Neutral RVOL (Blue/Cyan)
120+: High RVOL (Green-Lime)
Low RVOL Environment
Expect slow market movement with limited opportunities.
Focus on A+ setups and be selective.
Use tighter stops, size down, and adjust trading goals.
Neutral RVOL Environment
Expect a more normalized trading pace with frequent rotations.
Lean on structure and incorporate other trading tools.
Use normal sizing and stop management.
High RVOL Environment
Expect the best opportunities for range expansion and rotations.
Be more relaxed about overtrading but stay focused on structure.
Start with smaller initial size and build up to a full position.
VWAP 8EMA Crossover Scalping IndicatorWhy?
Everybody, especially in Indian context, from 9:15 AM to 3:30 PM, wants to trade in BankNifty.
And even 15m is Too Big timeframe for The Great Indian Options buyers. Everyone knows how potentially BankNifty (& FinNifty on Tuesday and Sensex on Friday) can show dance within 15m.
So there always been an overarching longing among traders to have something in shorter timeframes. And this 5m timeframe, looks like a universally (sic) accepted Standard Timeframe for Indian Options traders.
So here is this.
What?
The time we are publishing this public indicator Indian market (Nifty) is in ATH at ~22200.
In any such super trending market it's always good to wait for a dip and then in suitable time, enter the trade in the direction of the larger trend. The reversal trading systems, in such a situation, proves to be ineffective.
Of course there are time when market is sideways and keeps on oscillating between +/2 standard deviation of the 20 SMA. In such a situation the reversal play works perfectly. But not so in such a trending market.
So the question comes up - after a dip what's the right point to enter.
Hence comes the importance of such a crossover based trading system.
In this indicator, it's a well-known technique (nothing originally from ours, it's taken from social media, exact one we forgot) to find out the 8EMA and VWAP crossover.
So we learned from social media, practice in our daily trading a bit, actuate it and now publishing it.
A few salient points
It does not make sense to jump into the trade just on the crossover (or crossunder).
So we added some more sugar to it, e.g. we check the color the candle. Also the next candle if crosses and closes above (or below) the breakout candle's high/low.
The polarity (color) of both the alert (breakout/breakdown) and confirmation candle to be same (green for crossover, red from crossunder).
Of course, it does provider BUY and SELL alerts separately.
These all we have found out doing backtesting and forward testing with 1/2 lots and saw this sort of approaches works.
Hence all of these are added to this script.
Nomenclature
Here green line is the 8EMA and the red line is the VWAP.
Also there is a black dotted line. That's 50 EMA. It's to show you the trend.
The recent trade is shown in the top right of the chart as green (for buy) or red (for sell) with SL and 1:1 target.
How to trade using this system?
This is roughly we have found the best possible use of this indicator.
Lets explain with a bullish BUY positive crossover (means 8EMA is crossing over the daily VWAP)
Keep timeframe as 5m
Check the direction/slope of the black dotted line (50 EMA). If it's upwards, only take bullish positions.
Open the chart which has the VWAP. (e.g. FinNifty spot or MidcapNifty spot does not have vwap). So in those cases Future is the way to go.
Wait for a breakout crossover and let the indicator gives a green, triangular UP arrow.
Draw a horizontal line to the close of that candle for next few (say 6 candles i.e. 30m) candles.
Wait for the price first to retest the 8EMA or even better the VWAP (or near to the 8EMA, VWAP)
Let the price moves and closes above the horizontal line drawn in the 4th step.
Take a bullish trade, keeping VWAP as the SL and 1:1 as the target.
Additionally, Options buyer can consult ADX also to see if the ADX is more than 25 and moving up for the bullish trade. (This has to be added seperately in the chart, it's not a part of the indicator).
Mention
The concept we have taken from some social media. Forget exactly where we heard this first time. We just coded it with some additional steps.
Statutory Disclaimer
There is no silver bullet / holy grail in trading. Nothing works 100% time. One has to be careful about the loss (s)he can bear in case of the trade goes against.
We, as the author of this script, is not responsible for any trading or position decision one is taken based on the outcome of this.
It is our sole discretion to change, add, delete the portion or withdraw the whole script without any prior notice or intimation.
In Indian Context: We are not SEBI registered.
Fusion Traders - RSI Overbought/Oversold + Divergence IndicatorFusion Traders - RSI Overbought/Oversold + Divergence Indicator - new version
This indicator has lots of various add ons.
RSI overbought / oversold with changeable inputs
Divergence indicator
DESCRIPTION:
This script combines the Relative Strength Index ( RSI ), Moving Average and Divergence indicator to make a better decision when to enter or exit a trade.
- The Moving Average line (MA) has been made hidden by default but enhanced with an RSIMA cloud.
- When the RSI is above the selected MA it turns into green and when the RSI is below the select MA it turns into red.
- When the RSI is moving into the Overbought or Oversold area, some highlighted areas will appear.
- When some divergences or hidden divergences are detected an extra indication will be highlighted.
- When the divergence appear in the Overbought or Oversold area the more weight it give to make a decision.
- The same colour pallet has been used as the default candlestick colours so it looks familiar.
HOW TO USE:
The prerequisite is that we have some knowledge about the Elliot Wave Theory, the Fibonacci Retracement and the Fibonacci Extension tools.
We are hoping you like this indicator and added to your favourite indicators. If you have any question then comment below, and I'll do my best to help.
FEATURES:
• You can show/hide the RSI .
• You can show/hide the MA.
• You can show/hide the lRSIMA cloud.
• You can show/hide the Stoch RSI cloud.
• You can show/hide and adjust the Overbought and Oversold zones.
• You can show/hide and adjust the Overbought Extended and Oversold Extended zones.
• You can show/hide the Overbought and Oversold highlighted zones.
HOW TO GET ACCESS TO THE SCRIPT:
• Favorite the script and add it to your chart.
Herrick Payoff Index @shrilssThis indicator combines elements of price action, volume, and open interest to provide insights into market strength and potential trend reversals. This script calculates the Herrick Payoff Index (HPI) based on a modified formula that incorporates volume and open interest adjustments.
The HPI is derived from comparing the current day's mean price to the previous day's mean price, factoring in volume and open interest changes. By analyzing these factors, the indicator aims to gauge the effectiveness of market participants' positions.
Key Features:
- HPI Calculation: The HPI value is calculated using the formula: ((M - My) * C * V) * (1 + |OI - OI | / min(OI, OI )), where M represents the mean price for the current day, My represents the mean price for the previous day, C is a constant (set to 1), V is the volume, and OI is the open interest. This adjusted calculation accounts for changes in volume and open interest, providing a more nuanced view of market dynamics.
- Moving Averages: The script also includes two Exponential Moving Averages (EMAs) of the HPI values, allowing traders to identify trends and potential reversal points. Users can customize the length of these moving averages to suit their trading strategies.
- Visual Signals: The indicator visually represents the HPI values and their relationship to the moving averages. When the HPI value is above the shorter-term EMA, it suggests bullish momentum, while values below indicate bearish sentiment.
CVI Tops/Bottoms Detector [AstroHub]
Welcome to the realm of precision trading with the CVI Tops/Bottoms Detector by AstroHub. Crafted with a keen eye on market dynamics, this indicator stands as a reliable tool for identifying potential trend reversals and market turning points.
Key Features of the Indicator:
The CVI Tops/Bottoms Detector, developed by AstroHub, is a powerful tool designed to detect tops and bottoms in the market. Its calculations are based on sound mathematical principles, ensuring accurate identification of bullish and bearish signals. 🔍
Calculation Period and Thresholds:
Calculation Period: Adjust the "Period" parameter to tailor the indicator to different timeframes.
Thresholds: Set the "Bullish Threshold" and "Bearish Threshold" to determine the sensitivity of the indicator to potential market shifts.
CVI Calculation:
The indicator calculates the Current Volume Index (CVI) by considering the difference between the closing price and the smoothed average, normalized by volatility. This innovative approach provides a clear view of market sentiment.
Visual Signals and Alerts:
Bullish and Bearish Signals: Clearly defined signals are represented by diamond shapes on the chart, accompanied by color-coded indications.
Gradient Colors: Gradient colors add a visual dimension to the signals, making it easier to interpret market trends.
Connecting Lines: Lines connect signals, offering a visual guide for understanding the flow of the market.
Symbol Transparency:
Customize the transparency of the underlying symbol to ensure clarity in signal visualization.
User-Friendly Customization:
Flexible Coloring: Tailor the colors of bullish and bearish signals to match your preferences.
Line Colors: Adjust line colors to enhance visibility.
Alerts: Receive timely alerts when a new bullish or bearish signal is detected.
Usage Example:
Open the indicator settings.
Adjust the "Period" to match your desired timeframe.
Fine-tune the "Bullish" and "Bearish Thresholds" based on your risk tolerance.
Experiment with customizing colors and transparency to suit your visual preferences.
Alerts for Proactive Trading:
Activate alerts to stay informed about potential bullish or bearish market opportunities. 🚨
By integrating the CVI Tops/Bottoms Detector into your trading toolkit, you gain a powerful ally in navigating the dynamic landscape of financial markets. 🌐💹
MTF VWAPThis indicator is an enhanced version of the traditional VWAP, providing traders with multiple timeframe views, automatic session anchoring, and customization options for optimized technical analysis.
Key Features:
1. Multiple Timeframes, One View : Visualize Daily, Weekly, Monthly, and Yearly VWAP calculations simultaneously on a single chart.
2. Automatic Anchoring : The indicator intelligently auto-anchors each VWAP calculation to the start of its respective session. This ensures accurate readings and streamlines your analysis by eliminating the need for manual adjustments.
3. Customizability : Tailor the appearance of the indicator with fully customizable colors and the ability to select your preferred price source (e.g., high, low, close, hlc3, hlcc4, or a custom one).
VSA Volume Spread AnalysisVolume Spread Analysis with Trend Direction is an indicator designed to Identify trend based volume spread.
Volume
Spread
Trend
This is a very simple yet powerful to identify Trend and corresponding volume Breakout. Unlike other Volume Indicators this indicator detects Breakout along with trend direction. One can detect the Early breakout in volume using this indicator. The Buy or Sell Signal is based on zero crossing of the Histogram.
Trend direction is confirmed using the MA of the Histogram which is similar to the Volume MA on volume indicator. One can enter a trade using the indicator when Trend direction and histogram are in same direction. Entry is done when ever histogram crosses the Trend MA line.
Fake entries can be eliminated by changing the indicator to higher Timeframe.
Spread is determined using the difference in open and close of the candle
Volume change is determined using the ratio of change of volume to previous volume
EMA 10 is used to determine the Spread and multiplied by volume change so the
PRICE(ema10), Volume, Spread(close-open) are merged to one indicator.
Direction changes when ever difference of VSA is positive or negative.
VWAP Bands @shrilssVWAP Bands Integrates VWAP with standard deviation bands to provide traders with insights into potential support and resistance levels based on volume dynamics. VWAP is a key metric used by institutional traders to gauge the average price a security has traded at throughout the trading day, taking into account both price and volume.
This script calculates the VWAP for each trading session and overlays it on the price chart as a solid line. Additionally, it plots multiple standard deviation bands around the VWAP to indicate potential areas of price extension or contraction. These bands are derived from multiplying the standard deviation of price by predetermined factors, offering traders a visual representation of potential price ranges.
Timely Opening Range Breakout Strategy [TORB] (Zeiierman)█ Overview
The Timely Opening Range Breakout (TORB) indicator builds upon the classic Open Range Breakout (ORB) concept. The ORB strategy is a popular trading setup used to identify trades around the opening range of an asset. It's based on the idea that the first few minutes (15-60 minutes) of trading often set the tone for the rest of the day, with breakouts above or below the opening range signifying potential trends.
TORB refines the concept by stating that a trade is only valid if there is sufficient market activity. This means a breakout beyond the upper or lower range is only of interest during the most active trading hours, as defined by PMMV (Per-Minute Mean Volume)
█ How It Works
ORB
The indicator works by first defining a session's opening range based on user-specified settings, including the session's start and end times and the applicable time zone. During this session, it calculates the high and low price points, which form the basis for identifying potential breakout levels.
PMMV
PMMV (Per-Minute Mean Volume) provides a snapshot of the market's activity level at each minute of the trading day. PMMV is calculated by averaging the trading volume in a one-minute interval over a specified number of trading days. This script uses the average volume over the last N periods to determine the PMMV value. This average volume provides a smoother representation of volume activity compared to using a single volume value. It considers the volume over a broader timeframe, filtering out short-term fluctuations and potentially offering a more reliable indicator of underlying market activity.
TORB
TORB works by integrating the Opening Range Breakout (ORB) highs and lows with the Per-Minute Mean Volume (PMMV) metric to assess the validity of breakouts. The objective is to identify breakouts from the opening high and low levels during periods of heightened market activity, as indicated by PMMV.
█ How to Use
To effectively utilize the Timely Opening Range Breakout (TORB) strategy, follow these steps:
Identify Active Hours: Employ PMMV to pinpoint periods of peak activity within the trading day.
Apply Basic ORB Rules: If the price surpasses the upper range (resistance), buy; if it breaches the lower range (support), sell.
Breakouts
The TORB strategy identifies breakout signals when the price moves beyond the established range, supported by volume exceeding a set threshold. This technique aims to eliminate false signals, focusing on price movements during high market activity.
█ Settings
Session
Trading Session: Customize the trading session's start and end times.
Volume
Volume analysis is integral to the TORB strategy, as it uses volume data to confirm the strength and validity of breakout signals.
Period: Sets the number of periods (or bars) to calculate the average volume, which is then used to assess market activity level.
Sensitivity and Significance: Adjusts how responsive the volume analysis is to changes in trading volume. By adjusting the sensitivity, traders can decide how much emphasis to place on volume spikes, potentially reducing false breakouts and focusing on those supported by significant trading activity.
Breakout Threshold
This setting establishes a criterion to identify when the price movement is significant enough.
Threshold: Traders set a threshold level to identify high market activity. If the PMMV is greater than or equal to this threshold, it indicates significant market activity.
Setting the correct threshold is key to balancing sensitivity and specificity. Too low of a threshold may lead to many false positives, while too high of a threshold might filter out potentially profitable breakouts. This setting helps in pinpointing when market activity indicates a strong move, thereby aligning trade entries with moments of heightened market momentum.
-----------------
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!
VWAP_CURRENT_YESTERDAY
The "VWAP CURRENT YESTERDAY" is a Pine Script designed for TradingView that automatically calculates and plots the Volume Weighted Average Price (VWAP) for the current day, the previous day.
Dynamic VWAP Calculation:
Automatically generates VWAPs for 1 day and 2 day.
User-Friendly Customization:
Through input options, users can easily toggle the visibility of each VWAP line, adjust colors, and set line thicknesses to their preference.
Configuration Options
1. VWAP Source:
Choose the price source for VWAP calculation. Default is the typical price (`hlc3` - the average of high, low, and close).
2. VWAP Lines:
Toggle the display for Today's VWAP, Yesterday's VWAP, and the VWAP from 2 days ago.
Customize colors and thickness for each VWAP line for clear visual distinction.
3. VWAP Labels:
Configure label sizes and positions to ensure that VWAP values are easily identifiable on the chart.
How It Works:
- The script calculates the sum of price multiplied by volume (`vwapsum`) and the sum of volumes (`volumesum`) for the specified periods.
- It utilizes an impulse function to reset calculations at the start of each new session or custom date, ensuring accurate and relevant VWAP values .
- Final VWAP values are plotted as lines on the chart, with optional labels for current and 2-day VWAPs for quick reference.
Customization Guide:
- To activate or deactivate specific VWAP lines, navigate to the 'VWAP Lines' section in the script's settings and toggle the respective options.
- Adjust the color and thickness of each VWAP line under the same section to match your charting preferences.
- Label settings, including size and offset, can be customized in the 'VWAP Labels' section, allowing for personalized label positioning and readability.
Volume inspectorThe "Volume inspector" is designed to provide a deep dive into the volume dynamics within a given larger timeframe by dissecting the positive and negative volume of candles from a lower timeframe. This analysis helps in understanding how the volume within a single candle is composed, whether it leans towards buying or selling pressure. The indicator sums up the positive and negative volumes to present the net volume in columns, offering a clear visual representation of the market's buying or selling intensity at a glance.
Additionally, it features an area between two Exponential Moving Averages (EMAs) to gauge the prevailing trend direction. A green spread between the EMAs signals strong buying pressure, with the width of the area indicating the strength of this pressure. Conversely, a red area points to selling pressure, warning users to exercise caution — it advises against buying the asset when the spread is narrow or red, suggesting weak buying momentum or strong selling momentum.
The tool recommends using daily candles as the primary timeframe for a broad market overview, with the following configurations for the lower timeframe analysis:
5 minutes for highly liquid and voluminous assets,
15 or 30 minutes for assets with lower volume to ensure accuracy without excessive market noise.
It's important to note that this indicator does not predict future market movements but rather analyzes the current behavior of the asset, making it a valuable tool for traders looking to understand immediate market sentiment and trend strength.
Asset capital flows - multi-timeframeIndicator for use on the any timeframe to show net capital flows into an asset of your choosing, to allow the user to track potential buy and selling pressure.
Net volume is derived from lower timeframe data (5 minute chart by default for daily timeframe) and multiplied by the average price for the same LTF period (defined by the mean of the high, low + close values). This gives the net capital inflow or outflow for the asset per bar. The cumulative sum of all previous bars is also calculated each period/day and available to be plotted as a line chart.
This might be preferred to other similar indicators as it uses low time frame bars to calculate the up/down volumes and price, thus accuracy is improved.
It should be borne in mind that the values of capital flows displayed are specific to the asset and the volume/price feed origin (ie the listed exchange used), and thus correlated with the total underlying flows, but there are other external factors influencing the volume/price data feed beyond the buy/sell volume of the specified exchange (such as spot and futures trading on other locations/exchanges)
Daily Spot BTC ETF flowsIndicator for use on the daily timeframe to show combined capital flows into 8 of the largest spot bitcoin ETFs to allow the user to track potential buy and selling pressure on spot BTC.
The included ETFs are:
GBTC
ARKB
FBTC
HODL
IBIT
EZBC
BTCO
BITB
Net daily volume is derived from lower timeframe data (5 minute chart by default) for each ETF and multiplied by the average price for the period (defined by the mean of the high, low + close values). This gives the net capital inflow or outflow for each ETF, every period. The individual daily values are added together to give a total capital flow per day and plotted as columns. The cumulative sum of all previous periods is also calculated each period/day and plotted as a line chart.
This is the only indicator currently collating this capital flow data together and presents it as an easy to understand chart to help the user gauge market conditions. By using low time frame bars to calculate the up and down volumes, accuracy is improved.
Volume Spike IndicatorHello dear traders,
Today we're discussing an indicator I've coded: the Volume Spike Indicator (VSI).
The indicator isn't a groundbreaking invention and certainly not a novelty. Nevertheless, I haven't seen this version of the indicator on TradingView before, so I'd like to introduce it.
1. The Origin of the Idea:
We're all familiar with volume charts: A volume chart visually represents the trading activity for a specific asset over a certain period, indicating the total number of shares or contracts traded.
We also know that volume spikes can significantly impact the market. A volume spike represents an extreme anomaly, a day, week, or month with an extraordinary amount of trading. However, recognizing these spikes in practice isn't always straightforward. What constitutes high volume? How do we define and identify it? The answers to these questions aren't easy.
It's commonly said that a volume spike could be identified if the volume is 25% more than the average of the two weeks prior, but how do you measure this 25%? It's not always easy to calculate, especially in real-time.
This challenge led me to develop the concept into an indicator.
How Does It Work?
Imagine being able to "feel" the market's energy like a surfer feels the ocean. The VSI does something similar by examining trading volume and comparing it to what has been typical over the past few weeks. Here's a quick look at the magic behind it:
Step 1: Establishing the Baseline: We start by establishing a baseline, i.e., the average trading volume over a given period. Let's use the last 10 days as the default setting. We choose 10 days because, in the traditional stock market, 10 days represent two weeks if you subtract weekends. This gives us a fixed line to compare against.
Step 2: Recognizing Peaks: Next, we look for days when the trading volume significantly exceeds this average. The size of the jump is where you have a say. You can set a threshold, such as 25%, to define what you consider a volume spike.
Step 3: The Calculation: This is where the math comes into play. We calculate the percentage change in today's volume compared to the average volume of the last 10 days. For example, if today's volume is 30% above the average and you've set your threshold at 25%, the VSI will recognize this as a spike.
Step 4: Visual Cue: These spikes are then plotted on a graph, with each spike represented as a bar. The height of the bar indicates the spike's percentage size, so you can see at a glance how significant a spike is.
Step 5: Intuitive Color Coding: For quick analysis, the VSI employs a color-coding system. Exceptionally high peaks, such as those exceeding a 100% increase, are highlighted in blue to emphasize their importance. Other peaks are shown in red, creating a visual hierarchy for quick volume data interpretation.
Why This Matters:
Identifying these spikes can help pinpoint the beginning or end of a trend. The idea is that when trading peaks at a certain level, there might be no more buyers or sellers willing to engage at that price level. Volume peaks, and a reversal is likely imminent. It's a simple yet effective concept. Therefore, it's crucial to use this indicator in the context of the trend, as not every spike carries the same significance.
Customizable:
The beauty of the VSI lies in its flexibility. Trading futures? You might want to adjust the averaging period to 14 days to better suit your market. You have full control over the settings to tailor them to your trading style.
Interpreting the Figures:
A positive percentage indicates a volume spike above the average – the higher the percentage, the more significant the spike.
If the percentage exceeds a certain threshold (which you can set, e.g., 25%), it signals a volume spike, indicating increased market activity that could precede significant price movement.
What makes the VSI genuinely adaptable is your ability to tweak the parameters to suit your needs.
Are you trading in a volatile market? Extend the SMA period to smooth out the noise. Trading in a 24-hour market? Adjust the length of your SMA. Seeking finer details? Shorten it. The VSI is yours to adapt to your trading strategy.
---------------------------------------------------------------------------------------------------------------------
As we wrap up this introduction to the Volume Spike Indicator, I hope you're as excited about its potential as I am. This tool, born out of curiosity and a desire for clarity in the vast ocean of market data, is designed to be your ally in navigating the waves of trading activity.
Remember, the true power of the VSI lies not just in its ability to highlight significant volume spikes, but in its adaptability to your unique trading style and needs. Whether you're charting courses through the tumultuous seas of day trading or navigating the broader currents of long-term investments, the VSI is here to offer insights and guidance.
I encourage you to experiment with it, customize it, and see how it can enhance your trading strategy. And as you do, remember that every tool, no matter how powerful, is just one piece of the puzzle. Combine the VSI with your knowledge, experience, and intuition to make informed and strategic trading decisions.
Thank you for taking the time to explore the Volume Spike Indicator with me.
Best Regards,
Karim Subhieh
Elder Force Index Oscillator @shrilssThe "Elder Force Index Oscillator" is a comprehensive tool designed to assess the strength and direction of trends in the market. This indicator combines volume and price movement to provide traders with valuable insights into market dynamics.
Key Features:
- Volume Weighted: The oscillator considers both price changes and volume, emphasizing the significance of volume in confirming price movements.
- Trend Identification: Utilizing exponential moving averages (EMAs) and Bollinger Bands (BB), the indicator identifies potential trend reversals and continuations.
- Trend Strength Highlighting: With customizable options, the script highlights areas of strong and weak trend initiation, aiding traders in making informed decisions.
How It Works:
- Elder Force Index (EFI): The EFI is calculated as the EMA of price changes multiplied by volume. A positive value suggests buying pressure, while a negative value indicates selling pressure.
- EFI Moving Average (EFI MA): This smooths out the EFI, providing a clearer indication of trend direction.
- Bollinger Bands (BB): The upper and lower bands are calculated based on a specified number of standard deviations from the EFI's moving average, offering insights into potential overbought or oversold conditions.