Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Having an Indicator show up in Indicator list - via an Addon

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

    Having an Indicator show up in Indicator list - via an Addon

    Hello I wish to create an Addon that simply installs an Indicator I have already coded via NinjaScript Editor, that is currently using NinjaTrader.NinjaScript.Indicators namespace.

    I want to achieve the following:
    1. Have an Addon .zip file
    1. When the Addon is added via Tools -> Import -> NinjaScript Add-On... it simply adds the Indicator to the Indicators List for all charts to use as desired.
    2. If the user removes the Addon via Tools -> Remove NinjaScript Assembly... then I want the Indicator to disappear from any charts its on, including from the Indicator List.


    This help page does not explain how to achieve the above basic desire via an Addon installation: https://ninjatrader.com/support/helpguides/nt8/NT%20HelpGuide%20English.html?addon_development_ov erview.htm


    The Addon_Framework_NinjaScript_Basic.zip attachment on that page also does not have an example of this.

    Appreciate any assistance you can provide. My Indicator works on a per Chart Window basis as expected.

    Thank you
    Last edited by firefoxforum12; 09-01-2024, 05:22 PM.

    #2
    ...Bump...

    Comment


      #3
      Hello firefoxforum12,

      The script being imported would need to be an indicator.

      Is the script an indicator?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hello, the script is an Indicator. But there is no Import Indicator feature I can find. Just Import Addon.

        Please advise. Thank you

        Comment


          #5
          Hello firefoxforum12,

          All NinjaScripts are imported from Tools > Import > NinjaScript Addon, including Indicators, Strategies, Custom addon windows, SuperDOMColumns, MarketAnalyzerColumns, etc.

          Note, the term addon is a general term for any NinjaScript that is imported into NinjaTrader. But we also refer to addons that make their own window as addons.

          To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:
          1. Click Tools -> Export -> NinjaScript Add-on...
          2. Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
          3. Click the 'Export' button
          4. Enter the script name in the value for 'File name:'
          5. Choose a save location -> click Save
          6. Click OK to clear the export location message
          By default your exported file will be in the following location:
          • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
          Below is a link to the help guide on Exporting NinjaScripts.
          http://ninjatrader.com/support/helpG...nt8/export.htm

          To import a NinjaScript into NinjaTrader 8 do the following:
          1. Download the script to your desktop, keep it in the compressed .zip file.
          2. From the Control Center window select Tools -> Import -> NinjaScript Addon...
          3. Click the Desktop icon on the left to navigate to the desktop
          4. Select the downloaded .zip file -> then click Open
          5. NinjaTrader will then confirm if the import has been successful.
          Critical *Note that on any files that say "File already exists on your PC" that start with an "@" symbol are the ones that came preloaded inside of NinjaTrader so you would say "No" so that you do not override those files.

          Below is a link to the help guide on importing NinjaScripts.
          https://ninjatrader.com/support/help...-us/import.htm
          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
          556 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          324 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          545 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          547 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X