• 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

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 otislauwaert, Today, 02:02 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by rafleischman, 10-18-2018, 12:11 PM
      2 responses
      21 views
      0 likes
      Last Post Alfred
      by Alfred
       
      Started by dadarara, Yesterday, 02:42 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Dan_D_Trader, Today, 04:46 PM
      0 responses
      2 views
      0 likes
      Last Post Dan_D_Trader  
      Started by pstock805, Today, 08:25 AM
      3 responses
      15 views
      0 likes
      Last Post Trader17  
      Working...
      X