4-VWAP overlayI am a big fan of Kite Crossing Oscillator by Kloov. In an effort to see the actual vwap values I created a simple overlay of the vwaps with adjustable intervals.
D-VWAP
[PX] VWAP Gap LevelHello guys,
another day, another method for detecting support and resistance level. This time it's all about the VWAP and daily gaps it might produce.
How does it work?
The indicator detects when a new daily candle begins and the VWAP makes a big move in either direction. Often it produces a gap and this is where the support or resistance level will be plotted. The idea behind it is, that those gaps get filled at some point in time. You can control how big a VWAP movement ("gap") has to be with the "VWAP Movement %" -setting. Also, you can adjust the style of the level.
If you find this indicator useful, please leave a "like" and hit that "follow" button :)
Have fun and happy trading :)))
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
EVWMA VWAP MACD Strategy [QuantNomad]Based on comment of @coondawg71 I tried to compare VWAP and EVWMA.
Both are sort of moving averages so I decided to create a MACD based on these 2 indicators.
In parameters you can set EVWMA Length and 2 smoothing lengths for "macd" and "signal".
Strategy seems to work pretty good at 2h-8h timeframes for crypto.
What do you thing about it?
VWAP ATR mean reeeeeeeeeeMean reversion strategy which lets you set a VWAP length, ATR length - then creates signal when distance closing price from VWAP is greater than ATR x a multiplier which you set
Derivative Oscillator Cu [ID: AC-P]The "AC-P" version of the Derivative Oscillator is my personal customized version of Constance Brown's Derivative Oscillator (using Everget's implementation of it as the base), with the the following modifications and additions:
VWAP Indication - option to show whether the price input option is above or below the Daily VWAP (red triangles = price input is below vwap, green triangles = price input is above vwap)
Bullish and Bearish phases from shayankm's Waddah Attar Explosion V2 () is included as indication dots (bullish = blue dots, bearish = yellow dots) below/above the Derivative Oscillator histogram
Coral Trend from Lazybear () is included as indication dots (red/green dots below/above the Derivative Oscillator histogram
Input source options for vwap, Waddah components (MACD, Bollinger Upper/Lower)
Centerline option for Coral trend, and Horizontal center option for the Derivative Oscillator with circle indication (optional - provided as option for flexibility in use with overlaying with other indicators)
This indicator is a hybrid, with a combination of leading indicators and lagging trending indicators combined into one. Specifically, a few of the other indicators I use are lacking in the momentum and trend department, and this is one of the indicators I use to address that:
VWAP provides trend information on lower timeframes from a high timeframe interval (D)
Coral Trend provides additional confirmation to VWAP trend wise, and is adjustable
Waddah Attar Explosion provides a third level of confirmation for trending moves, taking into account shorter and longer timeframes (FastEMA and SlowEMA parameters).
Script base for the Derivative Oscillator is credited to Everget () and LazyBear ().
Source attribution to Constance Brown for the Derivative Oscillator formula/indicator:
// Brown, Constance.
// Reference 1: “The Derivative Oscillator: a New Approach to an Old Problem,” Journal of Technical Analysis (Winter-Spring 1994) 45–61.
// Reference 2: Technical Analysis for the Trading Professional. New York, NY: McGraw-Hill, 1999.
Information on the Derivative Oscillator:
www.investopedia.com
Momentum 4 Ways Smoothed [Salty]This is an enhance version of Momentum 4 Ways that shows 4 ways to calculate momentum and display each one along with their combined average value.
This study was created to compare 4 different momentum values against their combined average using different display styles to allow the user to experiment with different views of momentum.
- Added the ability to smooth the Average Momentum value. Default Smoothing value is 5.
- Added the ability to use different average calculations. Default is WMA.
- Added the ability to select the number of momentum values to average (1-4). Default is 4.
- Added the ability to use VWAP instead of price as the input.
The Smoothed Average Momentum line is color coded so that it is green when it is moving in the bullish direction and red when it is moving in the bearish direction.
VWAP/MVWAP/EMA CROSSOVEROnly difference in this one is that a EMA is used which should give quicker signals but theres a chance for more false signals as per usual use TA and other indicators to confirm positions. So far I've been liking the Vortex Indicator
When the VWAP (Thick Yellow) AND the two EMA (Orange and thin Yellow) cross above the MVWAP (Purple) then you will be in a uptrend that could possibly continue upwards. The opposite is true if you are looking a short opportunity, wait for the three other lines to cross under the MVWAP and you should be in a downtrend that could possibly continue downwards
Of course as with all indicators not every signal will be 100% accurate there is no way to predict human emotions when it comes to trading but based on the VWAP strategy used in other markets this is the closest I could get.
Note: Don't relay completely on this indicator to think for you. Use other forms of TA to confirm all positions before entering. And if the candles start trending the opposite direction after a lets say a mini pump/dump then the signal was false.
Finally this was made according to the 15 minute chart. I did not plan on remaking it for any other timeframes as I have left the code open for you to tweak and the setting are free to adjust aswell.
Q/A
Q: Does it repaint?
A: No, this is based on moving averages as far as I know they don't repaint.
Q: How did you come up with this indicator?
A: Went on youtube looking for trading strategies other and the usual EMA crosses and found a VWAP & EMA strat. I added the MVWAP and played with the numbers until I found something that I liked.
Q: How long have you been trading/learning pinescript?
A: Been trading less than a two months and pinescript about a month and a half.
VWAP/MVWAP/SMA CROSSOVERTo use this indicator is simple.
When the VWAP (Thick Yellow) AND the two SMA (Orange and thin Yellow) cross above the MVWAP (Purple) then you will be in a uptrend that could possibly continue upwards. The opposite is true if you are looking a short opportunity, wait for the three other lines to cross under the MVWAP and you should be in a downtrend that could possibly continue downwards
Of course as with all indicators not every signal will be 100% accurate there is no way to predict human emotions when it comes to trading but based on the VWAP strategy used in other markets this is the closest I could get.
Note: Don't relay completely on this indicator to think for you. Use other forms of TA to confirm all positions before entering. And if the candles start trending the opposite direction after a lets say a mini pump/dump then the signal was false.
Finally this was made according to the 15 minute chart. I did not plan on remaking it for any other timeframes as I have left the code open for you to tweak and the setting are free to adjust aswell.
Q/A
Q: Does it repaint?
A: No, this is based on moving averages as far as I know they don't repaint.
Q: How did you come up with this indicator?
A: Went on youtube looking for trading strategies other and the usual EMA crosses and found a VWAP & EMA strat. I added the MVWAP and played with the numbers until I found something that I liked.
Q: How long have you been trading/learning pinescript?
A: Been trading less than a two months and pinescript about a month and a half.
Anchored VWAP & Standard DeviationsCalculates VWAP from a fixed point in time as well as standard deviations.
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
--------------------------------------
All Time VWAP & Standard DeviationsAll time VWAP and standard deviations.
Either enable "scale price chart only" or disable deviations that go negative in the style options.
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
--------------------------------------
Tabajara com Nutella [xdecow]Tabajara setup from André Machado
-ma 8
-ma 20
-ma 50
-ma 200 (blue)
-vwap (aqua)
-bollinger bands
-barcolor based on tabajara rules
VWAPStrategyCross ema3 with VWAP. Just to give imression of how a day migth be divided in a long- and short bias zone. Not suited as trading signal.
Max of VWAP of last three daysThe script searches for max values of last three days and then calculates average of those values
VWAP/ MVWAPPlots VWAP and MVWAP for intraday trading. Useful to avoid whipsaws
Market structure is important to take any trades
Avoid taking trades close to support and resistance
6 EMAs + VWAP by Felipe FacchinIndicador personalizado com 6 EMAs + VWAP. Recomendo utilização do tema escuro e EMAs 50, 100 e 200.
Weekly VWAP - Starts Monday 12AMThere are a number of VWAP indicators out there, but it's difficult to find VWAP calculations that take the entire week into account. This helps with analyzing longer-term trends on daily and intraday charts. As with all VWAP indicators, this one is also more sensitive to price starting at the open of trading at the beginning of the week.
VWAP + SMA + EMA3-in-one indicator, for swing and intra-day trading, which includes
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Volume-Weighted Average Price (VWAP)
Volume Profile Free Ultra SLI (100 Levels Value Area VWAP) - RRBVolume Profile Free Ultra SLI by RagingRocketBull 2019
Version 1.0
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 100 horizontal bars.
This is basically the MAX SLI version with +50 more Pinescript v4 line objects added as levels.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are several versions: Free Pro, Free MAX SLI, Free Ultra SLI, Free History. This is the Free Ultra SLI version. The Differences are listed below:
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX SLI: 50 levels, 2x SLI modes for Buy/Sell or even higher res 150 levels
- Free Ultra SLI: 100 levels, packed to the limit, 2x SLI modes for Buy/Sell or even higher res 300 levels
- Free History: auto highest/lowest, historic poc/va levels for each session
Features:
- High-Res Volume Profile with up to 100 levels (line implementation)
- 2x SLI modes for even higher res: 300 levels with 3x vertical SLI, 100 buy/sell levels with 2x horiz SLI
- Calculate Volume Profile on full history
- POC, Developing POC Levels
- Buy/Sell/Total volume modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels, Transparency for buy/sell levels
WARNING:
- Compilation Time: 1 min 20 sec
Usage:
- specify max_level/min_level/spacing (required)
- select range (start_bar, range length), confirm with range highlighting
- select volume type: Buy/Sell/Total
- select mode Value Area/VWAP to show corresponding levels
- flip/select anchor point to position the buy/sell levels
- use Horiz Buy/Sell SLI mode with 100 or Vertical SLI with 300 levels if needed
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
SLI:
use SLI modes to extend the functionality of the indicator:
- Horiz Buy/Sell 2x SLI lets you view 100 Buy/Sell Levels at the same time
- Vertical Max_Vol 3x SLI lets you increase the resolution to 300 levels
- you need at least 2 instances of the indicator attached to the same chart for SLI to work
1) Enable Horiz SLI:
- attach 2 indicator instances to the chart
- make sure all instances have the same min_level/max_level/range/spacing settings
- select volume type for each instance: you can have a buy/sell or buy/total or sell/total SLI. Make sure your buy volume instance is the last attached to be displayed on top of sell/total instances without overlapping.
- set buy_sell_sli_mode to true for indicator instances with volume_type = buy/sell, for type total this is optional.
- this basically tells the script to calculate % lengths based on total volume instead of individual buy/sell volumes and use ext offset for sell levels
- Sell Offset is calculated relative to Buy Offset to stack/extend sell after buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- there are no master/slave instances in this mode, all indicators are equal, poc/va levels are not affected and can work independently, i.e. one instance can show va levels, another - vwap.
2) Enable Vertical SLI:
- attach the first instance and evaluate the full range to roughly determine where is the highest max_vol/poc level i.e. 0..20000, poc is in the bottom half (third, middle etc) or
- add more instances and split the full vertical range between them, i.e. set min_level/max_level of each corresponding instance to 0..10000, 10000..20000 etc
- make sure all instances have the same range/spacing settings
- an instance with a subrange containing the poc level of the full range is now your master instance (bottom half). All other instances are slaves, their levels will be calculated based on the max_vol/poc of the master instance instead of local values
- set show_max_vol_sli to true for the master instance. for slave instances this is optional and can be used to check if master/slave max_vol values match and slave can read the master's value. This simply plots the max_vol value
- you can also attach all instances and set show_max_vol_sli to true in all of them - the instance with the largest max_vol should become the master
Auto/Manual Ext Max_Vol Modes:
- for auto vertical max_vol SLI mode set max_vol_sli_src in all slave instances to the max_vol of the master indicator: "VolumeProfileFree_MAX_RRB: Max Volume for Vertical SLI Mode". It can be tricky with 2+ instances
- in case auto SLI mode doesn't work - assign max_vol_sli_ext in all slave instances the max_vol value of the master indicator manually and repeat on each change
- manual override max_vol_sli_ext has higher priority than auto max_vol_sli_src when both values are assigned, when they are 0 and close respectively - SLI is disabled
- master/slave max_vol values must match on each bar at all times to maintain proper level scale, otherwise slave's levels will look larger than they should relative to the master's levels.
- Max_vol (red) is the last param in the long list of indicator outputs
- the only true max_vol/poc in this SLI mode is the master's max_vol/poc. All poc/va levels in slaves will be irrelevant and are disabled automatically. Slaves can only show VWAP levels.
- VA Levels of the master instance in this SLI mode are calculated based on the subrange, not the whole range and may be inaccurate. Cross check with the full range.
WARNING!
- auto mode max_vol_sli_src is experimental and may not work as expected
- you can only assign auto mode max_vol_sli_src = max_vol once due to some bug with unhandled exception/buffer overflow in Tradingview. Seems that you can clear the value only by removing the indicator instance
- sometimes you may see a "study in error state" error when attempting to set it back to close. Remove indicator/Reload chart and start from scratch
- volume profile may not finish to redraw and freeze in an ugly shape after an UI parameter change when max_vol_sli_src is assigned a max_vol value. Assign it to close - VP should redraw properly, but it may not clear the assigned max_vol value
- you can't seem to be able to assign a proper auto max_vol value to the 3rd slave instance
- 2x Vertical SLI works and tested in both auto/manual, 3x SLI - only manual seems to work (you can have a mixed mode: 2nd instance - auto, 3rd - manual)
Notes:
- This code uses Pinescript v3 compatibility framework
- This code is 20x-30x faster (main for cycle is removed) especially on lower tfs with long history - only 4-5 sec load/redraw time vs 30-60 sec of the old Pro versions
- Instead of repeatedly calculating the total sum of volumes for the whole range on each bar, vol sums are now increased on each bar and passed to the next in the range making it a per range vs per bar calculation that reduces time dramatically
- 100 levels consist of 50 main plot levels and 50 line objects used as alternate levels, differences are:
- line objects are always shown on top of other objects, such as plot levels, zero line and side cover, it's not possible to cover/move them below.
- all line objects have variable lengths, use actual x,y coords and don't need side cover, while all plot levels have a fixed length of 100 bars, use offset and require cover.
- all key properties of line objects, such as x,y coords, color can be modified, objects can be moved/deleted, while this is not possible for static plot levels.
- large width values cause line objects to expand only up/down from center while their length remains the same and stays within the level's start/end points similar to an area style.
- large width values make plot levels expand in all directions (both h/v), beyond level start/end points, sometimes overlapping zero line, making them an inaccurate % length representation, as opposed to line objects/plot levels with area style.
- large width values translate into different widths on screen for line objects and plot levels.
- you can't compensate for this unwanted horiz width expansion of plot levels because width uses its own units, that don't translate into bars/pixels.
- line objects are visible only when num_levels > 50, plot levels are used otherwise
- Since line objects are lines, plot levels also use style line because other style implementations will break the symmetry/spacing between levels.
- if you don't see a volume profile check range settings: min_level/max_level and spacing, set spacing to 0 (or adjust accordingly based on the symbol's precision, i.e. 0.00001)
- you can view either of Buy/Sell/Total volumes, but you can't display Buy/Sell levels at the same time using a single instance (this would 2x reduce the number of levels). Use 2 indicator instances in horiz buy/sell sli mode for that.
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed length. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Width - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors from input (only transparency) - this requires 2x plot outputs => 2x reduces the number of levels to fit the max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- You can change level transparency of line objects. Due to Pinescript limitations, only discrete values are supported.
- Inverse transp correlation creates the necessary illusion of "covered" line objects, although they are shown on top of the cover all the time
- If custom lines_transp is set the illusion will break because transp range can't be skewed easily (i.e. transp 0..100 is always mapped to 100..0 and can't be mapped to 50..0)
- transparency can applied to lines dynamically but nva top zone can't be completely removed because plot/mixed type of levels are still used when num_levels < 50 and require cover
- transparency can't be applied to plot levels dynamically from script this can be done only once from UI, and you can't change plot color for the past length bars
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input to change it
- Range selection/Anchoring is not accurate on charts with time gaps since you can only anchor from a point in the future and measure distance in time periods, not actual bars, and there's no way of knowing the number of future gaps in advance.
- Adjust Width for Log Scale mode now also works on high precision charts with small prices (i.e. 0.00001)
- in Adjust Width for Log Scale mode Level1 width extremes can be capped using max deviation (when level1 = 0, shift = 0 width becomes infinite)
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
P.S. I am your grandfather, Luke! Now, join the Dark Side in your father's steps or be destroyed! Once more the Sith will rule the Galaxy, and we shall have peace...