Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Series<T> issue

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

    Series<T> issue

    1.- In NinjaScript Editor I create one Series<CustomType>. Save and Compile. Ok:

    Code:
    private Series<Profile> barProfiles;
    this.barProfiles = new Series<Profile>(this, MaximumBarsLookBack.Infinite );
    2.- Then I change the type, from Series<T> to List<T>. Save and Compile. Ok:
    Code:
    private List<Profile> barProfiles;
    this.barProfiles = new List<Profile>();
    3.- However the intellisense is not updated to the new type (List). Continues referencing to the old type (Series). I cannot use the List methods from intellisense (though I can type them directly in the code and compiles fine).



    .
    Attached Files

    #2
    Hello,

    Thanks for reporting.

    However so far on Beta 2 I'm not able to reproduce the issue. I switch the type in my editor and intelliprompt picks it up.

    Could you send me a sample script which I could try myself just to make sure my test isn't somehow different then what your running into.

    Thanks.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hello Brett,
      now it works correctly. Maybe I was doing some tests that were crashed and something remained unstable.
      I apologize for the inconvenience.

      Comment


        #4
        No worries. Thanks for reporting issues. Really appreciate it. Have a good rest of your day.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        670 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X