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

Re: [amibroker] Coding Question



PureBytes Links

Trading Reference Links

This is not a complete answer but I use this to show the volume for
today. It is an older AFL pre timeframe functions

DaysVol = LastValue( Cum( V * (TimeNum()>=100000) * (
DateNum()==SelectedValue(DateNum()) ) ) );

check the timeframe functions as I feel these could be what you could use

On Wed, 17 Nov 2004 20:48:42 -0000, Dean Hodgins <deanhodgins@xxxxxxxxx> wrote:
> 
> 
> I'm wondering if anyone has any code that would filter/scan the
> cummulative volume for the current day versus the average cummulative
> volume for the day but only to the same point as today's volume.
> 
> For example if I'm using 15 min bars and I'm 4 bars into the current
> day I'd like to compare that volume with the "normal" (say 10 day
> average) volume 4 bars into the current day.
> 
> The problem or issue here is that the formula would have to be
> dynamic in the sense that it compares/calculates only volume to a
> certain point in the trading day which changes each time a new scan
> is run assuming that new bars have elapsed.
> 
> As always - any ideas most apprecaited.
> 
> Thanks & Regards,
> 
> Dean Hodgins
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/