• 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

Checking Session Template Name

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

    Checking Session Template Name

    How would one check the template name in NT8. Something like this: if(Bars.TradingHours.Sessions.ToString() "Default 24 x 7")

    #2
    Hello woodyfox,

    The TradingHours object would be correct and has a Name property.

    https://ninjatrader.com/support/help...adinghours.htm

    Print(TradingHours.Name);
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Audiofail, Today, 05:40 AM
    6 responses
    18 views
    0 likes
    Last Post willwin
    by willwin
     
    Started by jerblaster23, Today, 03:42 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by brian meade, Today, 01:39 PM
    2 responses
    10 views
    0 likes
    Last Post brian meade  
    Started by Johnny Santiago, Today, 12:20 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by NinjaTrader_Brandon, Today, 10:24 AM
    0 responses
    69 views
    0 likes
    Last Post NinjaTrader_Brandon  
    Working...
    X