Ninja Trader: Instructions for Importing, Upgrading, and Removing Indicators using NinjaScript

NinjaTrader is a powerful trading platform that offers various features for traders, including advanced charting, trade simulation, and market analysis. One of the most useful features of NinjaTrader is its support for custom indicators through the use of NinjaScript, a C#-based programming language.

Importing Indicators


To import a custom indicator into NinjaTrader, follow these steps:

  • Download the indicator file: Make sure you have the indicator file (usually a .zip or .cs file) saved on your computer.
  • Open NinjaTrader: Launch the NinjaTrader platform.
  • Access the Control Center: From the main window, locate the Control Center.
  • Open the ‘Tools’ menu: In the Control Center, click on the ‘Tools’ menu and select ‘Import’ > ‘NinjaScript Add-On…’.
  • Select the indicator file: In the ‘Import NinjaScript’ window, click the ‘…’ button to browse your computer for the indicator file. Select the file and click ‘Open’.
  • Confirm the import: Click ‘OK’ in the ‘Import NinjaScript’ window. NinjaTrader will import the indicator and display a confirmation message.
  • Access the imported indicator: To use the imported indicator, open a chart and right-click on it. Select ‘Indicators’ from the context menu, and find the imported indicator in the list. Double-click on it to add it to your chart.

Upgrading Indicators

To upgrade an existing indicator in NinjaTrader, follow these steps:

  • Download the updated indicator file: Obtain the updated version of the indicator file (.zip or .cs file) and save it on your computer.
  • Remove the old indicator: Follow the steps in the ‘Removing Indicators’ section below to remove the old version of the indicator from NinjaTrader.
  • Import the updated indicator: Follow the steps in the ‘Importing Indicators’ section above to import the updated indicator file into NinjaTrader.

Removing Indicators

To remove a custom indicator from NinjaTrader, follow these steps:

  • Open NinjaTrader: Launch the NinjaTrader platform.
  • Access the Control Center: From the main window, locate the Control Center.
  • Open the ‘Tools’ menu: In the Control Center, click on the ‘Tools’ menu and select ‘Edit NinjaScript’ > ‘Indicator…’.
  • Select the indicator to remove: In the ‘Select Indicator’ window, find the indicator you want to remove and click on it to select it.
  • Click ‘Remove’: With the indicator selected, click the ‘Remove’ button. A confirmation message will appear.
  • Confirm the removal: Click ‘Yes’ in the confirmation message to remove the indicator. The indicator will be removed from NinjaTrader.

By following these step-by-step instructions, you can easily import, upgrade, and remove custom indicators in NinjaTrader using NinjaScript. This will allow you to enhance your trading experience and make the most out of the NinjaTrader platform.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.