Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error CS1955: ... cannot be used like a method

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

    Error CS1955: ... cannot be used like a method

    When compiling from NinjaScript Editor it compiles fine but when in Visual Studio, it throws this error on my custom indicator.

    Error CS1955 Non-invocable member 'WisemanAlligator' cannot be used like a method. NinjaTrader.Custom C:\Users\user1\Documents\NinjaTrader 8\bin\Custom\Indicators\FiveCandleFractal.cs 72 Active


    Code:
    else if (State == State.DataLoaded)
    {
    WisemanAlligator1 = WisemanAlligator(Close, JawPeriod, TeethPeriod, LipsPeriod, JawOffset, TeethOffset, LipsOffset);
    }

    I want to be able to compile and debug from Visual Studio 2019.

    Thank you in advance

    #2
    Hello jalley,

    You should not compile from VisualStudio. Leave the NinjaScript Editor and save a script and NinjaTrader will detect the change and automatically internally compile.

    Regarding the error, this can be ignored if the script is compiling internally in NinjaTrader.
    The Wiseman indicators are licensed to NinjaTrader by a 3rd party and have proprietary code.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X