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 pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      147 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      5 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      5 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Working...
      X