Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

object to return current tick timestamp? For a simple indicator to measure time delay

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

    object to return current tick timestamp? For a simple indicator to measure time delay

    Hi I tried to find in reference but no luck. Could you help?

    What is the object that can return time stamp of latest tick just like what I see in T&S?

    Thanks.

    #2
    Hello leontancfa, thanks for your post.

    You can add a 1 tick series to your script, wait for BarsInProgress == 1 and access the Time[] array. This will give you a stream of 1 tick data with timestamps having millisecond precision.

    This help guide page contains all documentation needed to complete this:


    Best regards.

    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Max238, Today, 01:28 AM
    4 responses
    36 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by r68cervera, Today, 05:29 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by geddyisodin, Today, 05:20 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by timko, Today, 06:45 AM
    2 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by habeebft, Today, 07:27 AM
    0 responses
    7 views
    0 likes
    Last Post habeebft  
    Working...
    X