• 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 Seastragg, Today, 04:41 PM
      0 responses
      2 views
      0 likes
      Last Post Seastragg  
      Started by n8dogg59, Today, 03:07 PM
      0 responses
      4 views
      0 likes
      Last Post n8dogg59  
      Started by Newtrader101, Today, 10:31 AM
      1 response
      19 views
      0 likes
      Last Post koganam
      by koganam
       
      Started by nepenthean, Today, 12:36 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by sun0781, Yesterday, 05:02 PM
      1 response
      25 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X