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 Mindset, Today, 06:46 AM
        0 responses
        12 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, Yesterday, 05:21 PM
        0 responses
        18 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        16 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        82 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        50 views
        0 likes
        Last Post PaulMohn  
        Working...
        X