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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    232 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    150 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    161 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    243 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    198 views
    0 likes
    Last Post CarlTrading  
    Working...
    X