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/

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:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

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

Reply via email to