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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    56 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    57 views
    0 likes
    Last Post PaulMohn  
    Working...
    X