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

[amibroker] Oanda.com



PureBytes Links

Trading Reference Links

Ara,

- get bar interval (in seconds) Date/Time (AFL 2.1)
 
SYNTAX  interval()

RETURNS NUMBER
  
FUNCTION  Interval() function returns bar interval in seconds

tick bars = 0
5 sec bars = 5
1 min bars = 60
hourly bars = 3600
daily bars = 86400
weekly bars = 432000 
monthly bars = 2160000 (216e4)  

EXAMPLE "Interval in seconds " + WriteVal( Interval() );  


Best regards,
William Peters
www.amitools.com


Tuesday, July 27, 2004, 5:54:02 PM, you wrote:

AK> Anyone know if there is way to determine from AFL if AB is
AK> using tick charts or time base?
AK>  
AK>  
AK> Thanks
AK>  
AK> Ara


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

AK> Check group FAQ at:
AK> http://groups.yahoo.com/group/amibroker/files/groupfaq.html


AK> Yahoo! Groups SponsorADVERTISEMENT



AK> Yahoo! Groups Links
AK> To visit your group on the web, go to:
AK> http://groups.yahoo.com/group/amibroker/
AK>  To unsubscribe from this group, send an email to:
AK> amibroker-unsubscribe@xxxxxxxxxxxxxxx
AK>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






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