Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing Script Using CLI

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

    Importing Script Using CLI

    Hi,

    If I have a custom indicator or strategy, is importing the zip file within NinjaTrader > Tools > Import NinjaScript Addon the only option for importing or can this be done using CLI commands? I ultimately want to create a product that I could share with a complete beginner to just run an executable file within Windows that places the files in the correct structure. Please let me know if this is possible.

    Thanks

    #2
    Hello beginnerdaytrader,

    Unfortunately, the NinjaTrader application is not a command line application and cannot import scripts from the command line.

    "I ultimately want to create a product that I could share with a complete beginner to just run an executable file within Windows that places the files in the correct structure."

    This is possible with a custom written external application. However, this would be outside of the realm of what our team would be able to assist with.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi ChelseaB,

      This is along the lines of what I'm trying to solve for:

      >csc.exe /target:library /out:SupportResistanceLines.dll Indicators\SupprtResistanceLines.cs /reference:"C:\Program Files\NinjaTrader 8\bin\NinjaTrader.Core.dll" /reference:"C:\Program Files\NinjaTrader 8\bin\NinjaTrader.Gui.dll" /reference:"C:\Windows\Microsoft.NET\Framework\v4.0 .30319\WPF\PresentationCore.dll" /reference:"C:\Windows\Microsoft.NET\Framework\v4.0 .30319\WPF\WindowsBase.dll"

      Comment


        #4
        Hello beginnerdaytrader,

        Unfortunately, this would not be something I am able to assist with.

        This thread will remain open for any community members that would like to provide code for a custom application.

        You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.

        I can let you know open source indicators are imported to Documents\NinjaTrader 8\bin\Custom\Indicators.
        Strategies are imported to Documents\NinjaTrader 8\bin\Custom\Strategies
        Assemblies are imported to Documents\NinjaTrader 8\bin\Custom, and a reference to the dll is added to the Config.xml file located in Documents\NinjaTrader 8.

        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
        585 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        340 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