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 fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      159 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      8 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X