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 CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        24 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        25 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-25-2026, 09:53 PM
        0 responses
        30 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 03-25-2026, 09:51 PM
        0 responses
        18 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 03-23-2026, 11:13 AM
        0 responses
        28 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X