NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 07-25-2007, 01:23 PM   #1
rokafella
Member
 
Join Date: Jun 2007
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
Default SD of vwap

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
rokafella is offline  
Reply With Quote
Old 07-25-2007, 01:31 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

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.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-25-2007, 01:43 PM   #3
rokafella
Member
 
Join Date: Jun 2007
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
Default

thank you ....
rokafella is offline  
Reply With Quote
Old 07-26-2007, 03:31 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

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.


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.
Last edited by NinjaTrader_Josh; 07-26-2007 at 03:36 AM.
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-26-2007, 11:28 AM   #5
rokafella
Member
 
Join Date: Jun 2007
Posts: 69
Thanks: 0
Thanked 0 times in 0 posts
Default

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.
rokafella is offline  
Reply With Quote
Old 07-26-2007, 04:03 PM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

rokafella give this 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 is offline  
Reply With Quote
Old 07-26-2007, 08:16 PM   #7
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

I've adjusted the indicator to your specifications rokafella. Give it a try again.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:20 AM.