Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Trader146, Today, 09:17 PM
    0 responses
    5 views
    0 likes
    Last Post Trader146  
    Started by ttrader23, 05-08-2024, 09:04 AM
    9 responses
    43 views
    0 likes
    Last Post ttrader23  
    Started by ZeroKuhl, Yesterday, 04:31 PM
    8 responses
    46 views
    0 likes
    Last Post ZeroKuhl  
    Started by reynoldsn, Today, 07:04 PM
    0 responses
    11 views
    0 likes
    Last Post reynoldsn  
    Started by puapwr, Today, 06:09 PM
    0 responses
    5 views
    0 likes
    Last Post puapwr
    by puapwr
     
    Working...
    X