[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Volume Weighted Average Price (VWAP)



PureBytes Links

Trading Reference Links

Has anybody ever developed this for use on intraday charts?

Without tick information it is a brute force calculation, but would
seem to be fairly accurate on one minute charts.

The definition is "sum of the shares bought X share price" / "total
shares traded for the day"

In this case the sum function is over the one minute time frame.  My
assumption is that the daily volume is acquired by:

TimeFrameSet(inDaily);
DV = V;
TimeFrameRestore();

However, I'm lost as to how to get the sum of the intraday volume x price:

VAP = Sum(V*AP; RANGE); //AP = average bar price

Does anybody know how I arrive at the RANGE?  It has to be the bars
since yesterdays close using one minute bars, but how do I arrive
at the number?  




------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/