Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

# of bars on chart

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

    # of bars on chart

    Is there a property or a way to calculate how many bars are currently being displayed on the visible portion of the screen(ie. without scrolling)?

    #2
    Hi pkinoc,

    Thank you for your post.

    This would require custom programming to accomplish. If you are not a programmer, any of our NinjaScript consultant partners could do the coding for you. For a complete listing of NinjaScript consultants, please see the following link: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    KyleNinjaTrader Customer Service

    Comment


      #3
      I'm a programmer. Can u give me a hint??

      Property? method? class?



      Originally posted by NinjaTrader_Kyle View Post
      Hi pkinoc,

      Thank you for your post.

      This would require custom programming to accomplish. If you are not a programmer, any of our NinjaScript consultant partners could do the coding for you. For a complete listing of NinjaScript consultants, please see the following link: http://www.ninjatrader.com/webnew/pa...injaScript.htm

      Comment


        #4
        pkinoc,

        There is no method or property for how many bars are currently displayed on the screen. There is only a property for how many bars are loaded on the chart total. For this, please use CurrentBar.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        156 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        74 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X