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 cmoran13, Yesterday, 01:02 PM
    0 responses
    23 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    16 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    94 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    147 views
    2 likes
    Last Post CaptainJack  
    Working...
    X