Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Looking for base.SessionData

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

    Looking for base.SessionData

    I was wondering if base.SessionData.ToString() which is available in namespace NinjaTrader.Strategy was available in NinjaTrader.Indicator. It is not one of the options in Intellisense which means either it doesn't exist, or it is in a different class. Any help would be appreciated.

    #2
    Hello gbrest,

    This is not supported in indicator or strategy. What information are you trying to access from this? There may be a supported property that has it.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      I want to display the Session template from the Data section of the Data Series on my chart without having to open up the Data Series on each chart and look. Seems like a straight forward class to me.

      Comment


        #4
        This property is not supported but you can access with:
        Print(Bars.Session.TemplateName.ToString());
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Works for me! Thanks!!

          Comment

          Latest Posts

          Collapse

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