• 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

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

      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

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by quantera, Today, 05:38 PM
          0 responses
          2 views
          0 likes
          Last Post quantera  
          Started by ciro1963, Today, 03:58 PM
          0 responses
          2 views
          0 likes
          Last Post ciro1963  
          Started by swcooke, Today, 02:48 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by SOFI777, Today, 01:03 PM
          5 responses
          29 views
          0 likes
          Last Post SOFI777
          by SOFI777
           
          Started by Gerard111, 09-23-2015, 07:25 AM
          2 responses
          1,207 views
          0 likes
          Last Post NinjaTrader_ChristopherD  
          Working...
          X