VWAP Indicator with 1SD and 2SD bands - Page 8 - Traders Laboratory
Forum Guidelines | Contact Us
Home

Go Back   Traders Laboratory > Trading Resources > Trading Indicators

Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.


Comment
 
LinkBack (5) Release Tools
 
Old 08-03-2007, 11:43 AM
dbntina dbntina is offline
dbntina has no status.

 
Join Date: Mar 2007
Posts: 61
Thanks: 0
Thanked 9 Times in 4 Posts
This member is the original thread starter. VWAP Indicator with 1SD and 2SD bands

Guys I am not a TS coding guru by any means...still new at it but wanted to share this code if anyone else was interested. Just wrote this code for myself to keep up with JPERL's threads on Market Statistics. It plots the VWAP, and 1st and 2nd Standard Deviation bands. It lines up with his numbers within a tick or two so I think it is working correctly.

Any other TS coders out there please take a look because it can probably be improved upon.

This is my first...
Attached Files
File Type: eld DBVWAP_SD.ELD (5.0 KB, 544 views)

Reply With Quote
  #70 (permalink)  
By jperl on 03-14-2008, 05:36 PM
Re: VWAP Indicator with 1SD and 2SD bands

Quote:
View Post
Jerry,

Here is the problem as I see it and currently a deadlock for me. I've posted on another thread but haven't had a response just yet.

Depending on how the source code for real time data is implemented for various feeds this might differ. IB feed is sampled data and continuously updates volume to catch up with the ticks. Same with OpenTick. The bottom line means the bands will differ drastically based on backfilled data (which should be total volume accounted for) vs data that was accumulated throughout the day (sampled ticks and their respective sizes). Additionally, since IB data is sampled, price bars may also differ in a backfill compared to what was accumulated live, but this would only have a minor impact on VWAP. As for SD, the volume change would have a drastic impact. Consider 2 numbers with the same average but with different highs and lows (same average, completely different SD).
At the moment I am stuck, it seems that OpenTick feed for YM (streaming) is accurate, but backfill mucks it all up.
Depending on implementation, IB feed can/cannot be good for accuracy. Do they use Volume updates as volume or is volume derived from and accumulated from every tick sent? If using volume updates then you have a situation where you have increased the weighting but have incorrectly attributed that weighting to the current bar! (remember a voume update means more volume but at what prices??)

This is my understanding so far....
You raise some interesting questions, with unfortunately no interesting answers. I think what is need here is some kind of comparison of various data feeds on the tick level to see how they compare. I have not looked into this so I can't provide any guidance.
Reply With Quote
Comment



LinkBacks (?)
LinkBack to this Thread: http://www.traderslaboratory.com/forums/f46/vwap-indicator-with-1sd-and-2sd-2175.html
Posted By For Type Date
Incredible Charts: Trading - Systems: VWAP Part Two. This thread Refback 01-31-2008 06:28 PM
Forums - Multicharts float display error? This thread Refback 01-09-2008 11:22 AM
Forums - Multicharts float display error? This thread Refback 01-08-2008 09:17 PM
Traders Laboratory - forumdisplay This thread Refback 08-05-2007 06:26 PM
Traders Laboratory This thread Refback 08-03-2007 02:03 PM

Currently Active Users Viewing This Release: 1 (0 members and 1 guests)
 
Release Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Release Release Starter Category Comments Last Post
Trading with Market Statistics III. Basics of VWAP Trading jperl Market Profile® 49 09-25-2008 04:56 AM
Trading With Market Statistics.II The Volume Weighted Average Price (VWAP). jperl Market Profile® 55 08-03-2008 04:48 PM
Is the RSI indicator any good? Lisa Technical Analysis 14 04-27-2008 12:41 PM
Question regarding Bollinger Bands Robert Technical Analysis 17 04-29-2007 11:58 AM


All times are GMT -4. The time now is 01:32 PM.

 

 
 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76