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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        44 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        179 views
        0 likes
        Last Post jeronymite  
        Started by ghoul, Today, 06:02 PM
        0 responses
        9 views
        0 likes
        Last Post ghoul
        by ghoul
         
        Started by DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Working...
        X