Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get the chart's period from the chart's dataseries in NT8

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

    Get the chart's period from the chart's dataseries in NT8

    I am converting this indicator from NT7 to NT8. In NT7 I was using

    Bars.Period.Id
    PeriodType.Minute
    Bars.Period.Value

    But now NT8 it gives me error that there is no definitoin for Period.

    What should I use to yeild the same information in NT8 code?

    Thanks

    -Stearno

    #2
    Bars.Period.Id = Bars.BarsPeriod.BarsPeriodType
    PeriodType.Minute = BarsPeriodType.Minute
    Bars.Period.Value = Bars.BarsPeriod.Value


    Originally posted by stearno View Post
    I am converting this indicator from NT7 to NT8. In NT7 I was using

    Bars.Period.Id
    PeriodType.Minute
    Bars.Period.Value

    But now NT8 it gives me error that there is no definitoin for Period.

    What should I use to yeild the same information in NT8 code?

    Thanks

    -Stearno

    Comment


      #3
      Originally posted by Serialcoder View Post
      Bars.Period.Id = Bars.BarsPeriod.BarsPeriodType
      PeriodType.Minute = BarsPeriodType.Minute
      Bars.Period.Value = Bars.BarsPeriod.Value
      Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by geddyisodin, Yesterday, 05:20 AM
      9 responses
      50 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by George21, Today, 10:07 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by DayTradingDEMON, Today, 09:28 AM
      3 responses
      20 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Stanfillirenfro, Today, 07:23 AM
      9 responses
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by navyguy06, Today, 09:28 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X