Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 7.0.0.17 - Pivots no longer have overload for 'Pivots' taking 3 arguments

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

    NT 7.0.0.17 - Pivots no longer have overload for 'Pivots' taking 3 arguments

    Some strategies using Pivots failed to compile moving from 7.0.0.16 to 7.0.0.17

    NT 7.0.0.16
    public Pivots Pivots(Data.PivotRange pivotRangeType, Data.HLCCalculationMode priorDayHLC, int width)
    public Pivots Pivots(Data.IDataSeries input, Data.PivotRange pivotRangeType, Data.HLCCalculationMode priorDayHLC, int width)

    NT 7.0.0.17
    public Pivots Pivots(Data.PivotRange pivotRangeType, Data.HLCCalculationMode priorDayHLC, double userDefinedClose, double userDefinedHigh, double userDefinedLow, int width)
    public Pivots Pivots(Data.IDataSeries input, Data.PivotRange pivotRangeType, Data.HLCCalculationMode priorDayHLC, double userDefinedClose, double userDefinedHigh, double userDefinedLow, int width)

    I didn't see these changes noted in the release notes?

    Thanks,
    Paul.

    #2
    Paul, would have a direct snippet that did not compile on NT 7 B17? Those two overloads work well for me here on B17 -

    double myPiv = Pivots(PivotRange.Daily, HLCCalculationMode.DailyBars, 0, 0, 0, 200)[0];

    double myPiv1 = Pivots(Median, PivotRange.Daily, HLCCalculationMode.DailyBars, 0, 0, 0, 200)[0];

    Comment


      #3
      Hi Bertrand,

      The issue is that you changed the Pivots indicator that took three or four arguments in 7.0.0.16 to one that took 6 or 7 arguments in 7.0.0.17 without a reference to this change in your release notes, this causes strategies that previously made a call to 'Pivots' with 3 arguments to cause the strategy to fail to compile.

      If there are other structural changes to any of the other indicators with this release please let your valiant and long suffering beta testers know.

      Thanks,
      Paul.

      NT 7.0.0.17 - Pivots no longer have overload for 'Pivots' taking 3 arguments

      Comment


        #4
        I am having trouble compiling @Pivots.cs due to TimeZoneInfo class linkage. I don't think the change in arguments to the Pivots indicator has any effect, since it does not appear to be called from any indicator or strategy.

        TimeZoneInfo Error below (line 338)

        Indicator\@Pivots.cs The type or namespace name 'TimeZoneInfo' does not exist in the namespace 'System' (are you missing an assembly reference?) CS0234 - click for info
        Last edited by csmith87; 06-12-2010, 11:35 PM.

        Comment


          #5
          Paul, I see now - thanks for spotting we'll amend the helpguide - please use Intellisense for the available overloads.

          csmith87, are you sure you're on latest .NET 3.5 including it's SP1 and updates?

          Comment


            #6
            Hello Bertrand,

            > csmith87, are you sure you're on latest .NET 3.5 including it's SP1 and updates?

            Still getting the linkage error. I've just done a windows update, and in my control panel, I show MIcrosoft .NET Framework 3.5 SP1 installed (no hotfixes however). But it was shown installed when I got the error last night, so I don't know what has changed.

            After some more investigation, I found that TimeZoneInfo is defined in the mscorlib.dll. I did a search for this dll, and it is not in the 3.5 Framework directory.
            Last edited by csmith87; 06-14-2010, 12:31 AM.

            Comment


              #7
              csmith87, can you please contact me directly at support at ninjatrader dot com Attn Bertrand? Thanks

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              581 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              338 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X