VWAP Periodic Close [LuxAlgo]The VWAP Periodic Close script offers an advanced tool for analyzing the Volume Weighted Average Price (VWAP) across various timeframes.
This tool enables traders to visualize VWAP close levels for daily, weekly, monthly, quarterly, and yearly periods, offering a comprehensive view of price behavior across different time frames. It helps in identifying key levels where the VWAP closes at the end of each specified period.
🔶 USAGE
This script is designed to enhance your trading strategy by plotting VWAP close levels on your chart for different time periods. This helps traders easily identify historical VWAP levels and analyze price action relative to these levels, particularly useful for identifying key support and resistance levels providing insights into potential future price behavior.
Supports VWAP closes for multiple timeframes, including historical periods (e.g., 3 months back, 3 quarters back, 3 years back). The labels provide context and detailed information about the VWAP close at a specific point in time and enhance the clarity and usefulness of the VWAP data presented on the chart.
Users can toggle the display of VWAP lines for different periods and customize the colors for each timeframe (e.g., distinct colors for monthly, quarterly, and yearly closes).
🔶 SETTINGS
The script offers a range of customizable settings to tailor the analysis to your trading needs.
🔹 Volume Weighted Average Price (VWAP)
VWAP Close Level: Toggle the display of VWAP levels at the end of each period (daily, weekly, monthly, quarterly, yearly).
VWAP Origin: Toggle the display of the VWAP line for each period.
VWAP Source: Choose the data source for VWAP calculations (default is HLC3).
Historical Closes: Define the number of historical VWAP levels to plot.
Line/Label Offset: Adjust the offset for positioning lines and labels on the chart.
🔹 Themes
Theme Selection: Choose between "Day," "Night," or "Custom" themes to adjust the color scheme of VWAP lines and labels.
Volumeweightedaverageprice
Session VWAPS [QuantVue]The Session VWAPS indicator is a designed for traders to enhance their trading analysis by incorporating Volume Weighted Average Price (VWAP) anchored to custom-defined trading sessions.
This indicator automatically plots VWAPs at three critical points of a user defined session:
🔹session start
🔹session high
🔹session low
Additionally, it provides the option to display the VWAPs from previous sessions, offering a look at potential areas of support and resistance.
Anchored VWAP, or Anchored Volume-Weighted Average Price, is a technical analysis tool used to determine the average price of a stock weighted by volume, starting from a specific point in time chosen by the analyst.
Unlike traditional VWAP, which starts at the beginning of the trading session, the anchored VWAP allows traders to select any point on the chart, such as a significant event, price low, high, or a breakout, to begin the calculation.
VWAP incorporates price and volume in a weighted average and can be used to identify areas of support and resistance on the chart.
Indicator Features:
Custom Session Definition:
Users can define their own trading sessions by specifying start and end times, allowing for tailored analysis according to individual trading strategies or market hours.
Anchored VWAP at Three Key Points:
🔹Session Start VWAP: This VWAP is anchored at the start of the defined session.
🔹Session High VWAP: Anchored at the highest price point within the session.
🔹Session Low VWAP: Anchored at the lowest price point within the session.
Previous Session VWAPs:
The indicator can display VWAPs from the previous session, allowing traders to spot potential areas of support and resistance.
Give this indicator a BOOST and COMMENT your thoughts below!
We hope you enjoy.
Cheers!
Consolidation VWAP's [QuantVue]Introducing the Consolidation VWAP's Indicator , a powerful tool designed to identify consolidation periods in stock advance and automatically anchor three distinct VWAPs to key points within the consolidation.
Consolidation Period Identification:
The indicator automatically detects periods of consolidation or areas on the chart where a stock's price moves sideways within a defined range. This period can be seen as the market taking a "breather" as it digests the previous gains. Consolidations are important because they often act as a base for the next move, either continuing the previous uptrend or reversing direction.
Consolidation requirements can be customized by the user to match your instrument and timeframe.
Maximum Consolidation Depth
Minimum Consolidation Length
Maximum Consolidation Length
Prior Uptrend Amount
Anchored VWAP, or Anchored Volume-Weighted Average Price, is a technical analysis tool used to determine the average price of a stock weighted by volume, starting from a specific point in time chosen by the analyst.
Unlike traditional VWAP, which starts at the beginning of the trading session, the anchored VWAP allows traders to select any point on the chart, such as a significant event, price low, high, or a breakout, to begin the calculation.
VWAP incorporates price and volume in a weighted average and can be used to identify areas of support and resistance on the chart.
VWAP Anchored to Consolidation High: This VWAP is anchored at the highest price point within the identified consolidation period. It helps traders understand the
average price paid by buyers who entered at the peak of the consolidation.
VWAP Anchored to Consolidation Low: This VWAP is anchored at the lowest price point within the consolidation. It provides insights into the average price paid by
buyers who entered at the lowest point of the consolidation.
VWAP Anchored to Highest Volume in the Consolidation: This VWAP is anchored at the price level with the highest trading volume during the consolidation. It reflects the average price at
which the most trading activity occurred, often indicating a key support or resistance level.
The indicator also allows the trader to see past consolidation areas and previous anchored VWAP's.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Re-Anchoring VWAP TripleThe Triple Re-Anchoring VWAP (Volume Weighted Average Price) indicator is a tool designed for traders seeking a deeper understanding of market trends and key price levels. This indicator dynamically recalibrates VWAP calculations based on significant market pivot points, offering a unique perspective on potential support and resistance levels.
Key Features:
Dynamic Re-anchoring at All-Time Highs (ATH) : The first layer of this indicator continuously tracks the all-time high and recalibrates the VWAP from each new ATH. This VWAP line, typically acting as a dynamic resistance level, offers insights into the overbought conditions and potential reversal zones.
Adaptive Re-anchoring to Post-ATH Lows : The second component of the indicator shifts focus to the market's reaction post-ATH. It identifies the lowest low following an ATH and re-anchors the VWAP calculation from this point. This VWAP line often serves as a dynamic support level, highlighting key areas where the market finds value after a significant high.
Re-anchoring to Highs After Post-ATH Lows : The third element of this tool takes adaptation one step further by tracking the highest high achieved after the lowest low post-ATH. This VWAP line can act as either support or resistance, providing a nuanced view of the market's valuation in the recovery phase or during consolidation after a significant low.
Applications:
Trend Confirmation and Reversal Signals : By comparing the price action relative to the dynamically anchored VWAP lines, traders can gauge the strength of the trend and anticipate potential reversals.
Entry and Exit Points : By highlighting significant support and resistance areas, it assists in determining optimal entry and exit points, particularly in swing trading and mean reversion strategies.
Enhanced Market Insight : The dynamic nature of the indicator, with its shifting anchor points, offers a refined understanding of market sentiment and valuation changes over time.
Why Triple Re-Anchoring VWAP?
Traditional VWAP tools offer a linear view, often missing out on the intricacies of market fluctuations. The Triple Re-Anchoring VWAP addresses this by providing a multi-faceted view of the market, adapting not just to daily price changes but pivoting around significant market events. Whether you're a day trader, swing trader, or long-term investor, this indicator adds depth to your market analysis, enabling more informed trading decisions.
Examples:
MTFT VWAPs Auto AnchoredMulti Time Frame Tools
Multi Time Frame Tools (MTFT) is a suite of scripts aimed to establish a standard timeframe-based color scheme. This can be utilized to overlay different timeframes calculations/values over a single timeframe. As one example, this would allow to observe the 5-month moving average, 5-week moving average, and 5-day moving average overlaid over each other. This would allow to study a chart, get accustomed to the color scheme and study all these at the same time much easier.
All indicators calculated using the below specific timeframes as input, will always use the color scheme outlined below. This is to get you in habit of recognizing the different timeframes overlaid in top of each other. These can be personalized.
Longer TF analysis.
Yearly - Black
Semi-Annual - Yellow
Quarterly - White
Monthly - Maroon
Weekly - Royal Blue
Daily - Lime
Shorter TF analysis.
4 hour - Fuchsia
1 hour - Orange
30 min - Red
15 min - Brown
10 min - Purple
5 min - Lilac
All color coordination is able to be modified in either the “Inputs” or “Style” section. If you need to make changes, make sure to select “Save as Default” on the bottom right of the settings menu.
Recommended Chart Color Layout
I played around with color coordination a lot. The final product was what worked best for me. I personally use the following chart settings to accent all available TF colors.
-> Click on the settings wheel on your chart. -> Click on “Appearance”.
Background - Solid -> On the top row pick the 6th color from the left.
Vert Grid Lines and Horz Grid Lines -> On the top row pick the 7th color from the left.
You may of course change these and the indicator line colors as you like.
Adding indicator to Chart
-> Open the TradingView “Indicators & Strategies” library, the icon has “ƒx”. -> All premium scripts will be located under “Invite-Only Scripts” -> Click indicator to add to your chart.
MTFT VWAPs Auto Anchored
The Anchored Volume-Weighted Average Price, Anchored VWAP, is a commonly discussed FinTwit tool. I personally found it through Brian Shannon on Twitter. I have seen big FinTwit accounts solely focus on this strategy alone and have seen other big FinTwit accounts mix with their other indicators. I will be providing very basic info to utilize this script; it is up to you to dive deep into learning this strategy. I am not an expert with the tool or a financial advisor. As with all aspects of life, I recommend you research, learn, discern and practice extensively in order to become a master.
The script has the following features.
1. Three user selected time frames auto anchored VWAPS. It will auto anchor to the start of the timeframe. Timeframes(TF) include: Yearly(Y), Semi-annually(S), Quarterly(Q), Monthly(M), Weekly(W), Daily(D), and 4 hour. Image below shows the D candlestick as the active timeframe, the anchored VWAPs for the Year, Quarter, and Month.
2. Auto hide lower timeframe calculations. Auto Hide feature will hide smaller TF calculations when a larger timeframe is selected as the display TF. Example, when the Daily timeframe candlestick selected the Weekly and Daily Anchored VWAPs are hidden because they produce very noisy results. If a lower TF is selected such as the 30 min candlestick, the previously hidden Daily and Weekly Open Anchored VWAPs are now displayed. Notice that this specific indicator calculates different with every different timeframe that is selected. The lower TF calculations are more accurate as they include additional information. Image below shows the 30 min timeframe selected with the Daily, Weekly, and Monthly Open Anchored VWAPs displayed.
3. Auto Anchor using Pivot High/Low locations. Script finds the pivot highs/lows with a user selected look back/forward period. Additionally, as new pivot highs/lows appear you can choose to keep up to 4 each previous pivot high/low anchored VWAPs displayed. Image below has a 40 look back/forward period selected, and 2 past AVWAPs enabled.
You may notice in the above image that there is a gap between the AVWAP plot and the marked pivot point. This is not something that can be avoided as the script has to look forward in order to verify the pivot. The calculation is still correct, this can be verified by manually adding an “Anchored VWAP” drawing and seeing the values align. Image below shows that they match. White lines are the manually added “Anchored VWAP” drawings. If you verify this for yourself, make sure to select the correct input source in the settings of the drawing.
4. Auto Anchored on IPO High/Low. Looks for the first available candlestick in a chart and anchors to the high and low. This is useful with newer companies with recent IPOs.
IMPORTANT NOTE to TradingView admin: One of the lessons I would consider most important in attaining clarity regarding trading, is “TheStrat” by Rob Smith. His lesson on “actionable signals” is something that can be applied to any strategy. For this reason, I am including “MTFT TheStrat Patterns Pro” script in all images that will depict confluence for a better trade selection.
Example using TheStrat Pro MTFT with this indicator.
Look for a “TheStrat actionable signal” or a “TheStrat Reversal signal” on a smaller timeframe that has an instance of this indicator on a larger timeframe calculation that is in range of the candlestick that formed your actionable signal. This means that the indicators plot you are observing must be above the low and below the high of the candlestick that is the actionable signal/reversal signal.
The Image below shows what this would look like with this indicator. The selected candlestick is the 2-day, it shows a 1-3-1 pattern and the Quarter Anchored VWAP in range. This actionable signal could be played in both directions. If the high is breached, you would enter a long position from the high of the inside candlestick. If the low is breached than you would enter a short. For targets you would look at the previous pivots, for this example all targets were hit. Note that the “Entry” and “Targets” line were added manually and are not part of the script. Setups won’t always play out so nice and clean, but given that there is so many stocks and so many signals this is just a thought to improve the quality of the signal as it has extra confluence. If you are interested in learning further, research ‘TheStrat’ by Rob Smith.
VWAP+SMA+EMAThis is the only indicator combing the results of VWAP + 2 SMAs + 2 EMAs.
This is a free indicator. Enjoy using it.
Kunal Jain
JMF MTF historical Vwap map and static levels. What is a vwap map?
This is a Multi time frame Historical vwap heatmap. The study plots lines and maps out historical vwap zones based on closing vwap value of the time frame selected and the time frames high range. Show casing high volume concentration areas and low volume area's from each time frame chosen on chart.
Static Vwap Lines can be turned off in settings, as well as the map, you can use each individually or paired together for a more complete overview of the levels. You can also refine the search by using the "Gap %" input. This will filter out and search for average price's that have gapped up or down "X" percent from the previous days average price. Leaving you with Static vwaps and map zones from the most important "Gap Day's". This helps clean up the over all visual, but be careful choosing a higher gap percentage, that you don't lose too much granularity the map offers.
What will a "Static vwap and Map look like"
The look will vary greatly depending on where the stock is in its historical range. If the name is in a consolidation range with a lot of recent average prices directly above and below, you will have a heavy, crowded, Darker/intense heat signature from the map, You will also see levels in map mode over lapping and lines bundled together. These high traffic area's can act as great support or resistance since they are showing a congregation of historical average prices where participants have previously interacted. On the contrary, if you see "open air" in the map, or large areas of blank chart where no heat signature is mapping, this is an area of LOW volume and average prices. Current price will or can move quickly through these areas IF price accepts inside the open air range. If price does NOT accept inside the open air range, Then the blank low volume zone can and will act as support or resistance given the situation.
Capture the gaps.
I look to capture these "Gaps" created by the map and static levels both long or short. I have noticed over time that the higher time frame maps zones are WELL respected intraday, Daily, Weekly, Monthly etc. I look for areas where we are clearing a high volume zone, we break above, hold and accept into open air, and start to move through the open air zones up or down.
I also use the more granular smaller levels as support and resistance intraday while in plays.
Time frames and settings .
User has 3 inputs for seperate time frames to show. You can show a combo of all 3 timeframes, or you can show only a single time frame of your choosing, or two. Mix and match with the string input time frames.
Acceptable inputs are - 5,10,15,30,60,90,240,D,W,M,2D,4W,3M and so on. Any combination of string input timeframe should work, that means numbers (5,10,15,etc) or letters (D,W,M,etc) or combination of the two.
Look and feel
Each time frame has its own color input, transparency input, line style input, and line weight input. User can customize any of the lines or maps to their liking with a wide variety of styles, widths, and colors.
Any or all of the time frames can be enabled or disabled as well, to make the map as busy, or as calm as you would like.
Enjoy !
In the end I encourage any who tries the Heatmap to really sit down and spend some time playing around with the settings in order to find out how they like the map set up. I usually run the default settings on a intraday 5min chart, and then another instance of the study on a 15min chart with W,M,3M. plotted. That way I can see granular intraday levels, and macro long term levels in the same view. See what fit's you the best, and how you like to trade. Most of all ENJOY!
Good luck -
JMF.
IMPORTANT INFO -
As always, the creator of this code is NOT a licensed investment advisor. No output of this tool is to be taken as investment advice or a recommendation to buy or sell any security.
Trading is risky, any one using this tool acknowledges they CAN LOSE some if not all of their initial investment even with this tool enabled.
User assumes ALL RESPONSIBILITY when using this tool in their technical analysis .
Trade Pro - Rejection Zone IndicatorThe Rejection Zone Indicator can be used to help trend following traders know when to buy dips in up trends, and when to sell pull backs in down trends.
The Rejection Zone Indicator is made up of the 20 and 50 period Exponential Moving Averages. This indicator has colored shading in between these two EMAs, which acts as a nice visual. When the 20 period Exponential Moving Average is below the 50 period Exponential Moving Average, the shaded cloud will be red, and when the 20 EMA is over the 50 EMA the cloud will be green. It is called the Rejection Zone indicator, because often in trends when price pulls back to the colored cloud, it will act as an area of support or resistance.
The suggested use of the Rejection Zone Indicator is to look for long trades when the cloud is green, and once price has pulled back into the green cloud. If the cloud is red one can look for short trading opportunity when price pulls back into the red cloud.
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
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
VWAP Suite█ OVERVIEW
This indicator is an attempt to bring all VWAP functionalities under one umbrella suite, the existing VWAPs are great and this was made to provide all functionalities. (pending more updates as well)
█ FEATURES
Multiple VWAPs MTF
Individual Band configuration
Previous vwap closes
Date tracking of previous closes
MTF Options
Enabling the other VWAPS with any timeframe will allow the user to use the "VWAP Anchor" setting to choose what HTF Vwap to be displayed
"Prev Close"
This setting enables all historical closes to be displayed with extension
"Track Dates"
Can be used to keep date information of 2 previous closes and further back
█ HOW TO USE IT
The indicator is quite straight forward in its application, as you would expect of a normal VWAP.
At the top of the settings pane the indicator has some functionality that would control the VWAPs globally, e.g. disabling show bands disables all bands for all the VWAPs.
Each VWAP has individual settings that can be controlled such as coloring, which bands enabled, previous closes, labelling...
█ SUGGESTION
My suggestion for clarity is to use 1 VWAP with bands, and a 2nd with no bands + Previous close enabled at a higher timeframe
█ LIMITATIONS OF PINE (Please read)
I see many users going on different indicators with MTF in mind and trying to use it for LTF data e.g. 1hour chart, and selecting 5min in chart settings.
This is not recommended by the team themselves and should be noted for use always use HTF: www.tradingview.com
To understand how to use VWAP please refer to some education that can be found for free online
Heres an example of a trader using the tool himself: www.youtube.com
█ Future Updates:
Previous Close Line extensions
Previous Highs and Lows of VWAP mapped out for users
Suggestions Welcome!
Anchored Volume Profile by DGTAnchored Volume Profile aims to display trading activity at specific price levels over specified anchored periods of trading, where anchor period can be set to auto or users can specify anchor periods of their interest (Day (Session), Week, Quarter or Year)
Anchored Volume Profile is plotted as two horizontal histograms on the finacial isntrumnet's chart that highlights the trader's common interest at specific price levels as well as aims to reveal dominant party, bulls or bears
You are invited to glance at Vol Profile and Price Action-Support-Resistance studies
Disclaimer: Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Haye VWAPThis is VWAP but instead of average price resetting daily, you choose the VWAP reset period.
You could choose an Hourly VWAP, or a 2D VWAP, the choice is yours.
To show the functionality compared to normal VWAP, the below shows Haye VWAP (White) and normal VWAP (red), both set to Daily timeframes and on a Daily Chart.
As you can see, they're identical.
Then the following shows a 15min chart, with VWAP set to 15min timeframe and Haye VWAP set to Daily.
Again, notice they're identical because even when you change the timeframe of the regular VWAP, it still "resets" the average price calculation Daily.
Finally you can see what happens when we change the Haye VWAP period, the average price calculation resets based on the period you choose.
In this case Haye VWAP and regular VWAP are both set to 240 (4Hour) on a 5min chart.
The regular VWAP is displaying the 4Hour data of the VWAP (which resets Daily).
The Haye VWAP (in White) is displaying the Volume Weighted Average Price of the 5min bars, resetting every 4Hours.
This allows us to use the principles of VWAP but apply it to shorter (or longer) timeframes. For example, you could have a VWAP that resets hourly, or a longer VWAP that resets every 2Days.
MovingAveragesLibrary "MovingAverages"
Contains utilities for generating moving average values including getting a moving average by name and a function for generating a Volume-Adjusted WMA.
vawma(len, src, volumeDefault) VAWMA = VWMA and WMA combined. Simply put, this attempts to determine the average price per share over time weighted heavier for recent values. Uses a triangular algorithm to taper off values in the past (same as WMA does).
Parameters:
len : The number of bars to measure with.
src : The series to measure from. Default is 'hlc3'.
volumeDefault : The default value to use when a chart has no (N/A) volume.
Returns: The volume adjusted triangular weighted moving average of the series.
getMA(mode, len, src) Generates a moving average based upon a 'mode'.
Parameters:
mode : The type of moving average to generate. Values allowed are: SMA, EMA, WMA, VWMA and VAWMA.
len : The number of bars to measure with.
src : The series to measure from. Default is 'close'.
Returns: The volume adjusted triangular weighted moving average of the series.
VolumatrixVolumatrix is an enhanced volume weighted price indicator with advanced features
Created by CryptoJew & CryptoTiger on 04-06-2021
👋 Definition
Volumatrix turns current and historical price data into enhanced volume weighted price plots that allow you to visually grasp the momentum of any given market.
It’s easy to use and provides an accurate reading about an ongoing trend. This indicator is optimized to catch trend movements as soon as possible and to maximize certainty.
🙌 Overview
The Volumatrix indicator is based on an enhanced VWAP calculation, which serves as a present and upcoming price movement indication.
The further away the VWAP Wave is from the Zero Line, the more powerful the momentum is in that direction.
Conversely, the closer the VWAP Wave is to the Zero Line, the less momentum it has.
⭐️ Features
Volumatrix consists of the following features:
VWAP Waves: Visualizes the market's momentum in an easy-to-understand way by drawing colored waves.
VWAP Average: Acts as a calibration line for current wave movements.
Bearish & Bullish Dots: Indicates and confirms immediate trend changes by printing dual-colored dots.
E MA Backgrounds: Shows the general direction of the market, based on the exponential moving average (EMA).
In-depth alerts: Help traders discover potential trades with less time.
☝️ Basics
The Volume Weighted Average Price plays an essential role, as the Volumatrix indicator uses an enhanced VWAP calculation.
The volume weighted average price (VWAP) is a great technical trading indicator used by traders as it accounts for both price and volume.
VWAP signals the ratio of the cumulative share price to the cumulative volume traded over a given time.
It is essential because it provides traders with advanced insight into the trend and value of an asset.
Unlike moving averages, VWAP assigns more weight to price points with high volume.
This allows one to understand price points of interest, gauge relative strength, and identify prime entries/exits.
VWAP works with any interval: seconds, minutes, hours, days, weeks, months, years, etc...
However, keep in mind that VWAP can also experience some lag, much like a moving average.
Lag is inherent in the indicator because it's a calculation of an average using past data.
🧮 Calculation
Volume Weighted Average Price (VWAP) is constructed with two parameters, namely, price and volume, in 5 steps:
1. Calculate the Typical Price for the period.
((High + Low + Close)/3)
2. Multiply the Typical Price by the period Volume
(Typical Price x Volume)
3. Create a Cumulative Total of Typical Price
Cumulative(Typical Price x Volume)
4. Create a Cumulative Total of Volume
Cumulative(Volume)
5. Divide the Cumulative Totals
VWAP = Cumulative(Typical Price x Volume) / Cumulative(Volume)
🔍 Trend Identification - What to look for
VWAP is an excellent way to identify the trend of a market.
When using Volumatrix, you are looking for multiple confirmations that take place simultaneously.
The more confirmations that occur at the same time; the more certain the indicator will be.
You can identify the direction of a market by looking out for a few critical confirming signals.
📈 Bullish Trend Confirmations:
VWAP Wave overcrossing Zero Line :
When the VWAP Wave is crossing over the Zero Line, it indicates an immediate bullish trend.
This is one of the most certain moves that one can detect in Volumatrix.
This means that the price is about to change direction.
This is the case for any timeframe: seconds, minutes, hours, days, week, month, year, etc.
VWAP Wave color turning bullish:
When a bullish trend is about to happen, the VWAP Wave will change its color to yellow and finally to green.
That way, one can preemptively detect an upcoming bullish move.
In general, the VWAP Wave can change to 3 different colors.
Green means bullish.
Bullish Dots:
From time to time, bullish green dots will appear.
When combined with other indications, the Bullish Dots can be handy in confirming an upcoming or present uptrend.
That said, one should never solely rely on dots when deciding whether the trend is bullish or not.
Instead, if a trader sees a green dot, it should be taken as a hint to look for further bullish indications.
EMA Background:
One can identify the general trend of a market by looking at the background color of the indicator.
When the background is green, one can assume that a bullish trend is present.
The background color changes based on the exponential moving average (EMA).
By default, the 200 EMA is set. Change this value based on your timeframe preferences.
VWAP Average:
When the white VWAP Average line crosses above the Zero Line, it acts as an additional trend confirmation when combined with the VWAP waves.
As the VWAP average does not weigh in the short-term movements too heavily, it is less affected by immediate volatility.
Therefore, traders usually use the VWAP Average as a calibration tool to interpret the VWAP Waves more precisely.
📉 Bearish Trend Confirmations:
VWAP Wave under crossing Zero Line:
When the VWAP Wave is crossing under the Zero Line, it indicates an immediate bearish trend.
This is one of the most certain moves that one can detect in Volumatrix. This means that the price is about to change direction.
This is the case for any timeframe: seconds, minutes, hours, days, week, month, year, etc.
VWAP Wave turning bearish:
When a bearish trend is about to happen, the VWAP Wave will change its color to yellow and then finally to red.
That way, one can preemptively detect an upcoming bearish move. In general, the VWAP Wave can change to 3 different colors.
Red means bearish.
Bearish Dots:
From time to time, bearish red dots will appear.
When combined with other indications, the bearish dots can be handy in confirming an upcoming or present downtrend.
That said, one should never solely rely on dots when deciding whether the trend is bearish or not.
Instead, if a trader sees a red dot, it should be taken as a hint to look for further bearish indications.
EMA Background:
One can identify the general trend of a market by looking at the background color of the indicator.
When the background is red, one can assume that a bearish trend is present.
The background color changes based on the exponential moving average (EMA).
By default, the 200 EMA is set. Change this value based on your timeframe preferences.
VWAP Average:
When the white VWAP Average line crosses below the Zero Line, it acts as an additional trend confirmation if combined with the VWAP waves.
As the VWAP average does not weigh in the short-term movements too heavily, it is less affected by immediate volatility.
Therefore, traders usually use the VWAP Average as a calibration tool to interpret the VWAP Waves more precisely.
💤 Sideways Trend Confirmations:
VWAP Average:
When the VWAP Average is parallel and hovering around the Zero Line, either above or below it, that will indicate a sideways trend.
🚦 Usage - How and where to use it
The Volumatrix indicator is a universal indicator that works with any market capable of calculating a VWAP.
It’s currently being used in the following markets: cryptocurrency market, stock market, gold market and oil (just to name a few).
❗️ Requirements:
This indicator does not require any additional indicators as traders usually do in price action trading.
Basically, one just needs to follow the crossings, dots, and colors to get maximum certainty.
As a bonus, we recommend traders take advantage of TradingView’s multi-chart to catch more simultaneous confirmations.
🗣 Example Strategy: The 4 Timeframe Strategy
One can use the Volumatrix indicator along with the 4 timeframe strategy.
For example, open the 4 hour, 1 hour, 30 minute, and 5minute intervals simultaneously from left to right in a multi-chart layout.
Then lookout for the following conditions to meet:
OPEN LONG TRADE IF: On the 1-hour interval + 30-minute interval, Bullish Dots appear simultaneously
AND: On the 4-hour interval, the VWAP Wave is above the Zero Line
AND: On the 5-minute interval VWAP Wave is about to cross over the Zero Line or has already minimally crossed up.
OPEN SHORT TRADE IF: On the 1-hour interval + 30-minute interval, Bearish Dots appear simultaneously
AND: On the 4-hour interval VWAP Wave is below the Zero Line
AND: On the 5-minute interval VWAP Wave is about to cross under the Zero Line or has already minimally crossed down.
💡 Tips
Use TradingView’s 4-multi-chart layout to catch potential trades faster.
Use the indicator on a computer for optimal performance.
Set your computer screen to higher resolutions to get a better overview.
🔔 Alerts
With Volumatrix, you can use in-depth alerts like:
Bullish Dot
When a green dot at the bottom of the indicator appears
Bearish Dot
When a red dot at the bottom of the indicator appears
VWAP Wave Crossing Over Zero Line
When the VWAP Wave crosses over the Zero Line
VWAP Wave Crossing Under Zero Line
When the VWAP Wave crosses under the Zero Line
VWAP Wave Crossing Over Zero Line + Bullish Dot
When the VWAP Wave crosses over the Zero Line and a Bullish Dot appears
VWAP Wave Crossing Under Zero Line + Bearish Dot
When the VWAP Wave crosses over the Zero Line and a Bearish Dot appears
VWAP Average Crossing Over Zero Line
When the VWAP Average crosses over the Zero Line
VWAP Average Crossing Under Zero Line
When the VWAP Average crosses under the Zero Line
🔧 Settings
🔢 Inputs
These settings will change the behavior and outcome of the indicator.
EMA
Determines the number of previous candles that should be taken into calculation for the EMA background.
The value of the EMA can be changed to one's preferred value in accordance with the chosen interval.
The default value is 200.
🎨 Style
These settings will change the appearance of the indicator
VWAP Waves
Determines the color, opacity, thickness, and shape for the VWAP Waves.
The default shape is area.
The default colors are red, yellow & green.
VWAP Average
Determines the color, opacity, thickness, and shape for the VWAP Average.
The default shape is line.
The default color is white.
Zero Line
Determines the color, opacity, thickness, and shape for the Zero Line.
The default shape is a line.
The default color is white.
EMA Background
Determines the color & opacity for the Dynamic Background.
The default colors are black, red & green.
Bullish Dot
Determines the color, shape, opacity & location for the bullish dot.
The default shape is a circle.
The default color is green.
Bearish Dot
Determines the color, shape, opacity & location for the bearish dot.
The default shape is a circle.
The default color is red.
✅ Summary
Volumatrix is a unique indicator because, unlike many other VWAP tools, it's suited for simple as well as advanced analysis.
It’s a solid tool for immediately identifying the underlying trend of an asset.
Of course, this is true for any indicator based on the VWAP, which calculates an average using past data.
Still, Volumatrix is superior in this realm as it enhances the VWAP in its calculation and its visualization, while it comes with many advanced features.
❓ Questions
If you have any questions, just ask them here or in the Volumatrix community.
📚 Terminology
Bearish Dots: Red dots appearing at the bottom of the Volumatrix indicator.
Bullish Dots: Green dots appearing at the bottom of the Volumatrix indicator.
EMA: Exponential Moving Average - Tracks the price of an asset over time while giving more importance to recent price data.
Volume: A measure of how much of a given asset has traded in a period.
VWAP: Volume Weighted Average Price - The ratio of the value traded to total volume traded over time.
VWAP Average: Represents the average of the VWAP waves in the Volumatrix indicator.
VWAP Wave: The colorful waves representing the enhanced VWAP in the Volumatrix indicator.
Zero Line: It’s the indicator’s baseline and determines the beginning and end of a certain trend.
🙏 Acknowledgments
First, we would like to thank TradingView & PineCoders for this fantastic platform and technology.
We are also very grateful to our loyal trading community for constantly supporting our efforts.
We are looking forward to continuously improving this indicator for you.
Custom Timeframe VWAPThis script calculates the daily VWAP from any specified starting point intraday. Also colors the VWAP based on whether price is above or below it.
Standard vwap starts at day open 0 GMT, however there are some exchanges for eg. Deribit that have seen they use a different time period to begin VWAP calculations. This is useful in such cases.
You need to specify the hours & minutes of the VWAP that want to use. VWAP will be hidden on any timeframe higher than specified "Highest Visible Timeframe".
Also a big thanks to u/mortdiggiddy as he helped with this script.
EVWMA VWAP Cross Strategy [QuantNomad]Continue to experiement with VWAP and EVWMA.
It seems that just simple crosses between VWAP and EVWMA can be pretty good signals. VWAP is a bit choppy so you can use VWAP smoothing input to smoth it a bit.
Here are few other strategies based on EVWMA:
EVWMA VWAP MACD Strategy
QuantNomad - EVWMA MACD Strategy
All in One OverlayAll in One Overlay
SMA 1-3 / EMA 1-3 / H-L 1-3 / VWAP
VWAP is Volume-Weighted Average Price
SMA 1-3 is 1,2,or 3 Simple Moving Average Line(s).
EMA 1-3 is 1,2,or 3 Exponential Moving Average Line(s).
H-L 1-3 is the Highest high and Lowest low of x bars from the current bar.
Function is where you choose SMA 1, SMA 2, SMA 3, or EMA1, EMA 2, EMA 3, or H-L 1, H-L 2, H-L 3 to show up on your chart.
Input 1-3 is the number of bars the Function uses to generate its value, Input 1 determines SMA 1 or EMA 1 or H-L 1, Input 2 determines SMA 2 or EMA 2 or H-L 2, and Input 3 determines SMA 3 or EMA 3 or H-L 3.