• 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 ntbone, Yesterday, 08:10 PM
      0 responses
      8 views
      0 likes
      Last Post ntbone
      by ntbone
       
      Started by chrislou, 08-28-2015, 03:27 AM
      14 responses
      2,881 views
      0 likes
      Last Post nkhoi
      by nkhoi
       
      Started by outofstock, Yesterday, 06:40 PM
      2 responses
      8 views
      0 likes
      Last Post outofstock  
      Started by saeed, Yesterday, 12:32 PM
      3 responses
      41 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by motog4, Yesterday, 11:42 AM
      3 responses
      21 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Working...
      X