|
|
|
|
|||||||
| Market Profile® Are you a market profile trader? Post here. |
![]() |
|
|
LinkBack (6) | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Re: Trading with Market Statistics. IV Standard Deviation
<<Are you using the VWAP that is on tradestation boards ? and from there on aplying sd ?...>>
VWAP_H is the code I am using -- Tradestation has this as a keyword. indicator can be written simply as: plot1(vwap_h,"vwap"); -------------- here is how I wrote Std Dev: first taking the squared difference of 'price' and VWAP_H and summing them: value1= square(c-vwap_h)+ square(c[2]-vwap_h[2])+... then taking square root of value1 gives you std dev, written in EL as: value2=squareroot(value1/n); where n is the number of periods... I just put it up on the tradestation forum to try to get some help: https://www.tradestation.com/Discuss...Topic_ID=66888 any help here would be appreciated... Last edited by Dogpile; 07-24-2007 at 10:24 PM. |
|
||||
|
Re: Trading with Market Statistics. IV Standard Deviation
value1= Pi*square(c-vwap_h) +..... where Pi= vi/V, vi=volume traded at price c, V=total volume for the distribution. Also each of the terms in the sum should be the same VWAP : value1= P1*square(C-VWAP) + P2*square(c[2]-VWAP) + .....
__________________
JERRY ---I'm going to trade til I'm 100, or die trying---- Last edited by jperl; 07-24-2007 at 10:40 PM. |
|
|||
|
Re: Trading with Market Statistics. IV Standard Deviation
thx Jerry,
note that VWAP_H is hard-coded to already volume-weight for that side of the equation. I assume you are saying that I need to weight each 'price' observation by volume as well to be consistent? hmm, need to think about this more. can you post a chart of your ES 2-min chart with the bands for today? I would like to see how mine and yours compare as is... I have been using VWAP a lot lately and using my short-term trading techniques in conjunction with VWAP has so far been awesome -- and I will be thinking a lot about more ideas with VWAP. Look how NQ stopped just short of previous days VWAP again near 55.00 to offer a spot to look for a key reversal... this was sweet since my short-term entry techniques didn't signal a short until then anyway -- but gave extra confidence that this was actually typical behavior for the very volatile NQ contract. |
|
|||
|
Re: Trading with Market Statistics. IV Standard Deviation
<<Also each of the terms in the sum should be the same VWAP :
value1= P1*square(C-VWAP) + P2*square(c[2]-VWAP) + .....>> this is not intutive to me... I would then be comparing the current vwap to old prices.. I am thinking about how bollinger bands work here and applying same concept. I am quite familiar with properties of bollinger bands so this is natural for me. bollinger bands compare the price to the moving average value that occured at the same time that the price occured. this is kind of like 'matching' concept in accounting. I do not know how to code it your way so will look for others for help. But this entire line of thinking is quite stimulating for new ideas. |
|
|||
|
Re: Trading with Market Statistics. IV Standard Deviation
Jerry,
I am also confused with "Also each of the terms in the sum should be the same VWAP" statement. Vwap is developing during the day, and is a sum of (pi * vi)/ V. It would seem that SD equitation should have VWAPi and be summed at each bar. So one would get distribution of prices in reference to VWAP line. |
|
||||||||||||||||||||||||||||||
|
Re: Trading with Market Statistics. IV Standard Deviation
__________________
JERRY ---I'm going to trade til I'm 100, or die trying---- |
||||||||||||||||||||||||||||||
|
||||
|
Re: Trading with Market Statistics. IV Standard Deviation
Yes, that's correct. Think of the following: Suppose you had just one VWAP value say at 12:30 and you wanted to know its variance. You would compute the difference between that value and all the old prices. Take the square of each difference and sum them up to get the unnormalized variance.
__________________
JERRY ---I'm going to trade til I'm 100, or die trying---- |
|
||||||||||||||||||||||||||||||
|
Re: Trading with Market Statistics. IV Standard Deviation
__________________
JERRY ---I'm going to trade til I'm 100, or die trying---- |
||||||||||||||||||||||||||||||
|
|||
|
Re: Trading with Market Statistics. IV Standard Deviation
<<Suppose you had just one VWAP value say at 12:30 and you wanted to know its variance. You would compute the difference between that value and all the old prices. Take the square of each difference and sum them up to get the unnormalized variance.>>
right but when historically charting variance/std dev, don't you want the bands to show what the variance was relative to the distribution at the time of the 'price' reading. for example, lets say you wanted to plot the band that occured at 12:28 (1 bar before 12:30 on a 2-min chart)... you would then want the variance calculated through 1 bar ago, not the 'current' (12:30) VWAP... that is -- you want the distribution up through 12:28 (VWAP_H[1]), not the variance +1 period (the 12:30 VWAP_H) -- right? |
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.traderslaboratory.com/forums/f6/trading-with-market-statistics-iv-standard-2101.html
|
|||
| Posted By | For | Type | Date |
| mean trades: Kalman Levels | This thread | Refback | 01-05-2008 02:22 AM |
| mean trades: December 2007 | This thread | Refback | 01-03-2008 02:48 PM |
| mean trades | This thread | Refback | 12-25-2007 04:20 PM |
| how to plot standard deviation of the vwap - Sierra Chart Boards | This thread | Refback | 07-26-2007 08:42 AM |
| how to plot standard deviation of the vwap - Sierra Chart Boards | This thread | Refback | 07-26-2007 08:28 AM |
| Traders Laboratory - forumdisplay | This thread | Refback | 07-23-2007 11:45 PM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |