Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting up a stand alone Visual Studio Indicator project

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

    Setting up a stand alone Visual Studio Indicator project

    I am trying to set up a stand alone Visual Studio indicator project based on the sample AddOn project.

    I update the solution by removing the add-on project XAML and CS, and added my new indicator class file. It is based on code from the NinjaScript Editor.

    I can build the solution and it copies the DLL to NinjaTrader, but after restarting NinjaTrader, I do not see my indicator in the list of Indicators for my chart.

    When I go to Tools -> "Remove NinjaScript Assembly...", I see my indicator listed.

    What changes do I need to make to the sample Add On project to develop an Indicator?
    mattbsea
    NinjaTrader Ecosystem Vendor - mattbsea

    #2
    Hi Brandon,

    My ultimate goal is to develop the indicator in Visual Studio, separate from the NinjaTrader.Custom solution (the one that opens in visual studio from the ninja script editor). That is, in a stand-alone visual studio project.

    I ended up finding a solution:

    1. In visual studio, create a class library and use .NET Core - any version
    2. Edit the solution file as XML and change the TargetFramework to net48
    3. Add references to NinjaTrader

    Seems to be working so far.

    Thanks,
    Matt
    mattbsea
    NinjaTrader Ecosystem Vendor - mattbsea

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X