• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hour, minute and second

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hour, minute and second

    Hello,

    I need to know which are the values of hour, minutes and seconds for every bar in my chart. How can I do it?

    Thanks in advance.

    Jesus.

    #2
    Hello soyjesus,

    Thank you for your post.

    You would use Time and then .Day, .Hour, .Minute, etc.
    For example:
    Code:
    Time[0].Day
    Time[0].Hour
    For information on DateTime objects please visit the following link: https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx

    Please let me know if you have any questions.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by stenberg98, Today, 04:53 AM
    1 response
    3 views
    0 likes
    Last Post stenberg98  
    Started by mbcmbc, Yesterday, 10:12 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by fx.practic, Today, 03:44 AM
    0 responses
    9 views
    0 likes
    Last Post fx.practic  
    Started by pjsmith, Today, 03:28 AM
    0 responses
    5 views
    0 likes
    Last Post pjsmith
    by pjsmith
     
    Started by pjsmith, Today, 03:26 AM
    0 responses
    4 views
    0 likes
    Last Post pjsmith
    by pjsmith
     
    Working...
    X