Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug : Historical

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

    Bug : Historical

    Historical always returns true, even in live bars !

    Code:
     protected override void OnBarUpdate()
            {
    			
    			Print(Historical.ToString());
    			
            }

    #2
    I could not reproduce here - which feed are you using? Also: is this in a indicator or strategy?

    Please also keep in mind when using this property in a strategy that is running with "Wait until flat before executing live", the property will return "true" until the strategy reaches a flat state and switches to live executions.

    Comment


      #3
      indeed

      in NT7 you have changed the default setting for "Wait until flat before executing live"
      Maybe there could be a visual queue in the graph showing its waiting to be flat before starting ..

      Comment


        #4
        Thanks for the suggestion, the strategies tab should display yellow if the it's waiting to get flat to be able to execute then.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        77 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        63 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X