Thanks once again for a remarkable indicator. I am comfortable with just the VWAP but would love to know how to use bands in trading. I realize that they are deviations like BB bands. So should they act as support and resistance? Or judging the strength of a trend?
Help or direction to a thread from anyone would be appreciated as FT spends 38 hours per day developing indicators for knuckleads such as myself.
Vwap is used to identify liquidity points. As a volume-weighted price measure, VWAP reflects price levels weighted by volume. This can help institutions with large orders. The idea is not to disrupt the market when entering large buy or sell orders. VWAP helps these institutions determine the liquid and illiquid price points for a specific security over a very short time period.
VWAP can also be used to measure trading efficiency. After buying or selling a security, institutions or individuals can compare their price to VWAP values. A buy order executed below the VWAP value would be considered a good fill because the security was bought at a below average price. Conversely, a sell order executed above the VWAP would be deemed a good fill because it was sold at an above average price.
That's the thread my friend that I am writing some aids for bases his trading on. He sent me a cliff notes version of the info he compiled from that thread for me to reference while I'm writing the script.
Last edited by forrestang; July 25th, 2011 at 05:19 AM.
so you need to add "" in the end, if you want to retrieve the current value, because it is a DataSeries object. If you call UpperBand3, that is the third band which is 3 standard deviations above the VWAP. The VWAP itself can be called via SessionVWAP.
Just a note on the parameters:
-> Input: The VWAP itself is calculated from the Typical Price. The input only affects the calculation of the standard deviation bands.
-> Vairance_Distance: Calculation mode. I recommend Variance_Distance.
-> ETH: Will use the data from the entire trading day, as defined by the session template of the bar series used.
-> 1,2,3 : multipliers for the standard deviation bands, 3 indicates that UpperBand3 uses a factor 3.
-> Hybrid: This settings is only relevant for RTH, it means that the indicator identifies the second intraday session of the trading day as RTH session, with the exception of currency futures and FOREX, where it will select the third intraday session. This requires the use of appropriate session templates. As long as you use ETH this has no meaning.
The indicator will not return any value for (CurrentBar = = 0), and will not calculate the VWAP for the first session to avoid that the reference period is incomplete. So best check for values before accessing the indicator:
This is recommended for all complex or third party indicators.
Last edited by Fat Tails; July 24th, 2011 at 08:30 PM.
The following 2 users say Thank You to Fat Tails for this post:
It looks as if market profile takes its volume from the RTH session. In that case you would want to call the VWAP as RTH as well. I would not use the Hybrid setting, but rather call the First, the Second or the Third session of the trading day directly, depending on your instrument and session template.
I have cheated a bit and corrected my previous post. The indicator is called anaCurrentVWAPV33 -> note the V33 in the end. The enums need to be called in full length including the enum type. Then it should work.