1. Home
  2. NinjaTrader 8 | Setup &am...
  3. Superuser Tips
  4. Sharing and Importing Strategy Templates

Sharing and Importing Strategy Templates

Step 1: Generate the File Path

Before you can manually add templates, NinjaTrader must first “register” the backend directory for the specific strategy you are using.

  • Open the Control Center > Strategies tab.
  • Right-click > New Strategy > Select the MP Strategy (or the specific strategy of interest).
  • In the strategy settings window, locate the Templates section at the bottom right.
  • Select Save and name it “Default.” This action creates the necessary folder structure on your hard drive.

Step 2: Download the Template

  • Access the Discord Vault and locate the desired .xml strategy template (e.g., NQ1m.xml).
  • Download the file to your local machine (typically your “Downloads” folder).

Step 3: Deploy to Backend

You must move the downloaded file into the NinjaTrader internal directory so the software can recognize the new logic.

  • Copy the downloaded .xml file.
  • Navigate to the following file path on your PC:C:\Users\[username]\Documents\NinjaTrader 8\templates\Strategy\[strategy name]
  • Paste the file directly into this folder.

Step 4: Load the Template

  • Return to the NinjaTrader Strategies tab.
  • Ensure the correct strategy is selected, then go to the Template function at the bottom right of the settings window.
  • Select Load, choose the new template from the list, and click OK.
  • Click Apply to finalize the synchronization.

Next Step for the Trader

With your templates loaded and your Trigger settings synchronized, you are ready to begin execution.

How can we help?