PureBytes Links
Trading Reference Links
|
This program only works on intraday data because it starts over at the start of each day. In other words, the VWAP and Price are the same at the market open. Any prior day data is not included in the VWAP calculation. I don't believe VWAP was intended to be used for daily data.
On Wed, Oct 28, 2009 at 7:42 PM, Mike <sfclimbers@xxxxxxxxx> wrote:
If I'm the Mike that you are asking; I'm sorry, but I have not done any work with multiple timeframes, nor with intraday data.
Someone else will have to jump in on this one.
Mike
--- In amibroker@xxxxxxxxxxxxxxx, h153tu@xxx wrote:
>
> MIKE or TJ can u help me on my previous message?
>
> Tq b4
> Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!
>
> -----Original Message-----
> From: h153tu@xxx
> Date: Wed, 28 Oct 2009 13:53:26
> To: <amibroker@xxxxxxxxxxxxxxx>
> Subject: URGENT NEED HELP
>
> Dear all
>
> Need ur help..
> I want to plot INTRADAY VWAP (I got it from AFL library) into EOD chart
>
> This is the AFL code
> Bars_so_far_today=1+barssince(day() != ref(day(),-1));
> Startbar = valuewhen(timenum() ==093000,barindex());
> Timeframeset(in1minute);
> Todayvolume=(sum(v,Bars_so_far_today);
> Iif(barindex () >= startbar,vwap =sum(c*v,Bars_so_far_today)/todayvolume,0);
> Plot(timeframeexpand(vwap,in1minute),"VWAP",colororange,stylethick);
>
> The result in intraday chart and daily chart were different, in daily chart I got yesterday close as a result not as in intraday chart
>
> Can anyone help me?
> Tq b4
> Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!
>
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|