Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ninjascript error invalid token class,member and interface

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

    ninjascript error invalid token class,member and interface

    Hello ,
    I have changed all the modification you people suggested but am stil not resolver this code from bug.
    Code:
       public long GetPOCVolume() => ladder.Max(kv => kv.Value);
            public long GetPOCVolume(TradeSide side) => ladderBidAsk[ (int)side].Max(kv => kv.Value);
    
            public long Volume() Volume => ladder.Sum(kv => kv.Value);
    
            public bool IsEmpty() => ladder.Count == 0;
    And the error list i will attach here please revert me asap it taking to long time .
    Last edited by [email protected]; 05-07-2017, 06:33 AM.

    #2
    Hello [email protected],

    Thank you for your post.

    Would it be possible to review the full code on our end? Out of context of the full script it is difficult to say what the cause would be.

    You can export your indicator by going to Tools > Export > NinjaScript Add On > Add > select your indicator > OK > Export > name the file 'NTsupport' > Save. The file will be located under Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript.

    Please attach the file to a note to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    563 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    329 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X