NeoTicker Forums  

Go Back   NeoTicker Forums > Trading Related > Trading Techniques
User Name
Password
Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Rating: Thread Rating: 59 votes, 5.00 average. Display Modes
  #1  
Old 09-25-2009, 05:15 PM
henry henry is offline
Regular User
 
Join Date: Sep 2009
Location: Singapore
Posts: 12
Send a message via Skype to henry
Vwpa

Hi

Appreciate much if anyone could advise how to write a formula (in NeoBreadth) to track a different basket of stocks and investigating how they are trading with respect to their volume-weighted average prices (VWAP). The idea is not just to track the absolute numbers, but to identify significant shifts in those numbers. to screen stocks for how they're trading relative to VWAP; the key is filtering moves above and below VWAP, so that you're not just catching random noise around a particular price.

Thanks
Reply With Quote
  #2  
Old 09-26-2009, 08:07 AM
Bruce DeVault's Avatar
Bruce DeVault Bruce DeVault is offline
Regular User
 
Join Date: Jul 2006
Location: Washington DC
Posts: 8,829
There is a current day vwap indicator in formula available through the blog article at http://newsletter.neoticker.com/2006...-based-pivots/. With this, you could use indicator wizard to make a definition that compares the last price to the vwap value, and set the type to sum to sum those conditions (true will be equal to 1, so the effect will be to count the components where the condition is true). You can also use type percent to return the answer as a percentage instead if you prefer it to be normalized for the size of the symbol list.
__________________
Bruce DeVault
bdevault@quantevo.com
www.quantevo.com
Reply With Quote
  #3  
Old 09-26-2009, 03:26 PM
Lawrence Chan Lawrence Chan is offline
Moderator
 
Join Date: Sep 2003
Posts: 2,358
To find out the # of symbols trading above their respective current day VWAP is easy.

A simple comparison of the last price against the current day vwap will give you 0 or 1 answer.

Define your NeoBreadth breadth symbol to take the sum of the calculation will take care of the rest.
Reply With Quote
  #4  
Old 10-01-2009, 12:49 AM
henry henry is offline
Regular User
 
Join Date: Sep 2009
Location: Singapore
Posts: 12
Send a message via Skype to henry
Hi Bruce,
What I like is to compare specifically what is the last price value different from Vwap value of each Individual Stock (not true equal to 1 value; and calculate both either above or below Vwap value, and sum them up (example: S&P500 stocks) in real time. I guess Formula like "Last -CurrentDayVwap" wouldn't work as what I want, rigth? Appreciate much if you could enligthen me with the rigth Formula!

Thanks
Reply With Quote
  #5  
Old 10-01-2009, 11:43 AM
Bruce DeVault's Avatar
Bruce DeVault Bruce DeVault is offline
Regular User
 
Join Date: Jul 2006
Location: Washington DC
Posts: 8,829
A formula like "last > DayVWAP" would probably do it in real-time, provided NeoBreadth is enabled all day. For a historical formula, you would be using close and CurrDVWAP instead.
__________________
Bruce DeVault
bdevault@quantevo.com
www.quantevo.com
Reply With Quote
  #6  
Old 10-01-2009, 12:30 PM
Support Team Support Team is offline
Administrator
 
Join Date: Feb 2006
Posts: 3,927
Test real-time formula in a quote window to verify syntax of the formula before putting it into NeoBreadth real-time calculation.
__________________
TickQuest Support
Reply With Quote
  #7  
Old 10-02-2009, 08:47 AM
henry henry is offline
Regular User
 
Join Date: Sep 2009
Location: Singapore
Posts: 12
Send a message via Skype to henry
How about those stock which are below Vwap, is that mean I had to use another Formula like 'Lask<DayVWAP" in NeoBreadth, and use Substraction indicator to get the ballance of the above and below VWAP's value on the third pane of the Charts; Or are there any single formula could calculate the ballance of the those stocks above VWAP and those are below?

Thanks
Reply With Quote
  #8  
Old 10-02-2009, 01:59 PM
Bruce DeVault's Avatar
Bruce DeVault Bruce DeVault is offline
Regular User
 
Join Date: Jul 2006
Location: Washington DC
Posts: 8,829
If there are 500 stocks in the S&P 500, and there are X above their VWAP, then there would have to be 500 - X that are not above their VWAP, so the delta would be X - (500 - X) which would be 2X - 500 (with a result ranging from 2 * 0 - 500 or -500 to 2 * 500 - 500 or +500). Is that not what you are looking for? It should not require a second NeoBreadth unless the number of symbols in the list is unknown, or unless you need to account for price being exactly VWAP (neither above nor below, which is improbable unless VWAP is rounded.) However, NeoBreadth only does simple sums, percentages, or averages - it doesn't do post-sum formulas like "2X - 500". What I would suggest instead is that you consider looking at the percentage basis instead of counting them by selecting type percent, that way it simply fluctuates 0 to 100. That would be simpler, and have essentially the same interpretation.
__________________
Bruce DeVault
bdevault@quantevo.com
www.quantevo.com

Last edited by Bruce DeVault : 10-02-2009 at 02:36 PM.
Reply With Quote
  #9  
Old 10-07-2009, 04:17 PM
henry henry is offline
Regular User
 
Join Date: Sep 2009
Location: Singapore
Posts: 12
Send a message via Skype to henry
I tried both Last>DayVWAP and Close>DayVWAP on Neobreadth with style either Pct and Sum; all didn't work properly on 1m chart. Pls advise.

Thanks
Reply With Quote
  #10  
Old 10-09-2009, 01:51 PM
Bruce DeVault's Avatar
Bruce DeVault Bruce DeVault is offline
Regular User
 
Join Date: Jul 2006
Location: Washington DC
Posts: 8,829
See also http://forums.neoticker.com/showthread.php?t=51301.
__________________
Bruce DeVault
bdevault@quantevo.com
www.quantevo.com
Reply With Quote
  #11  
Old 05-25-2010, 12:14 PM
voha voha is offline
Registered User
 
Join Date: Apr 2010
Posts: 1
I find VWAP intraday to be very useful in addition to just daily.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright© 2000-2010 TickQuest, Inc.