Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How does Historical work?

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

    How does Historical work?

    When you refresh a chart, all of the bars "Historical" property are set to true, up to the 'current bar'. What if I wanted to know whether a bar has been shown on the chart yet? It may or may not be historical. For example, in Market Replay, if I scroll back to a previous date, and hit F5, I want to access a property that tells me whether each bar has been shown on the chart yet, or whether I have to scroll forward to see it. Does that make sense?

    We're trying to suppress an indicator from showing for 'displayed' bars, but I want to show the indicator if you scroll forward after refreshing.

    Bryan

    #2
    cassb, unfortunately I'm not sure if I understand your question correctly. Once you refresh a chart with F5, all of the NinjaScripts are also refreshed and recalculated from the beginning of the chart, and all bars on the chart are marked historical. It is not possible to persist values across a refresh.
    AustinNinjaTrader Customer Service

    Comment


      #3
      OK, I thought so. I just wondered if there was a method or property to tell me what is the right-most visible bar on the chart.

      Comment


        #4
        cassb, there are no supported methods to get the right-most bar visible bar.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        66 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X