Register Login
Forums    February 9, 2012
TradersStudio Forums
How to get time between bars
Last Post 08-31-2007 11:44 PM by mur ang. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tom Himel
New Member
New Member
Posts:14

--
08-31-2007 05:13 PM

    Is there a way from an indicator to determine the time between bars.  I would like to know if I am analyzing daily bars or 5 minute bars.  I am looking for the TradeStation equivalents of barInterval and barType functions.

    Thanks

    mur ang
    Advanced Member
    Advanced Member
    Posts:525

    --
    08-31-2007 11:44 PM

    TradersStudio® Date Functions --GetTimeFrame function

    Returns Time Frame of the market.

    val = GetTimeFrame

    Remarks

    This function returns time frame of the market. Possible values are:

    Value Meaning
    0 One Minute
    1 Five Minutes
    2 Ten Minutes
    3 Fifteen Minutes
    4 Thirty Minutes
    5 FortyFive Minutes
    6 Sixty Minutes
    7 Daily
    8 Weekly
    9 Monthly
    10 Quarterly
    11 Yearly

     

    You are not authorized to post a reply.


     TradersStudio, Inc. ® Copyright 2004-2012 All Rights Reserved   Terms Of Use  Privacy Statement