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

Tic Chart Bars speed for NT8

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

    Tic Chart Bars speed for NT8

    Dear all,
    I am looking for an indicator (timer) that prints the time between the open and close of the last tic chart value bar. in order to show the speed of the bars on specific chart.
    For example if I am watching 500t chart,the speed of the bars varies based on market action and trades.
    I would like to be able to see how fast or slow is the 500t chart bars are printing by calculating the time difference between the open and close of last 500t tic bar for example.
    I had this indicator on older NT versions.
    I am aware it is a simple code, but I am not familiar with it.
    Any help or feedback is highly appreciated
    Best
    Gus

    #2
    Hello GussJ,

    Thanks for opening the thread.

    You can take a couple approaches to creating this indicator.

    You can create a timer that restarts after every bar close, and then you can have a custom event tied to that timer to either Print() or use Draw.Text() to display the amount of time elapsed.

    Another approach would be to add a second data series that updates on each tick. You can use these single tick iterations to subtract the last DateTime of the primary data series bar from the current DateTime of the single tick data series.

    We have a sample that demonstrates how a timer can be added to a NinjaScript which can be a good starting point. I will include documentation links on multi series NinjaScripts and publically available information on DateTime.

    Timer Sample - http://ninjatrader.com/support/forum...ead.php?t=5965

    Multi Series NinjaScripts - https://ninjatrader.com/support/help...nstruments.htm

    DateTime - https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx

    DateTime manipulation sample - http://ninjatrader.com/support/forum...ad.php?t=19292

    If you are looking for services to develop the code for you, I can have a member of our Business Development team pass on additional information on NinjaScript Consultants who would be happy to write the code for you.

    Please let me know if I may be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Thanks Jim,
      I will look into the link, and get back to you if needed
      Thanks a lot
      Guss

      Comment


        #4
        Did you ever create this indicator? IS it available for NT8?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fwendolynlpxz, Today, 05:19 AM
        0 responses
        3 views
        0 likes
        Last Post fwendolynlpxz  
        Started by traderqz, Yesterday, 12:06 AM
        11 responses
        28 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by PaulMohn, Today, 03:49 AM
        0 responses
        8 views
        0 likes
        Last Post PaulMohn  
        Started by inanazsocial, Today, 01:15 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by rocketman7, Today, 02:12 AM
        0 responses
        11 views
        0 likes
        Last Post rocketman7  
        Working...
        X