Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last Historical Bar?

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

    #16
    Originally posted by ninZa View Post
    My skill is googling Koganam lol.

    Regarding your comment about the dependence on COBC, should we reverse the order? I mean the 1st one (ChartControl) should be absolute, and the 2nd one is dependent on COBC?
    Could be, but I am pretty sure that what I wrote is correct.

    Comment


      #17
      Originally posted by koganam View Post
      Could be, but I am pretty sure that what I wrote is correct.
      Please check it Koganam.

      Yesterday I played with both of them. Changing COBC to false increased the value of LastBarIndexPainted by 1 (for the actual last bar on chart). So LastBarIndexPainted is dependent on COBC.

      Just from the logic, we can also tell that a thing related to ChartControl (ChartControl.LastBarPainted) cannot be dependent on COBC.
      ninZa
      NinjaTrader Ecosystem Vendor - ninZa.co

      Comment


        #18
        Originally posted by ninZa View Post
        Please check it Koganam.

        Yesterday I played with both of them. Changing COBC to false increased the value of LastBarIndexPainted by 1 (for the actual last bar on chart). So LastBarIndexPainted is dependent on COBC.

        Just from the logic, we can also tell that a thing related to ChartControl (ChartControl.LastBarPainted) cannot be dependent on COBC.
        Granted the truth of what you are saying if the CurrentBar is the last bar being displayed on the chart, I was answering the thrust of the original question, which wanted to know the index of the "last bar showing on the right" if the chart was somewhere in the middle. Given that, I did not go into the niceties of what happens in the edge state, as that is not what the original question was about.

        This question: http://www.ninjatrader.com/support/f...90&postcount=6

        Put the display into "threaded" mode, and you will see that that is the question to which I was responding.
        Last edited by koganam; 02-04-2015, 09:44 PM.

        Comment


          #19
          I see. Your answer was tied to the scenario in the asked question.

          By the way, what is the meaning of Osikani? Can you explain it to all the people here.

          Thank you Koganam.
          ninZa
          NinjaTrader Ecosystem Vendor - ninZa.co

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          599 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          345 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          558 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          558 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X