PDA

View Full Version : SD of vwap


rokafella
07-25-2007, 01:23 PM
I'm looking for an indicator the plots the standard deviation of vwap ( and vwap of course.) Any help would be most appreciated.
txs,
Rok

NinjaTrader_Dierk
07-25-2007, 01:31 PM
Unfortunately there is no off-the-shelf solution available. However, you always could custom code this indicator by using the existing implementations as building blocks.

rokafella
07-25-2007, 01:43 PM
thank you ....

NinjaTrader_Josh
07-26-2007, 03:31 AM
Are VWAPs generally only for a single day's intraday charts because looking at the formula it would seem historical data has a large impact on the ending VWAP value? Also it would appear that with lots of historical data after-hour trading will have a nominal impact on the VWAP.
http://upload.wikimedia.org/math/e/d/0/ed014998c47f5c659d0c8428c50ab2f5.png

I'll help you code this tomorrow rokafella. The plotting is going to be interesting if you have auto scale on though. The VWAP value can easily be in the $100-$200 range while the std dev value will be in the 0-10 range so it will make the lines very flat in order to plot the whole 0-200 range.

rokafella
07-26-2007, 11:28 AM
From what I have gathered, it is meant to be used only during the day.
Trades are meant to be taken depending on where the POC( Point of control) or PVP (Peak volume price) is located in relation to the vwap.
Txs.

NinjaTrader_Josh
07-26-2007, 04:03 PM
rokafella give this (http://www.ninjatrader-support.com/vb/showthread.php?p=13237#post13237) a try. Hope it fits to your likings. Please cross check the calculations with another platform's VWAP indicator for me. Let me know of any bugs you find or changes you want. Thanks.

NinjaTrader_Josh
07-26-2007, 08:16 PM
I've adjusted the indicator to your specifications rokafella. Give it (http://www.ninjatrader-support.com/vb/showthread.php?p=13237#post13237) a try again.