WAP ⸗ Weighted Average PricingsOur W.A.P ( Weighted Average Pricing s ) indicator is made of four different types of "WAPs". We have added the two common types known as VWAP and TWAP . In addition, we added our two custom types known as CWAP and GWAP . Each is plotted using a fully customizable two-tone color palette represented by Bullish or Bearish. In addition, each WAP has a toggle line-extensions and price labels option.
This indicator has been pre-configured for Day-Trading and Scalping .
• VWAP : Volume Weighted Average Pricing
• TWAP : Time Weighted Average Pricing
• CWAP : Cumulative Weighted Average Pricing
• GWAP : Geometric Weighted Average Pricing
Additional script features allow for fully adjustable settings and configurations:
• Adjustable; Colors
• Adjustable; Resolutions
• Adjustable; Parameters
• Adjustable; Price Labels
• Adjustable; Line Extensions
• Adjustable; Toggles
D-VWAP
Spot v Perp aggrRollingVWAPThis indicator is a rolling VWAP that shows an aggregated BTC VWAP for both spot markets and futures markets
Spot VWAP is shown in BTC orange while perp VWAP is shown in blue
This is useful for identifying which market (spot or perps) is pushing trending moves
If the spot VWAP is more closely following the trend, then spot is pushing the move
If the perp VWAP is more closely following the trend, then perps are pushing the move
e.g. In the following picture you can see that the move down was followed much more closely by the spot VWAP, therefore you can assume that the move is being pushed my spot
VWAP For NIFTY & BANKNIFTY [Zero54]NIFTY and BANKNIFTY Being Index do not have VWAP (because there is no volume generated). This is a simple script that displays NIFTY's future VWAP on NIFTY's Spot chart and similarly, displays BANKNIFTY's future VWAP on BANKNIFTY's sport chart. Fast and quick. Just few lines of code. No hefty un-necessary calculations.
No settings necessary. The script automatically detects NIFTY and BANKNIFTY and displays the corresponding VWAP.
Enjoy and share the knowledge. If you love this script, please boost/love this script and add a comment. Cheers!
NSE:NIFTY
NSE:BANKNIFTY
VWAP DelayedDisplay VWAP and VWAP standard deviation plots only during the specified time period. Useful if you want to avoid seeing all of the lines bunched up at the beginning of the day. Note that VWAP is calculated for the full day just not displayed until the specified time period. Optionally, you can include/exclude pre-market data in the VWAP calculation for the day.
SMA VWAP BANDS [qrsq]Description
This indicator is used to find support and resistance utilizing both SMA and VWAP. It can be used on lower and higher time frames to understand where price is likely to reject or bounce.
How it works
Rather than using the usual calculation for the VWAP, instead this script smooths the volume first with the SMA and then respectively calculates the smoothed multiplication of high, low and close price with the volume individually. These values are then divided by the smoothed volume to find individual VWAP's for each of the sources. The standard deviations of these are calculated, resulting in an upper, lower and middle band. It is essentially VWAP bands with some smoothed calculations in the middle.
How to use it
I like to use the bands for LTF scalping as well as HTF swings.
For scalping:
I tend to use either the 5m or 15m TF
I then set the indicator's TF to 1m
I will take a scalp based on the bands confluence with other PA methods, if price is being either supported or rejected.
For swings:
I tend to use a variety of TFs, including: 30m, 1H, 4H, D
I then set the indicator's TF to "Chart"
I will take a swing based on the bands confluence with other PA methods, if price is being either supported or rejected.
I also tend to use them on perpetual contracts as the volume seems to be more consistent and hence results in more accurate support and resistance.
Point of Control V2 The genesis of this project was to create a POC library that would be available to deliver volume profile information via pine to other scripts of indicators and strategies.
This is a republish of an invite only script to open access
This is the indicator version of the library function.
A few points of significance:
- Allows the choice of reset of the study period, day/week or bars. This is simple enough to expand to other conditions
- Bar count resets starting from the beginning of the data set (bar index =0) vs bars back from the end of the data set
- A 'period' in this context is the time between resets - the start of the POC (eg. start of Day or Week) until it resets (for example at the beginning of a next day or week)
- Automates the determination of the increment level rather than the user specifying ticks or price brackets
- Does not allow for setting the # of rows and then calculating the implied price increment levels
- When a period is complete it is often useful to look back at the POCs of historical periods, or extend them forward.
- This script will find the historical POCs around the current price and display them rather than extend all the historical POC lines to the right
- This script also looks across all the period POCs and identifies the master POC or what I call the Grand POC, and also the next 3 runner up POCs
This indicator is also available as a library.
BINANCE:BTCUSDT NSE:NIFTY OANDA:XAUUSD NASDAQ:AAPL TVC:USOIL
Mike's VWAP Pop/Crack StratWill signal based on the VWAP Pop and Crack strategy. You can change the time frame -- default is set to current chart -- to 5 minute if you wish to use 5 minute alerts on a 1 minute, 15-second, etc. chart.
CCI+MACD+VWAP+BreakoutDesign for LONG and Day Trade only
- Identify buy and sell signal using CCI
- Green Zone when
-- Price over VWAP
-- EMA9 > EMA50 > EMA200
-- MACD fast > MACD slow
- Yellow Zone when either one failed
- White line occurs when breakout of Higher High + Higher Low
[AKC Trading] VWAPIndian Major indices (NIFTY & BANKNIFTY) doesn't have volumes as they are not traded.
So we imported volumes from their future current month and use price of spot to calculate VWAP.
For day trading, it is assumed that
(a) when price is above VWAP, it shows price has buying pressure
(b) when price is below VWAP, it shows price has selling pressure
(c) when price is hovering around VWAP, it is assumed, price is in range and forming some sort of pattern for intraday.
One should never trade only based on VWAP but add something else like EMA, SuperTrend for additional confirmation to execute any trade.
PS: This VWAP indicator works well with all symbols which has volume and added additional volume (from futures) on NIFTY & BANKNIFTY SPOT.
VWAP - Standard + 3 multi periodThis script combines the standard VWAP with 3 additional period-dependent VWAPs (originally coded by Neolao).
VWAP + EMA Analysis [Joshlo]Overview and Use Case
VWAP Analysis gives the possibility to combine multiple time frames of VWAP along with a triplet of exponential moving averages. This can provide insight into potential scalp, swing and longer term trades, depending on your time frame. The use of this indicator with it's setup is based off the the Scalp Setup Alerts provided by Roensch Capital.
The primary use for this script is to help with intraday scalp set ups. Using the Daily VWAP, turned on by default, we can look for price to respect and bounce from one of the VWAP lines (support or resistance) back toward equilibrium, we can also look for price to bounce off of equilibrium and move back toward VWAP support or resistance.
The chart attached shows AMD bouncing off of the Daily time frame VWAP Resistance level multiple times (see yellow boxes), often with confirmation given by an increase in volume which is often far higher than the average volume. In many of these cases a short position could've been opened or put option could have been placed with a profitable outcome.
Every line projected onto the chart via this indicator has the potential to create support or resistance as well as causing 'hang ups', meaning price loses it's momentum, slows down and hangs out in the particular area. This is shown on the chart within the green box.
Chart walkthrough - See attached chart
After a rejection off of the Daily VWAP Resistance line (depicted by the white circle), price starts to move back toward Daily VWAP Equilibrium. In order to reach this line, price needs to move through the 20EMA (white) and 50EMA (purple), the Weekly VWAP Resistance (red circles) and the 200EMA (orange). All of these lines are a part of this single indicator.
The 20EMA seems to offer little resistance but follows the price on it's move, offering some resistance to a volatile move upward. Initially upon contact with the 50EMA, price hangs up and bounces above and below the line whilst finding support on the Weekly VWAP Resistance at the same time. This causes a 'hang up' or sideways movement for around 20 minutes of trading. A potential trade may have entered at the white circle with a VWAP Resistance rejection and exited upon contact with the 50EMA in anticipation of multiple EMAs and support / resistance lines converging which is known to cause price movement to slow.
Eventually with an increase in volume, price breaks below the 20EMA (white), 50EMA (purple) and the Weekly VWAP Resistance level (red circles). Price then finds support on the 200EMA (orange), although there was potential for the price to fall to the Daily VWAP Equilibrium (solid blue). As the Red VWAP lines tend to act more often as resistance as opposed to support (price is rarely above these lines for extended periods), the trade from earlier may have profited more by awaiting contact with the 200EMA before exiting, taking the assumption that the Weekly VWAP Resistance was more likely to act as resistance than support.
A period of consolidation in the green box, around the Weekly VWAP Resistance, 20EMA, 50EMA and with support from the 200EMA eventually resulted in another break out where the price came back up to the Daily VWAP Resistance. Prior to the end of this trading day, there were two more opportunities for scalp setups based off of the price showing consistent rejections off the Daily VWAP Resistance back down to the 50EMA.
In the final example, price breaks above the Daily VWAP Resistance but quickly rejects off of the Monthly VWAP Resistance. For examples where the VWAP Resistance or Support or broken, it can help to look at an indicator such as the RSI to look for bullish divergence or bearish divergence.
Just as this example shows bounces and rejection off of VWAP Resistance, the same applies around the Equilibrium and Support VWAP lines.
The perfect scenario would be to find a ticker where there has already been two or three bounces off of one of these levels, with the goal of taking the trade on the next bounce and either using a percentage price target or technical price target based off of the EMAs or VWAP lines. If there are EMAs close in the direction you want to take the trade, there is a higher chance of hang ups and reversals, so a clear run is the more desired trade set up.
You can also look for these indicator lines to stack up in order to form a stronger support and resistance. For example the 200EMA and Daily VWAP Equilibrium being close to each other may suggest it would take more of an effort to break both of these levels, but one by itself may break more easily.
Indicator Setup
In the settings for the indicator, almost everything you might want to change can be done from the Input tab.
The three options for VWAP (daily, weekly and monthly) allow for analysis on multiple time frames. Daily is turned on as standard.
Standard Deviation Multiplier is set to 2 as standard, this effects the distance of the VWAP support and resistance from the equilibrium line. This seems to be a level that works well with finding support and resistance lines, however if there is excessively high or low volume, occasionally the lines can be thrown off. You can adjust this level if required to find a 'sweet spot' where price likes to reject or find support.
The colors for all VWAPs can be adjusted via the Inputs tab, however if you'd like to change the type of line these are depicted as, this can be done from the Styles tab.
The 3 EMAs (20, 50 and 200) can be toggled on or off and also have their color changed. The style of the lines can be adjusted from with the Styles tab if required.
Visible Range VWAP with DeviationsImplementing Pine's new Visible range function I have built with the help of @RumpyPumpyDumpy a Visible range Vwap with Standard deviations in the same style and color way originally created by Zach Hurwitz, This is created in the styling and under the teaching of his education over the last few years. Zach uses intraday, and long term strategy based around 4 trade types that are taken in and around Vwap and its deviation bands. Whether that is intraday vwap , Longer term time based vwaps, Event based vwaps such as earnings , Gaps, Highest Volume based, and now "Visible range" based vwaps. The new visible range function is a huge help and time saver when wanting to quickly see a longer dated vwap or a vwap from a specific spot on your chart. All you have to do is scroll to that position on the chart and the Vwap and bands automatically launches from the furthest most left candle on your chart using the source input user chooses, HLC3, High, Low, etc.
This is a fully functional Volume weighted average price and launches on the furthest most left bar on your chart. It comes set to calculate the average price based off the launch candles HLC3 value, or User can choose to change the source input to High or Low for custom anchored visible range high/low vwap showing overhead resistance or support from underneath.
The deviations can be used as support and resistance intraday or longer time frames. Myself and others in our community have 4 trade type set ups that we take in and around Vwaps deviations. It offers us consistent, and manageable risk points at measured distances away from average price, and specific targets to aim for intraday and in longer time framed swing trades.
Vwap and its deviations are a institutional benchmark and a tool that higher time frame and institutional traders around the world use as a guide. With the use of visible range and multiple launch points on the candle we can quickly get an idea of where participants may be buying and selling, or trapped or supportive of price.
Standard deviation bands and the color-coding reflects the market’s current position and slope. This can now be applied to the visible range of your entire chart, and you can quickly understand whether the market is trending positive, negative, or flat and counter trend.
I have included our traditional color way of Zach's original vwap indicators that were originally released on TOS and now also available on TradingView. This shows a yellow positive sloped vwap , or magenta negative sloped vwap . User also has choice of slope signal which shows positive, negative, neutral, or single color choice.
There is also positive and negative cloud coloring behind price to show when price is above or below visible range vwap . This helps immediately understand whether price is moving in your favor or against. In addition there is the choice of brightly highlighting what we refer to as the "Fast lane", which is a trending market either positive or negative in plus one or negative one deviation. You can use them independently, or choose not to color them at all. There is also Positive and negative coloring options for the Deviation plots themselves, which in positive trend will color the upper deviations green or in negative trend color them red.
User also has the choice to add "Tolerance bands", which are sub deviation levels usually used in 0.25-0.50 increments. These show a zone above and below each deviation of which price may test above or below. We do not think as vwap as a hard "Line in the sand" rather a zone where we look for participation from those that are currently in that average price, this means price sometimes may move slightly under the vwap or deviation level as price seeks liquidity and the Tolerance bands can add some insight in an event like this.
As always-
*** ALL USERS ASSUME ALL RESPONSIBILTIY WHILE USING THIS TOOL. THIS IS NOT, NOR SHOULD NOT BE MISCONSTRUED AS FINANCIAL ADVICE. USER ASSUMES ALL RISKS ASSOCIATED WITH THE USE OF THIS TOOL WHILE TRADING,AND FOR ANY AND ALL LOSS THAT MAY OCCUR WHILE USING SAID TOOL. TRADING IS RISKY AND USER COULD STAND TO LOSE ALL CAPITAL INVESTED.
Hope you enjoy.
Thanks
-JMF
Trend101 v5Welcome to what I believe to be the best indicator on TradingView. Trend101 v5
"Not all trends are made equal"
You should be only trading the trends that matter most... The basis of this script is using volume to rank price trends and give more prominence to the trends that are backed by volume, enabling you to only focus on riding the trends that matter.
If we see a trend with high volume, this will show up in the indicator with larger green or red columns / bars & the trends with low volume will cause little movement in the indicator.
Some indicators are great at showing price trends, some are great at showing volume... Trend101 v5 is great at showing both of these.
This indicator can be used in a variety of ways:
1) The most simplistic is to trade crossovers from Bull > Bear trends and vice versa. This alone can be profitable with a "scalping" mindset where you ride the trend until it shows signs of weakness.
2) The other way I use this indicator is to act as a confirmation tool... for example if price is approach a level of support, you can wait until the price shows signs of rejection and then your confirmation for entry is that Trend101 v5 will change to green. (& the opposite for levels of resistance).
Finally you are also able to use the Timeframe input to select different timeframes, this is useful to use two Trend101 indicators together to filter trade entries. An example would be using one Trend101 indicator set on the 15min timeframe and one set on the Daily timeframe and when both of these align in the same trend direction you are able to enter your trade.
I will produce a video "How To..." guide for this indicator shortly to explain other details.
Let me know in the comments below how you are using the indicator and all feedback is welcome.
Miyagi (10 in 1) + AlertsMiyagi: The attempt at mastering something for the best results.
Miyagi indicators combine multiple trigger conditions and place them in one toolbox for traders to easily use, produce alerts, backtest, reduce risk and increase profitability.
VWAP has been the main condition for entry for our trading community for quite some time now, however using VWAP alone can lead to poor entries and bags.
Miyagi adds filtering conditions which can then be used to improve entries as opposed to simply using VWAP alone.
Miyagi (10-in-1) + Alerts combines multiple trigger conditions in an easy to use format.
Each trigger or filtering condition is selectable and able to be combined using the selector checkboxes.
Trigger or filter conditions can be used on a different timeframe chart than the current user selected chart.
For instance, the user's chart can be set to a 15M for entry however using filtering from a 30 minute RSI.
It is recommended to not use a lower timeframe chart setting than the current chart timeframe.
The following trigger and filter conditions are present in the 10-in-1:
EMA: Takes two "Exponential Moving Averages" into effect for filtering with user selectable chart timeframe, length and sources.
EMA Trend Type is user selectable for Trend-following or Counter-trend which allows you to counter-trade the markets.
Beside the "Simple Moving Average" the EMA has a multiplier.
Calculation is SMAxMultipier / SMAxMultiplier of the previous candle.
MACD: Takes the "Moving Average Convergence Divergence" into effect for trigger condition or filtering with user selectable chart timeframe,
source, fast & slow length and signal smoothing. MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a price.
The MACD is calculated by subtracting the EMA 26 period from the EMA 12. Long alert is triggered on crossing the MACD zero line upwards and short alert vise versa.
RSI: Takes the "Relative Stregth Index" into effect for trigger condition or filtering with user selectable chart timeframe, length, source, and oversold and overbought values.
The RSI is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset.
It can also be used to spot divergences which warn of a trend change in price. This oscillator moves between 0 and 100.
RSI > 80 is considered overbought and an RSI < 20 is considered oversold.
Stochastic RSI: oscillator version of RSI.
Takes the stochRSI into effect for trigger condition or filtering with user selectable chart timeframe, K D, length, upper and lower length.
stochRSI = (actual RSI - lowest RSI) / (highest RSI - lowest RSI)
VWAP: Takes the "Volume Weighted Average Price" into effect for trigger condition with user selectable chart timeframe, period, and VWAP lower line (long),
or VWAP Upper line (Short) values. VWAP is calculated by totaling the money traded for every transaction (price x volume) and then dividing by the total shares traded.
The VWAP appears as a single line on charts. It looks similar to a moving average line, but smoother. In general it is a intraday/week anchored indicator that resets,
but we are using a steady version over a selectable period of candles.
TTM: Takes the TTM squeeze indicator into effect for trigger condition with user selectable chart timeframe, length, multiplier, smoothing and trend direction.
The TTM is used to identify when to enter or exit a market for the best chance of profitability. It squeezes pairs well with other indicators, such as the ADX indicator.
For Multiplicator you can use Keltner and Boilinger Bands.
ADX: Takes the "Average Directional Movement Index" into effect for trigger condition with user selectable chart timeframe, smoothing, DI-length, a long and a short setting.
The ADX is used to detect trend direction with a positive and a negative direction indicator (+DI & -DI). The factor of those is a value between 0 and 100.
A low value can be a week trend or consolidation. A value > 25 is considered as a positive trend, >50 is a strong long trend >75 extremely strong trend.
Beside timeframe, you can choose smoothing and DI length.
SuperTrend: Takes the SuperTrend into effect for filtering with user selectable chart timeframe, ATR length and factor.
As an alternative to moving averages you can keep a fix distance to determine long or short trend.
That way you can avoid a lot of switching during a consolidation phase. Once crossed it switches trend direction.
The "Average True Rage" is used for calculation of the SuperTrend distance, it measures the volatility of the coin.
MFI: Takes the "Money Flow Index" into effect for filtering with user selectable chart timeframe, length, source, long and short settings.
The MFI is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset.
It can also be used to spot divergences which warn of a trend change in price. Like RSI this oscillator moves between 0 and 100.
MFI > 80 is considered overbought and an MFI < 20 is considered oversold.
W-Divergence: Takes the "Wolfpack Divergence" into effect for trigger condition with user selectable chart timeframe, length, lookback, divergence and ranges.
W-Divergence is MACD 3-8 setting with added divergence hunter.
How to use: Select the VWAP, and set the VWAP up as you would normally trade with your selected timeframe, period, and VWAP settings (long and short).
All entries will be shown, based on the VWAP settings.
From here, filtering can be implemented to produce better entries, ie using EMA/MACD/RSI/SuperTrend/MFI filtering.
Happy Trading!
Miyagi (4 in 1) + AlertsMiyagi: The attempt at mastering something for the best results.
Miyagi indicators combine multiple trigger conditions and place them in one toolbox for traders to easily use, produce alerts, backtest, reduce risk and increase profitability.
VWAP has been the main condition for entry for our trading community for quite some time now; however using VWAP alone can lead to poor entries and bags.
Miyagi adds filtering conditions which can then be used to improve entries as opposed to simply using VWAP alone.
Miyagi (4-in-1) + Alerts combines multiple trigger conditions in an easy to use format.
Each trigger or filtering condition is selectable and able to be combined using the selector checkboxes.
Trigger or filter conditions can be used on a different timeframe chart than the current user selected chart.
For instance, the user's chart can be set to a 15M for entry however using filtering from a 30 minute RSI.
It is recommended to not use a lower timeframe chart setting than the current chart timeframe.
The following trigger and filter conditions are present in the 4-in-1:
EMA: Takes two EMAS into effect for trigger condition or filtering with user selectable chart timeframe, length and sources. EMA Trend Type is user selectable for Trend-following or Counter-trend which allows you to counter-trade the markets.
MACD: Takes the MACD into effect for trigger condition or filtering with user selectable chart timeframe, source, fast & slow length and signal smoothing.
RSI: Takes the RSI into effect for trigger condition or filtering with user selectable chart timeframe, length, source, and oversold and overbought values.
VWAP: Takes the VWAP into effect for trigger condition with user selectable chart timeframe, period, and VWAP lower line (long), or VWAP Upper line (Short) values.
How to use: Select the VWAP, and set the VWAP up as you would normally trade with your selected timeframe, period, and VWAP settings (long and short).
All entries will be shown, based on the VWAP settings.
From here, filtering can be implemented to produce better entries, ie using EMA/MACD/RSI filtering.
Happy Trading!
VWAP With EMAFor those who want the classic Volume Weighted Average Price and Ema on the same overlay.
This script utilizes the same protocols as the VWAP and EMA you currently use. Just frees up an indicator space.
KEEP UP TO DATE
Are you a college student or graduate?
Join College Town Trade discord for helpful community specializing in trading stocks, options, and crypto.
Our staff consists of a group of college students with 10+ years of combined experience. Collectively we have profited and made well above an average yearly salary while being in college. The community aspect is everything and the team always listens and appreciates feedback. We all earn and learn together. There are free trials in place in order for you to see what it’s all about. These are in place so we can gain your trust and show transparency!
I look forward to seeing you in the community
advBtBjDhk
VWAP With EMA Overlay (Adjustable Anchor)For those who want the classic Volume Weighted Average Price and Ema on the same overlay.
This script utilizes the same protocols as the VWAP and EMA you currently use. Just frees up an indicator space.
KEEP UP TO DATE
Are you a college student or graduate?
Join College Town Trade discord for helpful community specializing in trading stocks, options, and crypto.
Our staff consists of a group of college students with 10+ years of combined experience. Collectively we have profited and made well above an average yearly salary while being in college. The community aspect is everything and the team always listens and appreciates feedback. We all earn and learn together. There are free trials in place in order for you to see what it’s all about. These are in place so we can gain your trust and show transparency!
I look forward to seeing you in the community
advBtBjDhk
Chart VWAP█ OVERVIEW
This indicator displays a Volume-Weighted Average Price anchored to the leftmost visible bar of the chart. It dynamically recalculates when the chart's visible bars change because you scroll or zoom your chart.
If you are not already familiar with VWAP, our Help Center will get you started. The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day. Our Rolling VWAP , instead, resets on a rolling time window. You may also find the VWAP Auto Anchored built-in indicator worth a try.
█ HOW TO USE IT
Load the indicator on an active chart (see the Help Center if you don't know how). By default, it displays the chart's VWAP in orange and a simple average of the chart's visible close values in gray. This average can be used as a companion to the VWAP, since both are calculated from the same set of bars. The script's settings allow you to hide it.
You may also use the script's settings to enable the display of the chart's OHLC (open, high, low, close) levels and the values of the high and low. These are also calculated from the range of visible bars. You can complement the high and low lines with their price and their distance in percent from the chart's latest visible close . You can use the levels to quickly identify the distances from extreme points in the visible price range, as well as observe the visible chart's beginning and end prices.
█ NOTES FOR Pine Script™ CODERS
This script showcases three novelties:
• Dynamic recalculation on visible bars
• The VisibleChart library by PineCoders
• The new `anchor` parameter of ta.vwap()
Dynamic recalculation on visible bars
This script behaves in a novel way made possible by the recent introduction of two new built-in variables: chart.left_visible_bar_time and chart.right_visible_bar_time , which return the opening time of the leftmost and rightmost visible bars on the chart. These are only two of many new built-ins in the `chart.*` namespace. See this blog post for more information, or look up them up by typing "chart." in the Pine Script™ Reference Manual .
Any script using chart.left_visible_bar_time or chart.right_visible_bar_time acquires a unique property, which triggers its recalculation when traders scroll or zoom their chart, causing the range of visible bars to change. This new capability is what makes it possible for this script to calculate its VWAP on the chart's visible bars only, and dynamically recalculate if the user scrolls or zooms their chart.
This script is just a start to the party; endless uses for indicators that redraw on changes to the chart will no doubt emerge through the hands of our community's Pine Script™ programmers.
The VisibleChart library by PineCoders
The newly published VisibleChart library is designed to help programmers benefit from the new capabilities made possible by the fact that Pine Script™ code can now tell when it is executing on visible bars. The library's description, functions and example code will help programmers make the most of the new feature.
This script uses three of the library's functions:
• `PCvc.vVwap()` calculates a VWAP for visible bars.
• `PCvc.avg()` calculates the average of a source value for visible bars only. We use it to calculate the average close (the default source).
• `PCvc.chartXTimePct(25)` calculates a time value corresponding to 25% of the horizontal distance between visible bars, starting from the left.
The new `anchor` parameter of ta.vwap()
Our script also uses this new `anchor` parameter to reset the VWAP at the leftmost visible bar. See how simple the code is for the VisibleChart library's `vVwap()` function.
Look first. Then leap.
VWAP and previous VWAP for Support & Resistance for D W MI overhauled my old multi timeframe VWAP script to make the VWAP OC-Check work for all timeframes. Now only one function is used to calculate the 3 preset VWAPs.
Previous VWAPS = the price where the last session closed sometimes work as Support and Resistance.
The OC-Check Mode theory examines if the VWAP from the Open is above or below the VWAP from Close
and if price is above or below normal VWAP (HLC3).
This way we have 4 states:
Red = Strong Downtrend
Orange = Weak Downtrend
Blue = Weak Uptrend
Green = Strong Uptrend
As always it is just a theory - nothing is set in stone regarding any indicator.
All Moving Averages + VWAPCombines VWAP and Moving Average indicators into one single indicator.
VWAP Indicators
Anchored VWAP (you can change the anchor, default 1 day)
VWAP Standard Deviations (editable, default 1 and 2)
VWAP Fibonacci Deviations (editable, default 61.8% and 161.8%)
Fill Colors for the VWAP extensions to essentially create VWAP channels.
Moving Averages
5 Custom Moving Averages
Moving Average Types for each custom average
Most popular/widely used Moving Averages (algos and others use these most often, backtested. Some disabled by default)
List of most popular Moving Averages
5 EMA
13 EMA
20 EMA
26 EMA
34 EMA
50 EMA
50 SMA
100 EMA
100 SMA
200 EMA
200 SMA
400 SMA
Note: There are 52 weeks in a year, so 26 EMA is half of 52, 13 is half of 26.
Many traders use Moving Average Clouds, which use 5 and 13 for the first, 34 and 50 for the second.
SPY loves 200 SMA
BankNifty VWAP VWAP - Volume-Weighted Average price ( VWAP )
The script draws Daily VWAP for BANKNIFTY SPOT , based on Futures Volume or underlying Index Stocks based on user input
BANKNIFTY INDICES IS THE WEIGHTAGE OF 12 STOCKS AS DECIDED BY EXCHANGE.
BANKNIFTY VWAP CALCULATES THE COMBINED VWAP OF THESE 12 STOCKS AND GENERATES VWAP FOR BANKNIFTY
It works with NIFTY as well. Please change the Symbol and Futures Volume symbol to "NSE:NIFTY" and "NSE:NIFTY1!"
NIFTY INDICES IS THE WEIGHTAGE OF 50 STOCKS AS DECIDED BY EXCHANGE.
NIFTY VWAP CALCULATES THE COMBINED VWAP OF THESE 50 STOCKS AND GENERATES VWAP FOR NIFTY
This script is intended for educational purposes only.
03/07/2022 WEIGHT AGE OF INDEX STOCKS (%)
HDFC Bank Ltd. - 27.63
ICICI Bank Ltd. - 22.98
Kotak Mahindra Bank Ltd. - 11.40
State Bank of India - 11.73
Axis Bank Ltd. - 11.6
IndusInd Bank Ltd. - 5.03
AU Small Finance Bank - Ltd. 2.54
Bandhan Bank Ltd. - 1.98
Bank of Baroda - 1.76
Federal Bank Ltd.- 1.76
PNB - 0.84
IDFC First Bank - 0.95
Candle Level of VWAP [By MUQWISHI]The " Price of Volume Weighted Average Price " (PVWAP) indicator calculates the VWAP standard deviation of bar price.
Features:
1. Ability to smooth the "Price of Volume Weighted Average Price" line.
2. Ability to choose the anchor period (timeframes).
Let me know if you have any questions.
Thanks.
SD LevelsSD Levels is an indicator for the gap-up gap down markets
Works best on 5minute and lower time frames.
Involves standard deviation levels, Emas and Vwap.
Colorful lines are standard deviation levels which are +0.33,-0.33,+0.66,-0.66,+1.00 and -1.00 based.
Static Gray line is settlement line based on the first candle of the day and the tf you choose (default source OHLC4, also works good on close source)