• 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

Time functions?

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

    Time functions?

    Is there any way to capture event times? Say, when a bar closes in a range or tick chart? I have looked without finding anything, but I have seen a couple of traders doing things that seemed to require such a capacity. Thanks.

    #2
    Hello PBreen,

    Thank you for your post.

    If CalculateOnBarClose is true then you can access the Times[][] array to get the timestamp of the bar close.

    e.g. to access the most current close time of the primary data series would be written as Times[0][0].

    Please let me know if this does not resolve your inquiry.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      That does it for me. Many thanks. (Lots to learn!)

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Cyanez, Today, 05:05 PM
      0 responses
      2 views
      0 likes
      Last Post Cyanez
      by Cyanez
       
      Started by Polo Trader, Today, 03:28 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by Mykro, Today, 03:26 PM
      2 responses
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Polo Trader, Today, 03:14 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Tyler  
      Started by kantkant2, Today, 03:20 PM
      3 responses
      15 views
      0 likes
      Last Post kantkant2  
      Working...
      X