• 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 taken by Range bar / Constant volume bar

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

    Time taken by Range bar / Constant volume bar

    Hi,

    I want to see the time taken by each bar in "range bar charts" and "constant volume bar charts" as an indicator in a separate panel.


    For the first bar of the session,

    (First bar close time minus Session start time) = Time taken in seconds

    For all subsequent bars,

    (Current bar close time minus Previous bar close time) = Time taken in seconds


    I don't have any knowledge in writing code. Any help in building the indicator is appreciated.

    Thank you.

    #2
    Hello Model62,

    Thanks for your post and welcome to the Ninjatrader forums!

    I have an indicator that will measure bar times in seconds that I use for diagnostic information and will attach to this post. My original post was a link to an NT8 indicator so I deleted that.

    BarTimes.zip

    ​​​​​​​
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul H,

      This is exactly what I wanted. Many thanks. Have a great day.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Rashid Garuba, Today, 11:37 AM
      0 responses
      1 view
      0 likes
      Last Post Rashid Garuba  
      Started by elkhatabi, Today, 11:19 AM
      0 responses
      1 view
      0 likes
      Last Post elkhatabi  
      Started by hurleydood, Today, 10:07 AM
      0 responses
      4 views
      0 likes
      Last Post hurleydood  
      Started by Irukandji, Today, 09:43 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Started by TazoTodua, Today, 09:06 AM
      0 responses
      7 views
      0 likes
      Last Post TazoTodua  
      Working...
      X