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 proptrade13, Today, 11:06 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by quantismo, 04-17-2024, 05:13 PM
        4 responses
        32 views
        0 likes
        Last Post quantismo  
        Started by love2code2trade, 04-17-2024, 01:45 PM
        4 responses
        32 views
        0 likes
        Last Post love2code2trade  
        Started by cls71, Today, 04:45 AM
        2 responses
        10 views
        0 likes
        Last Post eDanny
        by eDanny
         
        Started by kulwinder73, Today, 10:31 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X