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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    50 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    69 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    36 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    97 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    60 views
    0 likes
    Last Post PaulMohn  
    Working...
    X