Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarType

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

    BarType

    Hello
    I think it will be the first post of a long series of posts because I have to convert my indicators from NT7 to NT8 and I have more than 35000 lines to go through.

    I just got NT 8 beta today...

    In NT 7 I had the following code that obviously doesn't work anymore.

    if( Bars.BarsType.PeriodType == PeriodType.Week ).

    How to do I translate that line of code from NT7 to NT8 ?

    Thank you

    #2
    Originally posted by blar58 View Post
    Hello
    I think it will be the first post of a long series of posts because I have to convert my indicators from NT7 to NT8 and I have more than 35000 lines to go through.

    I just got NT 8 beta today...

    In NT 7 I had the following code that obviously doesn't work anymore.

    if( Bars.BarsType.PeriodType == PeriodType.Week ).

    How to do I translate that line of code from NT7 to NT8 ?

    Thank you
    PeriodType was renamed to BarsPeriodType

    Code:
    if (Bars.BarsPeriod.BarsPeriodType == BarsPeriodType.Week)
    {
    }
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thank you Mattew

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, Yesterday, 09:41 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      31 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      30 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      34 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      19 views
      0 likes
      Last Post CaptainJack  
      Working...
      X