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

Re: [amibroker] AFL for BarsSince in 5 Min chart



PureBytes Links

Trading Reference Links

use
NewDay = Day() != Ref(Day(),-1) ;
Bars = BarsSince(Newday);

----- Original Message ----- 
From: "Greg" <gphanson2@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, November 06, 2004 10:40 AM
Subject: [amibroker] AFL for BarsSince in 5 Min chart


>
>
> Can someone help. I would like to calculate the number of Bars (in a
> 5 minute chart) since the beginning of the trading day (for a stock).
> This is what I have come up with - DDD=BarsSince(TimeNum()==73000 OR
> TimeNum()==73500 );This almost works but there are times when results
> are wrong. Thanks for your time.
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>




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